Commit 0c47c69f authored by TZW's avatar TZW

1111

parent 35e39505
...@@ -643,7 +643,7 @@ export default (props) => { ...@@ -643,7 +643,7 @@ export default (props) => {
dataSource={dataSource} dataSource={dataSource}
columns={columns_zzgd[dataSource?.operationType]} columns={columns_zzgd[dataSource?.operationType]}
/> />
{dataSource?.trackProcessList ? ( {dataSource?.trackProcessList?.length > 0 ? (
<Collapse expandIconPosition={'end'}> <Collapse expandIconPosition={'end'}>
<Panel header={<span style={{ fontSize: 16, fontWeight: 600 }}>验证信息</span>}> <Panel header={<span style={{ fontSize: 16, fontWeight: 600 }}>验证信息</span>}>
<ProDescriptions <ProDescriptions
......
...@@ -539,6 +539,9 @@ function getcolumns(setdrawer) { ...@@ -539,6 +539,9 @@ function getcolumns(setdrawer) {
}, },
], ],
}, },
render: (_, row) => {
return row?.isCycle == 1 ? '单次' : '周期';
},
}, },
{ {
title: '关单日期', title: '关单日期',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-12-02 11:41:03 * @Date: 2022-12-02 11:41:03
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2023-02-08 14:50:08 * @Last Modified time: 2023-02-09 10:41:27
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -77,7 +77,6 @@ function Failure(props) { ...@@ -77,7 +77,6 @@ function Failure(props) {
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] }, formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
fieldProps: { fieldProps: {
placeholder: '请选择', placeholder: '请选择',
mode: 'multiple',
}, },
key: 'trackAssistList', key: 'trackAssistList',
valueType: 'select', valueType: 'select',
...@@ -89,7 +88,7 @@ function Failure(props) { ...@@ -89,7 +88,7 @@ function Failure(props) {
]} ]}
onFinish={async (vals) => { onFinish={async (vals) => {
let params = { let params = {
trackAssistList: vals?.trackAssistList.map((it) => ({ assistUserId: it })), trackAssistList: [{ assistUserId: vals?.trackAssistList }],
id: drawer?.item?.id, id: drawer?.item?.id,
}; };
let res = await doFetch({ let res = await doFetch({
...@@ -424,11 +423,11 @@ function Failure(props) { ...@@ -424,11 +423,11 @@ function Failure(props) {
item: { item: {
...row, ...row,
trackCycle: String(row?.trackCycle), trackCycle: String(row?.trackCycle),
trackResult: '1', trackResult: 1,
isFinishTrack: '2', isFinishTrack: 2,
}, },
detailpath: '/repair/umTrackTraceinfo/queryByTrackOrderId', // detailpath: '/repair/umTrackTraceinfo/queryByTrackOrderId',
params: { trackOrderId: row?.id }, // params: { trackOrderId: row?.id },
val: 'only', val: 'only',
title: '追踪信息', title: '追踪信息',
})); }));
......
...@@ -209,6 +209,15 @@ function getcolumns(setdrawer) { ...@@ -209,6 +209,15 @@ function getcolumns(setdrawer) {
}, },
hideInForm: true, hideInForm: true,
}, },
{
title: '工单状态',
dataIndex: 'statusName',
key: 'statusName',
span: 3,
hideInSearch: true,
hideInTable: true,
hideInForm: true,
},
{ {
title: '备件信息', title: '备件信息',
dataIndex: 'details', dataIndex: 'details',
...@@ -419,6 +428,16 @@ function getcolumns(setdrawer) { ...@@ -419,6 +428,16 @@ function getcolumns(setdrawer) {
}, },
hideInForm: true, hideInForm: true,
}, },
{
title: '工单状态',
dataIndex: 'statusName',
key: 'statusName',
hideInSearch: true,
hideInTable: true,
hideInForm: true,
span: 2,
},
{ {
title: '备件信息', title: '备件信息',
dataIndex: 'details', dataIndex: 'details',
......
...@@ -5,13 +5,23 @@ function getcolumns(setdrawer) { ...@@ -5,13 +5,23 @@ function getcolumns(setdrawer) {
title: '操作时间', title: '操作时间',
dataIndex: 'operateTime', dataIndex: 'operateTime',
key: 'operateTimeList', key: 'operateTimeList',
valueType: 'dateRange', valueType: 'dateTimeRange',
fieldProps: {
showTime: {
format: 'HH:mm',
},
format: 'YYYY-MM-DD HH:mm',
},
}, },
{ {
title: '操作人', title: '操作人',
dataIndex: 'operateUserName', dataIndex: 'operateUserName',
key: 'operateUserId', key: 'operateUserId',
valueType: 'select', valueType: 'select',
fieldProps: {
dropdownMatchSelectWidth: 120,
showSearch: true,
},
options: { options: {
path: '/auth/sysUser/selection', path: '/auth/sysUser/selection',
params: {}, params: {},
......
...@@ -164,6 +164,9 @@ function getcolumns(type, fullName) { ...@@ -164,6 +164,9 @@ function getcolumns(type, fullName) {
dataIndex: 'statusName', dataIndex: 'statusName',
key: 'status', key: 'status',
hideInForm: true, hideInForm: true,
fieldProps: {
dropdownMatchSelectWidth: 120,
},
valueType: 'select', valueType: 'select',
span: 3, span: 3,
options: [ options: [
......
...@@ -179,6 +179,10 @@ function getcolumns(type, fullName) { ...@@ -179,6 +179,10 @@ function getcolumns(type, fullName) {
title: '状态', title: '状态',
dataIndex: 'statusName', dataIndex: 'statusName',
key: 'status', key: 'status',
fieldProps: {
dropdownMatchSelectWidth: 120,
},
span: 3,
hideInForm: true, hideInForm: true,
valueType: 'select', valueType: 'select',
options: [ options: [
...@@ -418,8 +422,12 @@ function getcolumns(type, fullName) { ...@@ -418,8 +422,12 @@ function getcolumns(type, fullName) {
{ {
title: '状态', title: '状态',
dataIndex: 'statusName', dataIndex: 'statusName',
span: 2,
key: 'status', key: 'status',
hideInForm: true, hideInForm: true,
fieldProps: {
dropdownMatchSelectWidth: 120,
},
valueType: 'select', valueType: 'select',
options: [ options: [
{ {
......
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