system-phone 3.0.40 → 3.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/AttendManage.vue +471 -471
- package/src/components/LoginApp.vue +5 -3
- package/src/components/OnlineManage.vue +363 -363
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/PhoneUserFind.vue +138 -138
- package/src/components/RightTree.vue +217 -217
- package/src/components/ToolsPage.vue +176 -176
- package/src/components/info/ConfigInfo.vue +122 -122
- package/src/components/info/FindUserInfo.vue +157 -157
- package/src/components/info/InfoTable.vue +37 -37
- package/src/systemphonegrid.js +206 -206
|
@@ -208,8 +208,10 @@ export default {
|
|
|
208
208
|
})
|
|
209
209
|
console.log('获取登陆信息:', ret.data)
|
|
210
210
|
//秦华---(siteId==站点id)===============(flatId==平板id)
|
|
211
|
-
this.$androidUtil.setPreference('siteId', ret.data.f_extend1 ||
|
|
212
|
-
this.$androidUtil.setPreference('flatId', ret.data.f_extend2 ||
|
|
211
|
+
this.$androidUtil.setPreference('siteId', ret.data.f_extend1 || '')
|
|
212
|
+
this.$androidUtil.setPreference('flatId', ret.data.f_extend2 || '')
|
|
213
|
+
this.$androidUtil.setPreference('name', ret.data.name || '')
|
|
214
|
+
this.$androidUtil.setPreference('ename', ret.data.ename || '')
|
|
213
215
|
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code !== 200) {
|
|
214
216
|
throw {status: ret.data.code, message: ret.data.msg}
|
|
215
217
|
}
|
|
@@ -217,7 +219,7 @@ export default {
|
|
|
217
219
|
} catch (e) {
|
|
218
220
|
if (Vue.android) {
|
|
219
221
|
this.loaderShow = false
|
|
220
|
-
this.$showMessage(e.message ? e.message : '
|
|
222
|
+
this.$showMessage(e.message ? e.message : '服务器内部错误!')
|
|
221
223
|
}
|
|
222
224
|
return
|
|
223
225
|
}
|