Commit b81f421e by yangzhi

fix:样式

parent b05a3a34
...@@ -888,36 +888,6 @@ export default { ...@@ -888,36 +888,6 @@ export default {
width: 80, width: 80,
}, },
{ {
label: '用户评价',
key: 'evaluations',
width: 140,
},
{
label: '来源',
key: 'fromBusiness',
width: 140,
},
{
label: '创建人',
key: 'fromUserName',
width: 80,
},
{
label: '负责人',
key: 'leaderNames',
width: 80,
},
{
label: '参与人',
key: 'participatorName',
width: 80,
},
{
label: '验收人',
key: 'acceptanceUserName',
width: 80,
},
{
label: '优先级', label: '优先级',
key: 'priorityStatus', key: 'priorityStatus',
width: 120, width: 120,
...@@ -964,9 +934,34 @@ export default { ...@@ -964,9 +934,34 @@ export default {
}, },
}, },
{ {
label: '不受理原因', label: '来源',
key: 'closeReason', key: 'fromBusiness',
width: 130, width: 80,
},
{
label: '创建人',
key: 'fromUserName',
width: 80,
},
{
label: '负责人',
key: 'leaderNames',
width: 80,
},
{
label: '参与人',
key: 'participatorName',
width: 80,
},
{
label: '验收人',
key: 'acceptanceUserName',
width: 80,
},
{
label: '验收意见',
key: 'acceptanceContent',
width: 80,
}, },
{ {
label: '创建时间', label: '创建时间',
...@@ -990,11 +985,26 @@ export default { ...@@ -990,11 +985,26 @@ export default {
width: 130, width: 130,
}, },
{ {
label: '验收时间',
key: 'acceptanceTime',
width: 130,
},
{
label: '完成时间', label: '完成时间',
key: 'completeTime', key: 'completeTime',
width: 130, width: 130,
}, },
{ {
label: '用户评价',
key: 'evaluations',
width: 140,
},
{
label: '不受理原因',
key: 'closeReason',
width: 130,
},
{
label: '操作', label: '操作',
fixed: 'right', fixed: 'right',
width: 120, width: 120,
...@@ -1239,7 +1249,7 @@ export default { ...@@ -1239,7 +1249,7 @@ export default {
row.orderStatus === 'TO_BE_ASSIGN' || row.orderStatus === 'TO_BE_ASSIGN' ||
row.orderStatus === 'TO_BE_CONFIRMED' || row.orderStatus === 'TO_BE_CONFIRMED' ||
row.orderStatus === 'IN_PROGRESS') && row.orderStatus === 'IN_PROGRESS') &&
columnIndex === 16 columnIndex === 15
) { ) {
if (row.columnRenderColor) { if (row.columnRenderColor) {
return { return {
...@@ -1565,28 +1575,10 @@ export default { ...@@ -1565,28 +1575,10 @@ export default {
} catch { } catch {
} }
}, },
formaTime(data) {
const date1 = new Date()
const date2 = new Date(data)
if (date2 >= date1) {
return true
} else {
return false
}
},
async submitTime() { async submitTime() {
if (!this.estimateCompleteTime) { if (!this.estimateCompleteTime) {
return this.$message.warning('请选择预计完成时间') return this.$message.warning('请选择预计完成时间')
} }
if (
this.formaTime(
this.currentItem.estimateCompleteTime,
)
) {
return this.$message.warning(
'预计完成时间不能小于当前时间',
)
}
try { try {
const res = await startWorder( const res = await startWorder(
this.rowId, this.rowId,
...@@ -1623,17 +1615,24 @@ export default { ...@@ -1623,17 +1615,24 @@ export default {
}, },
async showDetail(item) { async showDetail(item) {
this.currentRowId = item.id this.currentRowId = item.id
this.detail = item await axios.get(`platform/platformWorkOrder/get?id=${item.id}`,
this.detailLoading = true ).then(res => {
axios if (res.code === 200) {
this.detail = res.data
} else {
this.detailLoading = false
}
})
await axios
.get( .get(
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`, `platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`,
) )
.then(res => { .then(res => {
if (res.code === 200) { if (res.code === 200) {
this.chatRecord = res.data this.chatRecord = res.data
} else {
this.detailLoading = false
} }
this.detailLoading = false
}) })
this.detailVisible = true this.detailVisible = true
this.textarea = '' this.textarea = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment