29220
This commit is contained in:
@@ -65,6 +65,7 @@ export default {
|
|||||||
userList: [],
|
userList: [],
|
||||||
showUserSelect: false,
|
showUserSelect: false,
|
||||||
params: {year: true, month: true, day: true, hour: false, minute: false, second: false},
|
params: {year: true, month: true, day: true, hour: false, minute: false, second: false},
|
||||||
|
isFlag: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -93,8 +94,12 @@ export default {
|
|||||||
return this.$u.toast(rules[v])
|
return this.$u.toast(rules[v])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!this.isFlag) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$http.post('/app/apppartyfourlinkage/addOrUpdate', {...this.form}).then(res => {
|
this.$http.post('/app/apppartyfourlinkage/addOrUpdate', {...this.form}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
this.isFlag = false
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
remark: ''
|
remark: '',
|
||||||
|
isFlag: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -40,8 +41,12 @@ export default {
|
|||||||
if(!this.remark) {
|
if(!this.remark) {
|
||||||
return this.$u.toast('请输入审核意见')
|
return this.$u.toast('请输入审核意见')
|
||||||
}
|
}
|
||||||
|
if(!this.isFlag) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$http.post(`/app/apppartyfourlinkage/auditById?id=${this.id}&status=0&remark=${this.remark}`).then((res) => {
|
this.$http.post(`/app/apppartyfourlinkage/auditById?id=${this.id}&status=0&remark=${this.remark}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
this.isFlag = false
|
||||||
this.$u.toast('审核成功')
|
this.$u.toast('审核成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ export default {
|
|||||||
integral: '',
|
integral: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
},
|
},
|
||||||
|
isFlag: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -82,10 +83,14 @@ export default {
|
|||||||
return this.$u.toast(rules[v])
|
return this.$u.toast(rules[v])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!this.isFlag) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$http.post('/app/apppartyintegralinfo/add', {
|
this.$http.post('/app/apppartyintegralinfo/add', {
|
||||||
partyIntegralList: [{...this.form}],
|
partyIntegralList: [{...this.form}],
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
this.isFlag = false
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user