Commit acbd2cee authored by 胡's avatar

feat:接口参数调整,融租方案对未读做修改

parent e5c4bac0
...@@ -180,6 +180,8 @@ export default { ...@@ -180,6 +180,8 @@ export default {
// 回调成功上传图片 // 回调成功上传图片
vm.uploadImg(filePath) vm.uploadImg(filePath)
vm.signContact() vm.signContact()
} else {
vm.hlsPopup.showLongCenter('认证失败,请将脸部完整露出再重试!');
} }
}, function (reason) { }, function (reason) {
let error = JSON.parse(reason) let error = JSON.parse(reason)
......
...@@ -325,6 +325,7 @@ export default { ...@@ -325,6 +325,7 @@ export default {
master: { master: {
content_id: item.content_id, content_id: item.content_id,
read_status: 'Y', read_status: 'Y',
bp_id: window.localStorage.bp_id
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
...@@ -421,6 +422,9 @@ export default { ...@@ -421,6 +422,9 @@ export default {
vm.uploadImg(filePath) vm.uploadImg(filePath)
vm.goElectronicSign() vm.goElectronicSign()
} }
else {
vm.hlsPopup.showLongCenter('认证失败,请重试!');
}
}, function (reason) { }, function (reason) {
let error = JSON.parse(reason) let error = JSON.parse(reason)
vm.hlsPopup.showLongCenter('认证失败: ' + error.message) vm.hlsPopup.showLongCenter('认证失败: ' + error.message)
......
...@@ -119,8 +119,8 @@ export default { ...@@ -119,8 +119,8 @@ export default {
}) })
}, },
methods: { methods: {
sign() { sign() {
let list = this.showList.filter(item => item.checked); let list = this.showList.filter(item => item.checked).map(item => {item.checked = true; return item});
if (!list.length) return hlsPopup.showLongCenter('请选择合同'); if (!list.length) return hlsPopup.showLongCenter('请选择合同');
window.localStorage.setItem('handleContact', JSON.stringify(list)); window.localStorage.setItem('handleContact', JSON.stringify(list));
this.$router.push({ path: '/batchSign', query: { name: 'confirmList' } }); this.$router.push({ path: '/batchSign', query: { name: 'confirmList' } });
...@@ -242,6 +242,8 @@ export default { ...@@ -242,6 +242,8 @@ export default {
vm.$refs.scroll.update(false) vm.$refs.scroll.update(false)
} }
vm.selectShowList() vm.selectShowList()
vm.allChoose(false)
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
......
...@@ -438,6 +438,7 @@ export default { ...@@ -438,6 +438,7 @@ export default {
master: { master: {
content_id: item.content_id, content_id: item.content_id,
read_status: 'Y', read_status: 'Y',
bp_id: window.localStorage.bp_id
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<span>{{ item.project_number }}</span> <span>{{ item.project_number }}</span>
</p> </p>
<img src="@/assets/constractSigning/righticon.png" alt class="arrow" /> <img src="@/assets/constractSigning/righticon.png" alt class="arrow" />
<img v-if="item.read_check === 'N'" src="@/assets/constractSigning/unread.png" alt class="unread" />
</div> </div>
<div class="box"> <div class="box">
<div <div
...@@ -186,8 +187,9 @@ export default { ...@@ -186,8 +187,9 @@ export default {
}, },
methods: { methods: {
signContract() { signContract() {
let list = this.showLists.filter(item => item.checked); let list = this.showLists.filter(item => item.checked).map(item => {item.checked = false; return item});
if (!list.length) return hlsPopup.showLongCenter('请选择合同'); if (!list.length) return hlsPopup.showLongCenter('请选择合同');
if(list.findIndex(item => item.read_check === 'N') > -1) return hlsPopup.showLongCenter('选中合同中有文本未读,请先阅读');
window.localStorage.setItem('handleContact', JSON.stringify(list)); window.localStorage.setItem('handleContact', JSON.stringify(list));
this.$router.push({ path: '/batchSign', query: { name: 'contract' } }); this.$router.push({ path: '/batchSign', query: { name: 'contract' } });
}, },
...@@ -308,6 +310,7 @@ export default { ...@@ -308,6 +310,7 @@ export default {
vm.$refs.scroll.update(false) vm.$refs.scroll.update(false)
} }
vm.showLists = vm.submitLists vm.showLists = vm.submitLists
vm.allChoose(false)
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -436,6 +439,11 @@ export default { ...@@ -436,6 +439,11 @@ export default {
<style lang="less" type="text/less"> <style lang="less" type="text/less">
#contract-signing { #contract-signing {
.unread {
width: 34px;
height: 20px;
margin: 0 20px;
}
.display { .display {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()"> <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>签约详情</span> <span>签约详情g</span>
</div> </div>
</h-header> </h-header>
<Tab :tabNums="tabNum" @getTabNum="getTabNum" /> <Tab :tabNums="tabNum" @getTabNum="getTabNum" />
...@@ -446,6 +446,7 @@ export default { ...@@ -446,6 +446,7 @@ export default {
master: { master: {
content_id: item.content_id, content_id: item.content_id,
read_status: 'Y', read_status: 'Y',
bp_id: window.localStorage.bp_id
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
......
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