This commit is contained in:
wanglei
2022-02-11 12:53:13 +08:00
parent b574261e91
commit 5f1159f16e
3 changed files with 12 additions and 23 deletions

View File

@@ -102,7 +102,6 @@ export default {
},
itemClick(row) {
// console.log(row)
var obj = {
girdName: row.girdName,
id: row.id,
@@ -114,6 +113,7 @@ export default {
searckGird(row) {
this.treeList = []
console.log(this.treeList);
if(row.girdLevel != 2) { //查网格
this.$http.post(`/app/appgirdinfo/list?parentGirdId=${row.id}&size=999`).then((res) => {
if (res?.data) {

View File

@@ -65,13 +65,6 @@
<i v-else>请选择</i>
<u-icon name="arrow-right" color="#ddd" />
</div>
<!-- <picker :range="gridList" mode="multiSelector" range-key="form.girdName" @columnchange="onColumnChange" @change="onChange">
<div class="form-item__right">
<span v-if="form.girdName">{{ form.girdName }}</span>
<i v-else>请选择</i>
<u-icon name="arrow-right" color="#ddd" />
</div>
</picker> -->
</div>
</div>
<div class="form-item form-flow">
@@ -111,7 +104,6 @@
<span>(最多9张)</span>
</div>
<div class="form-item__right">
<!-- <AiUploader :def.sync="form.resultFiles" :limit="9" action="/admin/file/add2"></AiUploader> -->
<AiUploader :def.sync="forms.resultFiles" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</div>
</div>
@@ -129,6 +121,7 @@
import { mapState } from 'vuex'
export default {
appName: '矛盾调解',
data () {
return {
isShowType: false,

View File

@@ -42,9 +42,9 @@
<h2>
{{ item.dictName }}
</h2>
<img src="./img/down-icon.png" alt="" :class="type == item.dictValue ? 'img-active' : ''">
<img src="./img/down-icon.png" alt="" :class="type === item.dictValue ? 'img-active' : ''">
</div>
<div class="user-list" v-if="type == item.dictValue">
<div class="user-list" v-if="type == item.dictValue && type !== ''">
<div class="user-item" v-for="(e, indexs) in userList" :key="indexs">
<div class="user-img">
<img src="./img/user-img.png" alt="">
@@ -177,18 +177,14 @@ export default {
return idNumber
},
showUserType(item) {
this.type = item.dictValue
this.current = 1
this.userList = []
this.getUserList()
// if(this.userList[index].check) {
// this.userList[index].check = false
// }else {
// this.userList.map((item) => {
// item.check = false
// })
// this.userList[index].check = true
// }
if (item.dictValue != this.type) {
this.type = item.dictValue
this.current = 1
this.userList = []
this.getUserList()
}else {
this.type = ''
}
},
toEdit(row,index) {
uni.navigateTo({