|
@@ -65,13 +65,16 @@
|
|
|
<el-table-column prop='description' label='问题描述' show-overflow-tooltip resizable min-width='340'>
|
|
|
<template slot-scope='{row}'>{{row.description || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='description' label='工单编号' show-overflow-tooltip resizable min-width='340'>
|
|
|
- <template slot-scope='{row}'>{{row.wonum || '--'}}</template>
|
|
|
+ <el-table-column prop='description' label='工单编号' show-overflow-tooltip resizable min-width='80'>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <div v-if='row.wonum' @click.stop='staff(row)' style='cursor:pointer;color: #0091ff;'>{{row.wonum}}</div>
|
|
|
+ <div v-else>{{'--'}}</div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='description' label='报修来源' show-overflow-tooltip resizable min-width='340'>
|
|
|
<template slot-scope='{row}'>{{row.bxfwlymc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='description' label='执行人' show-overflow-tooltip resizable min-width='340'>
|
|
|
+ <el-table-column prop='description' label='执行人' show-overflow-tooltip resizable min-width='80'>
|
|
|
<template slot-scope='{row}'>{{row.lead || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='reportdate' label='要求完成时间' width='140'>
|
|
@@ -80,29 +83,29 @@
|
|
|
<el-table-column prop='sjjssj' label='实际完工时间' width='140'>
|
|
|
<template slot-scope='{row}'>{{row.wotjyssj?formatterTime(row.wotjyssj): '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='matters' label='位置名称' width='180' show-overflow-tooltip resizable>
|
|
|
+ <el-table-column prop='matters' label='位置名称' width='240' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.wzjc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='description' label='位置内码' show-overflow-tooltip resizable min-width='340'>
|
|
|
+ <el-table-column prop='description' label='位置内码' show-overflow-tooltip resizable min-width='80'>
|
|
|
<template slot-scope='{row}'>{{row.location || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='brand' label='保修照片' width='80'>
|
|
|
+ <el-table-column prop='brand' label='报修照片' width='80'>
|
|
|
<template slot-scope='{row}'>
|
|
|
<div
|
|
|
- v-if='row.glsmsImage'
|
|
|
+ v-if='row.repair_photos_num'
|
|
|
style='cursor:pointer;color: #0091ff;'
|
|
|
- @click.stop='clickPic(row.glsmsImage)'
|
|
|
- >{{row.glsmsImage.length+'张'}}</div>
|
|
|
+ @click.stop='clickPic(row.repair_photos_num)'
|
|
|
+ >{{row.repair_photos_num.length+'张'}}</div>
|
|
|
<div v-else>{{'--'}}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='brand' label='完工照片' width='80'>
|
|
|
<template slot-scope='{row}'>
|
|
|
<div
|
|
|
- v-if='row.glsmsImage'
|
|
|
+ v-if='row.finish_photos_num'
|
|
|
style='cursor:pointer;color: #0091ff;'
|
|
|
- @click.stop='clickPic(row.glsmsImage)'
|
|
|
- >{{row.glsmsImage.length+'张'}}</div>
|
|
|
+ @click.stop='clickPic(row.finish_photos_num)'
|
|
|
+ >{{row.finish_photos_num.length+'张'}}</div>
|
|
|
<div v-else>{{'--'}}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -150,7 +153,6 @@ export default {
|
|
|
people: '',
|
|
|
locationName: '',
|
|
|
keyword: '',
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -169,6 +171,7 @@ export default {
|
|
|
},
|
|
|
//跳转工单编号
|
|
|
staff(row) {
|
|
|
+ console.log(row)
|
|
|
if (row.wonum) {
|
|
|
window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.wonum}`)
|
|
|
}
|
|
@@ -218,7 +221,7 @@ export default {
|
|
|
getParams.data.keyword += `${this.matters}:description,matters;`
|
|
|
}
|
|
|
if (this.locationName) {
|
|
|
- getParams.data.keyword += `${this.locationName}:wzjc`
|
|
|
+ getParams.data.keyword += `${this.locationName}:location`
|
|
|
}
|
|
|
if (getParams.data.keyword == '') {
|
|
|
delete getParams.data.keyword
|
|
@@ -261,11 +264,11 @@ export default {
|
|
|
}
|
|
|
querySelect({ data, postParams }).then((res) => {
|
|
|
//console.log(res)
|
|
|
- let bxfwlymc = res.data && res.data.data && res.data.data.sms_zxzy ? res.data.data.sms_zxzy.bxfwlymc : []
|
|
|
+ let bxfwlymc = res.data && res.data.data && res.data.data.sms_wxzy ? res.data.data.sms_wxzy.bxfwly : []
|
|
|
this.sourceOption = []
|
|
|
this.sourceOption.push({
|
|
|
name: '全部',
|
|
|
- id: '1',
|
|
|
+ id: '全部',
|
|
|
})
|
|
|
bxfwlymc.forEach((el) => {
|
|
|
this.sourceOption.push({
|