diff --git a/src/apps/AppEpidemicSituation/BackUserList.vue b/src/apps/AppEpidemicSituation/BackUserList.vue index cf38ffe4..0c0eb3fd 100644 --- a/src/apps/AppEpidemicSituation/BackUserList.vue +++ b/src/apps/AppEpidemicSituation/BackUserList.vue @@ -62,7 +62,7 @@ export default { }, toUser() { - uni.navigateTo({url: './UserInfo'}) + uni.navigateTo({url: './ErrorDetail'}) } }, } diff --git a/src/apps/AppEpidemicSituation/ErrorDetail.vue b/src/apps/AppEpidemicSituation/ErrorDetail.vue index 66f57a08..3d8b145d 100644 --- a/src/apps/AppEpidemicSituation/ErrorDetail.vue +++ b/src/apps/AppEpidemicSituation/ErrorDetail.vue @@ -1,61 +1,43 @@ @@ -64,252 +46,160 @@ import { mapState } from 'vuex' export default { - name: 'ErrorDetail', components: {}, props: {}, data() { return { - data: [], - addShow: false, - content: '', - flag: false, + show: false, + value: '' } }, - computed: { - ...mapState(['user']), - }, - watch: {}, - onLoad() {}, - onShow() {}, - methods: { - save() { - if (this.flag) return - if (!this.content) { - return this.$u.toast('请输入异常情况记录') - } - - this.$http - .post(`/app/appvillagediscussmessage/addOrUpdate`, { - // content: this.content, - // avatar: this.user.avatar, - // createUserId: this.user.id, - // createUserName: this.user.name, - // discussId: this.id, - }) - .then((res) => { - if (res?.code == 0) { - this.$u.toast('新增记录成功') - this.flag = false - this.content = '' - this.addShow = false - // this.getDetail() - } - }) - }, - - relieveError() {}, - - close() { - this.content = '' - }, - - toAddRecord() { - uni.navigateTo({ - url: `./AddRecord`, - }) - }, - - relieveError() {}, - - callPhone(phone) { - uni.makePhoneCall({ phoneNumber: phone }) - }, - - previewImage(images, img) { - uni.previewImage({ - urls: images.map((v) => v.url), - current: img, - }) - }, - }, + methods: {}, }