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