|
@@ -323,12 +323,11 @@
|
|
|
<script>
|
|
|
import config from '@/config'
|
|
|
import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
|
|
|
- import {uploadIdentify,uploadmore} from '@/utils/common.js'
|
|
|
+ import {uploadIdentify,uploadmore,selectDictLabelkey,selectValueKey} from '@/utils/common.js'
|
|
|
import {listNoPageTenant,houseInfoDet} from "@/api/work/work.js"
|
|
|
import {gettenantList} from "@/api/login.js"
|
|
|
import {residentInfoAdd,residentInfoPut,authentication,addResidentInfo} from "@/api/work/people.js"
|
|
|
import {getDictionaryFn} from "@/api/system/user.js"
|
|
|
- import {selectValueKey} from "@/utils/common.js"
|
|
|
import {getOcrIdCard,getrealEstateCertificatee} from "@/api/system/card.js"
|
|
|
import wSelect from "@/work/components/w-select/w-select.vue"
|
|
|
export default {
|
|
@@ -583,6 +582,31 @@
|
|
|
}
|
|
|
return aite.actions;
|
|
|
},
|
|
|
+ statuslabFormats(data, list,type) {
|
|
|
+ var aite=selectDictLabelkey(list, data);
|
|
|
+ if(type=='qllx'){
|
|
|
+ this.qllxidx=aite.key;
|
|
|
+ }else if(type=='rylx'){
|
|
|
+ this.rylxidx=aite.key;
|
|
|
+ }else if(type=='hzgx'){
|
|
|
+ this.hzgxidx=aite.key;
|
|
|
+ }else if(type=='fwzt'){
|
|
|
+ this.fwztidx=aite.key;
|
|
|
+ }else if(type=='fwyt'){
|
|
|
+ this.fwytidx=aite.key;
|
|
|
+ }else if(type=='ywcw'){
|
|
|
+ this.ywcwidx=aite.key;
|
|
|
+ }else if(type=='tenant'){
|
|
|
+ this.tenantName=aite.actions;
|
|
|
+ }else if(type=='rymm'){
|
|
|
+ this.rymmidx=aite.key;
|
|
|
+ }else if(type=='dslx'){
|
|
|
+ this.dslxidx=aite.key;
|
|
|
+ }else if(type=='fwlx'){
|
|
|
+ this.fwlxidx=aite.key;
|
|
|
+ }
|
|
|
+ return aite.actions;
|
|
|
+ },
|
|
|
getchangea(e){
|
|
|
var tenantId=this.datainfo.tenantId;
|
|
|
this.datainfo.tenantId=e.dictValue;
|
|
@@ -1065,12 +1089,18 @@
|
|
|
// var obj=JSON.parse(JSON.stringify(this.houseInfoRedidentList[idx]))
|
|
|
this.houserinfo.ownerName=datainfo.ownerName;
|
|
|
this.houserinfo.location=datainfo.location;
|
|
|
- this.houserinfo.rightType=datainfo.rightType;
|
|
|
+ if(datainfo.rightType){
|
|
|
+ this.datainfo.rightType=this.statuslabFormats(datainfo.rightType,this.qllxList,'qllx');
|
|
|
+ this.qllx=datainfo.rightType
|
|
|
+ }
|
|
|
this.houserinfo.area=datainfo.area;
|
|
|
this.houserinfo.documentNumber=datainfo.documentNumber;
|
|
|
this.houserinfo.propertyUnitNumber=datainfo.propertyUnitNumber;
|
|
|
this.houserinfo.coOwnership=datainfo.coOwnership;
|
|
|
- this.houserinfo.usageType=datainfo.usageType;
|
|
|
+ if(datainfo.usageType){
|
|
|
+ this.datainfo.usageType=this.statuslabFormats(datainfo.usageType,this.fwytList,'fcz');
|
|
|
+ this.fwyt=datainfo.usageType;
|
|
|
+ }
|
|
|
this.houserinfo.usagePeriod=datainfo.usagePeriod;
|
|
|
this.houserinfo.registrationDate=datainfo.registrationDate;
|
|
|
this.houserinfo.coOwner=datainfo.coOwner;
|