拒绝成功
This commit is contained in:
@@ -77,13 +77,13 @@ export default {
|
||||
|
||||
this.$refs.uForm.validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.number == 3) {
|
||||
if (this.number == 2 || this.number == 3) {
|
||||
if (!this.forms.groupName) {
|
||||
return this.$u.toast('请选择事件分类')
|
||||
}
|
||||
|
||||
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.$http
|
||||
.post(`/app/appclapeventinfo/finishByGirdMember`, {
|
||||
.post(this.number == 2 ? '/app/appclapeventinfo/finishByGirdMember' : '/app/appclapeventinfo/finishByManager', {
|
||||
groupName: this.forms.groupName,
|
||||
groupId: this.forms.groupId,
|
||||
content: this.forms.content,
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('发布成功')
|
||||
this.$u.toast('受理成功')
|
||||
this.flag = false
|
||||
uni.$emit('nextList')
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user