Commit 976649f6 by 王志慧

fixed

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