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
97c1eb3c
Commit
97c1eb3c
authored
Jan 09, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频面签
parent
ad689303
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
18 deletions
+30
-18
config.xml
config.xml
+2
-2
prod.env.js
config/prod.env.js
+3
-3
uat.env.js
config/uat.env.js
+1
-1
ios.json
plugins/ios.json
+1
-1
video-list.vue
src/pages/videoSign/video-list.vue
+18
-9
hlsHttp.js
src/scripts/hlsHttp.js
+4
-1
www.zip
www.zip
+0
-0
index.html
www/index.html
+1
-1
No files found.
config.xml
View file @
97c1eb3c
<?xml version='1.0' encoding='utf-8'?>
<?xml version='1.0' encoding='utf-8'?>
<widget
id=
"com.xcmg.app.dev"
version=
"1.0.0"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<widget
id=
"com.xcmg.app.dev"
version=
"1.0.0"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<name>
徐工
融租dev
</name>
<name>
徐工
金服
</name>
<description>
<description>
测试
环境版
正式
环境版
</description>
</description>
<author
email=
"jingchao.wu@hand-china.com"
href=
"http://example.com.com/"
>
<author
email=
"jingchao.wu@hand-china.com"
href=
"http://example.com.com/"
>
chris
chris
...
...
config/prod.env.js
View file @
97c1eb3c
...
@@ -8,8 +8,8 @@ module.exports = {
...
@@ -8,8 +8,8 @@ module.exports = {
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_UAT&apiName="'
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_UAT&apiName="'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
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&"'
,
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"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.
0.2"'
,
currentVersion
:
'"1.
1.0"'
}
}
config/uat.env.js
View file @
97c1eb3c
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.4.
0
"'
currentVersion
:
'"1.4.
4
"'
}
}
plugins/ios.json
View file @
97c1eb3c
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
},
},
"cordova-plugin-baidumaplocation"
:
{
"cordova-plugin-baidumaplocation"
:
{
"ANDROID_KEY"
:
"YCDrAzwghWe3Ghps2QkIPBWANkDsgkOP"
,
"ANDROID_KEY"
:
"YCDrAzwghWe3Ghps2QkIPBWANkDsgkOP"
,
"IOS_KEY"
:
"
HTTVa66Fmu7xLbanhWGIMxK5MEPZeuDN
"
,
"IOS_KEY"
:
"
q0niXfvEg9ToZSD1DvTvGTfeN2b6AbKT
"
,
"IOS_LOCATION_DESC"
:
"请点击'好'以允许访问。"
,
"IOS_LOCATION_DESC"
:
"请点击'好'以允许访问。"
,
"PACKAGE_NAME"
:
"com.xcmg.app.dev"
"PACKAGE_NAME"
:
"com.xcmg.app.dev"
},
},
...
...
src/pages/videoSign/video-list.vue
View file @
97c1eb3c
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"number"
>
{{
item
.
apply_date
}}
</span>
<span
class=
"number"
>
{{
item
.
apply_date
}}
</span>
</li>
</li>
<li>
<li>
<p
v-if=
"item.interview_status ==='APPROVING'"
class=
"to-unSign"
@
click=
"toSign"
>
<p
v-if=
"item.interview_status ==='APPROVING'"
class=
"to-unSign"
@
click=
"toSign
(item)
"
>
<img
src=
"@/assets/videoSign/unSign.png"
>
视频面签
<img
src=
"@/assets/videoSign/unSign.png"
>
视频面签
</p>
</p>
</li>
</li>
...
@@ -135,19 +135,19 @@ export default {
...
@@ -135,19 +135,19 @@ export default {
this
.
$refs
.
scroll
.
update
(
false
)
this
.
$refs
.
scroll
.
update
(
false
)
this
.
$refs
.
scroll
.
scrollToTop
()
this
.
$refs
.
scroll
.
scrollToTop
()
},
},
toSign
()
{
toSign
(
item
)
{
let
vm
=
this
let
vm
=
this
hlsPopup
.
showConfirm
({
vm
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'模拟登录'
,
content
:
'模拟登录'
,
onConfirm
:
(
res
)
=>
{
onConfirm
:
(
res
)
=>
{
var
sendStr
=
'xcmg'
var
sendStr
=
'xcmg'
if
(
res
)
{
if
(
res
)
{
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
loginCloudRoom
(
sendStr
,
function
(
data
)
{
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
loginCloudRoom
(
sendStr
,
function
(
data
)
{
vm
.
entrySign
()
vm
.
entrySign
(
item
)
},
},
function
(
fail
)
{
function
(
fail
)
{
hlsPopup
.
showLongCenter
(
'登录失败'
)
vm
.
hlsPopup
.
showLongCenter
(
'登录失败'
)
})
})
}
else
{
}
else
{
...
@@ -165,9 +165,18 @@ export default {
...
@@ -165,9 +165,18 @@ export default {
hlsPopup.showLongCenter('登录失败')
hlsPopup.showLongCenter('登录失败')
})
})
}, */
}, */
entrySign
()
{
entrySign
(
item
)
{
var
sendStr
=
'xcmg'
let
vm
=
this
hlsPopup
.
showConfirm
({
let
sendStr
=
{
'url'
:
process
.
env
.
fileUploadSvcPath
+
'attachment_upload'
,
'access_token'
:
window
.
localStorage
.
getItem
(
'access_token'
),
'params'
:
{
'user_id'
:
'1'
,
'source_type'
:
'PRJ_PROJECT_VIDEO'
,
'pkvalue'
:
item
.
video_id
,
},
}
vm
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'登录成功,进入会话'
,
content
:
'登录成功,进入会话'
,
onConfirm
:
(
res
)
=>
{
onConfirm
:
(
res
)
=>
{
...
@@ -176,7 +185,7 @@ export default {
...
@@ -176,7 +185,7 @@ export default {
},
},
function
(
fail
)
{
function
(
fail
)
{
hlsPopup
.
showLongCenter
(
'进入会话失败'
)
vm
.
hlsPopup
.
showLongCenter
(
'进入会话失败'
)
})
})
}
else
{
}
else
{
...
...
src/scripts/hlsHttp.js
View file @
97c1eb3c
...
@@ -35,7 +35,10 @@ axios.interceptors.response.use(response => {
...
@@ -35,7 +35,10 @@ axios.interceptors.response.use(response => {
err
.
message
=
response
.
data
.
message
err
.
message
=
response
.
data
.
message
hlsPopup
.
showError
(
err
.
message
)
hlsPopup
.
showError
(
err
.
message
)
return
Promise
.
resolve
(
err
)
return
Promise
.
resolve
(
err
)
}
else
if
(
response
.
code
===
'404'
)
{
}
else
if
(
response
.
data
.
code
&&
response
.
data
.
code
===
404
)
{
hlsPopup
.
showError
(
'未找到资源文件'
)
return
Promise
.
resolve
(
'未找到资源文件'
)
}
else
if
(
response
.
code
===
404
)
{
hlsPopup
.
showError
(
'未找到资源文件'
)
hlsPopup
.
showError
(
'未找到资源文件'
)
return
Promise
.
resolve
(
'未找到资源文件'
)
return
Promise
.
resolve
(
'未找到资源文件'
)
}
else
if
(
response
.
data
.
success
&&
response
.
data
.
success
===
false
)
{
}
else
if
(
response
.
data
.
success
&&
response
.
data
.
success
===
false
)
{
...
...
www.zip
0 → 100644
View file @
97c1eb3c
File added
www/index.html
View file @
97c1eb3c
<!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.90302ba3468bd9eeade3.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.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>
\ No newline at end of file
\ 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