Commit 2962de4a authored by linxin's avatar linxin

add

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