修改跳转bug

This commit is contained in:
2025-11-28 15:13:42 +08:00
parent 8293cb8bf6
commit f83a5d88ba

View File

@@ -78,7 +78,8 @@
<view> <view>
<view v-for="(job,index) in perlist" :key="index" <view v-for="(job,index) in perlist" :key="index"
class="swipe_action_item"> class="swipe_action_item">
<view class="job-list__item" :style="{ paddingBottom: job.auditStatus == 1 ? '0' : '32rpx' }" @tap="toPage(`/packageRc/pages/community/personEdit?id=${job.id}&type=edit`)"> <view class="job-list__item" :style="{ paddingBottom: job.auditStatus == 1 ? '0' : '32rpx' }">
<!-- @tap="toPage(`/packageRc/pages/community/personEdit?id=${job.id}&type=edit`)" -->
<view class="job-list__item-top"> <view class="job-list__item-top">
<img src="https://rc.jinan.gov.cn/qcwjyH5/static/images/person/malepng.png" v-if="job.gender == 0" class="gender-img" alt="" /> <img src="https://rc.jinan.gov.cn/qcwjyH5/static/images/person/malepng.png" v-if="job.gender == 0" class="gender-img" alt="" />
<img src="https://rc.jinan.gov.cn/qcwjyH5/static/images/person/femalepng.png" v-else class="gender-img" alt="" /> <img src="https://rc.jinan.gov.cn/qcwjyH5/static/images/person/femalepng.png" v-else class="gender-img" alt="" />
@@ -126,7 +127,7 @@
<view v-show="$store.getters.roles.includes('shequn')" class="btn" style="color: #f56c6c;" <view v-show="$store.getters.roles.includes('shequn')" class="btn" style="color: #f56c6c;"
@click.native.stop="handleReturn(job)">退回</view> @click.native.stop="handleReturn(job)">退回</view>
<view class="btn" @click.native.stop="toPage( <view class="btn" @click.native.stop="toPage(
`/packageRc/pages/community/serviceDetails?id=${job.id}&userId=${job.userId}` `/packageRc/pages/daiban/daibandetail?id=${job.id}&userId=${job.userId}`
)">服务</view> )">服务</view>
<view <view
v-if=" job.personType == 3" v-if=" job.personType == 3"
@@ -434,9 +435,9 @@ export default {
this.$refs.show.open() this.$refs.show.open()
}, },
toPage(url) { toPage(url) {
uni.navigateTo( uni.navigateTo({
url url
) })
}, },
cancelSortPicker() { cancelSortPicker() {
this.showSortPicker = false this.showSortPicker = false