shaun-sheep 5 years ago
parent
commit
23c6b3a538
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/components/business_space/business/handsontable.vue

+ 3 - 2
src/components/business_space/business/handsontable.vue

@@ -40,7 +40,7 @@
     <qrcode :dialog="dialog" :qrcodeUrl="qrcodeUrl" :addBody="true" ref="qrcode"></qrcode>
     <!--      上传图片-->
     <upload-img-dialog :read="onlyRead" @changeFile="imgChange" :keysArr="imgsArr" :dialog="myDialog" />
-    <dialogZone ref="zone" @createSuccess="grtOtherType" />
+    <dialogZone ref="zone" @createSuccess="getOtherType" />
   </div>
 </template>
 <script>
@@ -217,6 +217,7 @@ export default {
       } else {
         // 其他分区类型查询表数据接口
         this.isLoading = false
+        this.getOtherType();
       }
     },
     //获取表格主体内容
@@ -704,7 +705,7 @@ export default {
       this.$refs.zone.dialogFormVisible = true
     },
   //  其他分区类型查询
-    grtOtherType() {
+    getOtherType() {
       let param = {
         Cascade: [{ Name: 'zoneType' }],
         Filters: `Code="OtherZone"`