fix: 修改工单列表和详情字段显示
This commit is contained in:
@@ -45,16 +45,18 @@ const searchConfig = reactive([
|
||||
checkStrictly: true
|
||||
},
|
||||
component: 'el-input',
|
||||
}, {
|
||||
label: '工单名称',
|
||||
prop: 'orderName',
|
||||
props: {
|
||||
placeholder: '请输入工单名查询',
|
||||
clearable: true,
|
||||
checkStrictly: true
|
||||
},
|
||||
component: 'el-input',
|
||||
}, {
|
||||
},
|
||||
// {
|
||||
// label: '工单名称',
|
||||
// prop: 'orderName',
|
||||
// props: {
|
||||
// placeholder: '请输入工单名查询',
|
||||
// clearable: true,
|
||||
// checkStrictly: true
|
||||
// },
|
||||
// component: 'el-input',
|
||||
// },
|
||||
{
|
||||
label: '处理人',
|
||||
prop: 'operationUser',
|
||||
props: {
|
||||
@@ -63,16 +65,17 @@ const searchConfig = reactive([
|
||||
checkStrictly: true
|
||||
},
|
||||
component: 'el-input',
|
||||
}, {
|
||||
label: '关单人',
|
||||
prop: 'knotter',
|
||||
props: {
|
||||
placeholder: '请输入关单人查询',
|
||||
clearable: true,
|
||||
checkStrictly: true
|
||||
},
|
||||
component: 'el-input',
|
||||
},
|
||||
// {
|
||||
// label: '关单人',
|
||||
// prop: 'knotter',
|
||||
// props: {
|
||||
// placeholder: '请输入关单人查询',
|
||||
// clearable: true,
|
||||
// checkStrictly: true
|
||||
// },
|
||||
// component: 'el-input',
|
||||
// },
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createdTime',
|
||||
@@ -125,15 +128,27 @@ const tableConfig = reactive({
|
||||
align: 'center',
|
||||
width: 200
|
||||
},
|
||||
// {
|
||||
// prop: 'orderName',
|
||||
// label: '工单名称',
|
||||
// align: 'center',
|
||||
// width: 200
|
||||
// },
|
||||
{
|
||||
prop: 'orderName',
|
||||
label: '工单名称',
|
||||
prop: 'orderContent',
|
||||
label: '工单内容',
|
||||
align: 'center',
|
||||
width: 250
|
||||
},
|
||||
{
|
||||
prop: 'alarmUnit',
|
||||
label: '拨打单位',
|
||||
align: 'center',
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
prop: 'orderContent',
|
||||
label: '工单内容',
|
||||
prop: 'alarmObject',
|
||||
label: '拨打对象',
|
||||
align: 'center',
|
||||
width: 200
|
||||
},
|
||||
@@ -193,11 +208,11 @@ const tableConfig = reactive({
|
||||
align: 'center',
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
prop: 'knotter',
|
||||
label: '关单人',
|
||||
align: 'center'
|
||||
},
|
||||
// {
|
||||
// prop: 'knotter',
|
||||
// label: '关单人',
|
||||
// align: 'center'
|
||||
// },
|
||||
{
|
||||
prop: 'oper',
|
||||
label: '操作',
|
||||
@@ -275,7 +290,11 @@ const handleClose = async (row) => {
|
||||
}
|
||||
)
|
||||
.then(async () => {
|
||||
const info = await orderdClose(row.orderNumber)
|
||||
const info = await orderdClose({
|
||||
orderNumber: row.orderNumber,
|
||||
alarmObject: row.alarmObject,
|
||||
alarmUnit: row.alarmUnit
|
||||
})
|
||||
// console.log(info);
|
||||
if (info.code === 1000) {
|
||||
tableIns.value.refresh()
|
||||
|
||||
Reference in New Issue
Block a user