优化
This commit is contained in:
parent
7734eeb781
commit
152ca06c0b
@ -79,6 +79,8 @@ export default {
|
||||
console.log('获取用户信息res: ', res)
|
||||
if (res.code === 200) {
|
||||
this.SET_USER_INFO(res.user)
|
||||
} else {
|
||||
this.$message.error(res.msg0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,15 +11,9 @@
|
||||
<div class="table-header-flex quanzhomng" style="flex:none;" v-if="tableInfo.score || tableAuth.showScore">得分</div>
|
||||
<div class="table-header-flex" v-if="tableInfo.score || tableAuth.showScore">评分说明</div>
|
||||
</div>
|
||||
<!-- <div v-if="obj.recortModelDtos.length === 0" class='listNone'>
|
||||
<div>
|
||||
暂无数据
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div v-for="(item,index) in ((tableInfo.score || tableAuth.showScore)?obj.recortModelDtos:obj.recortModelDtos.slice(0,obj.recortModelDtos.length-1))" :key="index" class="table-content">
|
||||
<div class="table-content-left table-left">
|
||||
<!-- {{item.name}} -->
|
||||
<div v-for="(i,indexs) in item.name" :key="indexs">
|
||||
{{i}}
|
||||
</div>
|
||||
@ -98,13 +92,6 @@
|
||||
<el-button size='small' :loading='loadingTi' @click="handleGetNext" type="primary" >{{tableInfo.result?'提交结果值':'提交评分'}}</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-else class="table-bottoms">
|
||||
<div class="table-bottoms-contenct">
|
||||
<div class="table-bottoms-contenct-left"><i class="el-icon-arrow-left"></i>朱吉达</div>
|
||||
<div class="table-bottoms-contenct-center commonFont">参与考核(7/8)</div>
|
||||
<div class="table-bottoms-contenct-right">熊成强<i class="el-icon-arrow-right"></i></div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
@ -54,8 +54,12 @@ export default {
|
||||
let ress = await apiUserInfo()
|
||||
if (ress.code === 200) {
|
||||
this.SET_USER_INFO(ress.user)
|
||||
} else {
|
||||
this.$message.error(ress.msg0)
|
||||
}
|
||||
// location.reload()
|
||||
} else {
|
||||
this.$message.error(res.msg0)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user