-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
+
+
-
-
+
+
-
- 享受福利
-
- 补充居民信息
-
-
- 补充居民信息
+
+ 享受福利
+
+
+ 补充居民信息
+
+
+ 补充居民信息
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
取 消
-
确 定
+
+ 取 消
+ 保 存
@@ -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">
查看
修改
+ class="div-table-button--blue">修改
变更记录
+ class="div-table-button--blue">变更记录
删除
@@ -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 {