Commit dc1cb2a3 authored by linxin's avatar linxin

add

parent 7c349f12
......@@ -11,6 +11,6 @@ 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: '"2.0.8"'
currentVersion: '"2.0.9"'
}
......@@ -1292,115 +1292,115 @@ export default {
}
},
saveAttatchment () {
if (vm.idCardFrontEditFlag) { // 法定代表人身份证正面图片已修改,重新上传
vm.idCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardFrontAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.idCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.idCardFrontCheck_id,
'filePath': vm.idCardFront,
'attachment_id': '',
'user_id': 1,
'fileName': '法人身份证正面',
}
list.push(obj)
vm.save_picture(list)
vm.idCardFrontEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.idCardBackEditFlag) { // 法定代表人身份证背面图片已修改,重新上传
vm.idCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardBackAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.idCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.idCardBackCheck_id,
'filePath': vm.idCardBack,
'attachment_id': '',
'user_id': 1,
'fileName': '法人身份证背面',
}
list.push(obj)
vm.save_picture(list)
vm.idCardBackEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.authidCardFrontEditFlag) { // 授权人身份证正面图片已修改,重新上传
vm.authidCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardFrontAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.authidCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.authidCardFrontCheck_id,
'filePath': vm.authidCardFront,
'attachment_id': '',
'user_id': 1,
'fileName': '授权人身份证正面',
}
list.push(obj)
vm.save_picture(list)
vm.authidCardFrontEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.authidCardBackEditFlag) { // 授权人身份证背面图片已修改,重新上传
vm.authidCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardBackAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.authidCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.authidCardBackCheck_id,
'filePath': vm.authidCardBack,
'attachment_id': '',
'user_id': 1,
'fileName': '授权人身份证背面',
}
list.push(obj)
vm.save_picture(list)
vm.authidCardBackEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.licenseEditFlag) { // 营业执照图片已修改,重新上传
vm.licenseImgUrlFlag = true
vm.delete_pic_to_ocr(vm.licenseAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.licenseCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.licenseCheck_id,
'filePath': vm.licenseImg,
'attachment_id': '',
'user_id': 1,
'fileName': '企业营业执照',
}
list.push(obj)
vm.save_picture(list)
vm.licenseEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.LaEditFlag) { // 授权书图片已修改,重新上传
vm.laImgUrlFlag = true
vm.delete_pic_to_ocr(vm.laAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.laCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.laCheck_id,
'filePath': vm.laImg,
'attachment_id': '',
'user_id': 1,
'fileName': '授权证书',
}
list.push(obj)
vm.save_picture(list)
vm.LaEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
let vm = this
if (vm.idCardFrontEditFlag) { // 法定代表人身份证正面图片已修改,重新上传
vm.idCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardFrontAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.idCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.idCardFrontCheck_id,
'filePath': vm.idCardFront,
'attachment_id': '',
'user_id': 1,
'fileName': '法人身份证正面',
}
list.push(obj)
vm.save_picture(list)
vm.idCardFrontEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.idCardBackEditFlag) { // 法定代表人身份证背面图片已修改,重新上传
vm.idCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardBackAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.idCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.idCardBackCheck_id,
'filePath': vm.idCardBack,
'attachment_id': '',
'user_id': 1,
'fileName': '法人身份证背面',
}
list.push(obj)
vm.save_picture(list)
vm.idCardBackEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.authidCardFrontEditFlag) { // 授权人身份证正面图片已修改,重新上传
vm.authidCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardFrontAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.authidCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.authidCardFrontCheck_id,
'filePath': vm.authidCardFront,
'attachment_id': '',
'user_id': 1,
'fileName': '授权人身份证正面',
}
list.push(obj)
vm.save_picture(list)
vm.authidCardFrontEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.authidCardBackEditFlag) { // 授权人身份证背面图片已修改,重新上传
vm.authidCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardBackAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.authidCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.authidCardBackCheck_id,
'filePath': vm.authidCardBack,
'attachment_id': '',
'user_id': 1,
'fileName': '授权人身份证背面',
}
list.push(obj)
vm.save_picture(list)
vm.authidCardBackEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.licenseEditFlag) { // 营业执照图片已修改,重新上传
vm.licenseImgUrlFlag = true
vm.delete_pic_to_ocr(vm.licenseAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.licenseCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.licenseCheck_id,
'filePath': vm.licenseImg,
'attachment_id': '',
'user_id': 1,
'fileName': '企业营业执照',
}
list.push(obj)
vm.save_picture(list)
vm.licenseEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
if (vm.LaEditFlag) { // 授权书图片已修改,重新上传
vm.laImgUrlFlag = true
vm.delete_pic_to_ocr(vm.laAttachmentId)// 先删除之前识别的图片
let list = []
let obj = {
'pkvalue': vm.laCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': vm.laCheck_id,
'filePath': vm.laImg,
'attachment_id': '',
'user_id': 1,
'fileName': '授权证书',
}
list.push(obj)
vm.save_picture(list)
vm.LaEditFlag = false // 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
},
// 授权切换
authorizeChange () {
......
<!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=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.9890b33b4e1c9333702d6bcda567dbbb.css rel=stylesheet></head><body><div id=app-box></div><script>// if (window.history && window.history.pushState) {
<!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=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.4333c9864a4e216abe8109890201de1a.css rel=stylesheet></head><body><div id=app-box></div><script>// if (window.history && window.history.pushState) {
// // 往历史记录里面添加一条新的当前页面的url
// history.pushState(null, null, document.URL)
// // 给 popstate 绑定一个方法 监听页面刷新
......@@ -18,4 +18,4 @@
}, 50);
}
})
}</script><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.7d5f309224f0776e78e6.js></script><script type=text/javascript src=./static/js/app.94c76e5ef67e9eb18339.js></script></body></html>
\ No newline at end of file
}</script><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.8a1ae113e3b5262701ed.js></script><script type=text/javascript src=./static/js/app.2056f76b3cfc638efa71.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