Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
dc1cb2a3
Commit
dc1cb2a3
authored
Mar 21, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7c349f12
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
111 deletions
+111
-111
uat.env.js
config/uat.env.js
+1
-1
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+108
-108
index.html
www/index.html
+2
-2
No files found.
config/uat.env.js
View file @
dc1cb2a3
...
...
@@ -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
"'
}
src/pages/userBindNew/org/baseInfo.vue
View file @
dc1cb2a3
...
...
@@ -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
()
{
...
...
www/index.html
View file @
dc1cb2a3
<!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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment