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
d34ae4db
Commit
d34ae4db
authored
Oct 11, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: web配置登陆界面区分web4跟web5
parent
85cb6a8f
Pipeline
#61574
passed with stages
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
83 additions
and
29 deletions
+83
-29
ItemCard.jsx
src/components/CheckGroup/ItemCard.jsx
+6
-2
index.jsx
src/components/CheckGroup/index.jsx
+1
-1
itemCard.less
src/components/CheckGroup/itemCard.less
+13
-5
incident.jsx
src/pages/bsmanager/workOrder/incident/incident.jsx
+26
-0
NodeModal.jsx
...Edit/workFlowComponents/flowChartComponents/NodeModal.jsx
+1
-1
siteConfigDrawer.js
...es/productCenter/webConfig/components/siteConfigDrawer.js
+36
-20
No files found.
src/components/CheckGroup/ItemCard.jsx
View file @
d34ae4db
...
...
@@ -165,12 +165,16 @@ const ListCardItem = props => {
>
{
isGroup
?
(
<>
<
FolderFilled
style=
{
{
color
:
'#1890ff'
}
}
/>
<
FolderFilled
style=
{
{
color
:
'#1890ff'
,
verticalAlign
:
'middle'
,
marginTop
:
'-4px'
}
}
/>
<
span
style=
{
{
marginLeft
:
'5px'
}
}
>
{
item
.
text
}
</
span
>
</>
)
:
(
<>
<
FileOutlined
style=
{
{
color
:
'#1890ff'
}
}
/>
<
FileOutlined
style=
{
{
color
:
'#1890ff'
,
verticalAlign
:
'middle'
,
marginTop
:
'-4px'
}
}
/>
<
span
style=
{
{
marginLeft
:
'5px'
}
}
>
{
item
.
text
}
</
span
>
</>
)
}
...
...
src/components/CheckGroup/index.jsx
View file @
d34ae4db
...
...
@@ -3,7 +3,7 @@ import React, { useState, useEffect } from 'react';
import
{
Spin
,
Checkbox
,
Button
,
Empty
}
from
'antd'
;
import
_
from
'lodash'
;
import
ListCardItem
from
'./ItemCard'
;
import
styles
from
'./
I
temCard.less'
;
import
styles
from
'./
i
temCard.less'
;
import
{
GetMapSetByGroupID
}
from
'@/services/userManage/api'
;
const
tip
=
'loading...'
;
...
...
src/components/CheckGroup/itemCard.less
View file @
d34ae4db
...
...
@@ -7,17 +7,21 @@
margin-top: 20px;
min-height: 50px;
padding: 0 10px 10px 20px;
.ant-checkbox-wrapper {
background-color: #fff;
}
.topCheckbox {
height: 20px;
margin: -10px 0 0 0px;
line-height: 20px;
}
.topCheckbox > label :hover {
.topCheckbox>label :hover {
font-weight: 600;
}
.checkdiv {
display: flex;
flex-wrap: wrap;
...
...
@@ -25,6 +29,7 @@
// justify-content: space-between;
}
}
.divSingle {
border: none;
margin-top: 20px;
...
...
@@ -37,20 +42,23 @@
margin-right: 10px;
background: transparent;
}
.isSearch {
color: red;
background-color: yellow;
}
.boldLabel {
font-size: 15px;
font-weight: bold;
background-color: #fff;
}
.btnBox {
position:
sticky
;
bottom: 0
px;
right:
0
px;
background-color: #fff;
position:
absolute
;
top: 55
px;
right:
7
px;
//
background-color: #fff;
width: 100%;
height: 40px;
padding: 0 20px;
...
...
src/pages/bsmanager/workOrder/incident/incident.jsx
View file @
d34ae4db
...
...
@@ -209,6 +209,32 @@ const incident = () => {
key
:
'createMode'
,
width
:
80
,
},
{
title
:
'流程数量'
,
dataIndex
:
'flowCount'
,
key
:
'flowCount'
,
width
:
80
,
render
:
(
text
,
record
)
=>
(
<>
<
span
style=
{
{
display
:
'inline-block'
,
width
:
'60px'
,
color
:
Number
(
text
.
split
(
' '
)[
0
])
>
1
&&
record
.
createMode
===
'工单分派'
?
'red'
:
''
,
}
}
>
{
Number
(
text
.
split
(
' '
)[
0
])
>
1
&&
record
.
createMode
===
'工单分派'
?
(
<
Tooltip
placement=
"topLeft"
title=
"工单模型的流程数量不能大于1"
>
{
text
}
</
Tooltip
>
)
:
(
text
)
}
</
span
>
</>
),
},
{
title
:
'操作'
,
key
:
'action'
,
...
...
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/NodeModal.jsx
View file @
d34ae4db
...
...
@@ -250,7 +250,7 @@ const NodeModal = props => {
</
Form
.
Item
>
<
Form
.
Item
label=
"节点办理方式"
name=
"NodeHandling"
>
<
Select
>
<
Option
value=
{
1
}
>
多人接收,一人办理(
或签
模式)
</
Option
>
<
Option
value=
{
1
}
>
多人接收,一人办理(
抢占
模式)
</
Option
>
<
Option
value=
{
0
}
>
多人接收,多人办理(会签模式)
</
Option
>
<
Option
value=
{
2
}
>
一人接收,一人办理
</
Option
>
</
Select
>
...
...
src/pages/productCenter/webConfig/components/siteConfigDrawer.js
View file @
d34ae4db
...
...
@@ -139,7 +139,7 @@ export default props => {
messageVoice
:
true
,
menuState
:
'open'
,
hideMap
:
false
,
loginTemplate
:
'D
efault.html
'
,
loginTemplate
:
'D
ark
'
,
primaryColor
:
'#0087F7'
,
navTheme
:
'dark'
,
CloudStyle
:
'是'
,
...
...
@@ -154,12 +154,44 @@ export default props => {
const
onGetLoginPages
=
()
=>
{
if
(
loginPages
.
length
===
0
)
{
getLoginPage
().
then
(
res
=>
{
setLoginPages
(
res
.
data
);
setLoginPages
(
res
.
data
);
let
list
=
[
{
label
:
renderTitle
(
'web5内置模板'
),
options
:
[],
},
{
label
:
renderTitle
(
'web4登录模板'
),
options
:
[],
},
];
res
.
data
.
loginTemplate
.
forEach
(
item
=>
{
if
(
item
.
type
===
'web5'
)
{
list
[
0
].
options
.
push
(
renderItem
(
`
${
item
.
title
}
`
));
}
if
(
item
.
type
===
'web4'
)
{
list
[
1
].
options
.
push
(
renderItem
(
`
${
item
.
title
}
`
));
}
});
setLoginPages
(
list
);
});
}
};
const
renderItem
=
title
=>
({
value
:
title
,
label
:
(
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
,
}}
>
{
title
}
<
/div
>
),
});
// 登录搜索头部
const
renderTitle
=
title
=>
<
span
>
{
title
}
<
/span>
;
const
onsubmit
=
()
=>
{
form
.
validateFields
().
then
(
validate
=>
{
console
.
log
(
validate
);
...
...
@@ -326,25 +358,9 @@ export default props => {
>
<
Input
autoComplete
=
"off"
disabled
=
{
isEdit
}
/
>
<
/Form.Item
>
{
/* <Row>
<Col span={20}> */
}
<
Form
.
Item
label
=
"登录模板"
name
=
"loginTemplate"
>
<
AutoComplete
placeholder
=
"请选择登录模板"
options
=
{
loginPages
}
allowClear
/>
{
/* <Select placeholder="请选择登录模板">
{loginPages.map(item => (
<Option value={item.value} key={item.value}>
{item.value}
</Option>
))}
</Select> */
}
<
/Form.Item
>
{
/* </Col> */
}
{
/* <Col span={4}>
<Form.Item>
<Button onClick={addParama}>参数管理</Button>
<
/Form.Item
>
</Col>
</Row> */
}
<
Divider
orientation
=
"left"
style
=
{{
borderTopColor
:
'#99bbe8'
}}
>
主页配置
<
/Divider
>
...
...
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