This commit is contained in:
熊成强 2020-11-16 15:13:48 +08:00
parent 99c44a9738
commit 73af53097b

View File

@ -13,7 +13,7 @@
:options="timeOptions" :options="timeOptions"
@change="handleChange" @change="handleChange"
></el-cascader> ></el-cascader>
<div class="performance-content-title"> <div v-if="!isNoList" class="performance-content-title">
<InfoHeader :obj="{ <InfoHeader :obj="{
src:obj.avatar || '', src:obj.avatar || '',
name:obj.staffName, name:obj.staffName,
@ -23,7 +23,7 @@
<UseButton :resultRecordId='resultRecordId' v-if="isShow" :formList='formList' :tableInfo.sync='tableInfo'/> <UseButton :resultRecordId='resultRecordId' v-if="isShow" :formList='formList' :tableInfo.sync='tableInfo'/>
</div> </div>
</div> </div>
<div class="performance-content-center"> <div v-if="!isNoList" class="performance-content-center">
<div <div
class="performance-content-center-item commonFont" class="performance-content-center-item commonFont"
:class="{ :class="{
@ -78,7 +78,7 @@
</el-tooltip> </el-tooltip>
</div> </div>
</div> </div>
<div class="performance-content-bottom"> <div v-if="!isNoList" class="performance-content-bottom">
<tables <tables
:tableAuth='formList.auth' :tableAuth='formList.auth'
:tableInfo.sync='tableInfo' :tableInfo.sync='tableInfo'
@ -86,7 +86,8 @@
:obj='obj' :obj='obj'
/> />
</div> </div>
<div v-if="formList.resultCommentList.length !== 0" class="performance-content-jilu"> <div v-if="!isNoList">
<div v-if="formList.resultCommentList.length !== 0 " class="performance-content-jilu">
<div class="performance-content-jilu-title commonFont"> <div class="performance-content-jilu-title commonFont">
记录 记录
</div> </div>
@ -112,6 +113,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<popup-right <popup-right
v-if="right.showRight" v-if="right.showRight"
@cancel='handleCancel' @cancel='handleCancel'
@ -164,6 +167,7 @@ export default {
}, },
data () { data () {
return { return {
isNoList: false,
key: 0, key: 0,
startIds: '', startIds: '',
timeOptions: [{ timeOptions: [{
@ -256,6 +260,7 @@ export default {
this.$loadingStart() this.$loadingStart()
let res = await apiResultGetDetail(params) let res = await apiResultGetDetail(params)
this.$loadingEnd() this.$loadingEnd()
this.isNoList = res.code !== 200
if (res.code !== 200) { if (res.code !== 200) {
this.resultRecordId = '' this.resultRecordId = ''
return this.$message.error(res.msg) return this.$message.error(res.msg)