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

View File

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

View File

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