|
@@ -230,7 +230,7 @@
|
|
|
<script>
|
|
|
import config from '@/config'
|
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
- import {uploadIdentify,selectValueKey,geocodeAddress} from '@/utils/common.js'
|
|
|
+ import {uploadIdentify,selectValueKey,geocodeAddress,selectDictLabelkey} from '@/utils/common.js'
|
|
|
import {getDictionaryFn} from "@/api/system/user.js"
|
|
|
import {houseInfoAdd,houseInfoPut,houseInfoDet} from "@/api/work/work.js"
|
|
|
import {getrealEstateCertificatee} from "@/api/system/card.js"
|
|
@@ -344,6 +344,21 @@
|
|
|
}
|
|
|
return aite.actions;
|
|
|
},
|
|
|
+ statuslabFormats(data, list,type) {
|
|
|
+ var aite=selectDictLabelkey(list, data);
|
|
|
+ if(type=='qllx'){
|
|
|
+ this.qllxidx=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=='fwlx'){
|
|
|
+ this.fwlxidx=aite.key;
|
|
|
+ }
|
|
|
+ return aite.actions;
|
|
|
+ },
|
|
|
onClear(type){
|
|
|
if(type=='qllx'){
|
|
|
this.datainfo.rightType='';
|
|
@@ -433,6 +448,9 @@
|
|
|
var val=e.detail.value;
|
|
|
this.datainfo.houseType=this.fwlxList[val].dictValue;
|
|
|
this.fwlx=this.fwlxList[val].dictLabel;
|
|
|
+ },
|
|
|
+ changeLog(){
|
|
|
+
|
|
|
},
|
|
|
getDetail(){
|
|
|
houseInfoDet(this.id).then(res=>{
|
|
@@ -541,12 +559,18 @@
|
|
|
var datainfo=res.data;
|
|
|
this.datainfo.ownerName=datainfo.ownerName;
|
|
|
this.datainfo.location=datainfo.location;
|
|
|
- this.datainfo.rightType=datainfo.rightType;
|
|
|
+ if(datainfo.rightType){
|
|
|
+ this.datainfo.rightType=this.statuslabFormats(datainfo.rightType,this.qllxList,'qllx');
|
|
|
+ this.qllx=datainfo.rightType
|
|
|
+ }
|
|
|
this.datainfo.area=datainfo.area;
|
|
|
this.datainfo.documentNumber=datainfo.documentNumber;
|
|
|
this.datainfo.propertyUnitNumber=datainfo.propertyUnitNumber;
|
|
|
this.datainfo.coOwnership=datainfo.coOwnership;
|
|
|
- this.datainfo.usageType=datainfo.usageType;
|
|
|
+ if(datainfo.usageType){
|
|
|
+ this.datainfo.usageType=this.statuslabFormats(datainfo.usageType,this.fwytList,'fcz');
|
|
|
+ this.fwyt=datainfo.usageType;
|
|
|
+ }
|
|
|
this.datainfo.usagePeriod=datainfo.usagePeriod;
|
|
|
this.datainfo.registrationDate=datainfo.registrationDate;
|
|
|
this.datainfo.coOwner=datainfo.coOwner;
|