Pārlūkot izejas kodu

承包合同-合同网签

rongxin_prod
Xyq123* pirms 1 gada
vecāks
revīzija
366207f897
5 mainītis faili ar 66 papildinājumiem un 7 dzēšanām
  1. +16
    -1
      src/api/sunVillage_info/fixedAssets.js
  2. +9
    -0
      src/api/sunVillage_info/sysCbf.js
  3. +10
    -1
      src/views/sunVillage_info/list_cbf.vue
  4. +21
    -4
      src/views/sunVillage_info/list_cbfsq.vue
  5. +10
    -1
      src/views/sunVillage_info/list_cbht.vue

+ 16
- 1
src/api/sunVillage_info/fixedAssets.js Parādīt failu

@@ -911,7 +911,22 @@ export function getMessage(id) {
method: 'get', method: 'get',
}) })
} }

//e签宝-发包方合同网签
export function eqbFbfhtwq(data){
return request({
url: '/open/villageAffairs/public/eqbFbfhtwq',
method: 'post',
data: data
})
}
//e签宝-合同网签
export function eqbCbfhtwq(data){
return request({
url: '/open/villageAffairs/public/eqbCbfhtwq',
method: 'post',
data: data
})
}
// 资源公开 // 资源公开
export function orcodeList(query) { export function orcodeList(query) {
return request({ return request({


+ 9
- 0
src/api/sunVillage_info/sysCbf.js Parādīt failu

@@ -74,4 +74,13 @@ export function examineSign(data){
data: data data: data
}) })
} }
//承包方e签宝授权
export function eqbEmpower(data){
return request({
url:'/open/villageAffairs/public/eqbEmpower',
method: 'post',
data: data
})
}




+ 10
- 1
src/views/sunVillage_info/list_cbf.vue Parādīt failu

@@ -44,6 +44,10 @@
<img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35"> <img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35">
<p>预览</p> <p>预览</p>
</div> --> </div> -->
<div class="opera_btn" v-if="item.signingMode == '线上' && item.signingStatus !='签字完成'" @click="contractSign(item)">
<img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="35">
<p>合同网签</p>
</div>
<div class="opera_btn" @click="openPopupGsjg(item.cbfbm)"> <div class="opera_btn" @click="openPopupGsjg(item.cbfbm)">
<img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="30"> <img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="30">
<p>公示结果签名</p> <p>公示结果签名</p>
@@ -95,7 +99,7 @@
</template> </template>


<script> <script>
import { getCbf, getCbhtList, cbhtSecondSign,updateGsjgSign, attachmentQuery, attachmentUpload, attachmentRemove } from "@/api/sunVillage_info/fixedAssets";
import { getCbf, eqbCbfhtwq,getCbhtList, cbhtSecondSign,updateGsjgSign, attachmentQuery, attachmentUpload, attachmentRemove } from "@/api/sunVillage_info/fixedAssets";
import vueEsign from "vue-esign"; import vueEsign from "vue-esign";
import $ from "jquery"; import $ from "jquery";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
@@ -191,6 +195,11 @@
this.handleReset(); this.handleReset();
}); });
}, },
contractSign(val){
eqbCbfhtwq(val).then(response => {
window.location.href = response.data;
});
},
openPopupFile(id){ openPopupFile(id){
this.fileList = []; this.fileList = [];
this.signaId = id; this.signaId = id;


+ 21
- 4
src/views/sunVillage_info/list_cbfsq.vue Parādīt failu

@@ -83,16 +83,19 @@
<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" native-type="submit" >
<van-button round block type="primary" v-if="sqbutShow" @click="cbfsq">
授权 授权
</van-button> </van-button>
<van-button round block type="primary" v-if="!sqbutShow" >
授权完成
</van-button>
</div> </div>
</div> </div>
</div> </div>
</template> </template>


<script> <script>
import { getCbfList} from "@/api/sunVillage_info/sysCbf";
import { getCbfList,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";
@@ -104,6 +107,7 @@
form:{}, form:{},
showForm2:false, showForm2:false,
showesign:false, showesign:false,
sqbutShow:false,
sysFarmer:JSON.parse(Cookies.get('user')), sysFarmer:JSON.parse(Cookies.get('user')),
zjlxName:"", zjlxName:"",
cbfTypeName:"", cbfTypeName:"",
@@ -124,7 +128,7 @@
}; };
}, },
created() { created() {
this.getSysFfb();
this.getSysCfb();
}, },
methods: { methods: {
InitOptions() { InitOptions() {
@@ -133,11 +137,24 @@
this.getDicts(k).then((resp) => this.options[k] = resp.data); this.getDicts(k).then((resp) => this.options[k] = resp.data);
} }
}, },
getSysFfb(){
/*承包方授权*/
cbfsq(){
console.info(3333333333);
eqbEmpower(this.form).then(response => {
if(response.code === 200 ){
this.sqbutShow = false;
}
});
},
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;
let _this = this; 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 !== ""){
this.sqbutShow = false;
}
this.getDicts("zjlx").then(response => { this.getDicts("zjlx").then(response => {
response.data.forEach(function (item) { response.data.forEach(function (item) {
if (item.dictValue === _this.form.cbfzjlx) { if (item.dictValue === _this.form.cbfzjlx) {


+ 10
- 1
src/views/sunVillage_info/list_cbht.vue Parādīt failu

@@ -46,6 +46,10 @@
<img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35"> <img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35">
<p>预览</p> <p>预览</p>
</div> --> </div> -->
<div class="opera_btn" v-if="item.signingMode == '线上' && item.signingStatus !='签字完成'" @click="contractSign(item)">
<img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35">
<p>合同网签</p>
</div>
<div class="opera_btn"> <div class="opera_btn">
<img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35"> <img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35">
<p>预览</p> <p>预览</p>
@@ -95,7 +99,7 @@
</template> </template>


<script> <script>
import { listCbht, cbhtFirstSign, attachmentList, commonAttach, systemAttachment } from "@/api/sunVillage_info/fixedAssets";
import { listCbht,eqbFbfhtwq, cbhtFirstSign, attachmentList, commonAttach, systemAttachment } from "@/api/sunVillage_info/fixedAssets";
import vueEsign from "vue-esign"; import vueEsign from "vue-esign";
import $ from "jquery"; import $ from "jquery";


@@ -215,6 +219,11 @@
this.$refs.esign.reset(); this.$refs.esign.reset();
$('#canvasTT').css('display', 'block') $('#canvasTT').css('display', 'block')
}, },
contractSign(val){
eqbFbfhtwq(val).then(response => {
window.location.href = response.data;
});
},
// 生成签字图 // 生成签字图
handleGenerate() { handleGenerate() {
this.$refs.esign this.$refs.esign


Notiek ielāde…
Atcelt
Saglabāt