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
d47a343e
Commit
d47a343e
authored
Jan 13, 2023
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1730
parent
b674812c
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
628 additions
and
24 deletions
+628
-24
columns.js
src/pages/check/order/columns.js
+3
-4
columns.js
src/pages/check/plan/columns.js
+1
-2
columns.js
src/pages/check/standard/columns.js
+2
-3
procolumns.js
src/pages/check/standard/procolumns.js
+3
-1
columns.js
src/pages/check/task/columns.js
+146
-3
index.jsx
src/pages/check/task/index.jsx
+473
-11
No files found.
src/pages/check/order/columns.js
View file @
d47a343e
...
...
@@ -59,9 +59,8 @@ function getcolumns(setdrawer) {
},
],
fieldProps
:
{
placeholder
:
'请选择'
,
showSearch
:
true
,
},
dropdownMatchSelectWidth
:
100
}
},
{
title
:
'点检截止日期'
,
...
...
@@ -69,7 +68,7 @@ function getcolumns(setdrawer) {
key
:
'checkCloseDateList'
,
valueType
:
'dateRange'
,
render
:
(
text
,
row
,
_
,
action
)
=>
{
return
<
span
style
=
{{
color
:
`
${
dayjs
(
row
.
checkCloseDate
).
valueOf
()
<
dayjs
().
valueOf
()
?
"#f50"
:
"rgba(0, 0, 0, 0.85)"
}
`
}}
>
{
row
.
checkCloseDate
}
<
/span
>
return
<
span
style
=
{{
color
:
`
${
dayjs
(
row
.
checkCloseDate
).
valueOf
()
<
dayjs
().
format
(
"YYYY-MM-DD"
).
valueOf
()
?
"#f50"
:
"rgba(0, 0, 0, 0.85)"
}
`
}}
>
{
row
.
checkCloseDate
}
<
/span
>
}
},
],
...
...
src/pages/check/plan/columns.js
View file @
d47a343e
...
...
@@ -214,8 +214,7 @@ function getcolumns(setdrawer) {
hideInForm
:
true
,
valueType
:
'select'
,
fieldProps
:
{
placeholder
:
'请选择'
,
showSearch
:
true
,
dropdownMatchSelectWidth
:
100
},
options
:
[
{
...
...
src/pages/check/standard/columns.js
View file @
d47a343e
...
...
@@ -31,9 +31,8 @@ function getcolumns(id) {
}
],
fieldProps
:
{
placeholder
:
'请选择'
,
showSearch
:
true
,
},
dropdownMatchSelectWidth
:
100
}
},
{
"title"
:
"设备型号"
,
...
...
src/pages/check/standard/procolumns.js
View file @
d47a343e
...
...
@@ -22,7 +22,7 @@ function procolumns(id) {
},
{
title
:
'判断类型'
,
dataIndex
:
'judgeType'
,
dataIndex
:
'judgeType
Name
'
,
key
:
'judgeType'
,
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
valueType
:
'select'
,
...
...
@@ -40,6 +40,7 @@ function procolumns(id) {
hideInForm
:
{
judgeType
:
[
1
,
null
,
undefined
]
},
valueType
:
'digit'
,
hideInSearch
:
true
,
min
:
-
10000000000000000
},
{
title
:
'上限值'
,
...
...
@@ -49,6 +50,7 @@ function procolumns(id) {
valueType
:
'digit'
,
hideInForm
:
{
judgeType
:
[
1
,
null
,
undefined
]
},
hideInSearch
:
true
,
min
:
-
10000000000000000
},
{
title
:
'预计工时'
,
...
...
src/pages/check/task/columns.js
View file @
d47a343e
This diff is collapsed.
Click to expand it.
src/pages/check/task/index.jsx
View file @
d47a343e
This diff is collapsed.
Click to expand it.
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