From 7d05c69630d066c0992368423f90e440e3638f91 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期日, 29 九月 2024 11:01:51 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/views/integration/systemInfo.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue index ebe2dfd..90d9aac 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,13 +106,14 @@ 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), } }, option() { return { height: "auto", + calcHeight: 20, tip: false, border: true, align: 'center', @@ -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() } @@ -457,7 +461,9 @@ } </script> <style lang="scss" scoped> -::v-deep(.avue-crud .el-select) { - width: 100px !important; -} + ::v-deep{ + .avue-crud .el-select { + width: 100px !important; + } + } </style> -- Gitblit v1.9.3