wyh пре 1 година
родитељ
комит
5f72b95528

+ 2 - 5
itdmWeb/src/views/module-iTDM/itdmJiXiao/itdmJiXiao.vue

@@ -1,12 +1,9 @@
 <template>
   <div >
-
     <vxe-toolbar>
       <template #buttons>
         <vxe-button icon="vxe-icon-square-plus" @click="insertEvent()">新增</vxe-button>
         <vxe-button @click="$refs.xTable.removeCheckboxRow()">删除选中</vxe-button>
-        <!-- <vxe-button @click="getSelectionEvent">获取选中</vxe-button>
-        <vxe-button icon="vxe-icon-save" @click="getInsertEvent">获取新增</vxe-button> -->
       </template>
     </vxe-toolbar>
 
@@ -73,7 +70,7 @@ import VXETable from 'vxe-table'
                   ]
                 ]
               }
-            }
+            },
           }
         },
         methods: {
@@ -97,5 +94,5 @@ import VXETable from 'vxe-table'
           }
         }
       }
-              
+
 </script>

+ 15 - 20
itdmWeb/src/views/module-iTDM/itdmJiXiao/itdmJiXiaoWT.vue

@@ -28,7 +28,8 @@
                 placeholder="请选择委托编号"
                 show-search
                 allowClear
-                :options="weituoNoOptions">
+                :options="weituoNoOptions"
+                @change="getWtNo">
                 </a-select>
               </a-form-item>
           </a-col>
@@ -105,10 +106,11 @@
         </template>
 
         <span slot="action" slot-scope="text, record">
-          <a @click="handleEdit(record)">编辑</a>
-          <!-- <a-space>
-            <arrow-right-outlined />
-          </a-space> -->
+          <!-- <a @click="handleEdit(record)">编辑</a> -->
+          <a @click="handlePeople(record)">人员绩效</a>
+          <a-divider type="vertical" />
+          <a @click="handlePeople(record)">完工申请</a>
+
 
           <!-- <a-divider type="vertical" />
           <a-dropdown>
@@ -183,13 +185,7 @@
     },
     created() {
       this.getClientList()
-    // this.getSuperFieldList();
     },
-    // computed: {
-    //   importExcelUrl: function(){
-    //     return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
-    //   },
-    // },
     methods: {
       // 获取委托单位下拉列表
       getClientList(){
@@ -218,15 +214,14 @@
           })
         })
       },
-      // initDictConfig(){
-      // },
-      // getSuperFieldList(){
-      //   let fieldList=[];
-      //   fieldList.push({type:'string',value:'weizhi',text:'密码锁住的位置',dictCode:''})
-      //   fieldList.push({type:'string',value:'mima',text:'密码',dictCode:''})
-      //   fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
-      //   this.superFieldList = fieldList
-      // }
+      getWtNo(value){
+        this.queryParam = {...this.queryParam}
+      },
+      // 人员绩效页面跳转
+      handlePeople(record) {
+        console.log(record)
+        this.$router.push({path: '/itdmJiXiao/JixiaoList', query:{weituoId:record.id, weituoClient:record.weituoClient, weituoNo:record.weituoNo}})
+      }
     }
   }
 </script>