Commit acbd2cee authored by 胡's avatar

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

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