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
6dcb7a8e
Commit
6dcb7a8e
authored
Jan 14, 2020
by
Jennie Shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jeshi
parent
fc6ac38c
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
173 additions
and
135 deletions
+173
-135
config.xml
config.xml
+1
-0
index.html
index.html
+1
-1
package.json
package.json
+5
-1
android.json
plugins/android.json
+107
-107
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+16
-10
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+15
-7
previewPdf.vue
src/pages/contractSigning/previewPdf.vue
+25
-0
index.js
src/router/index.js
+2
-0
index.html
www/index.html
+1
-9
No files found.
config.xml
View file @
6dcb7a8e
...
@@ -102,4 +102,5 @@
...
@@ -102,4 +102,5 @@
<plugin
name=
"cordova-plugin-device"
spec=
"2.0.2"
/>
<plugin
name=
"cordova-plugin-device"
spec=
"2.0.2"
/>
<plugin
name=
"cordova-plugin-splashscreen"
spec=
"5.0.2"
/>
<plugin
name=
"cordova-plugin-splashscreen"
spec=
"5.0.2"
/>
<plugin
name=
"ionic-plugin-keyboard"
spec=
"^2.2.1"
/>
<plugin
name=
"ionic-plugin-keyboard"
spec=
"^2.2.1"
/>
<engine
name=
"android"
spec=
"~6.2.0"
/>
</widget>
</widget>
index.html
View file @
6dcb7a8e
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<script
type=
"text/javascript"
src=
"cordova.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>
<script
type=
"text/javascript"
src=
"http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script>
<title>
徐工
融租
</title>
<title>
徐工
金服
</title>
</head>
</head>
<body>
<body>
<div
id=
"app-box"
></div>
<div
id=
"app-box"
></div>
...
...
package.json
View file @
6dcb7a8e
...
@@ -20,11 +20,14 @@
...
@@ -20,11 +20,14 @@
"
cordova-plugin-crosswalk-webview
"
:
"
^2.2.0
"
,
"
cordova-plugin-crosswalk-webview
"
:
"
^2.2.0
"
,
"
cordova-plugin-device
"
:
"
^2.0.2
"
,
"
cordova-plugin-device
"
:
"
^2.0.2
"
,
"
cordova-plugin-hls-cloudroom
"
:
"
file:../../../Desktop/徐工/cordova-plugin-hls-cloudroom
"
,
"
cordova-plugin-hls-cloudroom
"
:
"
file:../../../Desktop/徐工/cordova-plugin-hls-cloudroom
"
,
"
cordova-plugin-splashscreen
"
:
"
5.0.2
"
,
"
cordova-plugin-statusbar
"
:
"
2.4.2
"
,
"
cordova-plugin-themeablebrowser
"
:
"
^0.2.18
"
,
"
cordova-plugin-themeablebrowser
"
:
"
^0.2.18
"
,
"
cordova-plugin-whitelist
"
:
"
^1.3.3
"
,
"
cordova-plugin-whitelist
"
:
"
^1.3.3
"
,
"
crypto-js
"
:
"
^3.1.9-1
"
,
"
crypto-js
"
:
"
^3.1.9-1
"
,
"
fastclick
"
:
"
https://hel.hand-china.com/easyUI/fastclick.git
"
,
"
fastclick
"
:
"
https://hel.hand-china.com/easyUI/fastclick.git
"
,
"
hls-easy-ui
"
:
"
https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard
"
,
"
hls-easy-ui
"
:
"
https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard
"
,
"
ionic-plugin-keyboard
"
:
"
^2.2.1
"
,
"
vue
"
:
"
^2.5.2
"
,
"
vue
"
:
"
^2.5.2
"
,
"
vue-router
"
:
"
^3.0.1
"
,
"
vue-router
"
:
"
^3.0.1
"
,
"
vuex
"
:
"
^2.1.1
"
,
"
vuex
"
:
"
^2.1.1
"
,
...
@@ -117,7 +120,8 @@
...
@@ -117,7 +120,8 @@
],
],
"cordova"
:
{
"cordova"
:
{
"platforms"
:
[
"platforms"
:
[
"ios"
"ios"
,
"android"
],
],
"plugins"
:
{
"plugins"
:
{
"cordova-plugin-camera"
:
{},
"cordova-plugin-camera"
:
{},
...
...
plugins/android.json
View file @
6dcb7a8e
src/pages/carConfirm/confirm-detail.vue
View file @
6dcb7a8e
...
@@ -300,22 +300,24 @@ export default {
...
@@ -300,22 +300,24 @@ export default {
},
},
goContent
(
item
)
{
goContent
(
item
)
{
// 详情
// 详情
// window.open(url)
// 合同状态更新保存
// cordova.InAppBrowser.open(url, '_self', 'location=yes')
cordova
.
ThemeableBrowser
.
open
(
item
.
attachment_file_path
,
'_blank'
,
{})
let
vm
=
this
let
vm
=
this
vm
.
attachFlag
=
true
vm
.
attachUrl
=
item
.
attachment_file_path
let
url
=
process
.
env
.
basePath
+
'prj_content_status_save'
let
url
=
process
.
env
.
basePath
+
'prj_content_status_save'
let
param
=
{
let
param
=
{
parameter
:
{
master
:
{
master
:
{
content_id
:
item
.
content_id
,
content_id
:
item
.
content_id
,
auth_credit_flag
:
'Y'
,
auth_credit_flag
:
'Y'
,
},
},
},
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'previewPdf'
,
params
:
{
attachUrl
:
vm
.
attachUrl
}})
}
else
{
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -652,7 +654,11 @@ export default {
...
@@ -652,7 +654,11 @@ export default {
}
}
.aguremrnt-list {
.aguremrnt-list {
display: flex;
display: flex;
display: -webkit-flex;
flex-direction: row;
flex-direction: row;
-webkit-flex-direction:row;
align-items:center;
-webkit-align-items:center;
.unread {
.unread {
width: 34px;
width: 34px;
height: 20px;
height: 20px;
...
@@ -674,8 +680,8 @@ export default {
...
@@ -674,8 +680,8 @@ export default {
}
}
.second {
.second {
height: 32px;
//
height: 32px;
line-height: 32px;
//
line-height: 32px;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
margin-left: 16px;
margin-left: 16px;
...
...
src/pages/contractSigning/contract-detail.vue
View file @
6dcb7a8e
...
@@ -131,6 +131,10 @@
...
@@ -131,6 +131,10 @@
</div>
</div>
</item>
</item>
</list-item>
</list-item>
<!--
<iframe
v-if=
"attachFlag"
:src=
"attachUrl"
frameborder=
"0"
scrolling=
"yes"
width=
"100%"
height=
"100%"
/>
-->
</h-content>
</h-content>
<h-content
v-if=
"num === 1"
>
<h-content
v-if=
"num === 1"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
...
@@ -293,6 +297,8 @@ export default {
...
@@ -293,6 +297,8 @@ export default {
isshow
:
false
,
// 提示框的显示与隐藏
isshow
:
false
,
// 提示框的显示与隐藏
bp_flag
:
false
,
// 判断自然人和法人
bp_flag
:
false
,
// 判断自然人和法人
num
:
0
,
num
:
0
,
attachFlag
:
false
,
attachUrl
:
null
,
tabNum
:
null
,
tabNum
:
null
,
bp_name
:
''
,
bp_name
:
''
,
read_status
:
'N'
,
read_status
:
'N'
,
...
@@ -431,11 +437,10 @@ export default {
...
@@ -431,11 +437,10 @@ export default {
},
},
goContent
(
item
)
{
goContent
(
item
)
{
// 详情
// 详情
// window.open(url)
// cordova.InAppBrowser.open(url, '_self', 'location=yes')
cordova
.
ThemeableBrowser
.
open
(
item
.
attachment_file_path
,
'_blank'
,
{})
// 合同状态更新保存
// 合同状态更新保存
let
vm
=
this
let
vm
=
this
vm
.
attachFlag
=
true
vm
.
attachUrl
=
item
.
attachment_file_path
let
url
=
process
.
env
.
basePath
+
'prj_content_status_save'
let
url
=
process
.
env
.
basePath
+
'prj_content_status_save'
let
param
=
{
let
param
=
{
parameter
:
{
parameter
:
{
...
@@ -449,6 +454,7 @@ export default {
...
@@ -449,6 +454,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'previewPdf'
,
params
:
{
attachUrl
:
vm
.
attachUrl
}})
}
else
{
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -1031,7 +1037,6 @@ export default {
...
@@ -1031,7 +1037,6 @@ export default {
.alert {
.alert {
padding-bottom: 30px;
padding-bottom: 30px;
width: 100%;
width: 100%;
//margin-top: -10px;
background: #fbf2d2;
background: #fbf2d2;
}
}
.alert-fund {
.alert-fund {
...
@@ -1333,10 +1338,13 @@ export default {
...
@@ -1333,10 +1338,13 @@ export default {
letter-spacing: 0;
letter-spacing: 0;
}
}
}
}
.aguremrnt-list {
.aguremrnt-list {
display: flex;
display: flex;
display: -webkit-flex;
flex-direction: row;
flex-direction: row;
-webkit-flex-direction:row;
align-items:center;
-webkit-align-items:center;
.unread{
.unread{
width:34px;
width:34px;
height: 20PX;
height: 20PX;
...
@@ -1358,8 +1366,8 @@ export default {
...
@@ -1358,8 +1366,8 @@ export default {
}
}
.second {
.second {
height: 32px;
//
height: 32px;
line-height: 32px;
//
line-height: 32px;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
margin-left: 16px;
margin-left: 16px;
...
...
src/pages/contractSigning/previewPdf.vue
0 → 100644
View file @
6dcb7a8e
<
template
>
<h-view
class=
"previewPdf"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
合同预览
</span>
</div>
</h-header>
<iframe
:src=
"attachUrl"
frameborder=
"0"
scrolling=
"yes"
width=
"100%"
height=
"100%"
/>
</h-view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
attachUrl
:
this
.
$route
.
params
.
attachUrl
,
}
},
}
</
script
>
<
style
lang=
"less"
rel=
"stylesheet"
>
</
style
>
src/router/index.js
View file @
6dcb7a8e
...
@@ -125,6 +125,7 @@ import PickLessee from '@/pages/contractCreate/pick-lessee'
...
@@ -125,6 +125,7 @@ import PickLessee from '@/pages/contractCreate/pick-lessee'
import
CreateBaseInfo
from
'@/pages/contractCreate/create-base-info'
import
CreateBaseInfo
from
'@/pages/contractCreate/create-base-info'
import
CreateRentInfo
from
'@/pages/contractCreate/creat-rent-info'
import
CreateRentInfo
from
'@/pages/contractCreate/creat-rent-info'
import
CreateEnclosureInfo
from
'@/pages/contractCreate/create-enclosure-info'
import
CreateEnclosureInfo
from
'@/pages/contractCreate/create-enclosure-info'
import
previewPdf
from
'@/pages/contractSigning/previewPdf'
// 我的发票
// 我的发票
import
MyInvoice
from
'@/pages/invoice/invoice'
import
MyInvoice
from
'@/pages/invoice/invoice'
...
@@ -296,6 +297,7 @@ export default new Router({
...
@@ -296,6 +297,7 @@ export default new Router({
{
path
:
'/create-base-info'
,
component
:
CreateBaseInfo
,
name
:
'CreateBaseInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-base-info'
,
component
:
CreateBaseInfo
,
name
:
'CreateBaseInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-rent-info'
,
component
:
CreateRentInfo
,
name
:
'CreateRentInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-rent-info'
,
component
:
CreateRentInfo
,
name
:
'CreateRentInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-enclosure-info'
,
component
:
CreateEnclosureInfo
,
name
:
'CreateEnclosureInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-enclosure-info'
,
component
:
CreateEnclosureInfo
,
name
:
'CreateEnclosureInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/previewPdf'
,
component
:
previewPdf
,
name
:
'previewPdf'
,
meta
:
{
keepAlive
:
true
}},
// 我的发票
// 我的发票
{
path
:
'/invoice'
,
component
:
MyInvoice
,
name
:
'MyInvoice'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/invoice'
,
component
:
MyInvoice
,
name
:
'MyInvoice'
,
meta
:
{
keepAlive
:
false
}},
],
],
...
...
www/index.html
100755 → 100644
View file @
6dcb7a8e
<
<<<<<<
HEAD
<!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.319a48f0ae278016467a36c7c8fdc1b9.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.3f20fa93928dc721ea21.js
></script><script
type=
text/javascript
src=
./static/js/app.edf254bec46da36c7032.js
></script></body></html>
<<<<<<<
HEAD
\ 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.486eb393b1929813a88cd1e17a0b75ae.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.347d8a64f0016023e186.js
></script><script
type=
text/javascript
src=
./static/js/app.cf0b522c85816b556395.js
></script></body></html>
=======
<!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.1fba01d4acb1ed0185103a92c1363a7a.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.b55aa48989ca8151b595.js
></script></body></html>
>>>>>>> 9acbe89d947ec7fd32a726a05985fc405fef6acb
=======
<!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.a1bf5c012e0d37c257e22ffbcd1475db.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.3f20fa93928dc721ea21.js
></script><script
type=
text/javascript
src=
./static/js/app.2e1cb6fea43cbdb7228e.js
></script></body></html>
>>>>>>> jeshi
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