Commit 976649f6 by 王志慧

fixed

1 parent 654c2401
......@@ -66,7 +66,7 @@
</template>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="recepDetail(scope.scope)" :disabled="scope.scope.score==0">接待明细</el-button>
<el-button type="text" @click="recepDetail(scope.scope)" :disabled="!scope.scope.score && scope.scope.score != 0">接待明细</el-button>
</div>
</GLTable>
</div>
......@@ -329,23 +329,21 @@ export default {
}
},
mounted() {
this.getServiceStore()
this.getServiceStore()
},
methods: {
getServiceStore() {
this.$apis.quality
. listShop4sByRef({
scene: 0
}).then(res => {
this.baseData.storeIdList = res || []
this.getOptionsList()
})
.listShop4sByRef({
scene: 0
})
.then(res => {
this.baseData.storeIdList = res || []
this.getOptionsList()
})
},
statisticsEmployeeBadge(val) {
let searchdate = Util.dateFormate(
val,
"YYYY-MM-DD"
)
let searchdate = Util.dateFormate(val, 'YYYY-MM-DD')
this.$apis.quality
.statisticsEmployeeBadge({
searchdate
......@@ -356,10 +354,10 @@ export default {
},
recepDetail(row) {
if (row.score == 0) {
this.$confirm("质检分析中,请耐心等待", '提示', {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
this.$confirm('质检分析中,请耐心等待', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
return
}
......@@ -509,5 +507,4 @@ export default {
cursor: pointer;
}
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!