1
This commit is contained in:
parent
4cc5d30085
commit
73f262c2ae
@ -89,7 +89,7 @@ export default {
|
|||||||
},
|
},
|
||||||
gotoDetail() {
|
gotoDetail() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages-order/orderDetail/orderDetail?id=' + this.order.id
|
url: '/pages-order/orderDetail/orderDetail?id=' + this.order.id + '&isDetail=' + '1'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
<view v-if="selectedProj && selectedProj.length > 0" class="card cardInfo projCard">
|
<view v-if="selectedProj && selectedProj.length > 0" class="card cardInfo projCard">
|
||||||
<view class="projTitle">维修项目</view>
|
<view class="projTitle">维修项目</view>
|
||||||
<view class="projList">
|
<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 v-for="item in selectedProj" :key="item.id" class="projItem">
|
||||||
<view class="projTop">
|
<view class="projTop">
|
||||||
<text class="projName">{{ item.projName }}</text>
|
<text class="projName">{{ item.projName }}</text>
|
||||||
@ -228,7 +228,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
role: 'admin',
|
//是否详情页(0否1是)
|
||||||
|
isDetail:'1',
|
||||||
// role: 'yewu',
|
// role: 'yewu',
|
||||||
orderId: '',
|
orderId: '',
|
||||||
orderInfo: {},
|
orderInfo: {},
|
||||||
@ -306,8 +307,13 @@ export default {
|
|||||||
if (data.id) {
|
if (data.id) {
|
||||||
this.orderId = data.id
|
this.orderId = data.id
|
||||||
}
|
}
|
||||||
|
if (data.isDetail){
|
||||||
|
this.isDetail = data.isDetail
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
editPeople(type, proj) {
|
editPeople(type, proj) {
|
||||||
bus.$off('choosePeople')
|
bus.$off('choosePeople')
|
||||||
bus.$on('choosePeople', (data) => {
|
bus.$on('choosePeople', (data) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user