Commit bdf989bc authored by 胡's avatar

fix: 整体修改

parent eb2321f7
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"3.5.1"'
currentVersion: '"3.5.7"'
}
......@@ -293,6 +293,7 @@ export default {
let param = {
confirm_id: vm.confirm_id,
data_class: 'LEASE_ITEM',
bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......
......@@ -438,7 +438,7 @@ export default {
master: {
content_id: item.content_id,
read_status: 'Y',
bp_id:JSON.parse(window.localStorage.getItem('handleUser')).bp_id
bp_id:JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
},
}
hlsPopup.showLoading('请稍候')
......@@ -465,6 +465,7 @@ export default {
let param = {
confirm_id: vm.confirm_id,
data_class: 'PRJ_CONFIRM',
bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......@@ -484,6 +485,7 @@ export default {
let param = {
confirm_id: vm.confirm_id,
data_class: 'PRJ_CONFIRM',
bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......@@ -586,9 +588,10 @@ export default {
this.hlsPopup.showConfirm({
title: '提示',
content: `您确认${val}吗?`,
onConfirm: data => {
onConfirm: async data => {
if (data) {
// 需要先校验是否认证通过
await vm.confirm()
vm.doConfirm(status)
}
},
......
......@@ -188,9 +188,11 @@ export default {
},
methods: {
signContract() {
let list = this.showLists.filter(item => item.checked).map(item => {item.checked = false; return item});
let list = this.showLists.filter(item => item.checked);
if (!list.length) return hlsPopup.showLongCenter('请选择合同');
if(list.findIndex(item => item.read_check === 'N') > -1) return hlsPopup.showLongCenter('选中合同中有文本未读,请先阅读');
if(list.findIndex(item => item.read_check === 'N') > -1) return hlsPopup.showLongCenter('您有授权书未阅读,请阅读后再签署');
list = list.map(item => {item.checked = false; return item});
window.localStorage.setItem('handleContact', JSON.stringify(list));
this.$router.push({ path: '/batchSign', query: { name: 'contract' } });
},
......
......@@ -971,6 +971,7 @@ export default {
let param = {
project_id: vm.project_id,
data_class: 'LEASE_ITEM',
bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......
......@@ -366,6 +366,7 @@ export default {
let param = {
confirm_id: vm.confirm_id,
data_class: 'PRJ_PREVIEW',
bp_id: JSON.parse(window.localStorage.getItem("now_user_bp_bind_id")).bp_id
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......
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