diff --git a/src/assets/scss/modules/management/edit-main.scss b/src/assets/scss/modules/management/edit-main.scss index 758b34d85..f181050a6 100644 --- a/src/assets/scss/modules/management/edit-main.scss +++ b/src/assets/scss/modules/management/edit-main.scss @@ -22,6 +22,10 @@ .edit_item_width_normal{ width:320px; } +//编辑框-房屋级联选择 楼号-单元-放号宽度 +.edit_item_width_build{ + width:100px; +} .edit_map{ diff --git a/src/assets/scss/modules/management/list-main.scss b/src/assets/scss/modules/management/list-main.scss index 5b5dd0525..944ca823f 100644 --- a/src/assets/scss/modules/management/list-main.scss +++ b/src/assets/scss/modules/management/list-main.scss @@ -65,7 +65,7 @@ background: #FFFFFF; box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.08), 0px 3px 6px -4px rgba(0,0,0,0.12); position: relative; - padding:24px 16px 0; + padding:24px 16px 10px; .div_btn { display: flex; diff --git a/src/views/modules/base/community/buildForm.vue b/src/views/modules/base/community/buildForm.vue index 15ab54e26..c3dd653d5 100644 --- a/src/views/modules/base/community/buildForm.vue +++ b/src/views/modules/base/community/buildForm.vue @@ -148,13 +148,12 @@
取 消 确 定 + @click="handleComfirm">保 存
diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue index 7b51922db..816936a39 100644 --- a/src/views/modules/base/community/communityForm.vue +++ b/src/views/modules/base/community/communityForm.vue @@ -179,12 +179,11 @@
取 消 确 定 + @click="handleComfirm">保 存
diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index 00a0e1635..9e3b8470e 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -179,13 +179,12 @@
取 消 确 定 + @click="handleComfirm">保 存
diff --git a/src/views/modules/base/huji/immigration/edit.vue b/src/views/modules/base/huji/immigration/edit.vue index f90baa11b..815168082 100644 --- a/src/views/modules/base/huji/immigration/edit.vue +++ b/src/views/modules/base/huji/immigration/edit.vue @@ -1,366 +1,265 @@ @@ -371,7 +270,7 @@ import formVltHelper from 'dai-js/tools/formVltHelper' import { computedCard } from '@/utils/index' import { isCard, isMobile } from '@/utils/validate' -function iniFmData() { +function iniFmData () { return { gridId: '', villageId: '', @@ -400,7 +299,7 @@ function iniFmData() { } export default { - data() { + data () { return { formType: 'add', //表单操作类型 add新增,edit编辑,detail详情 @@ -436,7 +335,7 @@ export default { }, components: {}, computed: { - dataRule() { + dataRule () { let checkIdCard = (rule, value, callback) => { if (value === '') { callback(new Error('请输入证件号')) @@ -475,20 +374,20 @@ export default { } }, - changeVDisabled() { + changeVDisabled () { return !this.fmData.villageId }, - changeBDisabled() { + changeBDisabled () { return !this.fmData.buildId }, - changeDDisabled() { + changeDDisabled () { return !this.fmData.unitId } }, props: {}, watch: {}, - async mounted() { + async mounted () { console.log('mounted-----我执行了') await this.getGridList() @@ -496,13 +395,13 @@ export default { }, methods: { - lzayLoadArea(node, resolve) { + lzayLoadArea (node, resolve) { // this.getArea(node, resolve) setTimeout(() => { this.getArea(node, resolve) }, 200) }, - async checkResiAvailable() { + async checkResiAvailable () { const { fmData: { idCard, isResiUser } } = this @@ -528,7 +427,7 @@ export default { } } }, - handleNowArea(val) { + handleNowArea (val) { console.log('val-----', val) console.log('label-----', this.$refs.nowArea.getCheckedNodes()) if (val.length > 0) { @@ -544,7 +443,7 @@ export default { this.fmData.sourceAddressPathCode = '' } }, - handleBlurId(val) { + handleBlurId (val) { const { sex, age } = computedCard(this.fmData.idCard) if (val) { this.fmData.age = age @@ -553,20 +452,20 @@ export default { } }, - handleClearVillage() { + handleClearVillage () { this.fmData.buildId = '' this.fmData.homeId = '' }, - handleClearBuild() { + handleClearBuild () { this.fmData.buildId = '' this.fmData.unitId = '' this.fmData.homeId = '' }, - handleClearDan() { + handleClearDan () { this.fmData.unitId = '' this.fmData.homeId = '' }, - handleChangeGrid(val) { + handleChangeGrid (val) { console.log('val', val) this.fmData.villageId = '' this.fmData.buildId = '' @@ -576,7 +475,7 @@ export default { this.fmData.householderRelation = '' this.getValiheList() }, - handleChangeV(val) { + handleChangeV (val) { console.log('val', val) this.fmData.buildId = '' this.fmData.unitId = '' @@ -585,7 +484,7 @@ export default { this.fmData.householderRelation = '' this.getBuildList() }, - handleChangeB(val) { + handleChangeB (val) { console.log('val', val) this.fmData.unitId = '' this.fmData.homeId = '' @@ -593,14 +492,14 @@ export default { this.fmData.householderRelation = '' this.getUniList() }, - handleChangeD(val) { + handleChangeD (val) { console.log('val', val) this.fmData.homeId = '' this.fmData.householderName = '' this.fmData.householderRelation = '' this.getHouseList() }, - handleChangeH(val) { + handleChangeH (val) { console.log('val', val) this.getHouseMaster() }, @@ -629,7 +528,7 @@ export default { } }, - getRelationList() { + getRelationList () { const { user } = this.$store.state this.$http .post('/sys/dict/data/relationship', { @@ -648,7 +547,7 @@ export default { }) }, - getGridList() { + getGridList () { const { user } = this.$store.state this.$http .post('/gov/org/customergrid/gridoption', { @@ -667,7 +566,7 @@ export default { return this.$message.error('网络错误') }) }, - getValiheList() { + getValiheList () { const { user } = this.$store.state this.$http .post('/gov/org/icneighborhood/neighborhoodoption', { @@ -687,7 +586,7 @@ export default { return this.$message.error('网络错误') }) }, - getBuildList() { + getBuildList () { this.$http .post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.fmData.villageId @@ -704,7 +603,7 @@ export default { return this.$message.error('网络错误') }) }, - getUniList() { + getUniList () { this.$http .post('/gov/org/icbuildingunit/unitoption', { buildingId: this.fmData.buildId @@ -721,7 +620,7 @@ export default { return this.$message.error('网络错误') }) }, - getHouseList() { + getHouseList () { this.$http .post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId }) .then(({ data: res }) => { @@ -737,7 +636,7 @@ export default { }) }, - getHouseMaster() { + getHouseMaster () { const { homeId } = this.fmData if (!homeId) return (this.alreadyHaveMaster = false) @@ -763,7 +662,7 @@ export default { }) }, - async initForm(type, id) { + async initForm (type, id) { this.$refs.ref_form.resetFields() this.formType = type @@ -778,7 +677,7 @@ export default { this.getHouseList() } }, - async getDatail(moveInId) { + async getDatail (moveInId) { let url = '/epmetuser/icMoveIn/detail' const params = { @@ -792,7 +691,7 @@ export default { } else this.$message.error(msg) }, - async handleComfirm() { + async handleComfirm () { // setTimeout(() => { // this.btnDisable = false @@ -834,7 +733,7 @@ export default { }) }, - async submit() { + async submit () { let url = '' if (this.formType === 'add') { @@ -861,11 +760,11 @@ export default { } }, - handleCancle() { + handleCancle () { this.resetData() this.$emit('dialogCancle') }, - resetData() { + resetData () { this.orgId = '' this.nowAllCode = [] this.btnDisable = false @@ -877,53 +776,7 @@ export default { - + diff --git a/src/views/modules/base/huji/immigration/index.vue b/src/views/modules/base/huji/immigration/index.vue index 278053587..219406c11 100644 --- a/src/views/modules/base/huji/immigration/index.vue +++ b/src/views/modules/base/huji/immigration/index.vue @@ -158,11 +158,12 @@
- 迁入登记 下载模板 {{ importBtnTitle }} 导出
@@ -290,22 +291,23 @@ + width="190"> @@ -349,7 +351,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="formTitle" - width="850px" + width="670px" top="5vh" class="dialog-h" @closed="handleClose"> @@ -364,7 +366,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="'迁入详情'" - width="850px" + width="670px" top="5vh" class="dialog-h" @closed="detailFormCancle"> @@ -497,8 +499,9 @@ export default { this.getGridList() this.getValiheList() this.getTableData() - this.searchH = this.$refs.searchForm.$el.offsetHeight + 270 - console.log('searchH----', this.$refs.searchForm.$el.offsetHeight) + + this.searchH = this.$refs.searchForm.offsetHeight + 300 + console.log('searchH----', this.$refs.searchForm.offsetHeight) }, methods: { diaClose () { @@ -974,84 +977,4 @@ export default {