优化
This commit is contained in:
parent
99c44a9738
commit
73af53097b
@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div class="performance">
|
||||
<SmallNav v-if="!isNoRouter"/>
|
||||
<div class="performance-content boderAndRadius">
|
||||
<div class="performance-content boderAndRadius">
|
||||
<el-cascader
|
||||
v-if="isNoRouter"
|
||||
style="margin:0 0 20px 0;"
|
||||
@ -13,7 +13,7 @@
|
||||
:options="timeOptions"
|
||||
@change="handleChange"
|
||||
></el-cascader>
|
||||
<div class="performance-content-title">
|
||||
<div v-if="!isNoList" class="performance-content-title">
|
||||
<InfoHeader :obj="{
|
||||
src:obj.avatar || '',
|
||||
name:obj.staffName,
|
||||
@ -23,7 +23,7 @@
|
||||
<UseButton :resultRecordId='resultRecordId' v-if="isShow" :formList='formList' :tableInfo.sync='tableInfo'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="performance-content-center">
|
||||
<div v-if="!isNoList" class="performance-content-center">
|
||||
<div
|
||||
class="performance-content-center-item commonFont"
|
||||
:class="{
|
||||
@ -78,7 +78,7 @@
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<div class="performance-content-bottom">
|
||||
<div v-if="!isNoList" class="performance-content-bottom">
|
||||
<tables
|
||||
:tableAuth='formList.auth'
|
||||
:tableInfo.sync='tableInfo'
|
||||
@ -86,31 +86,34 @@
|
||||
:obj='obj'
|
||||
/>
|
||||
</div>
|
||||
<div v-if="formList.resultCommentList.length !== 0" class="performance-content-jilu">
|
||||
<div class="performance-content-jilu-title commonFont">
|
||||
记录
|
||||
</div>
|
||||
<div
|
||||
v-for="(i,index) in formList.resultCommentList"
|
||||
:key="index"
|
||||
class="performance-content-jilu-item commonFont"
|
||||
>
|
||||
<div class="performance-content-jilu-item-time">
|
||||
{{i.gmtCreate}}
|
||||
</div>
|
||||
<div class="performance-content-jilu-item-content">
|
||||
<div class="performance-content-jilu-item-content-img">
|
||||
<InfoHeader :isShow='false' :obj='{src:i.avatar}' />
|
||||
</div>
|
||||
<div>
|
||||
<span>{{i.staffName}}</span><span class="mubiao">#{{i.optDesc}}#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment" v-if="i.comment">
|
||||
<pre>{{i.comment}}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!isNoList">
|
||||
<div v-if="formList.resultCommentList.length !== 0 " class="performance-content-jilu">
|
||||
<div class="performance-content-jilu-title commonFont">
|
||||
记录
|
||||
</div>
|
||||
<div
|
||||
v-for="(i,index) in formList.resultCommentList"
|
||||
:key="index"
|
||||
class="performance-content-jilu-item commonFont"
|
||||
>
|
||||
<div class="performance-content-jilu-item-time">
|
||||
{{i.gmtCreate}}
|
||||
</div>
|
||||
<div class="performance-content-jilu-item-content">
|
||||
<div class="performance-content-jilu-item-content-img">
|
||||
<InfoHeader :isShow='false' :obj='{src:i.avatar}' />
|
||||
</div>
|
||||
<div>
|
||||
<span>{{i.staffName}}</span><span class="mubiao">#{{i.optDesc}}#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment" v-if="i.comment">
|
||||
<pre>{{i.comment}}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<popup-right
|
||||
v-if="right.showRight"
|
||||
@ -164,6 +167,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
isNoList: false,
|
||||
key: 0,
|
||||
startIds: '',
|
||||
timeOptions: [{
|
||||
@ -256,6 +260,7 @@ export default {
|
||||
this.$loadingStart()
|
||||
let res = await apiResultGetDetail(params)
|
||||
this.$loadingEnd()
|
||||
this.isNoList = res.code !== 200
|
||||
if (res.code !== 200) {
|
||||
this.resultRecordId = ''
|
||||
return this.$message.error(res.msg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user