| @@ -44,7 +44,7 @@ | |||||
| <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)"> | |||||
| <div class="opera_btn" v-if="item.signingMode == '线上' && item.cbfqszt !='2'" @click="contractSign(item)"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="35"> | <img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="35"> | ||||
| <p>合同网签</p> | <p>合同网签</p> | ||||
| </div> | </div> | ||||
| @@ -65,6 +65,9 @@ | |||||
| </van-swipe-cell> | </van-swipe-cell> | ||||
| </van-list> | </van-list> | ||||
| </div> | </div> | ||||
| <van-dialog v-model="htqsShow" title="合同签署" confirmButtonText="关闭" @confirm="confirmn"> | |||||
| <iframe width="100%" height="600px;" :src="noticeUrl"></iframe> | |||||
| </van-dialog> | |||||
| <van-popup v-model="show" closeable position="right" :style="{ height: '100%' }" > | <van-popup v-model="show" closeable position="right" :style="{ height: '100%' }" > | ||||
| <van-cell-group style="width: 100%;height:100%;overflow: hidden;padding-top: 10px;padding-bottom: 10px;"> | <van-cell-group style="width: 100%;height:100%;overflow: hidden;padding-top: 10px;padding-bottom: 10px;"> | ||||
| <div class="signature-box" @mousedown="canvasTTdown" @touchstart="canvasTTdown"> | <div class="signature-box" @mousedown="canvasTTdown" @touchstart="canvasTTdown"> | ||||
| @@ -114,6 +117,8 @@ | |||||
| finished: false, | finished: false, | ||||
| show: false, | show: false, | ||||
| showFile: false, | showFile: false, | ||||
| htqsShow:false, | |||||
| noticeUrl:false, | |||||
| fileList: [], | fileList: [], | ||||
| listLength: '0', | listLength: '0', | ||||
| cbfbm:"", | cbfbm:"", | ||||
| @@ -197,8 +202,14 @@ | |||||
| }, | }, | ||||
| contractSign(val){ | contractSign(val){ | ||||
| eqbCbfhtwq(val).then(response => { | eqbCbfhtwq(val).then(response => { | ||||
| window.location.href = response.data; | |||||
| this.noticeUrl = response.data; | |||||
| this.htqsShow = true; | |||||
| }); | }); | ||||
| }, | |||||
| confirmn(){ | |||||
| this.applicationList = []; | |||||
| this.getList(); | |||||
| }, | }, | ||||
| openPopupFile(id){ | openPopupFile(id){ | ||||
| this.fileList = []; | this.fileList = []; | ||||
| @@ -55,7 +55,7 @@ | |||||
| <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)"> | |||||
| <div class="opera_btn" v-if="item.signingMode == '线上' && item.fbfqszt !='2'" @click="contractSign(item)"> | |||||
| <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> | ||||
| @@ -82,7 +82,9 @@ | |||||
| </van-swipe-cell> | </van-swipe-cell> | ||||
| </van-list> | </van-list> | ||||
| </div> | </div> | ||||
| <van-dialog v-model="htqsShow" title="合同签署" confirmButtonText="关闭" @confirm="confirmn"> | |||||
| <iframe width="100%" height="600px;" :src="noticeUrl"></iframe> | |||||
| </van-dialog> | |||||
| <!-- 签字弹出层 --> | <!-- 签字弹出层 --> | ||||
| <van-popup v-model="show" closeable position="right" :style="{ height: '100%' }"> | <van-popup v-model="show" closeable position="right" :style="{ height: '100%' }"> | ||||
| <van-cell-group style="width: 100%;height:100%;overflow: hidden;padding-top: 10px;padding-bottom: 10px;"> | <van-cell-group style="width: 100%;height:100%;overflow: hidden;padding-top: 10px;padding-bottom: 10px;"> | ||||
| @@ -132,6 +134,8 @@ | |||||
| finished: false, | finished: false, | ||||
| show: false, | show: false, | ||||
| showFile: false, | showFile: false, | ||||
| htqsShow:false, | |||||
| noticeUrl:"", | |||||
| fileList: [], | fileList: [], | ||||
| listLength: '0', | listLength: '0', | ||||
| queryParams: { | queryParams: { | ||||
| @@ -237,6 +241,10 @@ | |||||
| signaImgFun(url) { | signaImgFun(url) { | ||||
| this.signatureImg = url; | this.signatureImg = url; | ||||
| }, | }, | ||||
| confirmn(){ | |||||
| this.applicationList = []; | |||||
| this.getList(); | |||||
| }, | |||||
| // 清空画板 | // 清空画板 | ||||
| handleReset() { | handleReset() { | ||||
| this.$refs.esign.reset(); | this.$refs.esign.reset(); | ||||
| @@ -244,8 +252,10 @@ | |||||
| }, | }, | ||||
| contractSign(val){ | contractSign(val){ | ||||
| eqbFbfhtwq(val).then(response => { | eqbFbfhtwq(val).then(response => { | ||||
| window.location.href = response.data; | |||||
| this.noticeUrl = response.data; | |||||
| this.htqsShow = true; | |||||
| }); | }); | ||||
| }, | }, | ||||
| // 生成签字图 | // 生成签字图 | ||||
| handleGenerate() { | handleGenerate() { | ||||