Эх сурвалжийг харах

张丁 优化不必要函数

zhangding 3 жил өмнө
parent
commit
ea75f616a2

+ 3 - 5
ui/src/views/ehs/jobticket/index.vue

@@ -802,20 +802,18 @@ export default {
         //   let arr=  response.data.userIds.split(',');
         //   let arr=  response.data.userIds.split(',');
       });
       });
         },
         },
+        //修改延期时的用户单位
         checkCategoryPromotionRenew(oneId){
         checkCategoryPromotionRenew(oneId){
          this.postponeform.userMg=null;
          this.postponeform.userMg=null;
-         
       getUserByUnit(oneId).then(response => {
       getUserByUnit(oneId).then(response => {
-   //     this.form.userMg=null;
         this.userMgOptions = response.data;
         this.userMgOptions = response.data;
-        //   let arr=  response.data.userIds.split(',');
       });
       });
         },
         },
-        //主管下拉框变动
+        //主管下拉框变动重新刷新赋值
         pick(){
         pick(){
           this.$forceUpdate()
           this.$forceUpdate()
         },
         },
-        //
+        //查找施工单位
       selectworkUnit(oneId){
       selectworkUnit(oneId){
 
 
       getDept(oneId).then(response => {
       getDept(oneId).then(response => {