diff --git a/App.vue b/App.vue index a26b517..0644e96 100644 --- a/App.vue +++ b/App.vue @@ -2,23 +2,6 @@ export default { onReady() { - - // this.$common.getStorage("user").then((res) => { - // if (res == null || res == "") { - // uni.redirectTo({ - // url: "/pages/login/login" - // }); - // } - // }); - - const _self = this; - // const _handlePush = function(message) { - // uni.navigateTo({ - // url: "/pages/task/index" - // }); - // }; - // plus.push.addEventListener('click', _handlePush); - // plus.push.addEventListener('receive', _handlePush); }, onShow: function () { console.log("App Show"); @@ -35,7 +18,6 @@ export default { if (userInfo) { // 处理用户数据 this.$store.dispatch("changeTabbar", userInfo.role_id); - } }, diff --git a/manifest.json b/manifest.json index 7c985b4..0aae32b 100644 --- a/manifest.json +++ b/manifest.json @@ -33,7 +33,8 @@ "", "", "", - "" + "", + "" ], "minSdkVersion" : 19, "targetSdkVersion" : 28 diff --git a/pages/login/login.vue b/pages/login/login.vue index ccf0565..20e7eb7 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -26,7 +26,6 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/static/images/position/destination.png b/static/images/position/destination.png new file mode 100644 index 0000000..f0e6b98 Binary files /dev/null and b/static/images/position/destination.png differ diff --git a/static/images/position/weixiu.png b/static/images/position/weixiu.png new file mode 100644 index 0000000..df09137 Binary files /dev/null and b/static/images/position/weixiu.png differ diff --git a/store/index.js b/store/index.js index 09f6bcb..97c14d4 100644 --- a/store/index.js +++ b/store/index.js @@ -47,6 +47,9 @@ const store = new Vuex.Store({ uni.reLaunch({ url: "/pages/order/tasking", }); + + // 如果是维修人员登录 则实时更新当前维修人员的位置 + } },