This commit is contained in:
jianghanbo 2024-10-31 09:01:00 +08:00
parent 4154bd7219
commit fa75ab15c0
7 changed files with 15 additions and 11 deletions

View File

@ -103,7 +103,7 @@
class="filter-item" class="filter-item"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="getList" @click="onOneClickRepair"
> >
搜索 搜索
</el-button> </el-button>
@ -730,7 +730,8 @@ export default {
}, },
mounted() { mounted() {
console.log(this.$route.query); console.log(this.$route.query);
this.setMode(); this.getList();
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 });
} }
@ -764,15 +765,15 @@ export default {
} }
}, },
async setMode() { async setMode() {
await this.getList();
await this.setOneClickRepair(); 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;
}); });
await this.onOneClickRepair({ id: arr.join() }); if (arr.length) {
await this.onOneClickRepair({ id: arr.join() });
}
}, },
async getList($is_excel) { async getList($is_excel) {
this.listQuery.excel = null; this.listQuery.excel = null;
@ -1000,13 +1001,14 @@ 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) {

View File

@ -5,4 +5,6 @@ DB_HOST=127.0.0.1
DB_PORT=3306 DB_PORT=3306
DB_DATABASE=jinao DB_DATABASE=jinao
DB_USERNAME=root DB_USERNAME=root
DB_PASSWORD=root DB_PASSWORD=root
SMS_JUMP_URL=https://x.aiiz.cn/KHUBFH

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-4d8f2a06]{position:relative;padding-bottom:60px}.el-table[data-v-4d8f2a06],.filter-container[data-v-4d8f2a06]{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-b69a5260]{position:relative;padding-bottom:60px}.el-table[data-v-b69a5260],.filter-container[data-v-b69a5260]{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