bug
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<textarea v-model="form.content" :maxlength="500" placeholder="请简要描述事件…"></textarea>
|
<textarea v-model="form.content" :maxlength="500" placeholder="请简要描述事件…"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="limit">{{ form.content.length }}/200</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -233,6 +234,9 @@
|
|||||||
if (!this.form.groupId) {
|
if (!this.form.groupId) {
|
||||||
return this.$u.toast('请选择事件类型')
|
return this.$u.toast('请选择事件类型')
|
||||||
}
|
}
|
||||||
|
if (!this.form.address) {
|
||||||
|
return this.$u.toast('请选择发生地点')
|
||||||
|
}
|
||||||
if (!this.form.girdName) {
|
if (!this.form.girdName) {
|
||||||
return this.$u.toast('请选择上报网格')
|
return this.$u.toast('请选择上报网格')
|
||||||
}
|
}
|
||||||
@@ -277,6 +281,12 @@
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.limit {
|
||||||
|
position: fixed;
|
||||||
|
right: 44px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-item {
|
.form-item {
|
||||||
padding-left: 32px;
|
padding-left: 32px;
|
||||||
|
|
||||||
@@ -300,6 +310,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
|
|
||||||
|
|
||||||
span {
|
span {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
|||||||
@@ -177,6 +177,10 @@ export default {
|
|||||||
return idNumber
|
return idNumber
|
||||||
},
|
},
|
||||||
showUserType(item) {
|
showUserType(item) {
|
||||||
|
this.type = item.dictValue
|
||||||
|
this.current = 1
|
||||||
|
this.userList = []
|
||||||
|
this.getUserList()
|
||||||
// if(this.userList[index].check) {
|
// if(this.userList[index].check) {
|
||||||
// this.userList[index].check = false
|
// this.userList[index].check = false
|
||||||
// }else {
|
// }else {
|
||||||
@@ -185,11 +189,6 @@ export default {
|
|||||||
// })
|
// })
|
||||||
// this.userList[index].check = true
|
// this.userList[index].check = true
|
||||||
// }
|
// }
|
||||||
this.type = item.dictValue
|
|
||||||
this.current = 1
|
|
||||||
this.userList = []
|
|
||||||
this.getUserList()
|
|
||||||
|
|
||||||
},
|
},
|
||||||
toEdit(row,index) {
|
toEdit(row,index) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
Reference in New Issue
Block a user