|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
/*
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2021-10-27 15:29:37
|
|
|
|
|
* @LastEditTime: 2021-12-03 18:31:19
|
|
|
|
|
* @LastEditTime: 2021-12-07 19:38:32
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: In User Settings Edit
|
|
|
|
|
* @FilePath: /data-show/src/views/IndustryDataExport/tableEvent.js
|
|
|
|
@ -28,6 +28,9 @@ export function rowSelection() {
|
|
|
|
|
selectedRowKeys: this.sk,
|
|
|
|
|
onSelectAll: () => {
|
|
|
|
|
this.tableAll = !this.tableAll;
|
|
|
|
|
if(!this.tableAll) {
|
|
|
|
|
this.sk = []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -99,6 +102,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.form.iPageIndex = 1;
|
|
|
|
|
this.pagination.current = 1;
|
|
|
|
|
this.sk = [];
|
|
|
|
|
this.tableAll = false;
|
|
|
|
|
Promise.all([this.getList(), this.getTable()]).then(() => {
|
|
|
|
|
this.noClick = false;
|
|
|
|
|
});
|
|
|
|
@ -123,8 +128,8 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
this.execlForm.sFileName = this.form.sBrand + this.form.sSeriesName + this.getDatetimeSs();
|
|
|
|
|
}
|
|
|
|
|
this.execlForm.sCheckedIds = this.tableAll ? '' : this.secIds.toString();
|
|
|
|
|
this.execlForm.iNum = this.tableAll ? this.totalNum : this.secIds.length;
|
|
|
|
|
this.execlForm.sCheckedIds = this.tableAll ? '' : this.sk.toString();
|
|
|
|
|
this.execlForm.iNum = this.tableAll ? this.totalNum : this.sk.length;
|
|
|
|
|
this.modalObj.visible = true;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
@ -184,6 +189,8 @@ export default {
|
|
|
|
|
handlerTime(n) {
|
|
|
|
|
let ele = this.timesSel[n];
|
|
|
|
|
this.form.sTimeType = ele.key;
|
|
|
|
|
this.sk = [];
|
|
|
|
|
this.tableAll = false;
|
|
|
|
|
if (ele.key != this.selVal) {
|
|
|
|
|
this.getTable();
|
|
|
|
|
this.getList();
|
|
|
|
@ -194,6 +201,8 @@ export default {
|
|
|
|
|
this.form.sStartTime = val[0];
|
|
|
|
|
this.form.sEndTime = val[1];
|
|
|
|
|
this.selectPriceDate = "";
|
|
|
|
|
this.sk = [];
|
|
|
|
|
this.tableAll = false;
|
|
|
|
|
this.getTable();
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
@ -250,6 +259,8 @@ export default {
|
|
|
|
|
this.form.sQuDao = this.quDao.toString();
|
|
|
|
|
this.form.iPageIndex = 1;
|
|
|
|
|
this.pagination.current = 1;
|
|
|
|
|
this.sk = [];
|
|
|
|
|
this.tableAll = false;
|
|
|
|
|
Promise.all([this.getList(), this.getTable()]).then(() => {
|
|
|
|
|
this.noClick = false;
|
|
|
|
|
});
|
|
|
|
@ -269,6 +280,8 @@ export default {
|
|
|
|
|
this.doFormQS(this.qingGan);
|
|
|
|
|
this.form.iPageIndex = 1;
|
|
|
|
|
this.pagination.current = 1;
|
|
|
|
|
this.sk = [];
|
|
|
|
|
this.tableAll = false;
|
|
|
|
|
Promise.all([this.getList(), this.getTable()]).then(() => {
|
|
|
|
|
this.noClick = false;
|
|
|
|
|
});
|
|
|
|
|