maxiaoxiao 1 год назад
Родитель
Сommit
fe5df1d4bb
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/views/siteselection/components/dkDetailsNew.vue

+ 4 - 4
src/views/siteselection/components/dkDetailsNew.vue

@@ -64,6 +64,7 @@ export default {
       title: "",
       loading: true,
       isDateilsShow: false,
+      ruleForm: { height: 50 },
       activeName: 'second',
       tabs_list: null,
       optional: null,
@@ -76,12 +77,11 @@ export default {
       this.title = title;
       this.isDateilsShow = true;
       this.optional = item;
-      if (this.title == "规划信息"){
-        this.getCollapseList()
-      }
+      if (this.title == "规划信息") this.getCollapseList();
+      else if (this.title == "三维分析") this.ruleForm.height = 50;
     },
     submit() {
-      this.$emit("pullUp", this.itemObj, this.ruleForm.height);
+      this.$emit("pullUp", this.optional, this.ruleForm.height);
     },
     async getCollapseList(){
        let data = await GetCascadeList();