Commit 63d9f58d by 王志慧

fixed

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