From 2b77d82b9b7bae72b540f7dd1292f30c970ea3fd Mon Sep 17 00:00:00 2001 From: jiayu Date: Fri, 26 Jul 2024 17:57:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectEnd/InspectionRoute/inspection.vue | 48 +------------------ 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/pages/projectEnd/InspectionRoute/inspection.vue b/pages/projectEnd/InspectionRoute/inspection.vue index 7776b7bf..b5fb5f04 100644 --- a/pages/projectEnd/InspectionRoute/inspection.vue +++ b/pages/projectEnd/InspectionRoute/inspection.vue @@ -59,40 +59,29 @@ export default { data() { return { - totalNum: 0, statusBarHeight: 0, nowTime: '', - projectSn: '', dataList: [], - total: 0, - page: 1, - getGoId: -1, taskStatus: { complete: 0, notStart: 0, overdue: 0, run: 0 }, - routeManage: false, inspection: false, } }, onLoad(option) { this.getGoId = option.id; - this.getData() }, mounted() { this.getTime(); }, onShow() { - // this.dataList = []; this.inspection = this.checkMenuPermission({menuPath: '/project/inspecPoint/inspection'}) - this.routeManage = this.checkMenuPermission({menuPath: '/project/inspectRoute/routeManage'}) - console.log(this.routeManage, this.inspection) - - this.projectSn = JSON.parse(uni.getStorageSync('projectDetail')).projectSn; this.statusBarHeight = uni.getStorageSync('systemInfo').statusBarHeight; + this.getData() }, methods: { //实时时间 @@ -126,7 +115,6 @@ }) }, jumpPage(page) { - console.log(page, 'page'); uni.navigateTo({ url: `/pages/projectEnd/InspectionRoute/${page}` }) @@ -306,17 +294,6 @@ } } - .overDataList { - padding-left: 7px; - margin-top: 15px; - } - - .overDataList>span:not(:last-child)::after { - content: '|'; - margin: 0 10px; - color: #e9e9e9; - } - .commonModules { height: 66%; margin: -10% 2%; @@ -357,27 +334,4 @@ font-weight: bold; font-size: 34rpx; } - - .overEmergency { - display: flex; - align-items: center; - justify-content: center; - font-weight: bold; - font-size: 34rpx; - line-height: 44rpx; - padding-bottom: 20rpx; - color: #000000; - position: relative; - } - - .overEmergency::after { - content: ""; - width: 190rpx; - border-bottom: 6rpx solid #3A7BFF; - position: absolute; - bottom: 0; - left: 50%; - transform: translateX(-50%); - } - \ No newline at end of file