|
@@ -1,15 +1,15 @@
|
|
<template>
|
|
<template>
|
|
<div class="SignAcontract">
|
|
<div class="SignAcontract">
|
|
|
|
|
|
- <div class="indexbutton" v-if="waycontrol">
|
|
|
|
|
|
+ <!-- <div class="indexbutton" v-if="waycontrol">
|
|
<ul>
|
|
<ul>
|
|
<li @click="VacateExamine('货币')">货币</li>
|
|
<li @click="VacateExamine('货币')">货币</li>
|
|
<li @click="VacateExamine('迁建')">迁建</li>
|
|
<li @click="VacateExamine('迁建')">迁建</li>
|
|
<li @click="VacateExamine('混合')">混合</li>
|
|
<li @click="VacateExamine('混合')">混合</li>
|
|
</ul>
|
|
</ul>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
- <div class="SignAcontract-content" v-if="!waycontrol">
|
|
|
|
|
|
+ <div class="SignAcontract-content">
|
|
<div class="SignAcontract-content-right">
|
|
<div class="SignAcontract-content-right">
|
|
<div class="button-background" @click="control(0)"><el-button :disabled='PlacementMode==1'>上一步</el-button></div>
|
|
<div class="button-background" @click="control(0)"><el-button :disabled='PlacementMode==1'>上一步</el-button></div>
|
|
<el-steps :active="index" align-center style="width: calc(100% - 212px);">
|
|
<el-steps :active="index" align-center style="width: calc(100% - 212px);">
|
|
@@ -23,6 +23,13 @@
|
|
</div>
|
|
</div>
|
|
<div class="SignAcontract-content-lent">
|
|
<div class="SignAcontract-content-lent">
|
|
<div class="SignAcontract-content-lent-data" v-if="index!=4">
|
|
<div class="SignAcontract-content-lent-data" v-if="index!=4">
|
|
|
|
+ <div class="indexbutton" v-if="index==1">
|
|
|
|
+ <ul>
|
|
|
|
+ <li @click="VacateExamine('货币')">货币</li>
|
|
|
|
+ <li @click="VacateExamine('迁建')">迁建</li>
|
|
|
|
+ <li @click="VacateExamine('混合')">混合</li>
|
|
|
|
+ </ul>
|
|
|
|
+ </div>
|
|
<!-- 调产安置(房票)-->
|
|
<!-- 调产安置(房票)-->
|
|
<collectiveCompensateRoomTicket ref='agreement' v-if="datahousehold.placementWay=='调产'||datahousehold.placementWay=='混合'" :strpdetails='strpdetails' :jurisdiction='index-1' :datahousehold='datahousehold'></collectiveCompensateRoomTicket>
|
|
<collectiveCompensateRoomTicket ref='agreement' v-if="datahousehold.placementWay=='调产'||datahousehold.placementWay=='混合'" :strpdetails='strpdetails' :jurisdiction='index-1' :datahousehold='datahousehold'></collectiveCompensateRoomTicket>
|
|
<!-- 货币安置 -->
|
|
<!-- 货币安置 -->
|
|
@@ -166,7 +173,7 @@
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: "survey",
|
|
name: "survey",
|
|
- props: ['strpdetails','datahousehold'],
|
|
|
|
|
|
+ props: ['strpdetails','datahouseholdmax'],
|
|
components:{
|
|
components:{
|
|
collectiveCompensateRoomTicket,
|
|
collectiveCompensateRoomTicket,
|
|
CurrencyDetails,
|
|
CurrencyDetails,
|
|
@@ -270,7 +277,9 @@
|
|
nonResidentialRenovationCompensate:'装修、附属物补偿费金额'
|
|
nonResidentialRenovationCompensate:'装修、附属物补偿费金额'
|
|
},
|
|
},
|
|
reportErrors:[],
|
|
reportErrors:[],
|
|
- errorControl:false
|
|
|
|
|
|
+ errorControl:false,
|
|
|
|
+
|
|
|
|
+ datahousehold:{}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -293,6 +302,7 @@
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.datahousehold=this.datahouseholdmax
|
|
if(!this.datahousehold.placementWay||this.datahousehold.signingProgress==null||this.datahousehold.signingProgress==''){
|
|
if(!this.datahousehold.placementWay||this.datahousehold.signingProgress==null||this.datahousehold.signingProgress==''){
|
|
this.index=1
|
|
this.index=1
|
|
this.waycontrol=true
|
|
this.waycontrol=true
|
|
@@ -315,6 +325,7 @@
|
|
this.datahousehold.placementWay=row
|
|
this.datahousehold.placementWay=row
|
|
this.$http.post('api/auth/householdcx/update',this.datahousehold).then((res) => {
|
|
this.$http.post('api/auth/householdcx/update',this.datahousehold).then((res) => {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
|
|
+ this.datahousehold=res.data.data
|
|
this.waycontrol=false
|
|
this.waycontrol=false
|
|
this.index=2
|
|
this.index=2
|
|
this.GetreportErrors()
|
|
this.GetreportErrors()
|
|
@@ -366,21 +377,20 @@
|
|
if(this.index<=1){
|
|
if(this.index<=1){
|
|
this.waycontrol=true
|
|
this.waycontrol=true
|
|
this.index=1
|
|
this.index=1
|
|
|
|
+ this.NotStarted(0,Positive)
|
|
}else if(this.index==2){
|
|
}else if(this.index==2){
|
|
if(this.datahousehold.levyHouseNature=='非住宅'){
|
|
if(this.datahousehold.levyHouseNature=='非住宅'){
|
|
this.PlacementMode=1
|
|
this.PlacementMode=1
|
|
}
|
|
}
|
|
- this.NotStarted(0,Positive)
|
|
|
|
|
|
+ this.NotStarted(1,Positive)
|
|
}else if(this.index==3){
|
|
}else if(this.index==3){
|
|
if(this.datahousehold.levyHouseNature=='非住宅'){
|
|
if(this.datahousehold.levyHouseNature=='非住宅'){
|
|
this.PlacementMode=0
|
|
this.PlacementMode=0
|
|
}
|
|
}
|
|
- // this.$refs.agreement.addcontrol();
|
|
|
|
- this.NotStarted(1,Positive)
|
|
|
|
|
|
+ this.NotStarted(2,Positive)
|
|
}else if(this.index==4){
|
|
}else if(this.index==4){
|
|
this.index=4
|
|
this.index=4
|
|
- this.Statistics()
|
|
|
|
- this.NotStarted(2,Positive)
|
|
|
|
|
|
+ this.NotStarted(3,Positive)
|
|
this.getgetexaminefile()
|
|
this.getgetexaminefile()
|
|
}else if(this.index>=5){
|
|
}else if(this.index>=5){
|
|
var apcs=0
|
|
var apcs=0
|
|
@@ -403,18 +413,27 @@
|
|
this.$http.get('api/auth/file/fileList?type=' + 2 + '&id=' + this.datahousehold.id, null).then((res) => {
|
|
this.$http.get('api/auth/file/fileList?type=' + 2 + '&id=' + this.datahousehold.id, null).then((res) => {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
this.fileListindex = res.data.list
|
|
this.fileListindex = res.data.list
|
|
|
|
+ // if(item=='补偿明细单'){
|
|
|
|
+ // this.selectFileName ='3、审批后资料/1、征收补偿明细单'
|
|
|
|
+ // }else if(item=='补偿协议'){
|
|
|
|
+ // this.selectFileName ='3、审批后资料/2、征收补偿协议'
|
|
|
|
+ // }
|
|
var data=[
|
|
var data=[
|
|
- {name:'补偿明细单',empty:false,type: "folder",url:'补偿明细单',tree:[]},
|
|
|
|
- {name:'补偿协议',empty:false,type: "folder",url:'补偿协议',tree:[]},
|
|
|
|
|
|
+ {name:'补偿明细单',empty:false,type: "folder",url:'3、审批后资料\\1、征收补偿明细单',tree:[]},
|
|
|
|
+ {name:'补偿协议',empty:false,type: "folder",url:'3、审批后资料\\2、征收补偿协议',tree:[]},
|
|
]
|
|
]
|
|
if(this.fileListindex){
|
|
if(this.fileListindex){
|
|
this.fileListindex.forEach((item,index)=>{
|
|
this.fileListindex.forEach((item,index)=>{
|
|
if(item.empty==false){
|
|
if(item.empty==false){
|
|
- data.forEach((nale,ixde)=>{
|
|
|
|
- if(item.name==nale.name){
|
|
|
|
- data[ixde]=item
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ if(item.name=='3、审批后资料'){
|
|
|
|
+ item.tree.forEach((nale,ixde)=>{
|
|
|
|
+ data.forEach((dana,ixd)=>{
|
|
|
|
+ if(dana.url==nale.url){
|
|
|
|
+ data[ixd].tree=nale.tree
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -485,22 +504,29 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
NotStarted(row,tow){
|
|
NotStarted(row,tow){
|
|
- var data=['结算单','征迁协议','上传资料']
|
|
|
|
|
|
+ var data=['','结算单','征迁协议','上传资料']
|
|
var Tips=''
|
|
var Tips=''
|
|
if (tow) {
|
|
if (tow) {
|
|
Tips=data[row+1]+'退回成功'
|
|
Tips=data[row+1]+'退回成功'
|
|
} else{
|
|
} else{
|
|
Tips=data[row-1]+'签订成功'
|
|
Tips=data[row-1]+'签订成功'
|
|
- }
|
|
|
|
- if(data[row]=='征迁协议'){
|
|
|
|
- this.datahousehold.accountsPayable=this.$refs.agreement.total
|
|
|
|
|
|
+ if(data[row]=='征迁协议'){
|
|
|
|
+ this.datahousehold.accountsPayable=this.$refs.agreement.total
|
|
|
|
+ this.datahousehold.contractedResettlementArea=this.contractedResettlementArea
|
|
|
|
+ }
|
|
}
|
|
}
|
|
this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
this.datahousehold.signingProgress=data[row]
|
|
this.datahousehold.signingProgress=data[row]
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
|
|
+ this.datahousehold=res.data.data
|
|
this.$message.success(Tips);
|
|
this.$message.success(Tips);
|
|
} else {
|
|
} else {
|
|
|
|
+ if(tow){
|
|
|
|
+ this.index=row+2
|
|
|
|
+ }else{
|
|
|
|
+ this.index=row
|
|
|
|
+ }
|
|
this.$message.error(Tips);
|
|
this.$message.error(Tips);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -509,13 +535,12 @@
|
|
this.contractedResettlementArea=res
|
|
this.contractedResettlementArea=res
|
|
},
|
|
},
|
|
// 签约可安置面积-征迁协议确定的安置面积,用做统计使用
|
|
// 签约可安置面积-征迁协议确定的安置面积,用做统计使用
|
|
- Statistics(){
|
|
|
|
- this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
|
|
- this.datahousehold.contractedResettlementArea=this.contractedResettlementArea
|
|
|
|
- this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
|
|
- if (res.status == 200 && res.data.code == 0) {}
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
|
|
+ // Statistics(){
|
|
|
|
+ // this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
|
|
+ // this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
|
|
+ // if (res.status == 200 && res.data.code == 0) {}
|
|
|
|
+ // })
|
|
|
|
+ // },
|
|
SignAcontract(){
|
|
SignAcontract(){
|
|
this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
this.datahousehold.projectId = this.strpdetails.bussiness.id,
|
|
this.datahousehold.agreementSigningStatus='已签约'
|
|
this.datahousehold.agreementSigningStatus='已签约'
|
|
@@ -523,6 +548,7 @@
|
|
this.datahousehold.signingDateOfCompensationAgreement=this.signingDateOfCompensationAgreement
|
|
this.datahousehold.signingDateOfCompensationAgreement=this.signingDateOfCompensationAgreement
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
|
|
+ this.datahousehold=res.data.data
|
|
this.$emit('getlist',1)
|
|
this.$emit('getlist',1)
|
|
this.$message.success('签约成功!');
|
|
this.$message.success('签约成功!');
|
|
} else {
|
|
} else {
|
|
@@ -537,6 +563,7 @@
|
|
this.datahousehold.farmerPreferenceRemarks=this.farmerPreferenceRemarks
|
|
this.datahousehold.farmerPreferenceRemarks=this.farmerPreferenceRemarks
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
this.$http.post('api/auth/householdcx/update', this.datahousehold).then((res) => {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
if (res.status == 200 && res.data.code == 0) {
|
|
|
|
+ this.datahousehold=res.data.data
|
|
this.FarmerPreference = false
|
|
this.FarmerPreference = false
|
|
this.SignAcontract(),
|
|
this.SignAcontract(),
|
|
this.index=5
|
|
this.index=5
|
|
@@ -564,7 +591,13 @@
|
|
},
|
|
},
|
|
// 上传文件按钮
|
|
// 上传文件按钮
|
|
selectFile(item) {
|
|
selectFile(item) {
|
|
- this.selectFileName = item;
|
|
|
|
|
|
+ console.log(item)
|
|
|
|
+ if(item=='补偿明细单'){
|
|
|
|
+ this.selectFileName ='3、审批后资料/1、征收补偿明细单'
|
|
|
|
+ }else if(item=='补偿协议'){
|
|
|
|
+ this.selectFileName ='3、审批后资料/2、征收补偿协议'
|
|
|
|
+ }
|
|
|
|
+ // this.selectFileName = item;
|
|
},
|
|
},
|
|
//删除文件
|
|
//删除文件
|
|
deleteFile(item) {
|
|
deleteFile(item) {
|
|
@@ -606,27 +639,27 @@
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
.indexbutton{
|
|
.indexbutton{
|
|
- position: absolute;
|
|
|
|
- top: 0;
|
|
|
|
- right: 0;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
- background-color: #00000050;
|
|
|
|
|
|
+ // position: absolute;
|
|
|
|
+ // top: 0;
|
|
|
|
+ // right: 0;
|
|
|
|
+ // width: 100%;
|
|
|
|
+ // height: 100%;
|
|
|
|
+ // background-color: #00000050;
|
|
ul{
|
|
ul{
|
|
position: fixed;
|
|
position: fixed;
|
|
z-index: 11;
|
|
z-index: 11;
|
|
- top: 40%;
|
|
|
|
|
|
+ top: 45%;
|
|
left: 25%;
|
|
left: 25%;
|
|
width: 50%;
|
|
width: 50%;
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
justify-content: space-evenly;
|
|
li{
|
|
li{
|
|
- width: 100px;
|
|
|
|
- height: 150px;
|
|
|
|
|
|
+ width: 150px;
|
|
|
|
+ height: 100px;
|
|
// background-image: linear-gradient(-225deg, #7DE2FC 0%, #B9B6E5 100%);
|
|
// background-image: linear-gradient(-225deg, #7DE2FC 0%, #B9B6E5 100%);
|
|
background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
|
|
background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
- line-height: 150px;
|
|
|
|
|
|
+ line-height: 100px;
|
|
color: #fff;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
text-align: center;
|
|
text-align: center;
|