Commit 7f34e61b authored by 胡's avatar

feat

parent 2cdfa1c1
......@@ -400,7 +400,8 @@ export default {
}
let url = process.env.basePath + 'bp_query'
let param = {
bp_id: window.localStorage.bp_id,
// bp_id: window.localStorage.bp_id,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
......
......@@ -127,7 +127,8 @@ export default {
'&index' +
`'${randomString}'`
let param = {
user_phone: window.localStorage.getItem('user_phone'),
// user_phone: window.localStorage.getItem('user_phone'),
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
confirm_status: vm.status,
searchInput: vm.keyWord,
}
......@@ -183,7 +184,8 @@ export default {
'&index' +
`'${randomString}'`
let param = {
user_phone: window.localStorage.getItem('user_phone'),
// user_phone: window.localStorage.getItem('user_phone'),
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.status === 'APPROVED' ? vm.pagenumApproved : vm.pagenumNew,
confirm_status: vm.status,
......
......@@ -133,7 +133,8 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url = $config.basePath + 'prj_submit_list' + '&index' + `'${randomString}'`
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
project_status: 'NEW',
......@@ -162,7 +163,8 @@ export default {
pagenum: vm.approvedPagenum,
searchInput: vm.searchInput,
project_status: 'APPROVED',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
......@@ -190,7 +192,8 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url = $config.basePath + 'prj_submit_list' + '&index' + `'${randomString}'`
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
project_status: 'NEW',
......@@ -225,7 +228,8 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url = $config.basePath + 'prj_submit_list' + '&index' + `'${randomString}'`
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.approvedPagenum,
project_status: 'APPROVED',
......@@ -263,7 +267,8 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url = $config.basePath + 'prj_submit_list' + '&index' + `'${randomString}'`
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
project_status: 'NEW',
......@@ -295,7 +300,8 @@ export default {
let url = $config.basePath + 'prj_submit_list' + '&index' + `'${randomString}'`
vm.approvedPagenum = 1
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.approvedPagenum,
project_status: 'APPROVED',
......
......@@ -708,7 +708,8 @@ export default {
let vm = this
let url = process.env.basePath + 'prj_bp_agent_query'
let param = {
user_phone: window.localStorage.getItem('user_phone'),
// user_phone: window.localStorage.getItem('user_phone'),
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
......
......@@ -346,7 +346,8 @@ export default {
let vm = this
let url = process.env.basePath + 'prj_bp_agent_query'
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
vm.hlsPopup.showLoading('请稍候')
return vm.hlsHttp.post(url, param).then(function (res) {
......@@ -377,7 +378,8 @@ export default {
let url = process.env.basePath + 'prj_factory_list'
let param = {
office_id: vm.salesInfo.office_id,
phone: window.localStorage.getItem('user_phone'),
// phone: window.localStorage.getItem('user_phone'),
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
......
......@@ -199,12 +199,12 @@ export default {
vm.repayed_flag = false
vm.other_flag = false
vm.undo_flag = false
if (window.localStorage.multipleRole === 'TENANT') {
vm.bp_type = 'TENANT'
} else if (window.localStorage.bp_type === 'TENANT' && !window.localStorage.multipleRole) {
// window.localStorage.multipleRole
if (JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type === 'TENANT' ) {
vm.bp_type = 'TENANT'
} else {
vm.bp_type = window.localStorage.bp_type
vm.bp_type = JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type;
}
vm.recordQuery('全部', vm.lists)
} else if (from.name === 'MyInfo') {
......@@ -257,12 +257,11 @@ export default {
vm.repayed_flag = false
vm.other_flag = false
vm.undo_flag = false
if (window.localStorage.multipleRole === 'TENANT') {
vm.bp_type = 'TENANT'
} else if (window.localStorage.bp_type === 'TENANT' && !window.localStorage.multipleRole) {
// window.localStorage.multipleRole
if ( JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type === 'TENANT') {
vm.bp_type = 'TENANT'
} else {
vm.bp_type = window.localStorage.bp_type
vm.bp_type = JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type
}
vm.recordQuery('全部', vm.lists)
}
......@@ -296,7 +295,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + name
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -403,7 +403,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + name
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: vm.pageNum,
......@@ -515,7 +516,8 @@ export default {
let url = $config.basePath + name
let param = {
contract_status_n: '全部',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -555,7 +557,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '待首付',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -595,7 +598,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '首付还款中',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -635,7 +639,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '还款中',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -675,7 +680,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '已结清',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -709,7 +715,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '撤销',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......@@ -743,7 +750,8 @@ export default {
// let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '其他',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
searchInput: vm.searchInput,
// bp_type: vm.bp_type,
pagenum: 1,
......
......@@ -143,7 +143,8 @@ export default {
let url = $config.basePath + 'get_download_app'
let param = {
project_id: vm.$route.params.project_id,
phone: window.localStorage.user_phone,
// phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
......
......@@ -864,7 +864,8 @@ export default {
let flag = await this.signCheck()
if (flag) {
// 只有认证通过后方可进行签约操作
if (window.localStorage.bp_type === 'TENANT') {
// window.localStorage.bp_type === 'TENANT'
if (JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type === 'TENANT') {
if (!this.bank_flag && this.abc_deduction_flag === 'Y') {
this.isshow = true // 未查到农行卡给出提示且勾选农行代扣
} else {
......@@ -884,7 +885,7 @@ export default {
let url = $config.basePath + 'con_bank_query'
let param = {
project_id: vm.project_id,
bp_id: window.localStorage.bp_id,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
// vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
......
......@@ -142,7 +142,8 @@ export default {
if (vm.num === 1) {
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
confirm_status: 'SUBMIT',
......@@ -170,7 +171,8 @@ export default {
pagenum: vm.approvedPagenum,
searchInput: vm.searchInput,
confirm_status: 'APPROVED',
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
}
vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
......@@ -198,7 +200,8 @@ export default {
vm.submitPagenum++
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
confirm_status: 'SUBMIT',
......@@ -232,7 +235,8 @@ export default {
vm.approvedPagenum++
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.approvedPagenum,
confirm_status: 'APPROVED',
......@@ -269,7 +273,8 @@ export default {
vm.submitPagenum = 1
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.submitPagenum,
confirm_status: 'SUBMIT',
......@@ -300,7 +305,8 @@ export default {
let url = $config.basePath + 'prj_confirm_list_query'
vm.approvedPagenum = 1
let param = {
user_phone: window.localStorage.user_phone,
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
pagesize: 10,
pagenum: vm.approvedPagenum,
confirm_status: 'APPROVED',
......
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