Commit 2962de4a authored by linxin's avatar linxin

add

parent 9c813614
Pipeline #4846 canceled with stages
......@@ -26,7 +26,7 @@
</div>
</h-header>
<div
v-if="!isConfirm && con_confirm_status !== 'APPROVED' && auth_credit_flag !=='Y' && credit_status !== 'N'"y
v-if="bookFlag"
class="myModal"
>
<div class="box">
......@@ -36,7 +36,7 @@
<input type="checkbox" @click="select" >
<span>我本人已阅读本协议,并同意授权xxxx</span>
</div>
<button class="appro" @click="confirm">同意</button>
<h-button :disabled="!ischecked" class="appro" @click="confirm">同意</h-button>
</div>
</div>
<div class="tab-style">
......@@ -300,6 +300,7 @@ export default {
attachUrl: null,
tabNum: null,
bp_name: '',
bookFlag: false,
read_status: 'N',
showModalValue: false,
credit_status: 'N', // 一个月内是否查过征信 N查过
......@@ -366,6 +367,7 @@ export default {
vm.bank_flag = false
vm.isConfirm = false
vm.ischecked = false
vm.bookFlag = false
vm.showModalValue = false
vm.signCheckFlag = false
vm.tabNum = vm.$route.params.num
......@@ -495,7 +497,12 @@ export default {
vm.hlsHttp.post(url, param).then(res => {
hlsPopup.hideLoading()
if (res.result === 'S') {
vm._loadFile(res.attachments[0].attachment_file_path)
if (res.attachments[0].read_status === 'Y') {
vm.bookFlag = false
} else if (res.attachments[0].read_status === 'N') {
vm.bookFlag = true
vm._loadFile(res.attachments[0].attachment_file_path)
}
} else {
vm.hlsPopup.showLongCenter(res.message)
}
......@@ -799,7 +806,7 @@ export default {
confirm () {
this.ischecked ? (this.isConfirm = true) : (this.isConfirm = false)
let vm = this
let url = $config.basePath + 'prj_auth_credit_upd'
let url = $config.basePath + 'prj_content_status_save'
let param = {
master: {
confirm_id: vm.confirm_id,
......@@ -810,6 +817,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.bookFlag = false
}
})
},
......
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