Commit 97c1eb3c authored by JingChao's avatar JingChao

视频面签

parent ad689303
<?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">
<name>徐工融租dev</name>
<name>徐工金服</name>
<description>
测试环境版
正式环境版
</description>
<author email="jingchao.wu@hand-china.com" href="http://example.com.com/">
chris
......
......@@ -8,8 +8,8 @@ module.exports = {
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="',
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.2"',
currentVersion: '"1.1.0"'
}
......@@ -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_DEV&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"1.4.0"'
currentVersion: '"1.4.4"'
}
......@@ -12,7 +12,7 @@
},
"cordova-plugin-baidumaplocation": {
"ANDROID_KEY": "YCDrAzwghWe3Ghps2QkIPBWANkDsgkOP",
"IOS_KEY": "HTTVa66Fmu7xLbanhWGIMxK5MEPZeuDN",
"IOS_KEY": "q0niXfvEg9ToZSD1DvTvGTfeN2b6AbKT",
"IOS_LOCATION_DESC": "请点击'好'以允许访问。",
"PACKAGE_NAME": "com.xcmg.app.dev"
},
......
......@@ -39,7 +39,7 @@
<span class="number">{{ item.apply_date }}</span>
</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" >&nbsp;视频面签
</p>
</li>
......@@ -135,19 +135,19 @@ export default {
this.$refs.scroll.update(false)
this.$refs.scroll.scrollToTop()
},
toSign () {
toSign (item) {
let vm = this
hlsPopup.showConfirm({
vm.hlsPopup.showConfirm({
title: '提示',
content: '模拟登录',
onConfirm: (res) => {
var sendStr = 'xcmg'
if (res) {
hls.cordova.cloudroom.CloudRoomService.loginCloudRoom(sendStr, function (data) {
vm.entrySign()
vm.entrySign(item)
},
function (fail) {
hlsPopup.showLongCenter('登录失败')
vm.hlsPopup.showLongCenter('登录失败')
})
} else {
......@@ -165,9 +165,18 @@ export default {
hlsPopup.showLongCenter('登录失败')
})
}, */
entrySign () {
var sendStr = 'xcmg'
hlsPopup.showConfirm({
entrySign (item) {
let vm = this
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: '提示',
content: '登录成功,进入会话',
onConfirm: (res) => {
......@@ -176,7 +185,7 @@ export default {
},
function (fail) {
hlsPopup.showLongCenter('进入会话失败')
vm.hlsPopup.showLongCenter('进入会话失败')
})
} else {
......
......@@ -35,7 +35,10 @@ axios.interceptors.response.use(response => {
err.message = response.data.message
hlsPopup.showError(err.message)
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('未找到资源文件')
return Promise.resolve('未找到资源文件')
} else if (response.data.success && response.data.success === false) {
......
File added
<!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>
\ 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>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment