|
@@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="home_wrapper"> |
|
|
<div class="home_wrapper"> |
|
|
<div class="header_main" > |
|
|
<div class="header_main" > |
|
|
承包方授权 |
|
|
|
|
|
|
|
|
{{this.$route.query.shStatus?'承包方审核':'承包方授权'}} |
|
|
<div class="return_btn" @click="onClickLeft"></div> |
|
|
<div class="return_btn" @click="onClickLeft"></div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="list_main"> |
|
|
<div class="list_main"> |
|
@@ -51,7 +51,7 @@ |
|
|
<van-cell title="公示审核签字" style="color: #646566;"> |
|
|
<van-cell title="公示审核签字" style="color: #646566;"> |
|
|
<van-field style="padding: 0 0;" readonly input-align="right" :border="false" > |
|
|
<van-field style="padding: 0 0;" readonly input-align="right" :border="false" > |
|
|
<template #label> |
|
|
<template #label> |
|
|
<img :src="'/api'+form.gsjgqz" width="10%" alt="" v-if="form.gsjgqz" > |
|
|
|
|
|
|
|
|
<img :src="'/api'+form.gsshqz" width="10%" alt="" v-if="form.gsshqz" > |
|
|
</template> |
|
|
</template> |
|
|
</van-field> |
|
|
</van-field> |
|
|
</van-cell> |
|
|
</van-cell> |
|
@@ -83,9 +83,11 @@ |
|
|
<!-- <van-field readonly v-model="isDepositName" label="是否纳入托管" placeholder="是否纳入托管" input-align="right" :border="false" />--> |
|
|
<!-- <van-field readonly v-model="isDepositName" label="是否纳入托管" placeholder="是否纳入托管" input-align="right" :border="false" />--> |
|
|
<!-- <van-field readonly v-model="form.tgmj" label="托管面积(亩)" placeholder="托管面积(亩)" input-align="right" :border="false" />--> |
|
|
<!-- <van-field readonly v-model="form.tgmj" label="托管面积(亩)" placeholder="托管面积(亩)" input-align="right" :border="false" />--> |
|
|
<div style="margin: 30px auto 0;width: 50%;"> |
|
|
<div style="margin: 30px auto 0;width: 50%;"> |
|
|
<van-button round block type="primary" v-if="sqbutShow" @click="cbfsq"> |
|
|
|
|
|
|
|
|
<van-button round block type="primary" v-if="sqbutShow && !cbfsqShow && !cbfshShow" @click="cbfsq"> |
|
|
授权 |
|
|
授权 |
|
|
</van-button> |
|
|
</van-button> |
|
|
|
|
|
<img class="bottomImg" v-if="sqbutShow && cbfsqShow" src="../../assets/images/sunVillage_info/cbfwsq.png" alt="" /> |
|
|
|
|
|
<img class="bottomImg" v-if="sqbutShow && cbfshShow" src="../../assets/images/sunVillage_info/cbfwsh.png" alt="" /> |
|
|
<!-- <van-button round block type="primary" v-if="!sqbutShow" > |
|
|
<!-- <van-button round block type="primary" v-if="!sqbutShow" > |
|
|
授权完成 |
|
|
授权完成 |
|
|
</van-button> --> |
|
|
</van-button> --> |
|
@@ -96,7 +98,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { getCbfList,eqbEmpower} from "@/api/sunVillage_info/sysCbf"; |
|
|
|
|
|
|
|
|
import { getCbfList,getCbfById,eqbEmpower} from "@/api/sunVillage_info/sysCbf"; |
|
|
import FieldSelect from "@/components/form/FieldSelect"; |
|
|
import FieldSelect from "@/components/form/FieldSelect"; |
|
|
import Cookies from "js-cookie"; |
|
|
import Cookies from "js-cookie"; |
|
|
import $ from "jquery"; |
|
|
import $ from "jquery"; |
|
@@ -108,8 +110,10 @@ |
|
|
form:{}, |
|
|
form:{}, |
|
|
showForm2:false, |
|
|
showForm2:false, |
|
|
showesign:false, |
|
|
showesign:false, |
|
|
sqbutShow:false, |
|
|
|
|
|
sysFarmer:JSON.parse(Cookies.get('user')), |
|
|
|
|
|
|
|
|
sqbutShow:true, |
|
|
|
|
|
cbfsqShow:false, |
|
|
|
|
|
cbfshShow:false, |
|
|
|
|
|
sysFarmer:null, |
|
|
zjlxName:"", |
|
|
zjlxName:"", |
|
|
cbfTypeName:"", |
|
|
cbfTypeName:"", |
|
|
surveyStatusName:"", |
|
|
surveyStatusName:"", |
|
@@ -129,7 +133,33 @@ |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getSysCfb(); |
|
|
|
|
|
|
|
|
if(this.$route.query.sqStatus){ |
|
|
|
|
|
getCbfById(this.$route.query.id).then(response => { |
|
|
|
|
|
this.form = response.data; |
|
|
|
|
|
if(this.form.accountId != null && this.form.accountId !== ""){ |
|
|
|
|
|
this.sqbutShow = false; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.cbfsqShow = true; |
|
|
|
|
|
this.sqbutShow = true; |
|
|
|
|
|
} |
|
|
|
|
|
this.getDictValue(); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}else if(this.$route.query.shStatus){ |
|
|
|
|
|
getCbfById(this.$route.query.id).then(response => { |
|
|
|
|
|
this.form = response.data; |
|
|
|
|
|
if(this.form.gsshqz != null && this.form.gsshqz !== ""){ |
|
|
|
|
|
this.sqbutShow = false; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.cbfshShow = true; |
|
|
|
|
|
this.sqbutShow = true; |
|
|
|
|
|
} |
|
|
|
|
|
this.getDictValue(); |
|
|
|
|
|
}); |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.sysFarmer = JSON.parse(Cookies.get('user')); |
|
|
|
|
|
this.getSysCfb(); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
InitOptions() { |
|
|
InitOptions() { |
|
@@ -149,44 +179,49 @@ |
|
|
getSysCfb(){ |
|
|
getSysCfb(){ |
|
|
getCbfList({deptId:this.sysFarmer.deptId,cbfzjhm:this.sysFarmer.idcard}).then(response => { |
|
|
getCbfList({deptId:this.sysFarmer.deptId,cbfzjhm:this.sysFarmer.idcard}).then(response => { |
|
|
this.sqbutShow = true; |
|
|
this.sqbutShow = true; |
|
|
let _this = this; |
|
|
|
|
|
if(response.rows.length > 0){ |
|
|
if(response.rows.length > 0){ |
|
|
this.form = response.rows[0]; |
|
|
this.form = response.rows[0]; |
|
|
if(this.form.accountId != null && this.form.accountId !== ""){ |
|
|
if(this.form.accountId != null && this.form.accountId !== ""){ |
|
|
this.sqbutShow = false; |
|
|
this.sqbutShow = false; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.sqbutShow = true; |
|
|
} |
|
|
} |
|
|
this.getDicts("cert_type").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.cbfzjlx) { |
|
|
|
|
|
_this.zjlxName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("cbf_type").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.cbflx) { |
|
|
|
|
|
_this.cbfTypeName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("confirmed_survey_status").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.surveyStatus) { |
|
|
|
|
|
_this.surveyStatusName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("sys_yes_no").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.isDeposit) { |
|
|
|
|
|
_this.isDepositName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
this.getDictValue(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
getDictValue(){ |
|
|
|
|
|
let _this = this; |
|
|
|
|
|
this.getDicts("cert_type").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.cbfzjlx) { |
|
|
|
|
|
_this.zjlxName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("cbf_type").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.cbflx) { |
|
|
|
|
|
_this.cbfTypeName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("confirmed_survey_status").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.surveyStatus) { |
|
|
|
|
|
_this.surveyStatusName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("sys_yes_no").then(response => { |
|
|
|
|
|
response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictValue === _this.form.isDeposit) { |
|
|
|
|
|
_this.isDepositName = item.dictLabel; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|