Commit 2f1c57a6 authored by jiacheng.mao's avatar jiacheng.mao

合同查询优化,uat prod增加版本号

parent 136312d0
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://www.xcmgfs.com:8087/r/api"',
fileUploadSvcPath:'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="',
appId: '"com.xcmg.app"',
currentVersion: '"0.3.9"'
currentVersion: '"0.4.0"'
}
......@@ -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.7.2"'
currentVersion: '"3.7.3"'
}
......@@ -284,16 +284,7 @@ export default {
// 合同记录
recordQuery (status, arr) {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE' || vm.bp_type === 'MANAGER') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + name
let url = $config.basePath + 'con_contract_list'
let param = {
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
......@@ -392,16 +383,7 @@ export default {
vm.other_pagenum++
vm.pageNum = vm.other_pagenum
}
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + name
let url = $config.basePath + 'con_contract_list'
let param = {
// user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id,
......@@ -504,16 +486,7 @@ export default {
},
async searchAll () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + name
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '全部',
// user_phone: window.localStorage.user_phone,
......@@ -545,16 +518,7 @@ export default {
},
async searchUnsign () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '待首付',
// user_phone: window.localStorage.user_phone,
......@@ -586,16 +550,7 @@ export default {
async searchUnrepay () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '首付还款中',
// user_phone: window.localStorage.user_phone,
......@@ -627,16 +582,7 @@ export default {
async searchRepaying () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '还款中',
// user_phone: window.localStorage.user_phone,
......@@ -668,16 +614,7 @@ export default {
searchRepayed () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '已结清',
// user_phone: window.localStorage.user_phone,
......@@ -703,16 +640,7 @@ export default {
},
searchUndo () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '撤销',
// user_phone: window.localStorage.user_phone,
......@@ -738,16 +666,7 @@ export default {
},
searchOther () {
let vm = this
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
}
let url = $config.basePath + name
// let url = $config.basePath + 'con_contract_list'
let url = $config.basePath + 'con_contract_list'
let param = {
contract_status_n: '其他',
// user_phone: window.localStorage.user_phone,
......
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