拒绝成功

This commit is contained in:
花有清香月有阴
2022-01-06 18:26:54 +08:00
parent 8764abc167
commit cd399357be

View File

@@ -77,13 +77,13 @@ export default {
this.$refs.uForm.validate((valid) => { this.$refs.uForm.validate((valid) => {
if (valid) { if (valid) {
if (this.number == 3) { if (this.number == 2 || this.number == 3) {
if (!this.forms.groupName) { if (!this.forms.groupName) {
return this.$u.toast('请选择事件分类') return this.$u.toast('请选择事件分类')
} }
if (!this.forms.content) { if (!this.forms.content) {
return this.$u.toast('请输入办结意见') return this.$u.toast(this.number == 2 ? '请输入拒绝受理意见' : '请输入你的办结意见')
} }
} }
@@ -96,7 +96,7 @@ export default {
this.flag = true this.flag = true
this.$http this.$http
.post(`/app/appclapeventinfo/finishByGirdMember`, { .post(this.number == 2 ? '/app/appclapeventinfo/finishByGirdMember' : '/app/appclapeventinfo/finishByManager', {
groupName: this.forms.groupName, groupName: this.forms.groupName,
groupId: this.forms.groupId, groupId: this.forms.groupId,
content: this.forms.content, content: this.forms.content,
@@ -105,7 +105,7 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功') this.$u.toast('受理成功')
this.flag = false this.flag = false
uni.$emit('nextList') uni.$emit('nextList')
setTimeout(() => { setTimeout(() => {