Browse Source

迁出记录 列表

dev2
jiangyy 3 years ago
parent
commit
af89a07f30
  1. 4
      src/assets/scss/modules/management/edit-main.scss
  2. 2
      src/assets/scss/modules/management/list-main.scss
  3. 3
      src/views/modules/base/community/buildForm.vue
  4. 3
      src/views/modules/base/community/communityForm.vue
  5. 3
      src/views/modules/base/community/roomForm.vue
  6. 635
      src/views/modules/base/huji/immigration/edit.vue
  7. 107
      src/views/modules/base/huji/immigration/index.vue

4
src/assets/scss/modules/management/edit-main.scss

@ -22,6 +22,10 @@
.edit_item_width_normal{ .edit_item_width_normal{
width:320px; width:320px;
} }
//编辑框-房屋级联选择 楼号-单元-放号宽度
.edit_item_width_build{
width:100px;
}
.edit_map{ .edit_map{

2
src/assets/scss/modules/management/list-main.scss

@ -65,7 +65,7 @@
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.08), 0px 3px 6px -4px rgba(0,0,0,0.12); box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.08), 0px 3px 6px -4px rgba(0,0,0,0.12);
position: relative; position: relative;
padding:24px 16px 0; padding:24px 16px 10px;
.div_btn { .div_btn {
display: flex; display: flex;

3
src/views/modules/base/community/buildForm.vue

@ -148,13 +148,12 @@
</div> </div>
<div class="div_btn"> <div class="div_btn">
<el-button size="small" <el-button size="small"
class="diy-button--white"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small" <el-button size="small"
type="primary" type="primary"
class="diy-button--blue" class="diy-button--blue"
:disabled="btnDisable" :disabled="btnDisable"
@click="handleComfirm"> </el-button> @click="handleComfirm"> </el-button>
</div> </div>
</div> </div>
</template> </template>

3
src/views/modules/base/community/communityForm.vue

@ -179,12 +179,11 @@
</div> </div>
<div class="div_btn"> <div class="div_btn">
<el-button size="small" <el-button size="small"
class="diy-button--white"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small" <el-button size="small"
class="diy-button--blue" class="diy-button--blue"
:disabled="btnDisable" :disabled="btnDisable"
@click="handleComfirm"> </el-button> @click="handleComfirm"> </el-button>
</div> </div>
</div> </div>
</template> </template>

3
src/views/modules/base/community/roomForm.vue

@ -179,13 +179,12 @@
</div> </div>
<div class="div_btn"> <div class="div_btn">
<el-button size="small" <el-button size="small"
class="diy-button--white"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small" <el-button size="small"
type="primary" type="primary"
class="diy-button--blue" class="diy-button--blue"
:disabled="btnDisable" :disabled="btnDisable"
@click="handleComfirm"> </el-button> @click="handleComfirm"> </el-button>
</div> </div>
</div> </div>
</template> </template>

635
src/views/modules/base/huji/immigration/edit.vue

@ -1,366 +1,265 @@
<template> <template>
<div> <div>
<div class="dialog-h-content scroll-h"> <div class="dialog-h-content scroll-h">
<el-form <el-form ref="ref_form"
ref="ref_form" :inline="true"
:inline="true" :model="fmData"
:model="fmData" :rules="dataRule"
:rules="dataRule" label-width="150px"
:disabled="formType === 'detail'" class="edit_form">
class="form" <el-form-item label="所属网格 "
> prop="gridId"
<el-form-item style="display: block">
label="所属网格 " <el-select v-model.trim="fmData.gridId"
prop="gridId" placeholder="请选择"
label-width="150px" size="small"
style="display: block" clearable
> class="edit_item_width_normal"
<el-select :disabled="formType === 'edit'"
v-model.trim="fmData.gridId" @change="handleChangeGrid">
placeholder="请选择" <el-option v-for="item in optionsG"
size="small" :key="item.value"
clearable :label="item.label"
class="item_width_1" :value="item.value">
:disabled="formType === 'edit'"
@change="handleChangeGrid"
>
<el-option
v-for="item in optionsG"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="所属房屋 "
label="所属房屋 " prop="homeId"
prop="homeId" style="display: block">
label-width="150px"
style="display: block" <div>
> <el-select v-model.trim="fmData.villageId"
<el-input placeholder="请选择小区"
v-if="formType == 'detail'" size="small"
class="item_width_2" clearable
placeholder="请输入来源地" class="edit_item_width_normal"
disabled @clear="handleClearVillage"
v-model="fmData.allName" @change="handleChangeV"
/> :disabled="formType === 'edit'">
<template v-else> <el-option v-for="item in optionsV"
<el-select :key="item.value"
v-model.trim="fmData.villageId" :label="item.label"
placeholder="请选择小区" :value="item.value">
size="small"
clearable
class="resi-cell-select"
@clear="handleClearVillage"
@change="handleChangeV"
:disabled="formType === 'edit'"
style="margin-right: 8px; width: 120px"
>
<el-option
v-for="item in optionsV"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
<el-select </div>
v-model.trim="fmData.buildId" <div>
placeholder="楼号" <el-select v-model.trim="fmData.buildId"
size="small" placeholder="楼号"
clearable size="small"
style="margin-right: 8px; width: 120px" clearable
class="resi-cell-select" class="edit_item_width_build"
:disabled="changeVDisabled || formType === 'edit'" :disabled="changeVDisabled || formType === 'edit'"
@clear="handleClearBuild" @clear="handleClearBuild"
@change="handleChangeB" @change="handleChangeB">
> <el-option v-for="item in optionsB"
<el-option :key="item.value"
v-for="item in optionsB" :label="item.label"
:key="item.value" :value="item.value">
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
<el-select <el-select v-model.trim="fmData.unitId"
v-model.trim="fmData.unitId" :disabled="changeBDisabled || formType === 'edit'"
:disabled="changeBDisabled || formType === 'edit'" placeholder="单元"
placeholder="单元" size="small"
size="small" clearable
clearable style="margin-left: 10px;"
style="margin-right: 8px; width: 120px" class="edit_item_width_build"
class="resi-cell-select" @click="handleClearDan"
@click="handleClearDan" @change="handleChangeD">
@change="handleChangeD" <el-option v-for="item in optionsD"
> :key="item.value"
<el-option :label="item.label"
v-for="item in optionsD" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
<el-select <el-select v-model.trim="fmData.homeId"
v-model.trim="fmData.homeId" :disabled="changeDDisabled || formType === 'edit'"
:disabled="changeDDisabled || formType === 'edit'" placeholder="房号"
placeholder="房号" size="small"
size="small" clearable
clearable @change="handleChangeH"
@change="handleChangeH" style="margin-left: 10px;"
style="width: 120px" class="edit_item_width_build">
class="resi-cell-select" <el-option v-for="item in optionsH"
> :key="item.value"
<el-option :label="item.label"
v-for="item in optionsH" :value="item.value">
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</template> </div>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="姓名"
label="姓名" prop="name"
prop="name" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" style="margin-right: 20px"
> placeholder="请输入姓名 "
<el-input v-model="fmData.name"
class="item_width_1" :disabled="formType === 'edit'"
style="margin-right: 20px" maxlength="30">
placeholder="请输入姓名 "
v-model="fmData.name"
:disabled="formType === 'edit'"
maxlength="30"
>
</el-input> </el-input>
<div>
<el-checkbox v-model="fmData.isWelfare" true-label="1" false-label="0">享受福利</el-checkbox> <el-checkbox v-model="fmData.isWelfare"
<template v-if="formType === 'edit'"> true-label="1"
<el-checkbox false-label="0">享受福利</el-checkbox>
v-model="fmData.isCheck"
true-label="1" <template v-if="formType === 'edit'">
false-label="0" <el-checkbox v-model="fmData.isCheck"
:disabled="initCheck == 1" true-label="1"
@change="checkResiAvailable" false-label="0"
>补充居民信息</el-checkbox :disabled="initCheck == 1"
> @change="checkResiAvailable">补充居民信息</el-checkbox>
</template> </template>
<el-checkbox <el-checkbox v-else
v-else v-model="fmData.isCheck"
v-model="fmData.isCheck" true-label="1"
true-label="1" false-label="0"
false-label="0" @change="checkResiAvailable">补充居民信息</el-checkbox>
@change="checkResiAvailable" </div>
>补充居民信息</el-checkbox
>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="手机号"
label="手机号" prop="mobile"
prop="mobile" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" type="number"
> maxlength="11"
<el-input show-word-limit
class="item_width_1" placeholder="请输入手机号 "
type="number" :disabled="formType === 'edit'"
maxlength="11" v-model="fmData.mobile">
show-word-limit
placeholder="请输入手机号 "
:disabled="formType === 'edit'"
v-model="fmData.mobile"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="证件号"
label="证件号" prop="idCard"
prop="idCard" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" placeholder="请输入身份证号或护照号"
> v-model="fmData.idCard"
<el-input :disabled="formType === 'edit'"
class="item_width_1" @blur="handleBlurId"></el-input>
placeholder="请输入身份证号或护照号"
v-model="fmData.idCard"
:disabled="formType === 'edit'"
@blur="handleBlurId"
></el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="性别"
label="性别" prop="principalName"
prop="principalName" style="display: block">
label-width="150px" <el-select v-model.trim="fmData.gender"
style="display: block" placeholder="性别"
> size="small"
<el-select clearable
v-model.trim="fmData.gender" class="edit_item_width_normal"
placeholder="性别" :disabled="true">
size="small" <el-option v-for="item in optionsGender"
clearable :key="item.value"
class="item_width_1" :label="item.label"
:disabled="true" :value="item.value">
>
<el-option
v-for="item in optionsGender"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="年龄"
label="年龄" prop="age"
prop="age" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" type="number"
> show-word-limit
<el-input placeholder="请输入"
class="item_width_1" v-model="fmData.age"
type="number" :disabled="true">
show-word-limit
placeholder="请输入"
v-model="fmData.age"
:disabled="true"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="迁入日期"
label="迁入日期" prop="inTime"
prop="inTime" style="display: block">
label-width="150px" <el-date-picker v-model="fmData.inTime"
style="display: block" type="date"
> placeholder="迁入时间"
<el-date-picker value-format="yyyy-MM-dd"
v-model="fmData.inTime" class="edit_item_width_normal"
type="date" :disabled="formType === 'edit'">
placeholder="迁入时间"
value-format="yyyy-MM-dd"
class="item_width_1"
:disabled="formType === 'edit'"
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="迁入原因"
label="迁入原因" prop="inReason"
prop="inReason" style="display: block">
label-width="150px" <el-input type="textarea"
style="display: block" class="edit_item_width_normal"
> placeholder="请输入迁入原因"
<el-input v-model="fmData.inReason">
type="textarea"
class="item_width_2"
placeholder="请输入迁入原因"
v-model="fmData.inReason"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="来源地"
label="来源地" prop="sourceAddress"
prop="sourceAddress" style="display: block">
label-width="150px"
style="display: block" <el-cascader ref="nowArea"
> class="edit_item_width_normal"
<el-input :props="areaProps"
v-if="formType == 'detail'" v-model="nowAllCode"
class="item_width_2" clearable
placeholder="请输入来源地" @change="handleNowArea"></el-cascader>
disabled
v-model="fmData.sourceAddress"
/>
<el-cascader v-else ref="nowArea" class="item_width_1" :props="areaProps"
v-model="nowAllCode" clearable @change="handleNowArea"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="详细地址"
label="详细地址" prop="address"
prop="address" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" placeholder="请输入详细地址"
> v-model="fmData.address">
<el-input
class="item_width_1"
placeholder="请输入详细地址"
v-model="fmData.address"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="迁移证号码"
label="迁移证号码" prop="moveNumber"
prop="moveNumber" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" placeholder="请输入迁移证号码"
> v-model="fmData.moveNumber">
<el-input
class="item_width_1"
placeholder="请输入迁移证号码"
v-model="fmData.moveNumber"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="户主姓名"
label="户主姓名" prop="householderName"
prop="householderName" style="display: block">
label-width="150px" <el-input class="edit_item_width_normal"
style="display: block" placeholder="请输入户主姓名"
> v-model="fmData.householderName">
<el-input
class="item_width_1"
placeholder="请输入户主姓名"
v-model="fmData.householderName"
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="与户主关系"
label="与户主关系" prop="householderRelation"
prop="householderRelation" style="display: block">
label-width="150px" <el-select v-model.trim="fmData.householderRelation"
style="display: block" placeholder="与户主关系"
> size="small"
<el-select clearable
v-model.trim="fmData.householderRelation" class="edit_item_width_normal">
placeholder="与户主关系" <el-option v-for="item in optionsRelation"
size="small" :key="item.value"
clearable :label="item.label"
class="item_width_1" :value="item.value">
>
<el-option
v-for="item in optionsRelation"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="div_btn resi-btns"> <div class="div_btn">
<el-button size="small" @click="handleCancle"> </el-button> <el-button size="small"
<el-button @click="handleCancle"> </el-button>
v-if="formType != 'detail'" <el-button type="primary"
type="primary" size="small"
size="small" class="diy-button--blue"
:disabled="btnDisable" :disabled="btnDisable"
@click="handleComfirm" @click="handleComfirm"> </el-button>
> </el-button
>
</div> </div>
</div> </div>
</template> </template>
@ -371,7 +270,7 @@ import formVltHelper from 'dai-js/tools/formVltHelper'
import { computedCard } from '@/utils/index' import { computedCard } from '@/utils/index'
import { isCard, isMobile } from '@/utils/validate' import { isCard, isMobile } from '@/utils/validate'
function iniFmData() { function iniFmData () {
return { return {
gridId: '', gridId: '',
villageId: '', villageId: '',
@ -400,7 +299,7 @@ function iniFmData() {
} }
export default { export default {
data() { data () {
return { return {
formType: 'add', // addeditdetail formType: 'add', // addeditdetail
@ -436,7 +335,7 @@ export default {
}, },
components: {}, components: {},
computed: { computed: {
dataRule() { dataRule () {
let checkIdCard = (rule, value, callback) => { let checkIdCard = (rule, value, callback) => {
if (value === '') { if (value === '') {
callback(new Error('请输入证件号')) callback(new Error('请输入证件号'))
@ -475,20 +374,20 @@ export default {
} }
}, },
changeVDisabled() { changeVDisabled () {
return !this.fmData.villageId return !this.fmData.villageId
}, },
changeBDisabled() { changeBDisabled () {
return !this.fmData.buildId return !this.fmData.buildId
}, },
changeDDisabled() { changeDDisabled () {
return !this.fmData.unitId return !this.fmData.unitId
} }
}, },
props: {}, props: {},
watch: {}, watch: {},
async mounted() { async mounted () {
console.log('mounted-----我执行了') console.log('mounted-----我执行了')
await this.getGridList() await this.getGridList()
@ -496,13 +395,13 @@ export default {
}, },
methods: { methods: {
lzayLoadArea(node, resolve) { lzayLoadArea (node, resolve) {
// this.getArea(node, resolve) // this.getArea(node, resolve)
setTimeout(() => { setTimeout(() => {
this.getArea(node, resolve) this.getArea(node, resolve)
}, 200) }, 200)
}, },
async checkResiAvailable() { async checkResiAvailable () {
const { const {
fmData: { idCard, isResiUser } fmData: { idCard, isResiUser }
} = this } = this
@ -528,7 +427,7 @@ export default {
} }
} }
}, },
handleNowArea(val) { handleNowArea (val) {
console.log('val-----', val) console.log('val-----', val)
console.log('label-----', this.$refs.nowArea.getCheckedNodes()) console.log('label-----', this.$refs.nowArea.getCheckedNodes())
if (val.length > 0) { if (val.length > 0) {
@ -544,7 +443,7 @@ export default {
this.fmData.sourceAddressPathCode = '' this.fmData.sourceAddressPathCode = ''
} }
}, },
handleBlurId(val) { handleBlurId (val) {
const { sex, age } = computedCard(this.fmData.idCard) const { sex, age } = computedCard(this.fmData.idCard)
if (val) { if (val) {
this.fmData.age = age this.fmData.age = age
@ -553,20 +452,20 @@ export default {
} }
}, },
handleClearVillage() { handleClearVillage () {
this.fmData.buildId = '' this.fmData.buildId = ''
this.fmData.homeId = '' this.fmData.homeId = ''
}, },
handleClearBuild() { handleClearBuild () {
this.fmData.buildId = '' this.fmData.buildId = ''
this.fmData.unitId = '' this.fmData.unitId = ''
this.fmData.homeId = '' this.fmData.homeId = ''
}, },
handleClearDan() { handleClearDan () {
this.fmData.unitId = '' this.fmData.unitId = ''
this.fmData.homeId = '' this.fmData.homeId = ''
}, },
handleChangeGrid(val) { handleChangeGrid (val) {
console.log('val', val) console.log('val', val)
this.fmData.villageId = '' this.fmData.villageId = ''
this.fmData.buildId = '' this.fmData.buildId = ''
@ -576,7 +475,7 @@ export default {
this.fmData.householderRelation = '' this.fmData.householderRelation = ''
this.getValiheList() this.getValiheList()
}, },
handleChangeV(val) { handleChangeV (val) {
console.log('val', val) console.log('val', val)
this.fmData.buildId = '' this.fmData.buildId = ''
this.fmData.unitId = '' this.fmData.unitId = ''
@ -585,7 +484,7 @@ export default {
this.fmData.householderRelation = '' this.fmData.householderRelation = ''
this.getBuildList() this.getBuildList()
}, },
handleChangeB(val) { handleChangeB (val) {
console.log('val', val) console.log('val', val)
this.fmData.unitId = '' this.fmData.unitId = ''
this.fmData.homeId = '' this.fmData.homeId = ''
@ -593,14 +492,14 @@ export default {
this.fmData.householderRelation = '' this.fmData.householderRelation = ''
this.getUniList() this.getUniList()
}, },
handleChangeD(val) { handleChangeD (val) {
console.log('val', val) console.log('val', val)
this.fmData.homeId = '' this.fmData.homeId = ''
this.fmData.householderName = '' this.fmData.householderName = ''
this.fmData.householderRelation = '' this.fmData.householderRelation = ''
this.getHouseList() this.getHouseList()
}, },
handleChangeH(val) { handleChangeH (val) {
console.log('val', val) console.log('val', val)
this.getHouseMaster() this.getHouseMaster()
}, },
@ -629,7 +528,7 @@ export default {
} }
}, },
getRelationList() { getRelationList () {
const { user } = this.$store.state const { user } = this.$store.state
this.$http this.$http
.post('/sys/dict/data/relationship', { .post('/sys/dict/data/relationship', {
@ -648,7 +547,7 @@ export default {
}) })
}, },
getGridList() { getGridList () {
const { user } = this.$store.state const { user } = this.$store.state
this.$http this.$http
.post('/gov/org/customergrid/gridoption', { .post('/gov/org/customergrid/gridoption', {
@ -667,7 +566,7 @@ export default {
return this.$message.error('网络错误') return this.$message.error('网络错误')
}) })
}, },
getValiheList() { getValiheList () {
const { user } = this.$store.state const { user } = this.$store.state
this.$http this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { .post('/gov/org/icneighborhood/neighborhoodoption', {
@ -687,7 +586,7 @@ export default {
return this.$message.error('网络错误') return this.$message.error('网络错误')
}) })
}, },
getBuildList() { getBuildList () {
this.$http this.$http
.post('/gov/org/icbuilding/buildingoption', { .post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.fmData.villageId neighborHoodId: this.fmData.villageId
@ -704,7 +603,7 @@ export default {
return this.$message.error('网络错误') return this.$message.error('网络错误')
}) })
}, },
getUniList() { getUniList () {
this.$http this.$http
.post('/gov/org/icbuildingunit/unitoption', { .post('/gov/org/icbuildingunit/unitoption', {
buildingId: this.fmData.buildId buildingId: this.fmData.buildId
@ -721,7 +620,7 @@ export default {
return this.$message.error('网络错误') return this.$message.error('网络错误')
}) })
}, },
getHouseList() { getHouseList () {
this.$http this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId }) .post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId })
.then(({ data: res }) => { .then(({ data: res }) => {
@ -737,7 +636,7 @@ export default {
}) })
}, },
getHouseMaster() { getHouseMaster () {
const { homeId } = this.fmData const { homeId } = this.fmData
if (!homeId) return (this.alreadyHaveMaster = false) 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.$refs.ref_form.resetFields()
this.formType = type this.formType = type
@ -778,7 +677,7 @@ export default {
this.getHouseList() this.getHouseList()
} }
}, },
async getDatail(moveInId) { async getDatail (moveInId) {
let url = '/epmetuser/icMoveIn/detail' let url = '/epmetuser/icMoveIn/detail'
const params = { const params = {
@ -792,7 +691,7 @@ export default {
} else this.$message.error(msg) } else this.$message.error(msg)
}, },
async handleComfirm() { async handleComfirm () {
// setTimeout(() => { // setTimeout(() => {
// this.btnDisable = false // this.btnDisable = false
@ -834,7 +733,7 @@ export default {
}) })
}, },
async submit() { async submit () {
let url = '' let url = ''
if (this.formType === 'add') { if (this.formType === 'add') {
@ -861,11 +760,11 @@ export default {
} }
}, },
handleCancle() { handleCancle () {
this.resetData() this.resetData()
this.$emit('dialogCancle') this.$emit('dialogCancle')
}, },
resetData() { resetData () {
this.orgId = '' this.orgId = ''
this.nowAllCode = [] this.nowAllCode = []
this.btnDisable = false this.btnDisable = false
@ -877,53 +776,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.item_width_1 { @import "@/assets/scss/modules/management/edit-main.scss";
width: 220px;
}
.item_width_2 {
width: 400px;
}
.item_width_3 {
margin-left: 10px;
width: 200px;
}
.item_width_4 {
width: 200px;
}
.div_map {
margin-top: 10px;
}
.div_btn {
// display: flex;
// justify-content: flex-end;
}
.el-tabs {
margin: 0 20px;
}
.el-upload__tip {
color: rgb(155, 155, 155);
margin: 0;
}
.form {
margin-top: 30px;
}
.m-staffs {
width: 468px;
.item {
display: flex;
justify-content: space-around;
margin-bottom: 7px;
}
.item-add {
}
}
</style> </style>
<style>
.el-dialog__body {
padding: 0 10px 20px !important;
}
</style>

107
src/views/modules/base/huji/immigration/index.vue

@ -158,11 +158,12 @@
<div class="div_table"> <div class="div_table">
<div class="div_btn"> <div class="div_btn">
<div class="div_btn_left"> <div class="div_btn_left">
<el-button class="diy-button--add" <el-button class="diy-button--blue"
icon="el-icon-plus"
size="small" size="small"
@click="handleAdd">迁入登记</el-button> @click="handleAdd">迁入登记</el-button>
<el-button v-if="false" <el-button v-if="false"
class="diy-button--export" class="diy-button--white"
size="small" size="small"
@click="handleExportModule('room')">下载模板</el-button> @click="handleExportModule('room')">下载模板</el-button>
<el-upload :headers="$getElUploadHeaders()" <el-upload :headers="$getElUploadHeaders()"
@ -180,12 +181,12 @@
:before-upload="beforeExcelUpload" :before-upload="beforeExcelUpload"
:http-request="uploadHttpRequest"> :http-request="uploadHttpRequest">
<el-button size="small" <el-button size="small"
class="diy-button--delete" class="diy-button--white"
:loading="importLoading">{{ importBtnTitle }}</el-button> :loading="importLoading">{{ importBtnTitle }}</el-button>
</el-upload> </el-upload>
<el-button @click="handleChu" <el-button @click="handleChu"
class="diy-button--reset" class="diy-button--white"
size="small">导出</el-button> size="small">导出</el-button>
</div> </div>
</div> </div>
@ -290,22 +291,23 @@
<el-table-column fixed="right" <el-table-column fixed="right"
label="操作" label="操作"
align="center" align="center"
width="150"> width="190">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="false" <el-button v-if="false"
@click="handleWatch(scope.$index)" @click="handleWatch(scope.$index)"
type="text" type="text"
class="div-table-button--blue"
size="small">查看</el-button> size="small">查看</el-button>
<el-button @click="handleEdit(scope.$index)" <el-button @click="handleEdit(scope.$index)"
type="text" type="text"
size="small" size="small"
class="div-table-button--edit">修改</el-button> class="div-table-button--blue">修改</el-button>
<el-button @click="handleChangeRecord(scope.row)" <el-button @click="handleChangeRecord(scope.row)"
type="text" type="text"
size="small" size="small"
class="div-table-button--detail">变更记录</el-button> class="div-table-button--blue">变更记录</el-button>
<el-popconfirm v-if="false" <el-popconfirm v-if="false"
title="删除之后无法回复,确认删除?" title="删除之后无法回复,确认删除?"
@ -324,7 +326,7 @@
<el-button slot="reference" <el-button slot="reference"
type="text" type="text"
size="small" size="small"
class="div-table-button--delete" class="div-table-button--blue"
style="margin-left: 10px">删除</el-button> style="margin-left: 10px">删除</el-button>
</el-popconfirm> </el-popconfirm>
</template> </template>
@ -349,7 +351,7 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:title="formTitle" :title="formTitle"
width="850px" width="670px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="handleClose"> @closed="handleClose">
@ -364,7 +366,7 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:title="'迁入详情'" :title="'迁入详情'"
width="850px" width="670px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="detailFormCancle"> @closed="detailFormCancle">
@ -497,8 +499,9 @@ export default {
this.getGridList() this.getGridList()
this.getValiheList() this.getValiheList()
this.getTableData() 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: { methods: {
diaClose () { diaClose () {
@ -974,84 +977,4 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/assets/scss/modules/management/list-main.scss"; @import "@/assets/scss/modules/management/list-main.scss";
.resi-container .resi-card-table {
::v-deep .el-table th {
color: #fff;
background-color: rgba(33, 149, 254, 1);
// border-right: 1px solid rgba(33, 149, 254, 1);
}
}
.resi-table {
::v-deep .el-button--text {
text-decoration: underline;
}
}
.resi-card-table {
margin-top: 20px;
}
.resi-row-btn {
margin-bottom: 13px;
.upload-btn {
display: inline-block;
margin: 0 10px;
}
}
.resi-btns {
margin-top: 20px;
text-align: center;
}
.resi-container .resi-card {
position: relative;
overflow: visible;
}
.demo-form-inline {
// display: flex;
// align-items: center;
// margin-bottom: 20px;
.resi-cell-label {
flex-shrink: 0;
min-width: 0;
box-sizing: border-box;
margin-right: 15px;
// text-align: right;
// line-height: 32;
}
.resi-cell-label1 {
width: max-content;
}
.resi-cell-value-radio {
display: flex;
align-items: center;
min-height: 32px;
}
.item_width_normal {
width: 200px;
}
.resi-cell--daterange {
max-width: 260px;
}
.item_width_normal {
width: 200px;
box-sizing: border-box;
margin-right: 10px;
&-middle {
width: 120px;
}
&-small {
width: 88px;
}
}
.item_width_normal:last-child {
margin-right: 0;
}
}
.mt10 {
margin-top: 10px;
}
</style> </style>

Loading…
Cancel
Save