|
|
@@ -8,7 +8,7 @@
|
|
|
@defaultKey="getDefaultKey"
|
|
|
@checkChange="checkChange"
|
|
|
@click="clickTreeNode"
|
|
|
- hangsheTree
|
|
|
+ :customRequest="orgTree"
|
|
|
></org-tree>
|
|
|
</el-col>
|
|
|
|
|
|
@@ -217,7 +217,7 @@ import { mapState, mapMutations } from "vuex";
|
|
|
import DialogEdit from "./dialog.edit";
|
|
|
import * as api from "@/api/safetycheck/rule";
|
|
|
import { getLabel } from "./../../commonOption";
|
|
|
-
|
|
|
+import {wholeTreeByType} from "@/api/system/org.js"
|
|
|
export default {
|
|
|
name: "safetycheckruletype",
|
|
|
dicts: ["sys_org_type", "rule_type", "plan_status"],
|
|
|
@@ -270,6 +270,9 @@ export default {
|
|
|
methods: {
|
|
|
...mapMutations([]),
|
|
|
getLabel,
|
|
|
+ orgTree(){
|
|
|
+ return wholeTreeByType(3);
|
|
|
+ },
|
|
|
refresh() {
|
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|