fix : 优化工单列表样式
This commit is contained in:
@@ -85,11 +85,14 @@ const searchConfig = reactive([
|
||||
prop: 'createTime',
|
||||
props: {
|
||||
placeholder: '请选择',
|
||||
type: 'datetime',
|
||||
clearable: true,
|
||||
checkStrictly: true
|
||||
checkStrictly: true,
|
||||
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
},
|
||||
component: 'el-date-picker',
|
||||
}, {
|
||||
},
|
||||
{
|
||||
label: '处理时间',
|
||||
prop: 'processedTime',
|
||||
props: {
|
||||
@@ -167,7 +170,14 @@ const tableConfig = reactive({
|
||||
{
|
||||
prop: 'operationUser',
|
||||
label: '处理人',
|
||||
align: 'center'
|
||||
align: 'center',
|
||||
currentRender: ({ row, index }) => {
|
||||
if (row.operationUser) {
|
||||
return row.operationUser
|
||||
} else {
|
||||
return '--'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
@@ -211,7 +221,7 @@ const tableConfig = reactive({
|
||||
let btn = []
|
||||
btn.push({ label: '详情', prem: auths.detail, func: () => handleDetail(row), type: 'primary' })
|
||||
btn.push({ label: '关单', prem: auths.detail, func: () => handleClose(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'danger'})
|
||||
return (
|
||||
<div style={{ width: '100%' }}>
|
||||
{
|
||||
|
||||
@@ -212,7 +212,7 @@ const tableConfig = reactive({
|
||||
let btn = []
|
||||
btn.push({ label: '详情', prem: auths.detail, func: () => handleDetail(row), type: 'primary' })
|
||||
btn.push({ label: '关单', prem: auths.detail, func: () => handleClose(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'danger' })
|
||||
return (
|
||||
<div style={{ width: '100%' }}>
|
||||
{
|
||||
|
||||
@@ -202,7 +202,7 @@ const tableConfig = reactive({
|
||||
let btn = []
|
||||
btn.push({ label: '详情', prem: auths.detail, func: () => handleDetail(row), type: 'primary' })
|
||||
btn.push({ label: '关单', prem: auths.detail, func: () => handleClose(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'primary' })
|
||||
btn.push({ label: '删除', prem: auths.detail, func: () => handleDelete(row), type: 'danger' })
|
||||
return (
|
||||
<div style={{ width: '100%' }}>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user