Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
ems3.3
Commits
de031950
Commit
de031950
authored
Jan 05, 2023
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
c34566a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
94 deletions
+0
-94
DesItem.jsx
src/components/RepaireDetail/DesItem.jsx
+0
-94
No files found.
src/components/RepaireDetail/DesItem.jsx
View file @
de031950
...
...
@@ -6,8 +6,6 @@ const { Panel } = Collapse;
export
default
({
index
,
title
,
dataSource
,
columns
,
hidden
,
navhidden
=
false
,
type
})
=>
{
const
[
flag
,
setflag
]
=
useState
(
true
);
console
.
log
(
dataSource
);
console
.
log
(
index
,
dataSource
);
// 0:报修 1:接单 2:派单 3:完成维修 4:转追踪 5:转外协 6:转单 7:退单 8:追踪审核 9:外协审核 10:退单审核 11:效果验证
const
columns_mes
=
{
sbxx
:
[
...
...
@@ -462,98 +460,6 @@ export default ({ index, title, dataSource, columns, hidden, navhidden = false,
useEffect
(()
=>
{
setflag
(
hidden
);
},
[]);
console
.
log
(
'datasource'
,
dataSource
);
// // 普通的详情展示
// const normalItem = () => {
// return (
// <div>
// <div className="fault-detail">
// <div style={{ flex: 1, display: 'flex', flexDirection: 'row' }}>
// <div
// style={{
// display: 'block',
// width: '30px',
// height: '30px',
// fontWeight: 500,
// textAlign: 'center',
// padding: '2px',
// border: '2px solid #1890FF',
// borderRadius: '50%',
// backgroundColor: 'white',
// marginRight: 16,
// flexShrink: 0,
// }}
// >
// {index}
// </div>
// <div style={{ display: 'flex', flexDirection: 'column' }}>
// <label style={{ width: '40px', fontSize: 18, fontWeight: 600 }}>
// {dataSource?.operationTypeName}
// </label>
// <span>{dataSource?.updateUserName}</span>
// <span>{dataSource?.updateTime}</span>
// </div>
// </div>
// <div style={{ flex: 6 }}>
// <div style={{ marginBottom: 16 }}>
// <h2 className="page-title">{dataSource?.operationTypeName}信息</h2>
// </div>
// <ProDescriptions
// dataSource={dataSource}
// columns={columns_wxgd[dataSource?.operationType]}
// />
// <ProDescriptions dataSource={dataSource} columns={columns_mes['gzxx']} />
// </div>
// </div>
// </div>
// );
// };
// // 带验证的详情展示
// const checkItem = () => {
// return (
// <div>
// <div className="fault-detail">
// <div style={{ flex: 1, display: 'flex', flexDirection: 'row' }}>
// <div
// style={{
// display: 'block',
// width: '30px',
// height: '30px',
// fontWeight: 500,
// textAlign: 'center',
// padding: '2px',
// border: '2px solid #1890FF',
// borderRadius: '50%',
// backgroundColor: 'white',
// marginRight: 16,
// flexShrink: 0,
// }}
// >
// {index}
// </div>
// <div style={{ display: 'flex', flexDirection: 'column' }}>
// <label style={{ width: '40px', fontSize: 18, fontWeight: 600 }}>
// {dataSource?.operationTypeName}
// </label>
// <span>{dataSource?.updateUserName}</span>
// <span>{dataSource?.updateTime}</span>
// </div>
// </div>
// <div style={{ flex: 6 }}>
// <div style={{ marginBottom: 16 }}>
// <h2 className="page-title">{dataSource?.operationTypeName}信息</h2>
// </div>
// <ProDescriptions
// dataSource={dataSource}
// columns={columns_wxgd[dataSource?.operationType]}
// />
// <ProDescriptions dataSource={dataSource} columns={columns_mes['gzxx']} />
// </div>
// </div>
// </div>
// );
// };
const
itemischeck
=
{
wxgd
:
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment