bug
This commit is contained in:
@@ -176,7 +176,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
goDetail(item) {
|
goDetail(item) {
|
||||||
uni.navigateTo({ url: `./Detail?id=${item.id}` })
|
uni.navigateTo({ url: `./detail?id=${item.id}` })
|
||||||
},
|
},
|
||||||
|
|
||||||
change(index) {
|
change(index) {
|
||||||
|
|||||||
@@ -210,19 +210,19 @@
|
|||||||
|
|
||||||
submit () {
|
submit () {
|
||||||
if (!this.form.content) {
|
if (!this.form.content) {
|
||||||
return this.$toast('请输入事件描述')
|
return this.$u.toast('请输入事件描述')
|
||||||
}
|
}
|
||||||
if (!this.form.groupId) {
|
if (!this.form.groupId) {
|
||||||
return this.$toast('请选择事件类型')
|
return this.$u.toast('请选择事件类型')
|
||||||
}
|
}
|
||||||
if (!this.form.address) {
|
if (!this.form.address) {
|
||||||
return this.$toast('请选择发生地点')
|
return this.$u.toast('请选择发生地点')
|
||||||
}
|
}
|
||||||
if (!this.form.girdName) {
|
if (!this.form.girdName) {
|
||||||
return this.$toast('请选择上报网格')
|
return this.$u.toast('请选择上报网格')
|
||||||
}
|
}
|
||||||
if (!this.form.flow) {
|
if (!this.form.flow) {
|
||||||
return this.$toast('请选择处理流程')
|
return this.$u.toast('请选择处理流程')
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.flag) return
|
if(this.flag) return
|
||||||
|
|||||||
Reference in New Issue
Block a user