慧治理

This commit is contained in:
liuye
2022-09-13 16:33:22 +08:00
parent 76ee56d82d
commit 13af3e6312
4 changed files with 12 additions and 9 deletions

View File

@@ -73,7 +73,7 @@
</div> </div>
</div> </div>
</template> </template>
<AiEmpty description="没有网格员权限<br>无法查看特殊人员信息~" v-else/> <AiEmpty description="没有网格员权限<br>无法查看特殊人员信息~" v-else style="text-align:center;"/>
</div> </div>
</template> </template>

View File

@@ -28,7 +28,7 @@ export default {
{ {
img: require('../img/app/app-jmda-icon.png'), img: require('../img/app/app-jmda-icon.png'),
title: '居民档案', title: '居民档案',
linkUrl: '/apps/AppPeopleList/AppPeopleList' linkUrl: '/apps/AppPeopleList/PeopleList'
}, },
{ {
img: require('../img/app/app-rfdt-icon.png'), img: require('../img/app/app-rfdt-icon.png'),

View File

@@ -43,8 +43,8 @@ export default {
return { return {
linkList: [ linkList: [
{title: '我的积分', img: require('./assets/wdjf.png'), linkUrl: '/apps/AppCreditPoints/AppGridIntegral'}, {title: '我的积分', img: require('./assets/wdjf.png'), linkUrl: '/apps/AppCreditPoints/AppGridIntegral'},
{title: '积分兑换', img: require('./assets/jfdh.png'), linkUrl: '/apps/AppCreditPoints/AppGridIntegral'}, {title: '积分兑换', img: require('./assets/jfdh.png'), linkUrl: ''},
{title: '我收到的评价', img: require('./assets/wsddpj.png'), linkUrl: '/apps/AppCreditPoints/AppGridIntegral'}, {title: '我收到的评价', img: require('./assets/wsddpj.png'), linkUrl: ''},
], ],
} }
}, },
@@ -53,10 +53,13 @@ export default {
linkTo(url) { linkTo(url) {
if(!this.isGridMember) { if(!this.isGridMember) {
this.$u.toast('您不是网格员,无法使用网格员相关功能哦~') this.$u.toast('您不是网格员,无法使用网格员相关功能哦~')
}else {
if(!url) {
this.$u.toast('功能开发中...')
}else { }else {
uni.navigateTo({url}) uni.navigateTo({url})
} }
}
}, },
handleSignClick() { handleSignClick() {
if(!this.isGridMember) { if(!this.isGridMember) {
@@ -85,7 +88,7 @@ export default {
.then(({data: {result: {address}}}) => this.$http.post("/app/appwxsigninfo/sign", {lat, lng, address})) .then(({data: {result: {address}}}) => this.$http.post("/app/appwxsigninfo/sign", {lat, lng, address}))
.then(res => { .then(res => {
if (res?.code == 0) { if (res?.code == 0) {
this.linkTo("./signResult?id=" + res?.data.id) this.linkTo("/apps/AppMyGrid/signResult?id=" + res?.data.id)
} }
}).catch(err => this.$u.toast(err)) }).catch(err => this.$u.toast(err))
} else this.$u.toast("无法获取到定位!") } else this.$u.toast("无法获取到定位!")

View File

@@ -47,7 +47,7 @@ export default {
{ {
img: require('../img/home/home-jmgl-icon.png'), img: require('../img/home/home-jmgl-icon.png'),
title: '居民档案', title: '居民档案',
linkUrl: '/apps/AppResidentDocument/AppResidentDocument' linkUrl: '/apps/AppPeopleList/PeopleList'
}, },
{ {
img: require('../img/home/home-zfww-icon.png'), img: require('../img/home/home-zfww-icon.png'),