From 6aa24fae37684d60e02f4e865ef971b6bdcc6948 Mon Sep 17 00:00:00 2001 From: lishenfeng Date: Thu, 7 Nov 2024 17:46:03 +0800 Subject: [PATCH] =?UTF-8?q?feat():=E5=9B=BE=E7=89=87=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/messageList/index.vue | 3 +- pages/mypage/compents/wtcl/index.vue | 92 ++++++++++++++------------- pages/mypage/mypage.vue | 8 +-- pages/skInfo/index.vue | 22 +++---- pages/wtcl/index.vue | 2 +- pages/wxyh/formZdy/formTop.vue | 1 - pages/xcrw/index.vue | 2 +- pages/yj/index.vue | 3 +- static/images/wtcl1.png | Bin 0 -> 2358 bytes static/images/wxyh1.png | Bin 0 -> 3174 bytes static/images/xcrw1.png | Bin 0 -> 4776 bytes 11 files changed, 67 insertions(+), 66 deletions(-) create mode 100644 static/images/wtcl1.png create mode 100644 static/images/wxyh1.png create mode 100644 static/images/xcrw1.png diff --git a/pages/messageList/index.vue b/pages/messageList/index.vue index ed10d0d..c1549a6 100644 --- a/pages/messageList/index.vue +++ b/pages/messageList/index.vue @@ -23,6 +23,7 @@ + @@ -46,6 +47,7 @@ + - - + @@ -21,31 +22,34 @@ - - - - - {{item.taskTitle}} - - - - {{item.isHandle==1?'已处理':'待处理'}} + + + + + + {{item.taskTitle}} + + + + {{item.isHandle==1?'已处理':'待处理'}} + + - - - - - 巡检项 - {{item.itemDesc}} - - - 巡查人 - {{item.inspectUserName}} - - - 巡查时间 - {{item.finishTime}} + + + 巡检项 + {{item.itemDesc}} + + + 巡查人 + {{item.inspectUserName}} + + + 巡查时间 + {{item.finishTime}} + @@ -65,33 +69,32 @@ data() { return { show: false, - showTime:false, - showTime1:false, + showTime: false, + showTime1: false, start: '请选择开始时间', end: '请选择结束时间', - stm:'', - etm:'', + stm: '', + etm: '', customStyle: { background: '#000' }, - list: [ - ] + list: [] }; }, onLoad() { this.getList() }, - computed:{ - startTime:function (){ - - return this.stm?moment(this.stm).format('YYYY-MM-DD HH:mm:ss'):this.start + computed: { + startTime: function () { + + return this.stm ? moment(this.stm).format('YYYY-MM-DD HH:mm:ss') : this.start }, - endTime:function (){ - return this.etm?moment(this.etm).format('YYYY-MM-DD HH:mm:ss'):this.end + endTime: function () { + return this.etm ? moment(this.etm).format('YYYY-MM-DD HH:mm:ss') : this.end } }, methods: { - searchTm(){ + searchTm() { this.getList() }, getList() { @@ -102,14 +105,14 @@ "pageNumber": 1 }, "dateTimeRangeSo": { - start:this.stm?moment(this.stm).format('YYYY-MM-DD HH:mm:ss'):'', - end:this.etm?moment(this.etm).format('YYYY-MM-DD HH:mm:ss'):'' + start: this.stm ? moment(this.stm).format('YYYY-MM-DD HH:mm:ss') : '', + end: this.etm ? moment(this.etm).format('YYYY-MM-DD HH:mm:ss') : '' }, "isHandle": 1, "inspectUserId": uni.getStorageSync('value').userId } uni.$http.post('/gunshiApp/xyt/inspect/detail/page', params).then(res => { - this.list=res.data.data.records + this.list = res.data.data.records }) }, confirm(e) { @@ -123,7 +126,7 @@ }, toDetail(item) { uni.navigateTo({ - url: '/pages/mypage/compents/wtcl/detail/index?item='+JSON.stringify(item) + url: '/pages/mypage/compents/wtcl/detail/index?item=' + JSON.stringify(item) }) } } @@ -133,7 +136,7 @@