diff --git a/common/betone_components/betone-list.vue b/common/betone_components/betone-list.vue deleted file mode 100644 index 22a110f..0000000 --- a/common/betone_components/betone-list.vue +++ /dev/null @@ -1,640 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages.json b/pages.json index e7e3483..39d15eb 100644 --- a/pages.json +++ b/pages.json @@ -167,10 +167,8 @@ { "path": "records", "style": { - "navigationBarTitleText": "报送记录", - "navigationBarTextStyle": "black", - "navigationBarBackgroundColor": "#fff", - "enablePullDownRefresh": true + "navigationStyle": "custom", + "navigationBarTextStyle": "white" } }, { diff --git a/pages/home/index.vue b/pages/home/index.vue index 30c9730..6b57d09 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -77,7 +77,7 @@ export default { item.img = require("@/static/images/home/lab_xj.png") } if (item.name.indexOf('记录') > 0) { - item.pagePath = '/pages/submission/records' + item.pagePath = '/pages/submission/records?type=submission' item.img = require("@/static/images/home/bs_jl.png") } if (item.name.indexOf('报警') > 0) { diff --git a/pages/submission/records.vue b/pages/submission/records.vue index 8902413..4e69098 100644 --- a/pages/submission/records.vue +++ b/pages/submission/records.vue @@ -1,40 +1,510 @@ @@ -42,6 +512,130 @@ export default { \ No newline at end of file diff --git a/store/index.js b/store/index.js index 11ec8f9..60a818a 100644 --- a/store/index.js +++ b/store/index.js @@ -41,7 +41,7 @@ const store = new Vuex.Store({ commit('updateTabbar', tabBar.ordinary) uni.reLaunch({ - url: "/pages/order/tasking", + url: "/pages/submission/records", }); @@ -51,7 +51,7 @@ const store = new Vuex.Store({ commit('updateTabbar', tabBar.manage) uni.reLaunch({ - url: "/pages/order/tasking", + url: "/pages/submission/records", }); // this.$u.api.updateCoordinate().then(res=>{ @@ -63,7 +63,7 @@ const store = new Vuex.Store({ commit('updateTabbar', tabBar.repair) uni.reLaunch({ - url: "/pages/order/tasking", + url: "/pages/submission/records", }); diff --git a/utils/tabbar.js b/utils/tabbar.js index 5ae6507..50d5ebb 100644 --- a/utils/tabbar.js +++ b/utils/tabbar.js @@ -3,7 +3,7 @@ const ordinary = [{ iconPath: "photo", selectedIconPath: "photo-fill", text: "接单记录", - pagePath: "/pages/order/tasking", + pagePath: "/pages/submission/records", }, { iconPath: "setting", selectedIconPath: "setting-fill", @@ -39,7 +39,7 @@ const manage = [{ iconPath: "photo", selectedIconPath: "photo-fill", text: "接单记录", - pagePath: "/pages/order/tasking", + pagePath: "/pages/submission/records", }, { iconPath: "setting", selectedIconPath: "setting-fill", @@ -56,7 +56,7 @@ const repair = [{ iconPath: "photo", selectedIconPath: "photo-fill", text: "维修任务", - pagePath: "/pages/order/tasking", + pagePath: "/pages/submission/records", }, { iconPath: "setting", selectedIconPath: "setting-fill",