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
14dbf77c
Commit
14dbf77c
authored
Feb 03, 2023
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
31e67ef1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
31 deletions
+51
-31
global.less
src/global.less
+3
-5
columns.js
src/pages/device/account/columns.js
+13
-2
index.jsx
src/pages/device/account/index.jsx
+12
-5
index.jsx
src/pages/maintain/plan/index.jsx
+1
-1
columns.js
src/pages/maintain/workOrder/columns.js
+10
-6
detailColumns.js
src/pages/maintain/workOrder/detailColumns.js
+8
-8
index.jsx
src/pages/repair/outsourcing/index.jsx
+4
-4
No files found.
src/global.less
View file @
14dbf77c
...
...
@@ -525,10 +525,8 @@ ol {
z-index: 1;
}
main {
>div:first-child {
.tags_container {
z-index: 1001 !important;
}
.ant-pro-layout-container>main {
>div:first-child>div {
z-index: 1001 !important;
}
}
\ No newline at end of file
src/pages/device/account/columns.js
View file @
14dbf77c
...
...
@@ -272,9 +272,20 @@ function getcolumns(setdrawer) {
hideInForm
:
true
,
render
:
(
text
,
row
)
=>
{
if
(
row
?.
qrCodeUrl
==
null
)
{
return
'暂无图片'
;
return
(
<
div
style
=
{{
height
:
50
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
}}
>
<
span
>
暂无图片
<
/span
>
<
/div
>
);
}
else
{
return
<
Image
width
=
{
7
0
}
src
=
{
row
.
qrCodeUrl
}
/>
;
return
<
Image
width
=
{
5
0
}
src
=
{
row
.
qrCodeUrl
}
/>
;
}
},
},
...
...
src/pages/device/account/index.jsx
View file @
14dbf77c
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-02-0
2 10:16:20
* @Last Modified time: 2023-02-0
3 10:01:31
*/
import
*
as
React
from
'react'
;
...
...
@@ -618,7 +618,7 @@ function Model(props) {
const
[
activeTab
,
setactiveTab
]
=
useState
(
1
);
// 基础信息
const
BaseInfo
=
()
=>
{
const
columns
=
[
const
columns
1
=
[
{
title
:
'设备编号'
,
dataIndex
:
'equipmentNo'
,
...
...
@@ -650,6 +650,8 @@ function Model(props) {
key
:
'statusName'
,
span
:
2
,
},
];
const
columns2
=
[
{
title
:
'公司名称'
,
dataIndex
:
'organizationName'
,
...
...
@@ -680,6 +682,8 @@ function Model(props) {
dataIndex
:
'productLineName'
,
key
:
'productLineName'
,
},
];
const
columns3
=
[
{
title
:
'供应商'
,
dataIndex
:
'supplierName'
,
...
...
@@ -781,9 +785,12 @@ function Model(props) {
},
[]);
return
(
<>
<
ProDescriptions
dataSource=
{
request
}
columns=
{
columns
}
/>
<
Divider
/>
<
h3
className=
"page-title"
style=
{
{
marginBottom
:
16
}
}
>
<
ProDescriptions
dataSource=
{
request
}
columns=
{
columns1
}
/>
<
Divider
style=
{
{
marginTop
:
0
}
}
/>
<
ProDescriptions
dataSource=
{
request
}
columns=
{
columns2
}
/>
<
Divider
style=
{
{
marginTop
:
0
}
}
/>
<
ProDescriptions
dataSource=
{
request
}
columns=
{
columns3
}
/>
<
h3
className=
"page-title"
style=
{
{
marginBottom
:
24
}
}
>
扩展字段
</
h3
>
<
ProDescriptions
dataSource=
{
request
}
columns=
{
newfieldscolumns
}
/>
...
...
src/pages/maintain/plan/index.jsx
View file @
14dbf77c
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2023-01-16 15:35:00
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-02-0
2 17:04:15
* @Last Modified time: 2023-02-0
3 10:36:00
*/
import
*
as
React
from
'react'
;
...
...
src/pages/maintain/workOrder/columns.js
View file @
14dbf77c
...
...
@@ -456,16 +456,20 @@ function getcolumns(setdrawer) {
mode
:
'radio'
,
options
:
[
{
label
:
'
待接
单'
,
value
:
'
1
'
,
label
:
'
已关
单'
,
value
:
'
7
'
,
},
{
label
:
'
保养中
'
,
value
:
'
2
'
,
label
:
'
已完成
'
,
value
:
'
3
'
,
},
{
label
:
'待验证'
,
value
:
'5'
,
label
:
'超时关单'
,
value
:
'0'
,
},
{
label
:
'超时处理'
,
value
:
'6'
,
},
],
},
...
...
src/pages/maintain/workOrder/detailColumns.js
View file @
14dbf77c
...
...
@@ -204,23 +204,23 @@ const getcolumns = {
4
:
[
{
title
:
'验证人员'
,
dataIndex
:
'
review
erName'
,
key
:
'
review
erName'
,
dataIndex
:
'
approveUs
erName'
,
key
:
'
approveUs
erName'
,
},
{
title
:
'验证时间'
,
dataIndex
:
'
reviewerNa
me'
,
key
:
'
reviewerNa
me'
,
dataIndex
:
'
approveTi
me'
,
key
:
'
approveTi
me'
,
},
{
title
:
'验证结果'
,
dataIndex
:
'
reviewer
Name'
,
key
:
'
reviewer
Name'
,
dataIndex
:
'
approveStatus
Name'
,
key
:
'
approveStatus
Name'
,
},
{
title
:
'备注'
,
dataIndex
:
'
reviewerName
'
,
key
:
'
reviewerName
'
,
dataIndex
:
'
approveContent
'
,
key
:
'
approveContent
'
,
},
],
};
...
...
src/pages/repair/outsourcing/index.jsx
View file @
14dbf77c
...
...
@@ -3,7 +3,7 @@
* @Author: Li Hanlin
* @Date: 2022-12-02 11:41:03
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-02-0
1 17:08:23
* @Last Modified time: 2023-02-0
3 10:40:38
*/
import
*
as
React
from
'react'
;
...
...
@@ -112,13 +112,13 @@ function Failure(props) {
dataIndex
:
'otherUnitsHours'
,
key
:
'otherUnitsHours'
,
valueType
:
'digit'
,
precision
:
0
,
precision
:
3
,
},
{
title
:
'外协费用'
,
dataIndex
:
'otherUnitsCost'
,
valueType
:
'digit'
,
precision
:
0
,
precision
:
3
,
key
:
'otherUnitsCost'
,
},
{
...
...
@@ -161,7 +161,7 @@ function Failure(props) {
{
title
:
'最新外协人员'
,
dataIndex
:
'newRepairUserName'
,
formItemProps
:
{
rules
:
[{
required
:
tru
e
,
message
:
'此项为必填项'
}]
},
formItemProps
:
{
rules
:
[{
required
:
fals
e
,
message
:
'此项为必填项'
}]
},
fieldProps
:
{
disabled
:
true
},
key
:
'newRepairUserName'
,
},
...
...
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