bug
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
<AiTopFixed v-if="isAdmin">
|
<AiTopFixed v-if="isAdmin">
|
||||||
<div class="pad-t32"></div>
|
<div class="pad-t32"></div>
|
||||||
<div class="select-gird" @click="showSelect=true">
|
<div class="select-gird" @click="showSelect=true">
|
||||||
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
<div class="gird-name-div">
|
||||||
<div>
|
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
||||||
{{girdName}}
|
<div class="gird-name">{{girdName}}</div>
|
||||||
<img src="./components/img/down-icon.png" alt="" class="down-icon">
|
<img src="./components/img/down-icon.png" alt="" class="down-icon">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -393,6 +393,19 @@ export default {
|
|||||||
color: #3F8DF5;
|
color: #3F8DF5;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
}
|
}
|
||||||
|
.gird-name-div{
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
.gird-name{
|
||||||
|
display: inline-block;
|
||||||
|
max-width: calc(100% - 80px);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.empty{
|
.empty{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<div class="item" v-for="(item, index) in list" :key="index">
|
<div class="item" v-for="(item, index) in list" :key="index">
|
||||||
<p>{{item.content}}</p>
|
<p>{{item.content}}</p>
|
||||||
<div>{{item.createTime}}
|
<div>{{item.createTime}}
|
||||||
<span>{{item.createUserName}}</span>
|
<span><AiOpenData v-if="item.createUserName" type="userName" :openid="item.createUserName" /></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
<p>{{item.content}}</p>
|
<p>{{item.content}}</p>
|
||||||
<div>{{item.createTime}}
|
<div>{{item.createTime}}
|
||||||
<span>
|
<span>
|
||||||
网格员:<AiOpenData v-if="item.createUserName" type="userName" :openid="item.createUserName" />
|
网格员:<span style="margin-left:0;"><AiOpenData v-if="item.createUserName" type="userName" :openid="item.createUserName" /></span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -165,10 +165,9 @@ export default {
|
|||||||
color: #666;
|
color: #666;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 32px;
|
width: 44px;
|
||||||
height: 32px;
|
height: 44px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-left: 8px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<div class="pad-t32" v-if="component != 'Map' && isAdmin"></div>
|
<div class="pad-t32" v-if="component != 'Map' && isAdmin"></div>
|
||||||
<div class="select-gird" v-if="component != 'Map' && isAdmin">
|
<div class="select-gird" v-if="component != 'Map' && isAdmin">
|
||||||
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
||||||
<div @click="linkTo('./SelectGird')">
|
<div @click="linkTo('./SelectGird')" class="gird-name-div">
|
||||||
{{ params.girdName }}
|
<div class="gird-name">{{ params.girdName }}</div>
|
||||||
<img src="./components/img/down-icon.png" alt="" class="down-icon">
|
<img src="./components/img/down-icon.png" alt="" class="down-icon">
|
||||||
</div>
|
</div>
|
||||||
<span @click="linkTo('./SetGird')" v-if="checkType == 2">网格配置</span>
|
<span @click="linkTo('./SetGird')" v-if="checkType == 2">网格配置</span>
|
||||||
@@ -147,7 +147,7 @@ export default {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
div {
|
.gird-name-div {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(100% - 144px);
|
width: calc(100% - 144px);
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
@@ -161,6 +161,15 @@ export default {
|
|||||||
img {
|
img {
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gird-name{
|
||||||
|
display: inline-block;
|
||||||
|
max-width: calc(100% - 50px);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|||||||
@@ -57,6 +57,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handerSearch() {
|
||||||
|
this.list = []
|
||||||
|
this.current = 1
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
handerClear() {
|
||||||
|
this.keyword = ''
|
||||||
|
this.handerSearch()
|
||||||
|
},
|
||||||
getList(){
|
getList(){
|
||||||
this.$http.post(`/app/appgirdmemberresident/listByGirdMember?current=${this.current}&girdMemberId=${this.userId}&girdId=${this.girdId}&name=${this.keyword}`).then((res) => {
|
this.$http.post(`/app/appgirdmemberresident/listByGirdMember?current=${this.current}&girdMemberId=${this.userId}&girdId=${this.girdId}&name=${this.keyword}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
@@ -73,10 +73,10 @@ export default {
|
|||||||
// this.getLeafNodes()
|
// this.getLeafNodes()
|
||||||
uni.$on('goback', e => {
|
uni.$on('goback', e => {
|
||||||
if (e.girdLevel == '0') {
|
if (e.girdLevel == '0') {
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
this.$u.toast('请选择二级或者三级网格')
|
// this.$u.toast('请选择二级或者三级网格')
|
||||||
}, 400)
|
// }, 400)
|
||||||
return false
|
// return false
|
||||||
}
|
}
|
||||||
this.getGridList(e.id, true)
|
this.getGridList(e.id, true)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -58,10 +58,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pad-b112"></div>
|
<!-- <div class="pad-b112"></div>
|
||||||
<div class="add-btn" @click="back">
|
<div class="add-btn" @click="back">
|
||||||
<div>查看其他成员</div>
|
<div>查看其他成员</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
getListInit() {
|
||||||
|
this.data = []
|
||||||
|
this.current = 1
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$http
|
this.$http
|
||||||
.post('/app/appvisitvondolence/list', null, {
|
.post('/app/appvisitvondolence/list', null, {
|
||||||
@@ -140,17 +145,14 @@ export default {
|
|||||||
areaSelect(e) {
|
areaSelect(e) {
|
||||||
this.data = []
|
this.data = []
|
||||||
this.areaId = e
|
this.areaId = e
|
||||||
this.current = 1
|
this.getListInit()
|
||||||
this.getList()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
change(index) {
|
change(index) {
|
||||||
this.data = []
|
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
this.keyword = ''
|
this.keyword = ''
|
||||||
this.currentTabs = index
|
this.currentTabs = index
|
||||||
this.current = 1
|
this.getListInit()
|
||||||
this.getList()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
goDetail(item, hint) {
|
goDetail(item, hint) {
|
||||||
@@ -183,21 +185,19 @@ export default {
|
|||||||
this.$http.post(`/app/appvisitvondolence/delete?ids=${this.deletId}`).then((res) => {
|
this.$http.post(`/app/appvisitvondolence/delete?ids=${this.deletId}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('删除成功!')
|
this.$u.toast('删除成功!')
|
||||||
this.getList()
|
this.getListInit()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
handerSearch(e) {
|
handerSearch(e) {
|
||||||
this.keyword = e
|
this.keyword = e
|
||||||
this.current = 1
|
this.getListInit()
|
||||||
this.getList()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
handerClear() {
|
handerClear() {
|
||||||
this.keyword = ''
|
this.keyword = ''
|
||||||
this.current = 1
|
this.getListInit()
|
||||||
this.getList()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
previewImage(images, img) {
|
previewImage(images, img) {
|
||||||
|
|||||||
Reference in New Issue
Block a user