Commit b81f421e by yangzhi

fix:样式

parent b05a3a34
......@@ -888,36 +888,6 @@ export default {
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: '优先级',
key: 'priorityStatus',
width: 120,
......@@ -964,9 +934,34 @@ export default {
},
},
{
label: '不受理原因',
key: 'closeReason',
width: 130,
label: '来源',
key: 'fromBusiness',
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: '创建时间',
......@@ -990,11 +985,26 @@ export default {
width: 130,
},
{
label: '验收时间',
key: 'acceptanceTime',
width: 130,
},
{
label: '完成时间',
key: 'completeTime',
width: 130,
},
{
label: '用户评价',
key: 'evaluations',
width: 140,
},
{
label: '不受理原因',
key: 'closeReason',
width: 130,
},
{
label: '操作',
fixed: 'right',
width: 120,
......@@ -1239,7 +1249,7 @@ export default {
row.orderStatus === 'TO_BE_ASSIGN' ||
row.orderStatus === 'TO_BE_CONFIRMED' ||
row.orderStatus === 'IN_PROGRESS') &&
columnIndex === 16
columnIndex === 15
) {
if (row.columnRenderColor) {
return {
......@@ -1565,28 +1575,10 @@ export default {
} catch {
}
},
formaTime(data) {
const date1 = new Date()
const date2 = new Date(data)
if (date2 >= date1) {
return true
} else {
return false
}
},
async submitTime() {
if (!this.estimateCompleteTime) {
return this.$message.warning('请选择预计完成时间')
}
if (
this.formaTime(
this.currentItem.estimateCompleteTime,
)
) {
return this.$message.warning(
'预计完成时间不能小于当前时间',
)
}
try {
const res = await startWorder(
this.rowId,
......@@ -1623,17 +1615,24 @@ export default {
},
async showDetail(item) {
this.currentRowId = item.id
this.detail = item
this.detailLoading = true
axios
await axios.get(`platform/platformWorkOrder/get?id=${item.id}`,
).then(res => {
if (res.code === 200) {
this.detail = res.data
} else {
this.detailLoading = false
}
})
await axios
.get(
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`,
)
.then(res => {
if (res.code === 200) {
this.chatRecord = res.data
} else {
this.detailLoading = false
}
this.detailLoading = false
})
this.detailVisible = true
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