This commit is contained in:
jianghanbo 2024-11-01 16:36:32 +08:00
parent efb8300707
commit 9410f6ac91
6 changed files with 10 additions and 13 deletions

View File

@ -730,8 +730,7 @@ export default {
}, },
mounted() { mounted() {
console.log(this.$route.query); console.log(this.$route.query);
this.getList(); this.setMode();
//this.setOneClickRepair();
if (this.$route.query.id) { if (this.$route.query.id) {
this.onInfo({ id: this.$route.query.id }); this.onInfo({ id: this.$route.query.id });
} }
@ -765,15 +764,15 @@ export default {
} }
}, },
async setMode() { async setMode() {
//await this.setOneClickRepair(); await this.getList();
await this.setOneClickRepair();
await this.getList();
}, },
async setOneClickRepair() { async setOneClickRepair() {
let arr = this.list.map((res) => { let arr = this.list.map((res) => {
return res.id; return res.id;
}); });
if (arr.length) { await this.onOneClickRepair({ id: arr.join() });
await this.onOneClickRepair({ id: arr.join() });
}
}, },
async getList($is_excel) { async getList($is_excel) {
this.listQuery.excel = null; this.listQuery.excel = null;
@ -800,7 +799,6 @@ export default {
(this.oss = response.ext.oss); (this.oss = response.ext.oss);
this.listLoading = false; this.listLoading = false;
this.isSynchronization = true; this.isSynchronization = true;
this.setOneClickRepair();
}); });
}, },
objectToQuery(obj) { objectToQuery(obj) {
@ -1002,14 +1000,13 @@ export default {
message: "同步完成", message: "同步完成",
type: "success", type: "success",
}); });
// this.getList();
}) })
.catch((err) => { .catch((err) => {
this.$notify.error({ this.$notify.error({
title: "同步失败", title: "同步失败",
message: err, message: err,
}); });
}).finally(() => {
// this.getList();
}); });
}, },
onOneClickYyHandle(item) { onOneClickYyHandle(item) {

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-1a3300c7]{position:relative;padding-bottom:60px}.el-table[data-v-1a3300c7],.filter-container[data-v-1a3300c7]{padding-bottom:5px} .pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-4d8f2a06]{position:relative;padding-bottom:60px}.el-table[data-v-4d8f2a06],.filter-container[data-v-4d8f2a06]{padding-bottom:5px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long