Commit 51f28d83 authored by wei's avatar wei

ll

parent 962395a3
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
readonly readonly
required required
name="projectId" name="projectId"
:value="form.projectName" :value="form.projectId"
label="所属项目" label="所属项目"
placeholder="请输入" placeholder="请输入"
/> />
......
...@@ -627,24 +627,24 @@ export default { ...@@ -627,24 +627,24 @@ export default {
this.form.projectId = "测试项目"; this.form.projectId = "测试项目";
}, },
mounted() { mounted() {
this.getFloor(); // this.getFloor();
this.getFXYS(); this.getFXYS();
this.getZSGLX(); this.getZSGLX();
}, },
methods: { methods: {
getFloor() { // getFloor() {
getFun(`/risk/plan/floor/list/${this.form.buildingIds}`) // getFun(`/risk/plan/floor/list/${this.form.buildingIds}`)
.then(res => { // .then(res => {
// this.$toast.clear(); // // this.$toast.clear();
// this.showSource = true; // // this.showSource = true;
let newArr = this.renameKeyInTree(res.data, "name", "text"); // let newArr = this.renameKeyInTree(res.data, "name", "text");
this.floorSource = newArr; // this.floorSource = newArr;
}) // })
.catch(() => { // .catch(() => {
this.$toast.fail("加载失败,请稍后再试"); // this.$toast.fail("加载失败,请稍后再试");
}); // });
}, // },
getFXYS() { getFXYS() {
getFun(`/risk/plan/dict/data/list?dictType=risk_plan_factor`) getFun(`/risk/plan/dict/data/list?dictType=risk_plan_factor`)
.then(res => { .then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment