Przeglądaj źródła

流程管理修改

lph 1 rok temu
rodzic
commit
f1554774ba

+ 4 - 4
zkqy-ui/src/views/bussiness/processMange.vue

@@ -2,7 +2,7 @@
   <div class="process-mange-wrap">
     <!-- <el-card shadow="always" :body-style="{ padding: '20px' }"> -->
     <el-row>
-      <el-col :xs="24" :md="8" :xl="8" class="col">
+      <el-col :xs="24" :md="8" :xl="8" class="col" v-show="false">
         <div class="statistic-wrap">
           <div class="discription">
             <span class="title">我的处理</span>
@@ -47,7 +47,7 @@
             >
               <el-radio-button label="3">已完成</el-radio-button>
               <el-radio-button label="0">进行中</el-radio-button>
-              <el-radio-button label="">所有</el-radio-button>
+              <!-- <el-radio-button label="">所有</el-radio-button> -->
             </el-radio-group>
           </div>
           <div class="search-input">
@@ -273,7 +273,7 @@ export default {
     Print,
     RecordQuality,
     ProductionProcesses,
-    PersonalDistribution
+    PersonalDistribution,
   },
   dicts: ["bpm_type", "task_process_state"],
   data() {
@@ -396,7 +396,7 @@ export default {
       // }
       console.log(this.$refs.myFormRef);
       let temp = await this.$refs.myFormRef?.getFormData();
-      console.log('temp',temp);
+      console.log("temp", temp);
       if (!temp?.flag) {
         this.$message.error(temp.msg);
         return false;

+ 9 - 8
zkqy-ui/src/views/system/role/index.vue

@@ -526,16 +526,17 @@ export default {
           response.rows = response.rows.filter(
             (item) => !tempSelection.find((val) => val.roleId == item.roleId)
           );
-          this.roleList = [...tempSelection, ...response.rows];
+          // this.roleList = [...tempSelection, ...response.rows];
+          this.roleList = response.rows;
           this.total = response.total;
           this.loading = false;
-          if (tempSelection.length) {
-            this.$nextTick(() => {
-              tempSelection.forEach((item) => {
-                this.$refs.tableRef.toggleRowSelection(item);
-              });
-            });
-          }
+          // if (tempSelection.length) {
+          //   this.$nextTick(() => {
+          //     tempSelection.forEach((item) => {
+          //       this.$refs.tableRef.toggleRowSelection(item);
+          //     });
+          //   });
+          // }
         }
       );
     },

+ 9 - 8
zkqy-ui/src/views/system/user/index.vue

@@ -729,16 +729,17 @@ export default {
           response.rows = response.rows.filter(
             (item) => !tempSelection.find((val) => val.userId == item.userId)
           );
-          this.userList = [...tempSelection, ...response.rows];
+          // this.userList = [...tempSelection, ...response.rows];
+          this.userList = response.rows;
           this.total = response.total;
           this.loading = false;
-          if (tempSelection.length) {
-            this.$nextTick(() => {
-              tempSelection.forEach((item) => {
-                this.$refs.tableRef.toggleRowSelection(item);
-              });
-            });
-          }
+          // if (tempSelection.length) {
+          //   this.$nextTick(() => {
+          //     tempSelection.forEach((item) => {
+          //       this.$refs.tableRef.toggleRowSelection(item);
+          //     });
+          //   });
+          // }
         }
       );
     },