From 0f475d75605b5aff05d2166d035c083dc8ff4320 Mon Sep 17 00:00:00 2001
From: chenze <1824191732@qq.com>
Date: Fri, 30 Aug 2024 10:26:59 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AF=B9=E5=BA=94bu?=
=?UTF-8?q?g?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/admin/RepairList.vue | 35 +++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/src/views/admin/RepairList.vue b/src/views/admin/RepairList.vue
index fa78bbf..19ffa14 100644
--- a/src/views/admin/RepairList.vue
+++ b/src/views/admin/RepairList.vue
@@ -26,20 +26,20 @@
-
- {{ item.name }}
+ {{ item.name }}
-
- {{ item.name }}
+ {{ item.name }}
@@ -251,11 +251,11 @@ export default {
dataIndex: 'sn'
},
{
- title: '所属分类',
+ title: '故障类别',
dataIndex: 'typeName'
},
{
- title: '设备名称',
+ title: '故障子类',
dataIndex: 'deviceName'
},
{
@@ -301,12 +301,12 @@ export default {
// 状态:1 待派单,3 重新派单,5 已派单,7 处理中, 9已完成 待评价, 11 已关闭 13 已评价
statusFilter (status) {
const statusMap = {
- '1': '待分配',
+ '1': '待派单',
'3': '重新派单',
'5': '已派单',
'7': '处理中',
'9': '已完成,待评价',
- '11': '已关闭',
+ '11': '无效申请',
'13': '已评价'
}
return statusMap[status]
@@ -327,6 +327,7 @@ export default {
},
reset () {
this.queryParam = {}
+ this.queryParam.typeId = ''
this.selectRepairList()
},
customRequest (file) {
@@ -401,16 +402,15 @@ export default {
})
},
// 查询设备
- selectDevice (item) {
- getRepairDeviceList({ 'typeId': item.key }).then(res => {
+ selectDevice (typeId) {
+ getRepairDeviceList({ 'typeId': typeId }).then(res => {
this.deviceList = res.rows
})
- this.queryParam.typeId = item.key
- console.log(this.queryParam.typeId)
+ this.queryParam.typeId = typeId
+
},
- getDeviceName (item) {
- this.deviceName = item.label
- this.queryParam.deviceId = item.key
+ getDeviceName (deviceId) {
+ this.queryParam.deviceId = deviceId
},
// 查询工单列表
selectRepairList () {
@@ -449,7 +449,8 @@ export default {
'endTime': this.queryParam.endTime,
'evalService': this.queryParam.evalService,
'timeout': this.queryParam.timeout,
- 'remark': this.queryParam.remark
+ 'remark': this.queryParam.remark,
+ 'name': this.queryParam.name
}
}
getRepairList(datas).then(res => {