更新8D管理中心
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2022-08-24 11:19:43
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2023-05-16 14:55:04
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-06-30 15:00:20
|
||||
* @Description:
|
||||
*/
|
||||
export default {
|
||||
@@ -15,7 +15,6 @@ export default {
|
||||
statusUrl: '',
|
||||
exportURL: ''
|
||||
},
|
||||
addOrEditTitle: '',
|
||||
tableData: [],
|
||||
listQuery: {
|
||||
limit: 10,
|
||||
@@ -23,7 +22,10 @@ export default {
|
||||
total: 1,
|
||||
},
|
||||
dataListLoading: false,
|
||||
addOrEditTitle: '',
|
||||
addOrUpdateVisible: false,
|
||||
searchsTitle: '',
|
||||
searchsVisible: false,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -71,6 +73,13 @@ export default {
|
||||
this.$refs.addOrUpdate.init(id);
|
||||
});
|
||||
},
|
||||
// 条件搜索
|
||||
searchsHandle() {
|
||||
this.searchsVisible = true;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.searchsRef.init();
|
||||
});
|
||||
},
|
||||
cancel(id) {
|
||||
this.$refs["popover-" + id].showPopper = false;
|
||||
},
|
||||
@@ -158,13 +167,26 @@ export default {
|
||||
this.addOrUpdateVisible = false
|
||||
this.addOrEditTitle = ''
|
||||
},
|
||||
searchsCancel(){
|
||||
this.$refs.searchsRef.formClear()
|
||||
this.searchsVisible = false
|
||||
this.searchsTitle = ''
|
||||
},
|
||||
handleConfirm() {
|
||||
this.$refs.addOrUpdate.dataFormSubmit()
|
||||
},
|
||||
searchsConfirm(){
|
||||
this.$refs.searchsRef.dataFormSubmit()
|
||||
},
|
||||
successSubmit() {
|
||||
this.handleCancel()
|
||||
this.getDataList()
|
||||
},
|
||||
searchsSubmit(obj){
|
||||
this.listQuery = {...this.listQuery,...obj}
|
||||
this.searchsCancel()
|
||||
this.getDataList()
|
||||
},
|
||||
// 导出
|
||||
exportHandle(name) {
|
||||
this.$http
|
||||
|
||||
Reference in New Issue
Block a user