Commit 19a6a9b9 authored by linxin's avatar linxin

add

parents d3de0a9a 25aa7cff
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://www.xcmgfs.com:8087/r/api"',
fileUploadSvcPath:'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="',
appId: '"com.xcmg.app"',
currentVersion: '"0.0.3"'
currentVersion: '"0.0.5"'
}
......@@ -5,11 +5,11 @@ module.exports = {
debug: true,
isMobilePlatform: true,
loginPath: '"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ',
basePath: '"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_PROD&apiName="',
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_PROD&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"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"1.8.3"'
}
......
......@@ -218,8 +218,8 @@ export default {
content: `检测成功,请进行电子签认证`,
onConfirm: () => {
// 电子签认证
vm.goElectronicSign()
vm.svaeVideo(fileUrl) // 上传视频文件至业务系统
vm.svaeVideo(fileUrl)
setTimeout(vm.goElectronicSign(), 3000)
},
})
}
......
......@@ -121,7 +121,6 @@ export default {
// 视频保存
saveVideoStart (list) {
console.log('list ' + JSON.stringify(list))
let vm = this
if (list.length) {
var alreadyUploadNum = 0
var attLength = 0
......@@ -137,7 +136,6 @@ export default {
for (var j = 0; j < list.length; j++) {
if (list[j].filePath === res.response.filePath) {
list[j].attachment_id = res.response.attachment_id
console.log('%%%%%%%%%%%%% ' + JSON.stringify(res.response))
break
}
}
......@@ -218,8 +216,9 @@ export default {
content: `检测成功,请进行电子签认证`,
onConfirm: () => {
// 电子签认证
vm.goElectronicSign()
vm.svaeVideo(fileUrl) // 上传视频文件至业务系统
vm.svaeVideo(fileUrl)
setTimeout(vm.goElectronicSign(), 3000)
// 上传视频文件至业务系统
},
})
}
......
......@@ -218,8 +218,8 @@ export default {
content: `检测成功,请进行电子签认证`,
onConfirm: () => {
// 电子签认证
vm.goElectronicSign()
vm.svaeVideo(fileUrl) // 上传视频文件至业务系统
vm.svaeVideo(fileUrl)
setTimeout(vm.goElectronicSign(), 3000)
},
})
}
......
......@@ -165,7 +165,11 @@ export default {
if (res) {
hls.cordova.cloudroom.CloudRoomService.helpYourSelf(sendStr, function (data) {
console.log(JSON.stringify(data, '', 2))
vm.doConfirmInterview(item)
if (data.result === 'S') {
vm.doConfirmInterview(item)
} else {
vm.hlsPopup.showLongCenter('您未完成视频面签,请重试!')
}
},
function (fail) {
vm.hlsPopup.showLongCenter('进入会话失败')
......
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