diff --git a/src/project/fd/AppPointsReview/AppPointsReview.vue b/src/project/fd/AppPointsReview/AppPointsReview.vue index 6ae6bb4f..72b4516a 100644 --- a/src/project/fd/AppPointsReview/AppPointsReview.vue +++ b/src/project/fd/AppPointsReview/AppPointsReview.vue @@ -3,7 +3,7 @@ @@ -86,6 +88,9 @@ export default { this.getListInit() }) this.getTypeList() + uni.$on('updateList', () => { + this.getListInit() + }) }, methods: { getListInit() { @@ -103,7 +108,7 @@ export default { }).then(res=> { if(res?.data) { res.data.records.map((item) => { - item.createTime = item.createTime.substring(0, 12) + item.createTime = item.createTime.substring(0, 16) }) this.list = this.current > 1 ? [...this.list, ...res.data.records]: res.data.records this.pages = Math.ceil(res.data.total / 10) @@ -141,6 +146,16 @@ export default { this.getListInit() } }) + }, + clearDate() { + this.search.startTime = '' + this.search.endTime = '' + this.getListInit() + }, + clearType() { + this.search.type = '' + this.search.typeName = '' + this.getListInit() } }, onReachBottom() { @@ -188,6 +203,12 @@ export default { color: #666; line-height: 40px; } + .del-icon { + width: 32px; + height: 32px; + vertical-align: middle; + margin-left: 4px; + } } } .list-content { diff --git a/src/project/fd/AppPointsReview/detail.vue b/src/project/fd/AppPointsReview/detail.vue index 2b4d8225..d8659efa 100644 --- a/src/project/fd/AppPointsReview/detail.vue +++ b/src/project/fd/AppPointsReview/detail.vue @@ -7,11 +7,11 @@
申请人:{{info.createUserName}}
-
电话号码:{{info.phone}}
+
电话号码:{{info.phone}}

{{info.content}}

- +
@@ -65,7 +65,7 @@ export default { }, confirm() { if(!this.value) { - return this.$u.toast('请输入不通过理由') + return this.$u.toast('请输入不通过原因') } this.submit(0) }, @@ -80,13 +80,24 @@ export default { id: this.id, auditStatus: status }).then(res=> { - if(res?.data) { + if(res.code == 0) { this.$u.toast('操作成功') + uni.$emit('updateList') this.show = false this.getDetail() + } }) - } + }, + previewImages(images, img) { + uni.previewImage({ + urls: images.map(v => v.accessUrl), + current: img + }) + }, + callPhone(phone) { + uni.makePhoneCall({ phoneNumber: phone }) + }, }, }; diff --git a/src/project/fd/AppPointsReview/img/del-icon.png b/src/project/fd/AppPointsReview/img/del-icon.png new file mode 100644 index 00000000..12a7abae Binary files /dev/null and b/src/project/fd/AppPointsReview/img/del-icon.png differ