|
@@ -788,14 +788,14 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="backgroundInfo" class="pane-class" :lazy=true>
|
|
|
<span slot="label"><i class="el-icon-paperclip"></i> 区位状况</span>
|
|
|
- <BackgroundInfo @custom-event="getPersonalTarget()" :id="target.id"
|
|
|
- :backgroundInfoObject="target.backgroundInfo" :editStatus="certificateCouldEdit"></BackgroundInfo>
|
|
|
+ <BackgroundInfo @custom-event="getPersonalTarget()" :id="target.id" ref="backgroundInfoComponet"
|
|
|
+ :backgroundInfoObject="target.backgroundInfo" :linkAttributes="linkAttributes" :editStatus="certificateCouldEdit"></BackgroundInfo>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="sellingAbilityInfo" class="pane-class" :lazy=true>
|
|
|
<span slot="label"><i class="el-icon-paperclip"></i> 变现能力</span>
|
|
|
<SellingAbilityInfo @custom-event="getPersonalTarget()" :id="target.id"
|
|
|
:sellingAbilityInfoObject="target.sellingAbility" :editStatus="certificateCouldEdit"
|
|
|
- :outWardStaffId="personal.outwardStaff"></SellingAbilityInfo>
|
|
|
+ :outWardStaffId="personal.outwardStaff" :valueTiming="valueTiming"></SellingAbilityInfo>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</el-tab-pane>
|
|
@@ -1154,6 +1154,7 @@ export default {
|
|
|
},
|
|
|
personal: {
|
|
|
handler(newVal, oldVal) {
|
|
|
+ console.log(newVal,'personal')
|
|
|
if (newVal.outwardStaff) {
|
|
|
this.outwardStaffTip = false;
|
|
|
} else {
|
|
@@ -1188,16 +1189,13 @@ export default {
|
|
|
},
|
|
|
target: {
|
|
|
handler(newVal, oldVal) {
|
|
|
+ this.getPersonal();
|
|
|
if (newVal.acreage != null && newVal.price != null && newVal.price !=null && newVal.price != 0) {
|
|
|
let acrege = Decimal(newVal.acreage);
|
|
|
let price = Decimal(newVal.price);
|
|
|
let wan = Decimal(10000);
|
|
|
let amount = acrege.mul(price).div(wan);
|
|
|
- // console.log(acrege.toString())
|
|
|
- // console.log(price.toString())
|
|
|
- // console.log(amount.toString())
|
|
|
newVal.amount = utils.roundToDecimalPlace(amount,2)
|
|
|
- // console.log(newVal.amount)
|
|
|
}
|
|
|
|
|
|
if (newVal.id) {
|
|
@@ -1206,7 +1204,9 @@ export default {
|
|
|
if (newVal.isOnline) {
|
|
|
this.jumpTabs();
|
|
|
}
|
|
|
-
|
|
|
+ if (this.$refs.backgroundInfoComponet) {
|
|
|
+ this.$refs.backgroundInfoComponet.refreshLinkAttributes();
|
|
|
+ }
|
|
|
},
|
|
|
deep: true
|
|
|
},
|
|
@@ -1568,7 +1568,8 @@ export default {
|
|
|
allFloor: null,
|
|
|
purpose: null,
|
|
|
ownerName: null,
|
|
|
- atFloor: null
|
|
|
+ atFloor: null,
|
|
|
+ communityName:null
|
|
|
|
|
|
},
|
|
|
statementProd: {
|
|
@@ -1636,7 +1637,8 @@ export default {
|
|
|
checkerId:null,
|
|
|
checkers:[],
|
|
|
decideProduction:false,
|
|
|
- checkStateFlag:false
|
|
|
+ checkStateFlag:false,
|
|
|
+ valueTiming:null
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -1668,11 +1670,11 @@ export default {
|
|
|
res.data.credentials = JSON.parse(res.data.credentials);
|
|
|
res.data.purpose = JSON.parse(res.data.purpose);
|
|
|
this.personal = res.data;
|
|
|
- this.linkAttributes.location = this.personal.location;
|
|
|
- this.linkAttributes.bailor1 = this.personal.bailorA;
|
|
|
- this.linkAttributes.bailor1Tel = this.personal.bailoraTel;
|
|
|
- this.linkAttributes.bailor2 = this.personal.bailorB;
|
|
|
- this.linkAttributes.bailor2Tel = this.personal.bailorbTel;
|
|
|
+ // this.linkAttributes.location = this.personal.location;
|
|
|
+ // this.linkAttributes.bailor1 = this.personal.bailorA;
|
|
|
+ // this.linkAttributes.bailor1Tel = this.personal.bailoraTel;
|
|
|
+ // this.linkAttributes.bailor2 = this.personal.bailorB;
|
|
|
+ // this.linkAttributes.bailor2Tel = this.personal.bailorbTel;
|
|
|
this.linkAttributes.purpose = this.personal.purpose;
|
|
|
if (this.personal.evaluateAim === '抵押') {
|
|
|
this.linkAttributes.ownerName = this.personal.bailorA;
|
|
@@ -1700,18 +1702,21 @@ export default {
|
|
|
}
|
|
|
if (res.data.houseCertificate) {
|
|
|
this.target.houseCertificate = JSON.parse(res.data.houseCertificate);
|
|
|
+ this.linkAttributes.location = this.target.houseCertificate.location;
|
|
|
}
|
|
|
if (res.data.landCertificate) {
|
|
|
- this.target.landCertificate = JSON.parse(res.data.landCertificate);
|
|
|
+ this.target.landCertificate = JSON.parse(res.data.landCertificate) ;
|
|
|
}
|
|
|
if (res.data.immovableCertificate) {
|
|
|
this.target.immovableCertificate = JSON.parse(res.data.immovableCertificate);
|
|
|
+ this.linkAttributes.location = this.target.immovableCertificate.location;
|
|
|
}
|
|
|
if (res.data.entityInfo) {
|
|
|
this.target.entityInfo = JSON.parse(res.data.entityInfo);
|
|
|
}
|
|
|
if (res.data.backgroundInfo) {
|
|
|
this.target.backgroundInfo = JSON.parse(res.data.backgroundInfo);
|
|
|
+ this.linkAttributes.location = this.target.backgroundInfo.location;
|
|
|
}
|
|
|
if (res.data.sellingAbility) {
|
|
|
this.target.sellingAbility = JSON.parse(res.data.sellingAbility);
|
|
@@ -1763,6 +1768,8 @@ export default {
|
|
|
this.$api.workflowLog.list(param).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.workflowLogs = res.data;
|
|
|
+ const sences = this.workflowLogs.filter(item=>item.nodeName=='现场勘查');
|
|
|
+ this.valueTiming = sences[sences.length-1].created
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -2170,6 +2177,7 @@ export default {
|
|
|
this.linkAttributes.allFloor = this.compareList.analysisData[6].target.valueB;
|
|
|
this.linkAttributes.atFloor = this.compareList.analysisData[6].target.valueA;
|
|
|
this.linkAttributes.houseType = this.compareList.analysisData[7].target.valueA;
|
|
|
+ this.linkAttributes.communityName = this.compareList.analysisData[0].target.valueA;
|
|
|
this.selectCalculateType();
|
|
|
}else {
|
|
|
this.defalutYearMonth();
|