Merge remote-tracking branch 'origin/master'
# Conflicts:
# pages/exam/examTextPage.vue
# store/state.js
| | |
| | | geocode:'true', |
| | | success: function (res) { |
| | | console.log('当前位置:' + res); |
| | | console.log('当前位置longitude:' + res.longitude); |
| | | console.log('当前位置latitude:' + res.latitude); |
| | | //114.921652006005 25.8457176283118 |
| | | // that.jd = '114.921652006005'; |
| | | // that.wd = '25.8457176283118'; |
| | |
| | | goClock() { |
| | | var that = this; |
| | | uni.request({ |
| | | url: this.$store.state.piAPI + `/attendance/AppSave`, |
| | | url: this.$store.state.BaopiAPI + `/attendance/AppSave`, |
| | | method: "POST", |
| | | data:{ |
| | | number: this.code, |
| | |
| | | <template> |
| | | <view class="content"> |
| | | |
| | | <u-navbar height="44" back-icon-color="#fff" title="考试结果" :is-back="false" title-color="#fff" |
| | | <u-navbar height="48" back-icon-color="#fff" title="考试结果" :is-back="false" title-color="#fff" |
| | | :background="{background: '#103289'}"> |
| | | </u-navbar> |
| | | |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | // baseUrl: "http://223.82.109.183:2080/api", |
| | | baseUrl: "http://localhost:81", |
| | | baseUrl: this.$store.state.BaopiAPI, |
| | | show: false, |
| | | content: '是否确认交卷', |
| | | questionList: [], |
| | |
| | | var that = this |
| | | // 理论考试 |
| | | uni.request({ |
| | | url: "http://61.131.136.25:2080/api/simulateExamRecord/beginExam", |
| | | // url: "http://localhost:81/simulateExamRecord/beginExam", |
| | | url: this.baseUrl + "/simulateExamRecord/beginExam", |
| | | method: 'POST', |
| | | data: { |
| | | idCardNo: this.$store.state.UserData.cardid |
| | | // idCardNo: this.$store.state.UserData.cardid |
| | | idCardNo: this.$store.state.UserData.securityId |
| | | }, |
| | | success: (res) => { |
| | | var examObj = res.data.data.simulateExamRecord |
| | |
| | | |
| | | |
| | | uni.request({ |
| | | url: "http://61.131.136.25:2080/api/simulateExamRecord/saveSimulateExam", |
| | | url: this.baseUrl + "/simulateExamRecord/saveSimulateExam", |
| | | method: 'POST', |
| | | data: sendData, |
| | | success: (res) => { |
| | |
| | | userName: name, |
| | | userID: userID |
| | | } |
| | | // console.log(data,123) |
| | | this.$store.commit('getUse', data) |
| | | // wx.reLaunch({ |
| | | // url: '/pages/alarm_list/alarm_list?login=' + data.userName |
| | |
| | | }) |
| | | return |
| | | } |
| | | console.log(res.data,456); |
| | | store.commit('getUserData', res.data) |
| | | console.log(res.data, 123542); |
| | | data.isit = true |
| | |
| | | roleid: '', //角色id |
| | | Jurisdiction: '', //角色辖区 |
| | | logPath: '', |
| | | piAPI: apis.api, |
| | | // piAPI: 'http://61.131.136.25:2082/api/', |
| | | //piAPI: 'http://192.168.0.110:83/', |
| | | // piAPI: apis.api, |
| | | // piAPI: 'http://223.82.109.183:2082/api/', |
| | | piAPI: 'http://192.168.0.114:83/', |
| | | // piAPI: 'http://192.168.0.222:83/', |
| | | //piAPI: 'http://61.131.136.25:2082/api/', |
| | | BaopiAPI: 'http://61.131.136.25:2080/api/', |
| | | //piAPI: 'http://223.82.109.183:2082/api/', |
| | | // BaopiAPI: 'http://223.82.109.183:2080/api/', |
| | | BaopiAPI: 'http://192.168.0.114:81', |
| | | firstlogin: null, |
| | | puserName: '', |
| | | puserID: '', |
| | |
| | | '/api': { |
| | | // 本地服务接口地址 |
| | | // target: 'http://localhost:81', |
| | | // target: 'http://192.168.0.114:81', //钟日健W |
| | | target: 'http://192.168.0.114:81', //钟日健W |
| | | // target: 'http://192.168.0.107:85', //唐 |
| | | target: 'http://192.168.0.108:83',//曾W |
| | | // target: 'http://192.168.0.108:83',//曾W |
| | | // target: 'http://192.168.0.107:81',//唐N |
| | | // target: 'http://61.131.136.25:81', //唐N |
| | | //远程演示服务地址,可用于直接启动项目 |