Commit 63d9f58d by 王志慧

fixed

1 parent 6fc038e2
......@@ -84,7 +84,9 @@
<template v-else>--</template>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="recepDetail(scope.scope)" :disabled="!scope.scope.score && scope.scope.score != 0">接待明细</el-button>
<el-button type="text" @click="recepDetail(scope.scope)" v-if="scope.scope.score || scope.scope.score == 0" >接待明细</el-button>
<span v-else class="dis-class" @click="recepDetail()">接待明细</span>
</div>
</GLTable>
</div>
......@@ -386,11 +388,11 @@ export default {
})
},
recepDetail(row) {
if (!row.score && row.score != 0) {
if (!row) {
this.$confirm('质检分析中,请耐心等待', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showCancelButton:false,
showConfirmButton:false
})
return
}
......@@ -577,5 +579,9 @@ export default {
color: #5850ff;
cursor: pointer;
}
.dis-class{
color:#666;
cursor: pointer;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!