From ca18425f8cb3b9e09cc1a1df31d7b91f77bb7566 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 八月 2024 17:44:11 +0800
Subject: [PATCH] 过程图优化

---
 src/views/system/unit/people/index.vue |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/src/views/system/unit/people/index.vue b/src/views/system/unit/people/index.vue
index 9841411..f9756ba 100644
--- a/src/views/system/unit/people/index.vue
+++ b/src/views/system/unit/people/index.vue
@@ -30,8 +30,8 @@
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
-        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
+        <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">鎼滅储</el-button>
+        <el-button icon="el-icon-refresh" size="small" @click="resetQuery">閲嶇疆</el-button>
       </el-form-item>
     </el-form>
 
@@ -43,7 +43,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:people:add']"
+          v-hasPermi="['unit:people:add']"
         >鏂板</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -54,7 +54,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['system:people:edit']"
+          v-hasPermi="['unit:people:edit']"
         >淇敼</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -65,7 +65,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['system:people:remove']"
+          v-hasPermi="['unit:people:remove']"
         >鍒犻櫎</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -75,7 +75,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['system:people:export']"
+          v-hasPermi="['unit:people:export']"
         >瀵煎嚭</el-button>
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -86,8 +86,9 @@
       <el-table-column label="杩愮淮浜哄憳缂栧彿" align="center" prop="ywPersonCode" />
       <el-table-column label="杩愮淮浜哄憳濮撳悕" align="center" prop="ywPersonName" />
       <el-table-column label="杩愮淮浜哄憳璐﹀彿" align="center" prop="ywPersonAccount" />
-      <el-table-column label="鎵�灞炶繍缁村崟浣�" align="center" prop="belongUnit" />
+      <el-table-column label="鎵�灞炶繍缁村崟浣�" align="center" prop="belongUnitName" />
       <el-table-column label="鑱旂郴鐢佃瘽" align="center" prop="phone" />
+      <el-table-column label="澶囨敞" align="center" prop="remark" show-overflow-tooltip/>
       <el-table-column label="鎿嶄綔" fixed="right" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button
@@ -95,14 +96,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:people:edit']"
+            v-hasPermi="['unit:people:edit']"
           >淇敼</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['system:people:remove']"
+            v-hasPermi="['unit:people:remove']"
           >鍒犻櫎</el-button>
         </template>
       </el-table-column>
@@ -141,10 +142,13 @@
         <el-form-item label="鑱旂郴鐢佃瘽" prop="phone">
           <el-input v-model="form.phone" placeholder="璇疯緭鍏ヨ仈绯荤數璇�" />
         </el-form-item>
+        <el-form-item label="鑱旂郴鐢佃瘽" prop="remark">
+          <el-input v-model="form.remark" type="textarea" show-word-limit maxlength="150" placeholder="璇疯緭鍏ュ娉�" />
+        </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">纭� 瀹�</el-button>
         <el-button @click="cancel">鍙� 娑�</el-button>
+        <el-button type="primary" @click="submitForm">纭� 瀹�</el-button>
       </div>
     </el-dialog>
   </div>
@@ -184,6 +188,7 @@
         ywPersonName: null,
         belongUnit: null,
       },
+      // 杩愮淮鍗曚綅
       unitList: [],
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -213,7 +218,7 @@
   },
   methods: {
     getUnitSelect() {
-      // 涓嬫媺鍒楄〃
+      // 杩愮淮鍗曚綅涓嬫媺鍒楄〃
       unitSelect().then((res) => {
         this.unitList = res.data;
       })

--
Gitblit v1.8.0