Browse Source

租房管理需求变更11-29

feature/rentalRevision
wanggongfeng 3 years ago
parent
commit
6dd2dd98b3
  1. 2
      src/views/modules/plugins/change/resiwelfare.vue
  2. 4
      src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
  3. 8
      src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue
  4. 11
      src/views/modules/plugins/rent/rentcontractreview.vue

2
src/views/modules/plugins/change/resiwelfare.vue

@ -400,7 +400,7 @@ export default {
}, },
methods: { methods: {
searchFilter (columnName) { searchFilter (columnName) {
const filterName = [ 'NAME', 'MOBILE', 'ID_CARD' ] const filterName = [ 'NAME', 'MOBILE', 'ID_CARD', 'IS_BDHJ' ]
return filterName.some(item => { return filterName.some(item => {
return item == columnName return item == columnName
}) })

4
src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue

@ -95,7 +95,7 @@
</el-form-item> </el-form-item>
<br/> <br/>
<el-form-item label="房主姓名" prop="ownerName"> <el-form-item label="房主姓名" prop="ownerName">
<el-input v-model="dataForm.ownerName" placeholder="房主姓名" style="width: 210px;" disabled></el-input> <el-input v-model="dataForm.ownerName" placeholder="房主姓名" style="width: 210px;"></el-input>
</el-form-item> </el-form-item>
<div style="margin-left: 30px;height: 30px;font-weight: bold;">合同信息</div> <div style="margin-left: 30px;height: 30px;font-weight: bold;">合同信息</div>
@ -417,7 +417,7 @@ export default {
{ dictValue: '媳婿', dictName: '媳婿' }, { dictValue: '媳婿', dictName: '媳婿' },
{ dictValue: '孙子女', dictName: '孙子女' }, { dictValue: '孙子女', dictName: '孙子女' },
{ dictValue: '兄弟姐妹', dictName: '兄弟姐妹' }, { dictValue: '兄弟姐妹', dictName: '兄弟姐妹' },
{ dictValue: '中介', dictName: '中介' } { dictValue: '其他', dictName: '其他' }
], ],
checkVisible: false, checkVisible: false,
disabledBtn: false, disabledBtn: false,

8
src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue

@ -136,8 +136,10 @@
<template slot="footer"> <template slot="footer">
<div class="resi-btns"> <div class="resi-btns">
<el-button @click="visible = false">{{ $t('cancel') }}</el-button> <el-button @click="visible = false">{{ $t('cancel') }}</el-button>
<el-button v-if="dataForm.state === '0'" type="danger" @click="openCheckReasonDialog">{{ $t('checkBTGBtn') }}</el-button> <!--<el-button v-if="dataForm.state === '0'" type="danger" @click="openCheckReasonDialog">{{ $t('checkBTGBtn') }}</el-button>-->
<el-button v-if="dataForm.state === '0'" type="primary" @click="checkHandle('1')">{{ $t('checkTGBtn') }}</el-button> <!--<el-button v-if="dataForm.state === '0'" type="primary" @click="checkHandle('1')">{{ $t('checkTGBtn') }}</el-button>-->
<el-button type="danger" @click="openCheckReasonDialog">{{ $t('checkBTGBtn') }}</el-button>
<el-button type="primary" @click="checkHandle('1')">{{ $t('checkTGBtn') }}</el-button>
</div> </div>
</template> </template>
<el-dialog :visible.sync="dialogVisible" :modal="false"> <el-dialog :visible.sync="dialogVisible" :modal="false">
@ -204,7 +206,7 @@ export default {
{ dictValue: '媳婿', dictName: '媳婿' }, { dictValue: '媳婿', dictName: '媳婿' },
{ dictValue: '孙子女', dictName: '孙子女' }, { dictValue: '孙子女', dictName: '孙子女' },
{ dictValue: '兄弟姐妹', dictName: '兄弟姐妹' }, { dictValue: '兄弟姐妹', dictName: '兄弟姐妹' },
{ dictValue: '中介', dictName: '中介' } { dictValue: '其他', dictName: '其他' }
], ],
checkReason: '', checkReason: '',
checkVisible: false, checkVisible: false,

11
src/views/modules/plugins/rent/rentcontractreview.vue

@ -195,10 +195,13 @@
<el-table-column prop="isBlack" label="是否黑名单人员" header-align="center" align="center"></el-table-column> <el-table-column prop="isBlack" label="是否黑名单人员" header-align="center" align="center"></el-table-column>
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> <el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="lookOrCheckHandle(scope.row.id,'2')">登记</el-button> <!--<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="lookOrCheckHandle(scope.row.id,'2')">登记</el-button>-->
<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="addOrUpdateHandle(scope.row.id, 'edit')">修改</el-button> <!--<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="addOrUpdateHandle(scope.row.id, 'edit')">修改</el-button>-->
<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button> <!--<el-button v-if="scope.row.state === '0'" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button>-->
<el-button v-else type="text" size="small" @click="lookOrCheckHandle(scope.row.id,'1')">{{ $t('lookBtn') }}</el-button> <!--<el-button v-else type="text" size="small" @click="lookOrCheckHandle(scope.row.id,'1')">{{ $t('lookBtn') }}</el-button>-->
<el-button type="text" size="small" @click="lookOrCheckHandle(scope.row.id,'2')">登记</el-button>
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.id, 'edit')">修改</el-button>
<el-button type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

Loading…
Cancel
Save