This commit is contained in:
yanran200730
2022-03-24 15:07:50 +08:00
parent d9701c366d
commit 06240d2b09

View File

@@ -25,7 +25,7 @@
</el-form> </el-form>
</ai-dialog> </ai-dialog>
<locate-dialog v-model="locate" :ins="instance" :latlng="latlng" @confirm="v=>handleLocate(selected,v)"/> <locate-dialog v-model="locate" :ins="instance" :latlng="latlng" @confirm="v=>handleLocate(selected,v)"/>
<ai-area custom-clicker :input-clicker="false" v-model="selected.areaId" :instance="instance" ref="BindArea" <ai-area custom-clicker :input-clicker="false" :hideLevel="disabledLevel" v-model="selected.areaId" :instance="instance" ref="BindArea"
@change="handleSubmit(selected)"/> @change="handleSubmit(selected)"/>
</section> </section>
</template> </template>
@@ -81,6 +81,7 @@
created () { created () {
this.selected.areaId = this.user.info.areaId this.selected.areaId = this.user.info.areaId
this.disabledLevel = this.user.info.areaList.length
}, },
methods: { methods: {