From bd945fa9dd9d4edabf1d4284fd626f6727c76c27 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 12 十二月 2023 10:01:22 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/views/integration/systemInfo.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue index ebe2dfd..d7707ef 100644 --- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue +++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue @@ -1,6 +1,7 @@ <template> <basic-container> - <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :permission="permissionList" :search.sync="search" + <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :permission="permissionList" + :search.sync="search" :table-loading="loading" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage" @current-change="handleCurrentPage" @@ -105,7 +106,7 @@ return { addBtn: this.vaildData(this.permission.systemInfo.systemInfo_add, false), editBtn: this.vaildData(this.permission.systemInfo.systemInfo_edit, false), - delBtn: this.vaildData(this.permission.systemInfo.systemInfo_remove, false), + delBtn: this.vaildData(this.permission.systemInfo.systemInfo_delete, false), empower: this.vaildData(this.permission.systemInfo.systemInfo_empower, false), } }, @@ -294,6 +295,7 @@ // this.ModifyProperties(this.TreeData, 'text', 'label'); // 鏍规嵁this.TreeData鐨勯暱搴﹁绠楀欢杩熸椂闂� const delayTime = this.TreeData.length * 1; + console.log(delayTime) setTimeout(() => { this.loading = false; this.reload = Math.random(); @@ -351,6 +353,7 @@ message: '鏂板鏁版嵁鎴愬姛锛�' }) done(row) + await this.getDataList(); // this.$refs.crud.refreshTable() // this.getDataList() } @@ -371,6 +374,7 @@ }) done(row) } + await this.getDataList(); } catch { loading() } -- Gitblit v1.9.3