Commit 6793ea30 authored by TZW's avatar TZW

1

parent 48c141f9
...@@ -232,7 +232,7 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false, ...@@ -232,7 +232,7 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false,
], ],
4: [ 4: [
{ {
title: '申请人员', title: '申请追踪人员',
dataIndex: 'reviewerName', dataIndex: 'reviewerName',
key: 'reviewerName', key: 'reviewerName',
}, },
...@@ -249,7 +249,7 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false, ...@@ -249,7 +249,7 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false,
], ],
5: [ 5: [
{ {
title: '外协人员', title: '申请外协人员',
dataIndex: 'reviewerName', dataIndex: 'reviewerName',
key: 'reviewerName', key: 'reviewerName',
}, },
...@@ -553,14 +553,16 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false, ...@@ -553,14 +553,16 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false,
dataSource={dataSource} dataSource={dataSource}
columns={columns_zzgd[dataSource?.operationType]} columns={columns_zzgd[dataSource?.operationType]}
/> />
<Collapse expandIconPosition={'end'}> {dataSource?.trackProcessList ? (
<Panel header={<span style={{ fontSize: 16, fontWeight: 600 }}>验证信息</span>}> <Collapse expandIconPosition={'end'}>
<ProDescriptions <Panel header={<span style={{ fontSize: 16, fontWeight: 600 }}>验证信息</span>}>
dataSource={dataSource?.trackProcessList?.[0]} <ProDescriptions
columns={columns_zzgd['yz']} dataSource={dataSource?.trackProcessList?.[0]}
/> columns={columns_zzgd['yz']}
</Panel> />
</Collapse> </Panel>
</Collapse>
) : null}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -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-01 14:33:41 * @Last Modified time: 2023-02-01 15:23:18
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -654,7 +654,7 @@ function Failure(props) { ...@@ -654,7 +654,7 @@ function Failure(props) {
title: '故障类型', title: '故障类型',
dataIndex: 'faultSettingId', dataIndex: 'faultSettingId',
key: 'faultSettingId', key: 'faultSettingId',
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] }, formItemProps: { rules: [{ required: false, message: '此项为必填项' }] },
valueType: 'select', valueType: 'select',
options: { options: {
path: '/repair/umFaultSetting/selected/queryList', path: '/repair/umFaultSetting/selected/queryList',
...@@ -668,7 +668,7 @@ function Failure(props) { ...@@ -668,7 +668,7 @@ function Failure(props) {
dataIndex: 'faultDetailId', dataIndex: 'faultDetailId',
key: 'faultDetailId', key: 'faultDetailId',
valueType: 'select', valueType: 'select',
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] }, formItemProps: { rules: [{ required: false, message: '此项为必填项' }] },
options: { options: {
path: '/repair/umFaultSettingDetail/selected/queryList', path: '/repair/umFaultSettingDetail/selected/queryList',
linkParams: { linkParams: {
...@@ -807,7 +807,7 @@ function Failure(props) { ...@@ -807,7 +807,7 @@ function Failure(props) {
repairContent: vals.repairContent, repairContent: vals.repairContent,
}, },
id: drawer?.item.id, id: drawer?.item.id,
repairAssistList: vals?.repairAssistList, repairAssistList: vals?.repairAssistList?.map((it) => ({ assistUserId: it })),
}; };
let res = await doFetch({ let res = await doFetch({
url: '/repair/umRepairOrder/completeRepair', url: '/repair/umRepairOrder/completeRepair',
......
...@@ -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-01 14:02:32 * @Last Modified time: 2023-02-01 14:50:04
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -385,7 +385,7 @@ function Failure(props) { ...@@ -385,7 +385,7 @@ function Failure(props) {
{ {
label: ( label: (
<PremButton <PremButton
// access="umTrackOrder:dispatchById" access="umTrackOrder:dispatchById"
btn={{ btn={{
onClick: () => { onClick: () => {
setdrawer((s) => ({ setdrawer((s) => ({
......
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