From aadc935fea134441a607c56b3bb5fedefb8aeec9 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 07 九月 2023 15:34:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index e7175d2..1505e83 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -47,6 +47,7 @@
                                :prop="item.prop" :show-overflow-tooltip="true"
                                :sortable="item.sortable"
                                :width="item.width"
+                               v-if="!item.hidden"
                                align="center">
               </el-table-column>
             </el-table>
@@ -800,32 +801,32 @@
     },
     //澧炲姞淇濆瓨
     AddSumbit(val) {
-      this.addvisible = false;
       addSaveCode(val).then(res => {
         this.$nextTick(() => {
-          this.$message.warning("淇濆瓨鎴愬姛");
+          this.addvisible = false;
+          this.$message.success("淇濆瓨鎴愬姛");
           this.onLoad()
         })
       })
     },
     //淇敼鍥炶皟
     EditSumbit(val) {
-      this.editvisible = false;
       editSaveCode(val).then(res => {
         this.$nextTick(() => {
-          this.$message.warning("淇濆瓨鎴愬姛");
+          this.editvisible = false;
+          this.$message.success("淇濆瓨鎴愬姛");
           this.onLoad()
         })
       })
     },
     //鏁版嵁鏇存敼鍥炶皟
     updataSumbit(val) {
-      this.DataVisible = false;
       val.copyFromVersion = this.rowOid;
       val.oid = '';
       upSaveCode(val).then(res => {
         this.$nextTick(() => {
-          this.$message.warning("淇濆瓨鎴愬姛");
+          this.DataVisible = false;
+          this.$message.success("淇濆瓨鎴愬姛");
           this.onLoad()
         })
       })
@@ -867,10 +868,14 @@
   }
 }
 
-/deep/ .el-button {
+.el-button {
   margin: 0 10px 10px 0;
 }
 
+/deep/ .dialog-footer .el-button {
+  margin: 0 10px 0 0;
+}
+
 .main {
   display: flex;
   flex-direction: column;

--
Gitblit v1.9.3