diff --git a/src/apps/AppHandSnapshot/Content.vue b/src/apps/AppHandSnapshot/Content.vue index 8a718eb9..a1364b3a 100644 --- a/src/apps/AppHandSnapshot/Content.vue +++ b/src/apps/AppHandSnapshot/Content.vue @@ -2,14 +2,19 @@
- + + + + + + - - + +
@@ -18,24 +23,19 @@
-
-
+
转交事件
-
+
拒绝受理
-
- 我来受理 +
+ 我已办结
@@ -55,23 +55,16 @@ export default { }, flag: false, show: false, - number: '', - + status: '', //1转交 2拒绝受理 3我已办结 myList: [], - groupName: '', - groupId: '', id: '', } }, - onLoad(o) { - console.log(o) - this.groupName = o.groupName - this.groupId = o.groupId - this.number = o.number - this.id = o.id - - this.forms.groupId = this.groupId - this.forms.groupName = this.groupName + onLoad(option) { + this.status = option.status + this.id = option.id + this.forms.groupId = option.groupId + this.forms.groupName = option.groupName this.typeList() }, methods: { @@ -84,13 +77,13 @@ export default { this.$refs.uForm.validate((valid) => { if (valid) { - if (this.number == 2 || this.number == 3) { + if (this.status == 2 || this.status == 3) { if (!this.forms.groupName) { return this.$u.toast('请选择事件分类') } if (!this.forms.content) { - return this.$u.toast(this.number == 2 ? '请输入拒绝受理意见' : '请输入你的办结意见') + return this.$u.toast(this.status == 2 ? '请输入拒绝受理意见' : '请输入你的办结意见') } } @@ -133,13 +126,13 @@ export default { this.$refs.uForm.validate((valid) => { if (valid) { - if (this.number == 2 || this.number == 3) { + if (this.status == 2 || this.status == 3) { if (!this.forms.groupName) { return this.$u.toast('请选择事件分类') } if (!this.forms.content) { - return this.$u.toast(this.number == 2 ? '请输入拒绝受理意见' : '请输入你的办结意见') + return this.$u.toast(this.status == 2 ? '请输入拒绝受理意见' : '请输入你的办结意见') } } diff --git a/src/apps/AppHandSnapshot/Detail.vue b/src/apps/AppHandSnapshot/Detail.vue index 915f7334..470a0bb0 100644 --- a/src/apps/AppHandSnapshot/Detail.vue +++ b/src/apps/AppHandSnapshot/Detail.vue @@ -93,7 +93,7 @@
{{ item.doExplain }}
- +
@@ -168,8 +168,8 @@ export default { }) }, - toContent(number) { - uni.navigateTo({ url: `./Content?number=${number}&groupId=${this.data.groupId}&groupName=${this.data.groupName}&id=${this.id}` }) + toContent(status) { + uni.navigateTo({ url: `./Content?status=${status}&groupId=${this.data.groupId}&groupName=${this.data.groupName}&id=${this.id}` }) }, previewImage(images, img) { uni.previewImage({