diff --git a/src/assets/scss/buttonstyle.scss b/src/assets/scss/buttonstyle.scss index 96fe931dc..4d1da7f1c 100644 --- a/src/assets/scss/buttonstyle.scss +++ b/src/assets/scss/buttonstyle.scss @@ -135,6 +135,13 @@ font-weight: 600 !important; color: #BB0000 !important; +} +.div-table-button--green { + font-size: 14px !important; + font-family: Source Han Serif CN !important; + font-weight: 600 !important; + color: #0192A3 !important; + } //旧版--------弃用 diff --git a/src/assets/scss/modules/management/edit-main.scss b/src/assets/scss/modules/management/edit-main.scss index 10b616db9..4d507d7f0 100644 --- a/src/assets/scss/modules/management/edit-main.scss +++ b/src/assets/scss/modules/management/edit-main.scss @@ -24,10 +24,18 @@ /deep/ .el-form-item{ height:350px; // line-height: 40px; + + } + + .map_line{ + // height:5px; + // background-color: #ffffff; } .div_map{ margin-top:10px; + height:280px; + padding-bottom:10px; } } .item-image{ @@ -68,6 +76,9 @@ height:89px; // line-height: 40px; } + /deep/ .el-form-item__content{ + height:78px; + } /deep/ .el-input__countx { background:none; @@ -80,14 +91,14 @@ line-height: 40px; } /deep/ .el-form-item__content{ - width:660px; + width:760px; margin:5px 6px; background: #F6F6F6; padding:0 16px; line-height: 36px } /deep/ .el-input__inner{ - width:100%; + width:95%; background-color: #F6F6F6; border:0px; line-height: 26px; @@ -106,6 +117,10 @@ background:none; } + /deep/ .el-input__prefix{ + left:700px; + } + } .edit_item_width_1{ @@ -113,11 +128,15 @@ } //带着按钮 .edit_item_btn_width_1{ - width:550px; + width:650px; } .edit-btn-1{ float:right; margin-right:10px; } +.div_btn { + margin-top: 20px; + text-align: center; +} diff --git a/src/views/components/resiChangeTransfer copy.vue b/src/views/components/resiChangeTransfer copy.vue new file mode 100644 index 000000000..f19da89b9 --- /dev/null +++ b/src/views/components/resiChangeTransfer copy.vue @@ -0,0 +1,634 @@ + + + + diff --git a/src/views/components/resiChangeTransfer.vue b/src/views/components/resiChangeTransfer.vue index f19da89b9..f4079c944 100644 --- a/src/views/components/resiChangeTransfer.vue +++ b/src/views/components/resiChangeTransfer.vue @@ -1,38 +1,38 @@ @@ -239,29 +234,29 @@ export default { }, mounted () { }, - computed: { - dataRule () { - return { - type: [ - { required: true, message: '操作类型不能为空', trigger: 'blur' }, - ], - agencyId: [ - { required: true, message: '所选组织不能为空', trigger: 'blur' } - ], - villageId: [ - { required: true, message: '所属家庭不能为空', trigger: 'blur' } - ], - address: [ - { required: true, message: '外迁详细地址不能为空', trigger: 'blur' } - ], - outOfTime: [ - { required: true, message: '迁出时间不能为空', trigger: 'blur' } - ] - - } - }, + computed: { + dataRule () { + return { + type: [ + { required: true, message: '操作类型不能为空', trigger: 'blur' }, + ], + agencyId: [ + { required: true, message: '所选组织不能为空', trigger: 'blur' } + ], + villageId: [ + { required: true, message: '所属家庭不能为空', trigger: 'blur' } + ], + address: [ + { required: true, message: '外迁详细地址不能为空', trigger: 'blur' } + ], + outOfTime: [ + { required: true, message: '迁出时间不能为空', trigger: 'blur' } + ] + } }, + + }, methods: { async initForm (row) { @@ -274,38 +269,38 @@ export default { this.dataForm.icUserId = row.icResiUserId // 添加参数 - if(row.DOOR_NAME !== null && row.DOOR_NAME !== '' && row.DOOR_NAME !== undefined){ - this.dataForm.oldHome = row.DOOR_NAME - }else{ - this.dataForm.oldHome = '' - } - this.dataForm.customerId = this.customerId - this.dataForm.idCard = row.ID_CARD - this.dataForm.mobile = row.MOBILE + if (row.DOOR_NAME !== null && row.DOOR_NAME !== '' && row.DOOR_NAME !== undefined) { + this.dataForm.oldHome = row.DOOR_NAME + } else { + this.dataForm.oldHome = '' + } + this.dataForm.customerId = this.customerId + this.dataForm.idCard = row.ID_CARD + this.dataForm.mobile = row.MOBILE - await this.loadHouseInfo(row.HOME_ID_VALUE) + await this.loadHouseInfo(row.HOME_ID_VALUE) - this.dataForm.name = row.NAME - this.dataForm.gender = row.GENDER - this.dataForm.age = '' + this.dataForm.name = row.NAME + this.dataForm.gender = row.GENDER + this.dataForm.age = '' await this.loadRootAgency() await this.getAgencylist() }, - async loadHouseInfo (homeIdValue) { - const url = "/gov/org/ichouse/" + homeIdValue - const { data, code, msg } = await requestGet(url) - if (code === 0) { - this.dataForm.oldDept = '' - this.dataForm.oldAddress = data.houseName - this.dataForm.ownerName = data.ownerName - } else { - this.$message.error(msg) - } + async loadHouseInfo (homeIdValue) { + const url = "/gov/org/ichouse/" + homeIdValue + const { data, code, msg } = await requestGet(url) + if (code === 0) { + this.dataForm.oldDept = '' + this.dataForm.oldAddress = data.houseName + this.dataForm.ownerName = data.ownerName + } else { + this.$message.error(msg) + } - }, + }, //根据人员id获取根组织信息 async loadRootAgency () { @@ -401,12 +396,12 @@ export default { }, async handleChangeCommunity (id) { - // 小区 - this.communityList.find((item) => { - if (item.value === id) { - this.dataForm.villageName = item.label - } - }) + // 小区 + this.communityList.find((item) => { + if (item.value === id) { + this.dataForm.villageName = item.label + } + }) const url = '/gov/org/icbuilding/buildingoption' @@ -430,12 +425,12 @@ export default { async handleChangeBuilding (id) { - // 楼号 - this.buildingList.find((item) => { - if (item.value === id) { - this.dataForm.buildName = item.label - } - }) + // 楼号 + this.buildingList.find((item) => { + if (item.value === id) { + this.dataForm.buildName = item.label + } + }) const url = '/gov/org/icbuildingunit/unitoption' @@ -458,12 +453,12 @@ export default { }, async handleChangeUnit (id) { - // 单元号 - this.unitList.find((item) => { - if (item.value === id) { - this.dataForm.unitName = item.label - } - }) + // 单元号 + this.unitList.find((item) => { + if (item.value === id) { + this.dataForm.unitName = item.label + } + }) const url = '/gov/org/ichouse/houseoption' @@ -482,14 +477,14 @@ export default { } }, - async handleChangeHome (id) { - // 房屋号 - this.roomList.find((item) => { - if (item.value === id) { - this.dataForm.homeName = item.label - } - }) - }, + async handleChangeHome (id) { + // 房屋号 + this.roomList.find((item) => { + if (item.value === id) { + this.dataForm.homeName = item.label + } + }) + }, async handleComfirm () { this.btnDisable = true @@ -523,7 +518,7 @@ export default { }, async saveForm () { - + // saveOutOfInfo const url = '/epmetuser/changeRelocation/moveOutHome' let noData = new Date() @@ -539,23 +534,23 @@ export default { this.$message.error(msg) } }, - // async saveForm () { - // const url = '/epmetuser/icusertransferrecord/add' - // let noData = new Date() - // noData = util.dateFormatter(noData, 'time') - // this.dataForm.transferTime = noData - // - // console.log('-----------3--------------') - // console.log(this.dataForm) - // const { data, code, msg } = await requestPost(url, this.dataForm) - // - // if (code === 0) { - // this.$message.success('调动成功') - // this.handleCancle() - // } else { - // this.$message.error(msg) - // } - // }, + // async saveForm () { + // const url = '/epmetuser/icusertransferrecord/add' + // let noData = new Date() + // noData = util.dateFormatter(noData, 'time') + // this.dataForm.transferTime = noData + // + // console.log('-----------3--------------') + // console.log(this.dataForm) + // const { data, code, msg } = await requestPost(url, this.dataForm) + // + // if (code === 0) { + // this.$message.success('调动成功') + // this.handleCancle() + // } else { + // this.$message.error(msg) + // } + // }, handleCancle () { this.resetData() @@ -607,21 +602,8 @@ export default { } \ No newline at end of file diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue index 845c25459..e99e4dd48 100644 --- a/src/views/modules/base/community/buildTable.vue +++ b/src/views/modules/base/community/buildTable.vue @@ -253,7 +253,7 @@ :close-on-press-escape="false" :title="formTitle" top="5vh" - width="850px" + width="950px" class="dialog-h" @closed="diaClose"> diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 3c2065200..d5d34e1ed 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -1,5 +1,5 @@