Commit ebbdd84f authored by linxin's avatar linxin

add

parent 7f519faf
Pipeline #4612 canceled with stages
......@@ -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"',
currentVersion: '"1.1.2"'
currentVersion: '"1.1.3"'
}
......@@ -391,16 +391,19 @@ export default {
async saveEstateInfo () {
let vm = this
let url = process.env.basePath + 'bp_real_estate_save'
let isSaveCar = await vm.saveCarInfo()
let param = {
master: vm.propertyInfo,
}
hlsPopup.showLoading('请稍候')
let res = await vm.$post(url, param)
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
return true
} else {
hlsPopup.showLongCenter(res.message)
if (isSaveCar) {
hlsPopup.showLoading('请稍候')
let res = await vm.$post(url, param)
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
return true
} else {
hlsPopup.showLongCenter(res.message)
}
}
},
async saveCarInfo () {
......@@ -453,13 +456,12 @@ export default {
async saveHouseInfo () {
let vm = this
let url = process.env.basePath + 'bp_house_info_save'
let isSaveCar = await vm.saveCarInfo()
let isSaveEstate = await vm.saveEstateInfo()
let param = {
master: vm.hauseInfo,
}
hlsPopup.showLoading('请稍候')
if (isSaveCar && isSaveEstate) {
if (isSaveEstate) {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
......@@ -929,8 +931,9 @@ export default {
},
load_picture (check_id, index, cdd_item) {
let vm = this
let randomString = Math.floor(Math.random() * 50)
let url =
process.env.basePath + 'attachment_list_query' + '&index' + index // 附件查询
process.env.basePath + 'attachment_list_query' + '&index' + randomString // 附件查询
let param = {
check_id: check_id,
}
......
......@@ -648,40 +648,44 @@ export default {
async savePropertyInfo () {
let vm = this
let url = process.env.basePath + 'bp_real_estate_save'
let isSaveCar = await vm.saveCarInfo()
let param = {
master: vm.propertyInfo,
}
let res = await vm.$post(url, param)
if (res.result === 'S') {
return true
} else {
hlsPopup.showLongCenter(res.message)
if (isSaveCar) {
let res = await vm.$post(url, param)
if (res.result === 'S') {
return true
} else {
hlsPopup.showLongCenter(res.message)
}
}
},
// 房产证信息保存
async saveHouseInfo () {
let vm = this
let url = process.env.basePath + 'bp_house_info_save'
let isSaveCar = await vm.saveCarInfo()
let isSaveEstate = await vm.savePropertyInfo()
let param = {
master: vm.hauseInfo,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
if (isSaveEstate) {
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
/* vm.$router.push({
name: 'BankInfo',
params: {
bp_id: vm.bp_id,
},
}) */
vm.attachmentCheck()
} else {
hlsPopup.showLongCenter(res.message)
}
})
vm.attachmentCheck()
} else {
hlsPopup.showLongCenter(res.message)
}
})
}
},
attachmentCheck () {
let vm = this
......
No preview for this file type
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.77dc2598bd267bcc99de974d44cbff93.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.737b66774b6e80545073.js></script><script type=text/javascript src=./static/js/app.2e361802438b4cad783a.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.77dc2598bd267bcc99de974d44cbff93.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.6c6353fc2c7ddf18d14b.js></script><script type=text/javascript src=./static/js/app.f28191483059fcccbb14.js></script></body></html>
\ No newline at end of file
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