维修班工单
This commit is contained in:
parent
42077648aa
commit
35ba779fe1
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="orderCard " :class="order.state==1?'orderCard-ok':'orderCard-doing'">
|
||||
<view class="orderCard " :class="order.ticketsStatus=='02'?'orderCard-ok':'orderCard-doing'">
|
||||
<view class="order-top">
|
||||
<view class="title-box" :class="order.state==1?'title-box-ok':'title-box-doing'">
|
||||
<view class="title-box" :class="order.ticketsStatus=='02'?'title-box-ok':'title-box-doing'">
|
||||
<image class="titleIcon" mode="aspectFit" src="/static/icons/order-icon1.png"></image>
|
||||
<view class="title">
|
||||
{{ projectName }}
|
||||
@ -38,15 +38,21 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="message red">
|
||||
<view>
|
||||
<image class="icon" mode="aspectFit" src="/static/icons/order-icon1.png"></image>
|
||||
配件审批单未申请通过
|
||||
</view>
|
||||
<view class="goto">></view>
|
||||
</view>
|
||||
<view class="message blue">
|
||||
<view>
|
||||
<image class="icon" mode="aspectFit" src="/static/icons/order-icon1.png"></image>
|
||||
配件审批单申请通过
|
||||
</view>
|
||||
<view class="goto">></view>
|
||||
</view>
|
||||
<view class="footer">
|
||||
<view class="btn pg">
|
||||
<view class="btn pg" @click="showReviewList(order.wares)">
|
||||
配件申请
|
||||
</view>
|
||||
<view class="btn qc">
|
||||
@ -167,6 +173,12 @@ export default {
|
||||
uni.navigateTo({
|
||||
url: '/pages-order/choosePeople/choosePeople?id=' + this.order.id
|
||||
})
|
||||
},
|
||||
//申请单
|
||||
showReviewList(formData) {
|
||||
uni.navigateTo({
|
||||
url: '/pages-repair/reviewList/reviewList?formData='+encodeURIComponent(JSON.stringify(formData))
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -174,15 +186,22 @@ export default {
|
||||
|
||||
<style lang="less" scoped>
|
||||
.message{
|
||||
padding: 9px 0;
|
||||
padding: 2px 0;
|
||||
font-size: 18px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.icon{
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.goto{
|
||||
font-size: 30px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
.red{
|
||||
background: #FFEFEF;
|
||||
|
12
pages.json
12
pages.json
@ -133,6 +133,18 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "reviewList/reviewList",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "orderList/orderList",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user