|
|
@@ -114,6 +114,7 @@
|
|
|
v-model="formData.checkOrgType"
|
|
|
placeholder="请选择受检机构类型"
|
|
|
clearable
|
|
|
+
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in dict.type.sys_org_type"
|
|
|
@@ -172,6 +173,7 @@
|
|
|
<orgDropDown
|
|
|
v-model="formData.execOrg"
|
|
|
placeholder="选择检查机构"
|
|
|
+ multiple
|
|
|
@select="onexecOrgSelect"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
@@ -248,6 +250,8 @@
|
|
|
<script>
|
|
|
import { mapGetters } from "vuex";
|
|
|
import orgDropDown from "@/components/orgTree/orgDropDown.vue";
|
|
|
+import OrgTree from "@/components/orgTree";
|
|
|
+import korgTree from "@/components/k-orgTree";
|
|
|
import * as api from "@/api/safetycheck/plan";
|
|
|
import { statusOptions } from "@/views/commonOption";
|
|
|
import { findAllRole } from "@/api/system/role";
|
|
|
@@ -343,7 +347,7 @@ export default {
|
|
|
this.formData.buildTaskNow = !this.formData.buildTaskNow;
|
|
|
},
|
|
|
onexecOrgSelect(node) {
|
|
|
- this.formData.execOrg = node.id;
|
|
|
+ this.formData.execOrgIds = node.val;
|
|
|
console.log(node, "onexecOrgSelect");
|
|
|
},
|
|
|
oncheckOrgSelect(node) {
|
|
|
@@ -372,6 +376,12 @@ export default {
|
|
|
execOrg: null,
|
|
|
checkOrg: null,
|
|
|
buildTaskNow: false,
|
|
|
+ checkOrgList:null,
|
|
|
+ execOrgList:null,
|
|
|
+ rulePointList:null,
|
|
|
+ checkOrgIds:null,
|
|
|
+ execOrgIds:null,
|
|
|
+ rulePointIds:null,
|
|
|
};
|
|
|
},
|
|
|
getRolesByOrg() {
|
|
|
@@ -482,7 +492,7 @@ export default {
|
|
|
//apimark//
|
|
|
},
|
|
|
mounted() {},
|
|
|
- components: { DialogSelect, orgDropDown },
|
|
|
+ components: { DialogSelect, orgDropDown,OrgTree,korgTree },
|
|
|
};
|
|
|
</script>
|
|
|
|