From f572f9bcf34a8ef378bbbf3249e5b90190cb744c Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 31 Oct 2022 15:30:01 +0800 Subject: [PATCH] 11 --- .../modules/base/epidemic/travelForm.vue | 131 ++++++++++++++---- 1 file changed, 104 insertions(+), 27 deletions(-) diff --git a/src/views/modules/base/epidemic/travelForm.vue b/src/views/modules/base/epidemic/travelForm.vue index 30ca0369e..d26c5c89f 100644 --- a/src/views/modules/base/epidemic/travelForm.vue +++ b/src/views/modules/base/epidemic/travelForm.vue @@ -67,7 +67,8 @@ placeholder="请输入姓名" clearable :disabled="isFromResi" - v-model="formData.name" style="margin-right:10px;"> + v-model="formData.name" + style="margin-right:10px;"> 添加到核酸检测关注名单 @@ -94,25 +95,31 @@ v-model="formData.idCard"> - - - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + 小程序通知 + label="0">小程序通知 - @@ -263,7 +341,7 @@ export default { gridList: [], personList: [], pickerOptions: { - disabledDate(time) { + disabledDate (time) { return time.getTime() > Date.now(); } }, @@ -333,11 +411,11 @@ export default { //获取网格下拉框数据 await this.loadGrid() }, - destroyed() { + destroyed () { this.nowAllCode = [] }, methods: { - computedWd(val) { + computedWd (val) { const len = val.length const wd = len * 18 let w = '' @@ -345,7 +423,7 @@ export default { else w = 220 return w + 'px' }, - lzayLoadArea(node, resolve) { + lzayLoadArea (node, resolve) { // this.getArea(node, resolve) setTimeout(() => { this.getArea(node, resolve) @@ -389,7 +467,7 @@ export default { }, - handleSourceArea(val) { + handleSourceArea (val) { console.log('val-----', val) console.log('label-----', this.$refs.sourceArea.getCheckedNodes()) if (val.length > 0) { @@ -405,7 +483,7 @@ export default { } }, - handleNowArea(val) { + handleNowArea (val) { console.log('val-----', val) console.log('label-----', this.$refs.nowArea.getCheckedNodes()) if (val.length > 0) { @@ -482,7 +560,7 @@ export default { } }, - async handleSelAddress(value) { + async handleSelAddress (value) { const url = "/gov/org/house/gethouseinfo/" + value @@ -613,7 +691,6 @@ export default { min-width: 260px; } } -