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
4b092abd
Commit
4b092abd
authored
Feb 14, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
67dd3bb7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
96 additions
and
33 deletions
+96
-33
dev.env.js
config/dev.env.js
+1
-1
index.js
config/index.js
+7
-7
uat.env.js
config/uat.env.js
+1
-1
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+2
-0
contract-repayment.vue
src/pages/contractRepayment/contract-repayment.vue
+2
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+76
-23
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+2
-0
invoice.vue
src/pages/invoice/invoice.vue
+2
-0
reimburse-myself-list.Vue
src/pages/reimburseMyself/reimburse-myself-list.Vue
+2
-0
index.html
www/index.html
+1
-1
No files found.
config/dev.env.js
View file @
4b092abd
...
...
@@ -13,5 +13,5 @@ module.exports = merge(prodEnv, {
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.8.
6
"'
,
currentVersion
:
'"1.8.
9
"'
,
})
config/index.js
View file @
4b092abd
...
...
@@ -28,13 +28,13 @@ module.exports = {
assetsSubDirectory
:
'static'
,
assetsPublicPath
:
'/'
,
proxyTable
:
{
//
'/xcmg_file': {
//
target: 'http://lichee.iask.in',
//
changeOrigin: true,
//
pathRewrite: {
//
'^/xcmg_file': '/xcmg_file'
//
}
//
},
'/xcmg_file'
:
{
target
:
'http://lichee.iask.in'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/xcmg_file'
:
'/xcmg_file'
}
},
},
// Various Dev Server settings
...
...
config/uat.env.js
View file @
4b092abd
...
...
@@ -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.5.
2
"'
currentVersion
:
'"1.5.
3
"'
}
src/pages/carConfirm/confirm-list.vue
View file @
4b092abd
...
...
@@ -200,6 +200,8 @@ export default {
#confirmList {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
...
...
src/pages/contractRepayment/contract-repayment.vue
View file @
4b092abd
...
...
@@ -124,6 +124,8 @@ export default {
#contract-repayment {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
...
...
src/pages/contractSigning/contract-detail.vue
View file @
4b092abd
...
...
@@ -27,31 +27,11 @@
</h-header>
<div
v-if=
"!isConfirm && con_confirm_status !== 'APPROVED' && auth_credit_flag !=='Y' && credit_status !== 'N'"
v-once
class=
"myModal"
>
<div
class=
"box"
>
<span
class=
"title-box"
>
征信授权书
</span>
<div
class=
"content-box"
>
<div>
江苏徐工工程机械租赁有限公司:
</div>
<p>
本人/本单位拟向贵公司办理融资租赁业务,贵公司需要了解本人/本单位、本人配偶/本单位法定代表人以及担保人的信用记录,用于审核融资租赁申请条件、贷后管理及风险控制,因此,相关人员特做出以下授权并清楚理解其含义:
</p>
<p>
(一)同意授权贵公司通过中国人民银行或者第三方机构查询、打印、保存、使用征信信息;
</p>
<p>
(二)同意授权贵公司向中国人民银行或者第三方机构提供、报送、上传因本业务产生的全部信息;
</p>
<p>
(三)同意授权中国人民银行或者第三方机构向有关机构采集的个人信息,可依法整理、保存、加工、使用、提供,并出具信用报告;
</p>
<p>
(四)以上授权的期限为作出本授权承诺之日起至在贵公司办理或涉及的所有业务或事项终结之日止,且在业务存续期间可多次查询。若在贵公司处办理或涉及的业务未获批准,同意贵公司继续保留此查询授权书原件和身份证件复印件或影印件。
</p>
<p>
特别提示:
</p>
<p>
为了保障您的合法权益,您应当阅读并遵守本授权书。请您务必审慎阅读,并充分理解本授权书的全部内容,特别是以加粗形式提示您注意的。若您不接受本授权书的任何条款,请您立即停止授权。
</p>
<p>
特别声明:
</p>
<p>
本授权书经接受后即时生效,且效力具有独立性,不因相关业务合同或条款无效或被撤销而无效或失效,本授权一经做出,便不可撤销。
</p>
<p>
授权人已知悉本授权书全部内容(特别是加粗字体内容)的含义及因此产生的法律效力,自愿作出以上授权。本授权书是授权人真实意思表示,授权人同意承担由此带来的一切法律后果。
</p>
<div>
授权人(承租人):
身份证号:
日期:
</div>
<div>
法定代表人/负责人:
身份证号:
日期:
</div>
<div>
授权人(承租人配偶):
身份证号:
日期:
</div>
<div>
授权人(担保人):
身份证号:
日期:
</div>
<div>
法定代表人/负责人:
身份证号:
日期:
</div>
<p
class=
"font-blod"
>
注:1.承租人、担保人为法人或者其他机构的,法定代表人或负责人需签名
</p>
<p
class=
"font-blod sec"
>
2.承租人为自然人且已婚的,配偶双方共同签名
</p>
</div>
<img
src=
"@/assets/intoApproval/top.png"
>
<canvas
v-for=
"page in pages"
:id=
"'the-canvas'+page"
:key=
"page"
class=
"canvas"
/>
<div
class=
"confirm"
>
<input
type=
"checkbox"
@
click=
"select"
>
<span>
我本人已阅读本协议,并同意授权xxxx
</span>
...
...
@@ -301,6 +281,7 @@ import LegalPerson from '@/pages/distributorSign/legal-person'
import
Personal
from
'@/pages/distributorSign/personal'
import
bodyCheck
from
'./body-check'
import
axios
from
'axios'
import
PDFJS
from
'pdfjs-dist'
export
default
{
name
:
'ContractDetail'
,
components
:
{
...
...
@@ -310,6 +291,8 @@ export default {
},
data
()
{
return
{
pages
:
0
,
pdfDoc
:
null
,
isshow
:
false
,
// 提示框的显示与隐藏
bp_flag
:
false
,
// 判断自然人和法人
num
:
0
,
...
...
@@ -494,11 +477,69 @@ export default {
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
attachArray
=
res
.
attachments
// vm.getBook()
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 征信授权书
getBook
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_content_app'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
_loadFile
(
res
.
attachments
[
0
].
attachment_file_path
)
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
_renderPage
(
num
)
{
this
.
pdfDoc
.
getPage
(
num
).
then
((
page
)
=>
{
let
canvas
=
document
.
getElementById
(
'the-canvas'
+
num
)
console
.
log
(
canvas
)
let
ctx
=
canvas
.
getContext
(
'2d'
)
let
dpr
=
window
.
devicePixelRatio
||
1
let
bsr
=
ctx
.
webkitBackingStorePixelRatio
||
ctx
.
mozBackingStorePixelRatio
||
ctx
.
msBackingStorePixelRatio
||
ctx
.
oBackingStorePixelRatio
||
ctx
.
backingStorePixelRatio
||
1
let
ratio
=
dpr
/
bsr
let
viewport
=
page
.
getViewport
(
screen
.
availWidth
/
page
.
getViewport
(
1
).
width
)
canvas
.
width
=
viewport
.
width
*
ratio
canvas
.
height
=
viewport
.
height
*
ratio
canvas
.
style
.
width
=
viewport
.
width
/
1.24
+
'px'
canvas
.
style
.
height
=
viewport
.
height
/
1.2
+
'px'
ctx
.
setTransform
(
ratio
,
0
,
0
,
ratio
,
0
,
0
)
let
renderContext
=
{
canvasContext
:
ctx
,
viewport
:
viewport
,
}
page
.
render
(
renderContext
)
if
(
this
.
pages
>
num
)
{
this
.
_renderPage
(
num
+
1
)
}
})
},
_loadFile
(
url
)
{
console
.
log
(
'URL ==== '
+
url
)
PDFJS
.
getDocument
(
url
).
then
((
pdf
)
=>
{
this
.
pdfDoc
=
pdf
console
.
log
(
'pdf ==== '
+
pdf
)
this
.
pages
=
this
.
pdfDoc
.
numPages
this
.
$nextTick
(()
=>
{
this
.
_renderPage
(
1
)
})
})
},
// 征信查询
creditCheck
()
{
let
vm
=
this
...
...
@@ -944,6 +985,10 @@ export default {
</
script
>
<
style
lang=
"less"
rel=
"stylesheet"
>
#contract-details {
.canvas{
position: relative;
z-index: 0;
}
.sign-elect {
width: 100%;
height: 1.1rem;
...
...
@@ -1434,9 +1479,15 @@ export default {
position: relative;
width: 301px;
height: 467px;
top:-67px;
background: url("../../assets/intoApproval/top.png") no-repeat;
background-size: 301px 24.7px;
background-color: #fff;
img{
position: absolute;
z-index: 999;
width:301px;
}
button {
width: 240px;
height: 40px;
...
...
@@ -1484,7 +1535,7 @@ export default {
.confirm {
width: 240px;
height: 20px;
padding-top: 25px;
//
padding-top: 25px;
margin: 0 auto;
font-family: PingFangSC-Regular;
font-size: 12px;
...
...
@@ -1493,6 +1544,8 @@ export default {
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin-top: -59px;
input {
width: 16px;
height: 16px;
...
...
src/pages/contractSigning/contract-signing.vue
View file @
4b092abd
...
...
@@ -352,6 +352,8 @@ export default {
<
style
lang=
"less"
type=
"text/less"
>
#contract-signing{
.display {
width: 100%;
height: 100%;
position: fixed;
// top: 0;
img {
...
...
src/pages/invoice/invoice.vue
View file @
4b092abd
...
...
@@ -112,6 +112,8 @@ export default {
@import "../../styles/mixin";
#invoice {
.display {
width: 100%;
height: 100%;
position: fixed;
// top: 0;
img {
...
...
src/pages/reimburseMyself/reimburse-myself-list.Vue
View file @
4b092abd
...
...
@@ -184,6 +184,8 @@ export default {
#reimburse {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
...
...
www/index.html
View file @
4b092abd
<!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.d5a3f8bf114c9ae887d402e363f38c92.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ea346998502d0674468b.js
></script><script
type=
text/javascript
src=
./static/js/app.cae4d8c70148fb844d09.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=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.277cd1d073602ce3a1d7ea3aeed03d2d.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ea346998502d0674468b.js
></script><script
type=
text/javascript
src=
./static/js/app.90f8fea4d3186e384e0c.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