فهرست منبع

人员名册表格

liangjiahao 3 سال پیش
والد
کامیت
ecbb3ef0d2
2فایلهای تغییر یافته به همراه16 افزوده شده و 15 حذف شده
  1. 13 11
      src/components/look_word/personnelRoster.vue
  2. 3 4
      src/views/grassrootsregistration/personnelRoster/index.vue

+ 13 - 11
src/components/look_word/personnelRoster.vue

@@ -154,42 +154,44 @@
             height="40"
             align="center"
             style="font-family: 'fangsong'"
+             v-for="(item, i) in message"
+            :key="i"
           >
-            <td class="JR_right">{{ message.name }}</td>
+            <td class="JR_right">{{ item.name }}</td>
             <td class="JR_right">
               <dict-tag
                 :options="dict.type.post_Level"
-                :value="message.postId"
+                :value="item.postId"
               />
             </td>
             <td class="JR_right">
               <dict-tag
                 :options="dict.type.post_Level"
-                :value="message.rankId"
+                :value="item.rankId"
               />
             </td>
             <td class="JR_right">
               <dict-tag
                 :options="dict.type.sys_familyName"
-                :value="message.nationId"
+                :value="item.nationId"
               />
             </td>
-            <td class="JR_right">{{ message.origin }}</td>
-            <td class="JR_right">{{ message.birthDate }}</td>
-            <td class="JR_right">{{ message.enlistDate }}</td>
-            <td class="JR_right">{{ message.partyDate }}</td>
+            <td class="JR_right">{{ item.origin }}</td>
+            <td class="JR_right">{{ item.birthDate }}</td>
+            <td class="JR_right">{{ item.enlistDate }}</td>
+            <td class="JR_right">{{ item.partyDate }}</td>
             <td class="JR_right">
               <dict-tag
                 :options="dict.type.Degree_level"
-                :value="message.educationId"
+                :value="item.educationId"
               />
             </td>
             <td class="JR_right">
               <dict-tag
                 :options="dict.type.marryList"
-                :value="message.marryList"
+                :value="item.marryList"
               /></td>
-            <td class="JR_right">{{ message.live }}{{ message.phone }}</td>
+            <td class="JR_right">{{ item.live }}{{ item.phone }}</td>
             <td class="JR_right"></td>
           </tr>
           <tr class="JR_tr" height="40" align="center">

+ 3 - 4
src/views/grassrootsregistration/personnelRoster/index.vue

@@ -685,7 +685,7 @@ export default {
     return {
       //查看页面
       menuRoleVisible: false,
-      wordInfo: {},
+      wordInfo: [],
       renshu: {},
       // 遮罩层
       loading: true,
@@ -1133,13 +1133,12 @@ export default {
     },
     //查看按钮操作
     handleChakan(row) {
-      this.wordInfo = row;
       // 是否隐藏按钮
-      console.log(row);
       this.opens = false;
       const deptId = row.deptId;
       getRenYuanXiangQing(deptId).then((response) => {
         this.renshu = response.data[0];
+          this.wordInfo =  response.data[1];
         this.title = "查看人员名册";
         this.menuRoleVisible = true;
       });
@@ -1518,7 +1517,7 @@ export default {
 ::v-deep .el-input__suffix .el-input__suffix-inner .el-input__icon {
   margin-right: -45px !important;
 }
-::v-deep .el-pagination .el-input__suffix{
+::v-deep .el-pagination .el-input__suffix {
   right: 34px !important;
 }
 </style>