Jelajahi Sumber

调试安全检查

jiawuxian 1 tahun lalu
induk
melakukan
e971cc6814
1 mengubah file dengan 9 tambahan dan 13 penghapusan
  1. 9 13
      src/views/safetycheck/plan/dialog.edit.vue

+ 9 - 13
src/views/safetycheck/plan/dialog.edit.vue

@@ -111,9 +111,8 @@
                   :disabled="cannotEdit()"
                   @change="cleanExecOrgList"
                   prop="execOrgType"
-                  label="机构类型"
                   v-model="formData.execOrgType"
-                  placeholder="请选择机构类型"
+                  placeholder="请选择检查主体类型"
                   clearable
                 >
                   <el-option
@@ -132,9 +131,8 @@
               <el-form-item prop="roleIds" label="检查人员:">
                 <el-select
                   :disabled="cannotEdit()"
-                  label="检查人员"
                   v-model="formData.roleIds"
-                  placeholder="请选择用户角色"
+                  placeholder="请选择检查人员"
                   multiple
                   filterable
                   @change="handleRolesChange"
@@ -157,7 +155,7 @@
                   prop="checkOrgTypes"
                   label="受检机构类型"
                   v-model="formData.checkOrgTypes"
-                  placeholder="请选择机构类型"
+                  placeholder="请选择受检机构类型"
                   clearable
                   multiple
                 >
@@ -182,9 +180,7 @@
                   :max="9"
                 ></el-input-number>
               </el-form-item>
-            </el-col>
-          </el-row>
-          <el-row>
+            </el-col>          
             <el-col :span="6">
               <el-form-item :span="6" prop="execOrgIds" label="检查主体">
                 <org-tree-select
@@ -412,7 +408,7 @@ export default {
           //周期
           this.formData.planCycle = "5";
           //机构类型
-          this.formData.execOrgType = "1";
+          this.formData.execOrgType = 1;
           this.getRolesByOrg();
           //角色
           this.formData.roleIds = ["116"];
@@ -427,7 +423,7 @@ export default {
           //周期
           this.formData.planCycle = "5";
           //机构类型
-          this.formData.execOrgType = "2";
+          this.formData.execOrgType = 2;
           this.getRolesByOrg();
           //角色
           this.formData.roleIds = ["118"];
@@ -442,7 +438,7 @@ export default {
           //周期
           this.formData.planCycle = "2";
           //机构类型
-          this.formData.execOrgType = "4";
+          this.formData.execOrgType = 4;
           this.getRolesByOrg();
           //角色
           this.formData.roleIds = ["121"];
@@ -458,7 +454,7 @@ export default {
           //周期
           this.formData.planCycle = "5";
           //机构类型
-          this.formData.execOrgType = "3";
+          this.formData.execOrgType = 3;
           this.getRolesByOrg();
           //角色
           this.formData.roleIds = ["120"];
@@ -682,7 +678,7 @@ export default {
           this.defbuildTaskNow = res.data.buildTaskNow;
           this.parentCount = res.data.parentCount;
           this.formData = res.data;
-          this.formData.buildTaskNow;
+          this.formData.planCycle=this.formData.planCycle+'';
           this.tableData = res.data.rulePointList;
           if (this.formData.execOrgType) {
             this.formData.roleIds = this.formData.roleList.map(