|
@@ -304,8 +304,8 @@ import {
|
|
|
addPcsj,
|
|
|
updatePcsj,
|
|
|
tiffUpload,
|
|
|
+ listDept,
|
|
|
} from "@/api/supervise/pcsj";
|
|
|
-import { listDept } from "@/api/system/dept";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
export default {
|
|
@@ -399,7 +399,7 @@ export default {
|
|
|
status: undefined,
|
|
|
};
|
|
|
listDept(queryParams).then((res) => {
|
|
|
- this.deptOptions = this.handleTree(res.data, "deptId");
|
|
|
+ this.deptOptions = res.data;
|
|
|
});
|
|
|
},
|
|
|
treeselecthange(value) {
|
|
@@ -414,7 +414,7 @@ export default {
|
|
|
}
|
|
|
return {
|
|
|
id: node.district,
|
|
|
- label: node.deptName,
|
|
|
+ label: node.label,
|
|
|
children: node.children,
|
|
|
};
|
|
|
},
|