Commit cb8eb3f2 authored by jiacheng.mao's avatar jiacheng.mao

fix:非上线内容覆盖修改

parent 6e196fad
...@@ -43,8 +43,10 @@ export default { ...@@ -43,8 +43,10 @@ export default {
data () { data () {
return { return {
prolists: [], prolists: [],
title: this.$route.query.name === 'confirmList' ? '批量签署电子文件' : '批量签署电子文件', // title: this.$route.query.name === 'confirmList' ? '批量签署电子文件' : '批量签署电子文件',
buttonName: this.$route.query.name === 'confirmList' ? '签署电子文件' : '签署电子文件', // buttonName: this.$route.query.name === 'confirmList' ? '签署电子文件' : '签署电子文件',
title: this.$route.query.name === 'confirmList' ? '批量签署电子合同' : '批量签署征信授权书',
buttonName: this.$route.query.name === 'confirmList' ? '签署电子合同' : '签署征信授权',
list: JSON.parse(window.localStorage.getItem('handleContact')), list: JSON.parse(window.localStorage.getItem('handleContact')),
checkList: [], // 需要进行签署的合同 checkList: [], // 需要进行签署的合同
...@@ -63,9 +65,9 @@ export default { ...@@ -63,9 +65,9 @@ export default {
let url = process.env.basePath + 'batch_check_sign' let url = process.env.basePath + 'batch_check_sign'
let data_class = vm.$route.query.name === 'confirmList' ? 'LEASE_ITEM' : 'PRJ_CONFIRM' let data_class = vm.$route.query.name === 'confirmList' ? 'LEASE_ITEM' : 'PRJ_CONFIRM'
let param = { 'master': list.map(item => ({ confirm_id: item.confirm_id, data_class })) } let param = { 'master': list.map(item => ({ confirm_id: item.confirm_id, data_class })) }
let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type // let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
console.log('~~~',user_bp_type === 'AGENT'); // console.log('~~~',user_bp_type === 'AGENT');
if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT' // if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
let res = await vm.$post(url, param) let res = await vm.$post(url, param)
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
...@@ -115,8 +117,8 @@ export default { ...@@ -115,8 +117,8 @@ export default {
let data_class = this.$route.query.name === 'confirmList' ? 'LEASE_ITEM' : 'PRJ_CONFIRM' let data_class = this.$route.query.name === 'confirmList' ? 'LEASE_ITEM' : 'PRJ_CONFIRM'
let param = { 'master': this.list.map(item => ({ confirm_id: item.confirm_id, data_class })) } let param = { 'master': this.list.map(item => ({ confirm_id: item.confirm_id, data_class })) }
let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type // let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT' // if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
let res = await this.$post(url, param) let res = await this.$post(url, param)
this.hlsPopup.hideLoading() this.hlsPopup.hideLoading()
...@@ -188,8 +190,8 @@ export default { ...@@ -188,8 +190,8 @@ export default {
bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id, bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id,
}, },
} }
let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type // let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
if (user_bp_type === 'AGENT') param.master['content_type'] = 'PRODUCT_SALE_CONTRACT' // if (user_bp_type === 'AGENT') param.master['content_type'] = 'PRODUCT_SALE_CONTRACT'
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
let res = await this.$post(url, param) let res = await this.$post(url, param)
this.hlsPopup.hideLoading() this.hlsPopup.hideLoading()
......
...@@ -82,7 +82,8 @@ ...@@ -82,7 +82,8 @@
<span :style="{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选</span> <span :style="{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选</span>
</div> </div>
<button class="cancel" @click="cancelRadio">× 取消批量</button> <button class="cancel" @click="cancelRadio">× 取消批量</button>
<button class="sign" @click="signContract">签订电子文件</button> <!-- <button class="sign" @click="signContract">签订电子文件</button> -->
<button class="sign" @click="signContract">签订征信授权书</button>
</div> </div>
<div v-show="num == 1 && !isRadio" class="button-box"> <div v-show="num == 1 && !isRadio" class="button-box">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment