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
993fca9e
Commit
993fca9e
authored
Dec 25, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'上传视频'
parent
1300154b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
11 deletions
+16
-11
prod.env.js
config/prod.env.js
+8
-6
uat.env.js
config/uat.env.js
+1
-0
main.js
src/main.js
+1
-1
body-check.vue
src/pages/contractSigning/body-check.vue
+1
-0
login.vue
src/pages/login.vue
+3
-2
hlsUtil.js
src/scripts/hlsUtil.js
+1
-1
index.html
www/index.html
+1
-1
No files found.
config/prod.env.js
View file @
993fca9e
...
...
@@ -2,12 +2,14 @@
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
debug
:
true
,
isMobilePlatform
:
false
,
hmapUrl
:
'"http://hippius.hand-china.com/hmap220"'
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
debug
:
false
,
isMobilePlatform
:
true
,
loginPath
:
'"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password=" '
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_UAT&apiName="'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
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"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.0.0"'
}
config/uat.env.js
View file @
993fca9e
...
...
@@ -9,6 +9,7 @@ module.exports = {
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.2.1"'
}
src/main.js
View file @
993fca9e
...
...
@@ -59,7 +59,7 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') {
//
const VConsole = require('vconsole')
//
const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
...
...
src/pages/contractSigning/body-check.vue
View file @
993fca9e
...
...
@@ -193,6 +193,7 @@ export default {
onConfirm
:
()
=>
{
// 电子签认证
vm
.
goElectronicSign
()
vm
.
svaeVideo
(
fileUrl
)
// 上传视频文件至业务系统
},
})
}
...
...
src/pages/login.vue
View file @
993fca9e
...
...
@@ -58,8 +58,9 @@ export default {
window
.
addEventListener
(
'native.keyboardhide'
,
function
()
{
document
.
activeElement
.
blur
()
})
// document.getElementById('clearBtn').click() // 进入页面强行给dom增加点击事件,为了解决进入页面黑屏
document
.
getElementById
(
'userInput'
).
focus
()
if
(
vum
.
Platform
.
isAndroid
())
{
// 安卓
document
.
getElementById
(
'userInput'
).
focus
()
// 进入页面强行给dom增加点击事件,为了解决进入页面黑屏
}
},
methods
:
{
changeType
()
{
...
...
src/scripts/hlsUtil.js
View file @
993fca9e
...
...
@@ -390,7 +390,7 @@ export default {
fileUploadSvc
:
function
(
file
,
success
)
{
let
path
=
file
.
filePath
var
name
=
path
.
substr
(
path
.
lastIndexOf
(
'/'
)
+
1
)
let
url
=
encodeURI
(
process
.
env
.
rootPath
+
'/app/fileUploadSvc?sysName=XCMG_DEV&apiName=
attachment_upload'
)
let
url
=
encodeURI
(
process
.
env
.
fileUploadSvcPath
+
'
attachment_upload'
)
let
options
=
new
FileUploadOptions
()
// eslint-disable-line
options
.
fileKey
=
'file'
options
.
headers
=
{
...
...
www/index.html
View file @
993fca9e
<!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.8b9961161f9a65fb1c725828cb5c89b2.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.e547499500fbe65e7169.js
></script><script
type=
text/javascript
src=
./static/js/app.7fb2c48512757e0f07b6.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.6319497a7aca33cba9994809c1a48057.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.efd596b798e6119ce4a4.js
></script><script
type=
text/javascript
src=
./static/js/app.e855d3033d30dd9c7a5e.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