1
This commit is contained in:
parent
02e4b3e811
commit
01a4c18e36
@ -203,6 +203,30 @@
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="isDetail == '1'" class="card cardInfo projCard">
|
||||
<view class="projTitle">维修进度记录表</view>
|
||||
<view class="projList">
|
||||
<view class="tushi-box">
|
||||
<view class="tushi-item">- 待维修 </view>
|
||||
<view class="tushi-item" style="color: #E8A321">○ 维修中 </view>
|
||||
<view class="tushi-item" style="color: #17DBB1;">√ 已完成</view>
|
||||
</view>
|
||||
<uni-table ref="table" :loading="false" border stripe emptyText="暂无数据">
|
||||
<uni-tr>
|
||||
<uni-th width="50" align="center">序号</uni-th>
|
||||
<uni-th align="center">维修项目</uni-th>
|
||||
<uni-th width="100" align="center" colspan="3">维修状态</uni-th>
|
||||
</uni-tr>
|
||||
<uni-tr v-for="(item, index) in tableData" :key="index">
|
||||
<uni-td align="center">{{ index+1 }}</uni-td>
|
||||
<uni-td>{{ item.itemName }}</uni-td>
|
||||
<uni-td align="center"><text v-if="item.itemStatus=='01'">-</text></uni-td>
|
||||
<uni-td align="center"><text v-if="item.itemStatus=='02'" style="color: #E8A321">○</text></uni-td>
|
||||
<uni-td align="center"><text v-if="item.itemStatus=='03'" style="color: #17DBB1;">√</text></uni-td>
|
||||
</uni-tr>
|
||||
</uni-table>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="isDetail == '1'" class="card cardInfo projCard">
|
||||
<view class="projTitle">维修记录</view>
|
||||
<view class="projList">
|
||||
@ -340,57 +364,12 @@ export default {
|
||||
carInfo: {},
|
||||
userInfo: {},
|
||||
loginUser:{},
|
||||
selectedProj: [
|
||||
// {
|
||||
// projName: '清洗内饰',
|
||||
// amount: '280',
|
||||
// date: '2024-10-20 12:00',
|
||||
// desc: '车辆已到维修厂,工作人员正准备开始维修',
|
||||
// imageList: [{filePath: ''}, {filePath: ''}, {filePath: ''}, {filePath: ''}, {filePath: ''}],
|
||||
// isSend: true,
|
||||
// // 待审核部件
|
||||
// examinePart: [],
|
||||
// id: 'projId1',
|
||||
// // 销售
|
||||
// salesman: [
|
||||
// {
|
||||
// name: '魏书豪',
|
||||
// id: '11111'
|
||||
// }
|
||||
// ],
|
||||
// // 施工
|
||||
// constructor: []
|
||||
// },
|
||||
// {
|
||||
// projName: '清洗内饰',
|
||||
// amount: '280',
|
||||
// date: '2024-10-20 12:00',
|
||||
// desc: '车辆已到维修厂,工作人员正准备开始维修',
|
||||
// imageList: [{filePath: ''}, {filePath: ''}, {filePath: ''}, {filePath: ''}, {filePath: ''}],
|
||||
// isSend: false,
|
||||
// // 待审核部件
|
||||
// hasNoReviewPart: false,
|
||||
// id: 'projId2',
|
||||
// salesman: [],
|
||||
// constructor: []
|
||||
// },
|
||||
// {
|
||||
// projName: '清洗内饰',
|
||||
// amount: '280',
|
||||
// date: '2024-10-20 12:00',
|
||||
// desc: '车辆已到维修厂,工作人员正准备开始维修',
|
||||
// imageList: [],
|
||||
// isSend: false,
|
||||
// // 待审核部件
|
||||
// hasNoReviewPart: true,
|
||||
// id: 'projId3',
|
||||
// salesman: [],
|
||||
// constructor: []
|
||||
// }
|
||||
],
|
||||
selectedProj: [],
|
||||
submitData:[],
|
||||
//是否是通知客户取车操作,默认都不是
|
||||
ifCallCus:false,
|
||||
//维修项目进度记录表
|
||||
tableData:[],
|
||||
//通知客户取车联系人对象
|
||||
callServiceInfo:{
|
||||
name:"",
|
||||
@ -413,6 +392,8 @@ export default {
|
||||
onShow(){
|
||||
//获取订单详情
|
||||
this.getOrderDetail()
|
||||
//查维修进度记录
|
||||
this.getProjItem()
|
||||
//获取当前订单是否有审批的配件
|
||||
this.waresByTicket()
|
||||
},
|
||||
@ -822,7 +803,20 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 查看维修进度记录
|
||||
*/
|
||||
getProjItem(){
|
||||
request({
|
||||
url: '/admin-api/repair/titem/getProjList',
|
||||
method: 'get',
|
||||
params:{ticketId:this.ticketId}
|
||||
}).then((res)=>{
|
||||
if(res.code==200){
|
||||
this.tableData = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 查看订单详情
|
||||
*/
|
||||
@ -1167,6 +1161,16 @@ export default {
|
||||
flex-direction: column;
|
||||
gap: 20rpx;
|
||||
|
||||
.tushi-box{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.tushi-item{
|
||||
padding: 0 20rpx;
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
.projItem {
|
||||
background: #FFFFFF;
|
||||
border-radius: 4rpx 4rpx 4rpx 4rpx;
|
||||
|
Loading…
Reference in New Issue
Block a user