Commit eb229a75 authored by JingChao's avatar JingChao

百度key

parent d8c8f540
...@@ -70,13 +70,15 @@ For a detailed explanation on how things work, check out the [guide](http://vuej ...@@ -70,13 +70,15 @@ For a detailed explanation on how things work, check out the [guide](http://vuej
#百度地图 #百度地图
开发环境: 开发环境:
应用名称:徐工融租dev com.xcmg.app.dev 应用名称:徐工融租dev com.xcmg.app.dev
IOS_KEY:q0niXfvEg9ToZSD1DvTvGTfeN2b6AbKT IOS_KEY:NYuANmOUjGo5q0n48qF97fShdjVwmhM6
ANDROID_KEY: zRf4DoxQDPH6GkUx6MjzCO1X11TystKt ANDROID_KEY: Y8gTWgN2GuDtvhBfiECaZiBtE6i0wQBG
生产环境: 生产环境:
应用名称:徐工融租 com.xcmg.app 应用名称:徐工融租 com.xcmg.app
IOS_KEY: IOS_KEY:hhouKKwxALvC7MBZmnfwgSacHOfFOlNu
ANDROID_KEY: ANDROID_KEY: q4W0FynBkTd4v44ZM8m4MxUpuXBqGIqQ
web端 Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU
# 打包冲突解决 # 打包冲突解决
各项目如果安装了 com.hls.plugins.barcode 扫码插件与cordova-plugin-open-camera 媒体插件 各项目如果安装了 com.hls.plugins.barcode 扫码插件与cordova-plugin-open-camera 媒体插件
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<script type="text/javascript" src="./static/prototype.js"></script> <script type="text/javascript" src="./static/prototype.js"></script>
<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=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script>
<title>徐工金服</title> <title>徐工金服</title>
</head> </head>
<body> <body>
......
...@@ -106,8 +106,8 @@ ...@@ -106,8 +106,8 @@
}, },
"is_top_level": true, "is_top_level": true,
"variables": { "variables": {
"ANDROID_KEY": "YCDrAzwghWe3Ghps2QkIPBWANkDsgkOP", "ANDROID_KEY": "q4W0FynBkTd4v44ZM8m4MxUpuXBqGIqQ",
"IOS_KEY": "q0niXfvEg9ToZSD1DvTvGTfeN2b6AbKT" "IOS_KEY": "hhouKKwxALvC7MBZmnfwgSacHOfFOlNu"
} }
}, },
"cordova-plugin-camera": { "cordova-plugin-camera": {
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
}, },
"is_top_level": true, "is_top_level": true,
"variables": { "variables": {
"APP_KEY": "7675edf5efa043a1ce9449a2" "APP_KEY": "bef4fd44dcf54b79b8ab27c3"
} }
}, },
"jpush-phonegap-plugin": { "jpush-phonegap-plugin": {
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
}, },
"is_top_level": true, "is_top_level": true,
"variables": { "variables": {
"APP_KEY": "7675edf5efa043a1ce9449a2" "APP_KEY": "bef4fd44dcf54b79b8ab27c3"
} }
}, },
"cordova-plugin-inappbrowser": { "cordova-plugin-inappbrowser": {
...@@ -218,4 +218,4 @@ ...@@ -218,4 +218,4 @@
"is_top_level": true, "is_top_level": true,
"variables": {} "variables": {}
} }
} }
\ No newline at end of file
...@@ -182,7 +182,8 @@ export default { ...@@ -182,7 +182,8 @@ export default {
onConfirm: (res) => { onConfirm: (res) => {
if (res) { if (res) {
hls.cordova.cloudroom.CloudRoomService.helpYourSelf(sendStr, function (data) { hls.cordova.cloudroom.CloudRoomService.helpYourSelf(sendStr, function (data) {
console.log(JSON.stringify(data, '', 2))
vm.doConfirmInterview(item)
}, },
function (fail) { function (fail) {
vm.hlsPopup.showLongCenter('进入会话失败') vm.hlsPopup.showLongCenter('进入会话失败')
...@@ -193,6 +194,23 @@ export default { ...@@ -193,6 +194,23 @@ export default {
}, },
}) })
}, },
doConfirmInterview (item) {
let vm = this
let url = process.env.basePath + 'do_confirm_interview'
let params = {
project_id: item.project_id,
confirm_status: 'APPROVED',
}
vm.hlsHttp.post(url, params).then(res => {
if (res.result === 'S') {
this.$router.push({
name: 'MyInfo',
})
}
})
},
/* entrySign2 () { /* entrySign2 () {
var sendStr = 'xcmg' var sendStr = 'xcmg'
hls.cordova.cloudroom.CloudRoomService.helpYourSelf(sendStr, function (data) { hls.cordova.cloudroom.CloudRoomService.helpYourSelf(sendStr, function (data) {
......
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