|
|
@@ -491,25 +491,8 @@ export default {
|
|
|
return false;
|
|
|
},
|
|
|
showDialogDistribute(row){
|
|
|
- this.loading = true;
|
|
|
- api
|
|
|
- .distributeCheHui(row.id)
|
|
|
- .then((response) => {
|
|
|
- // console.log(response, "then");
|
|
|
- if (response.data == 0) {
|
|
|
- this.loading = false;
|
|
|
- this.$refs.dialogDistribute.show(row);
|
|
|
- } else {
|
|
|
- this.getList();
|
|
|
- this.loading = false;
|
|
|
- }
|
|
|
- })
|
|
|
- .catch((response) => {
|
|
|
- // console.log(response, "catch");
|
|
|
- this.getList();
|
|
|
- this.loading = false;
|
|
|
- this.$refs.dialogDistribute.show(row);
|
|
|
- });
|
|
|
+ console.log(row,"qqq")
|
|
|
+ this.$refs.dialogDistribute.show(row);
|
|
|
},
|
|
|
async onDel(id, name) {
|
|
|
this.$modal
|