Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
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
ReactWeb5
CivManage
Commits
64c58a35
Commit
64c58a35
authored
3 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改事件管理UI界面
parent
6b741fc7
master
dev-database
dev-solution
dev-达梦
styleEditBranch
No related merge requests found
Pipeline
#34189
passed with stages
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
11 deletions
+13
-11
AddModal.jsx
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
+0
-0
ProcessModal.jsx
...pages/platformCenter/bsmanager/workOrder/ProcessModal.jsx
+2
-1
SortModal.jsx
src/pages/platformCenter/bsmanager/workOrder/SortModal.jsx
+1
-1
ViewModal.jsx
src/pages/platformCenter/bsmanager/workOrder/ViewModal.jsx
+2
-1
changeAdd.jsx
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
+4
-4
incident.jsx
src/pages/platformCenter/bsmanager/workOrder/incident.jsx
+4
-4
No files found.
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
View file @
64c58a35
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/ProcessModal.jsx
View file @
64c58a35
...
...
@@ -154,7 +154,8 @@ const ProcessModal = props => {
color
:
'#1890FF'
,
fontSize
:
'25px'
,
verticalAlign
:
'middle'
,
marginLeft
:
'25px'
marginLeft
:
'25px'
,
marginBottom
:
'10px'
}
}
/>
</
Tooltip
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/SortModal.jsx
View file @
64c58a35
...
...
@@ -47,7 +47,7 @@ const SortModal = props => {
>
<
div
className=
{
styles
.
cardContent
}
style=
{
{
width
:
'26rem'
,
marginLeft
:
'24px'
}
}
>
<
div
className=
{
styles
.
doctorTable
}
>
<
table
>
<
table
style=
{
{
width
:
'104%'
,
marginLeft
:
'-5px'
}
}
>
<
thead
>
<
tr
>
<
td
>
事件名称
</
td
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/ViewModal.jsx
View file @
64c58a35
...
...
@@ -215,7 +215,8 @@ const ViewModal = props => {
color
:
'#1890FF'
,
fontSize
:
'25px'
,
verticalAlign
:
'middle'
,
marginLeft
:
'25px'
marginLeft
:
'25px'
,
marginBottom
:
'10px'
}
}
/>
</
Tooltip
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
View file @
64c58a35
...
...
@@ -164,14 +164,14 @@ const AddModal = props => {
{
flag
===
0
?
<>
<
div
className=
{
styles
.
cardContent
}
>
<
span
style=
{
{
color
:
'red'
,
fontSize
:
'1
.5
rem'
,
marginLeft
:
'25px'
}
}
>
请先选择事件主表
</
span
>
<
span
style=
{
{
color
:
'red'
,
fontSize
:
'1rem'
,
marginLeft
:
'25px'
}
}
>
请先选择事件主表
</
span
>
</
div
>
</>:
<>
{
JSON
.
stringify
(
filed
)
==
"{}"
?
<>
<
div
className=
{
styles
.
cardContent
}
>
<
span
style=
{
{
color
:
'red'
,
fontSize
:
'1
.5rem'
,
marginLeft
:
'25px'
}
}
>
表字段缺失暂无数据
</
span
>
<
span
style=
{
{
color
:
'red'
,
fontSize
:
'1
rem'
,
marginLeft
:
'25px'
}
}
>
表字段缺失请先配置表/字段
</
span
>
</
div
>
</>
:
...
...
@@ -261,10 +261,10 @@ const AddModal = props => {
<
td
>
字段名
</
td
>
</
tr
>
</
thead
>
<
tbody
id=
'doctor-drag-items'
>
<
tbody
>
{
selectData
&&
selectData
.
length
>
0
?
selectData
.
map
((
item
,
index
)
=>
{
return
<
tr
drag
-
id=
{
item
}
key=
{
index
}
style=
{
{
cursor
:
'move'
}
}
>
return
<
tr
key=
{
index
}
>
<
td
><
span
title=
{
item
}
>
{
item
}
</
span
></
td
>
</
tr
>
})
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/incident.jsx
View file @
64c58a35
...
...
@@ -52,6 +52,7 @@ const incident = () => {
const
[
sortData
,
setSortData
]
=
useState
([])
const
[
rember
,
setRember
]
=
useState
(
0
)
const
[
rember1
,
setRember1
]
=
useState
()
const
[
maxLength
,
setMaxLength
]
=
useState
(
0
);
const
[
pickItem
,
setPickItem
]
=
useState
(
''
);
...
...
@@ -303,6 +304,7 @@ const incident = () => {
console
.
log
(
arrr
)
setTableData
(
arrr
)
setPickItem
(
newArr
[
rember
])
setRember1
(
newArr
[
0
])
console
.
log
(
newArr
,
'newArr'
);
setTreeData
(
newArr
)
}
...
...
@@ -319,9 +321,6 @@ const incident = () => {
}
})
},[])
useEffect
(()
=>
{
})
const
formateArrDataA
=
(
initialArr
,
name
)
=>
{
console
.
log
(
initialArr
)
console
.
log
(
name
)
...
...
@@ -477,7 +476,7 @@ const incident = () => {
return
<
div
className=
{
classnames
({
[
styles
.
listItem
]:
true
,
[
styles
.
pickItem
]:
item
===
pickItem
,
})
}
onClick=
{
e
=>
{
setPickItem
(
item
);
setRember
(
index
)}
}
key=
{
index
}
>
{
item
}
(
{
tableData
[
item
]
?
tableData
[
item
].
length
:
''
}
)
{
item
===
pickItem
?
<
RightOutlined
/>
:
''
}
</
div
>
})
}
onClick=
{
e
=>
{
setPickItem
(
item
);
setRember
(
index
)
;
setRember1
(
item
)
}
}
key=
{
index
}
>
{
item
}
(
{
tableData
[
item
]
?
tableData
[
item
].
length
:
''
}
)
{
item
===
pickItem
?
<
RightOutlined
/>
:
''
}
</
div
>
})
)
}
</
div
>
...
...
@@ -540,6 +539,7 @@ const incident = () => {
visible=
{
addVisible
}
type=
{
isType
}
formObj=
{
formObj
}
rember1=
{
rember1
}
maxLength=
{
maxLength
}
onCancel=
{
()
=>
setAddvisible
(
false
)
}
treeData=
{
treeData
}
...
...
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