This commit is contained in:
PQZ 2024-10-18 17:21:09 +08:00
parent 4cc5d30085
commit 73f262c2ae
2 changed files with 9 additions and 3 deletions

View File

@ -89,7 +89,7 @@ export default {
},
gotoDetail() {
uni.navigateTo({
url: '/pages-order/orderDetail/orderDetail?id=' + this.order.id
url: '/pages-order/orderDetail/orderDetail?id=' + this.order.id + '&isDetail=' + '1'
})
},
/**

View File

@ -112,7 +112,7 @@
<view v-if="selectedProj && selectedProj.length > 0" class="card cardInfo projCard">
<view class="projTitle">维修项目</view>
<view class="projList">
<template v-if="role == 'admin'">
<template v-if="isDetail == '1'">
<view v-for="item in selectedProj" :key="item.id" class="projItem">
<view class="projTop">
<text class="projName">{{ item.projName }}</text>
@ -228,7 +228,8 @@ export default {
},
data() {
return {
role: 'admin',
//(01)
isDetail:'1',
// role: 'yewu',
orderId: '',
orderInfo: {},
@ -306,8 +307,13 @@ export default {
if (data.id) {
this.orderId = data.id
}
if (data.isDetail){
this.isDetail = data.isDetail
}
},
methods: {
editPeople(type, proj) {
bus.$off('choosePeople')
bus.$on('choosePeople', (data) => {