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
557d2b0c
Commit
557d2b0c
authored
Jun 29, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改图片库提交为nullbug,web配置配置变化、流程样式修改
parent
065f813e
Pipeline
#54165
passed with stages
Changes
9
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
75 additions
and
60 deletions
+75
-60
index.tsx
src/components/Upload/index.tsx
+1
-1
editor.jsx
...s/bsmanager/base/tablemanager/components/Field/editor.jsx
+2
-2
index.jsx
src/pages/bsmanager/base/tablemanager/index.jsx
+4
-2
flow.jsx
src/pages/bsmanager/workOrder/workFlow/flow.jsx
+1
-1
flowNode.jsx
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNode.jsx
+52
-49
NodeEdit.jsx
...rkOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
+2
-2
siteConfigDrawer.js
...es/productCenter/webConfig/components/siteConfigDrawer.js
+6
-1
index.jsx
src/pages/productCenter/webConfig/index.jsx
+6
-1
config.js
src/routes/config.js
+1
-1
No files found.
src/components/Upload/index.tsx
View file @
557d2b0c
...
@@ -245,7 +245,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
...
@@ -245,7 +245,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
if (!isLt2M) {
if (!isLt2M) {
message.error('
图片必须小于
2
MB
!
');
message.error('
图片必须小于
2
MB
!
');
}
}
return isJpgOrPng && isLt2M;
return isJpgOrPng && isLt2M
|| Upload.LIST_IGNORE;
;
};
};
// componentDidMount() {
// componentDidMount() {
...
...
src/pages/bsmanager/base/tablemanager/components/Field/editor.jsx
View file @
557d2b0c
...
@@ -104,9 +104,9 @@ const AddModal = props => {
...
@@ -104,9 +104,9 @@ const AddModal = props => {
<
Radio
value=
"较小"
>
较小(6)
</
Radio
>
<
Radio
value=
"较小"
>
较小(6)
</
Radio
>
</
Radio
.
Group
>
</
Radio
.
Group
>
</
Item
>
</
Item
>
<
Item
label=
"模板"
name=
"officeTmpl"
>
{
/*
<Item label="模板" name="officeTmpl">
<Input placeholder="请输入模板" allowClear />
<Input placeholder="请输入模板" allowClear />
</
Item
>
</Item>
*/
}
<
Item
label=
"接口"
name=
"interfaceText"
>
<
Item
label=
"接口"
name=
"interfaceText"
>
<
Input
placeholder=
"请输入接口"
allowClear
/>
<
Input
placeholder=
"请输入接口"
allowClear
/>
</
Item
>
</
Item
>
...
...
src/pages/bsmanager/base/tablemanager/index.jsx
View file @
557d2b0c
...
@@ -28,8 +28,10 @@ import {
...
@@ -28,8 +28,10 @@ import {
BorderInnerOutlined
,
BorderInnerOutlined
,
DoubleLeftOutlined
,
DoubleLeftOutlined
,
DoubleRightOutlined
,
DoubleRightOutlined
,
TableOutlined
,
MenuOutlined
,
DatabaseOutlined
,
}
from
'@ant-design/icons'
;
}
from
'@ant-design/icons'
;
import
PageContainer
from
'@/components/BasePageContainer'
;
import
PageContainer
from
'@/components/BasePageContainer'
;
import
{
import
{
CM_Table_LoadTable
,
CM_Table_LoadTable
,
...
@@ -390,7 +392,7 @@ const TableManager = props => {
...
@@ -390,7 +392,7 @@ const TableManager = props => {
/>
/>
</
Tooltip
>
</
Tooltip
>
<
Tooltip
title=
"表配置"
>
<
Tooltip
title=
"表配置"
>
<
Table
Outlined
<
Menu
Outlined
onClick=
{
()
=>
{
onClick=
{
()
=>
{
setType
(
'tableEdit'
);
setType
(
'tableEdit'
);
setVisible
(
true
);
setVisible
(
true
);
...
...
src/pages/bsmanager/workOrder/workFlow/flow.jsx
View file @
557d2b0c
...
@@ -302,7 +302,7 @@ const Flow = () => {
...
@@ -302,7 +302,7 @@ const Flow = () => {
pagination=
{
{
pagination=
{
{
showTotal
:
(
total
,
range
)
=>
`第${range[0]}-${range[1]} 条/共 ${total} 条`
,
showTotal
:
(
total
,
range
)
=>
`第${range[0]}-${range[1]} 条/共 ${total} 条`
,
pageSizeOptions
:
[
10
,
20
,
50
,
100
],
pageSizeOptions
:
[
10
,
20
,
50
,
100
],
defaultPageSize
:
1
0
,
defaultPageSize
:
2
0
,
showQuickJumper
:
true
,
showQuickJumper
:
true
,
showSizeChanger
:
true
,
showSizeChanger
:
true
,
}
}
}
}
...
...
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNode.jsx
View file @
557d2b0c
...
@@ -95,10 +95,13 @@ const FlowNode = () => {
...
@@ -95,10 +95,13 @@ const FlowNode = () => {
dataIndex
:
'name'
,
dataIndex
:
'name'
,
width
:
149
,
width
:
149
,
align
:
'left'
,
align
:
'left'
,
ellipsis
:
{
showTitle
:
true
,
},
render
:
(
text
,
record
)
=>
(
render
:
(
text
,
record
)
=>
(
<
div
<
div
style=
{
{
style=
{
{
paddingLeft
:
60
,
textAlign
:
'center'
,
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
,
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
,
}
}
}
}
>
>
...
@@ -148,15 +151,15 @@ const FlowNode = () => {
...
@@ -148,15 +151,15 @@ const FlowNode = () => {
</
Tooltip
>
</
Tooltip
>
),
),
},
},
{
//
{
title
:
'查看字段'
,
//
title: '查看字段',
dataIndex
:
'extendSeeFields'
,
//
dataIndex: 'extendSeeFields',
align
:
'center'
,
//
align: 'center',
width
:
80
,
//
width: 80,
render
:
(
text
,
record
)
=>
(
//
render: (text, record) => (
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
//
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
),
//
),
},
//
},
{
{
title
:
'字段'
,
title
:
'字段'
,
dataIndex
:
'extendFields'
,
dataIndex
:
'extendFields'
,
...
@@ -204,20 +207,20 @@ const FlowNode = () => {
...
@@ -204,20 +207,20 @@ const FlowNode = () => {
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
),
),
},
},
{
//
{
title
:
'退至'
,
//
title: '退至',
dataIndex
:
'extendRollbackNode'
,
//
dataIndex: 'extendRollbackNode',
align
:
'center'
,
//
align: 'center',
width
:
80
,
//
width: 80,
ellipsis
:
{
//
ellipsis: {
showTitle
:
true
,
//
showTitle: true,
},
//
},
render
:
(
text
,
record
)
=>
(
//
render: (text, record) => (
<
Tooltip
placement=
"topLeft"
title=
{
text
}
>
//
<Tooltip placement="topLeft" title={text}>
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
//
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
</
Tooltip
>
//
</Tooltip>
),
//
),
},
//
},
{
{
title
:
'平级移交'
,
title
:
'平级移交'
,
dataIndex
:
'tranferable'
,
dataIndex
:
'tranferable'
,
...
@@ -227,15 +230,15 @@ const FlowNode = () => {
...
@@ -227,15 +230,15 @@ const FlowNode = () => {
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
),
),
},
},
{
//
{
title
:
'显示事件信息'
,
//
title: '显示事件信息',
dataIndex
:
'eventInformation'
,
//
dataIndex: 'eventInformation',
align
:
'center'
,
//
align: 'center',
width
:
80
,
//
width: 80,
render
:
(
text
,
record
)
=>
(
//
render: (text, record) => (
<
span
style=
{
{
color
:
record
.
colorType
===
2
?
'red'
:
'#000000D9'
}
}
>
{
text
}
</
span
>
//
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
),
//
),
},
//
},
{
{
title
:
'操作'
,
title
:
'操作'
,
align
:
'center'
,
align
:
'center'
,
...
@@ -343,11 +346,11 @@ const FlowNode = () => {
...
@@ -343,11 +346,11 @@ const FlowNode = () => {
align
:
'center'
,
align
:
'center'
,
width
:
150
,
width
:
150
,
},
},
{
//
{
title
:
'查看字段'
,
//
title: '查看字段',
width
:
80
,
//
width: 80,
align
:
'center'
,
//
align: 'center',
},
//
},
{
{
title
:
'字段'
,
title
:
'字段'
,
align
:
'center'
,
align
:
'center'
,
...
@@ -370,21 +373,21 @@ const FlowNode = () => {
...
@@ -370,21 +373,21 @@ const FlowNode = () => {
align
:
'center'
,
align
:
'center'
,
width
:
80
,
width
:
80
,
},
},
// {
// title: '退至',
// align: 'center',
// width: 80,
// },
{
{
title
:
'退至'
,
title
:
'平级移交'
,
align
:
'center'
,
width
:
80
,
},
{
title
:
'评级移交'
,
align
:
'center'
,
width
:
80
,
},
{
title
:
'显示事件信息'
,
align
:
'center'
,
align
:
'center'
,
width
:
80
,
width
:
80
,
},
},
// {
// title: '显示事件信息',
// align: 'center',
// width: 80,
// },
{
{
title
:
'操作'
,
title
:
'操作'
,
align
:
'center'
,
align
:
'center'
,
...
...
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
View file @
557d2b0c
...
@@ -425,7 +425,7 @@ const NodeEdit = props => {
...
@@ -425,7 +425,7 @@ const NodeEdit = props => {
/>
/>
</
div
>
</
div
>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
{
/*
<Form.Item
label={
label={
<div className={styles.formData_label}>
<div className={styles.formData_label}>
{form.getFieldValue('OutSeeFields') ? (
{form.getFieldValue('OutSeeFields') ? (
...
@@ -451,7 +451,7 @@ const NodeEdit = props => {
...
@@ -451,7 +451,7 @@ const NodeEdit = props => {
}}
}}
/>
/>
</div>
</div>
</
Form
.
Item
>
</Form.Item>
*/
}
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Input
placeholder=
"请配置前端视图"
/>
<
Input
placeholder=
"请配置前端视图"
/>
</
Form
.
Item
>
</
Form
.
Item
>
...
...
src/pages/productCenter/webConfig/components/siteConfigDrawer.js
View file @
557d2b0c
...
@@ -24,7 +24,7 @@ import Upload from '@/components/Upload';
...
@@ -24,7 +24,7 @@ import Upload from '@/components/Upload';
import
styles
from
'./siteConfigDrawer.less'
;
import
styles
from
'./siteConfigDrawer.less'
;
const
{
Option
}
=
Select
;
const
{
Option
}
=
Select
;
const
plainOptions
=
[
'搜索'
,
'消息'
,
'反馈'
];
const
plainOptions
=
[
'搜索'
,
'消息'
,
'反馈'
];
const
defaultCheckedList
=
[
'搜索'
,
'消息'
];
const
defaultCheckedList
=
[
'搜索'
,
'消息'
,
'反馈'
];
const
colorList
=
[
const
colorList
=
[
{
{
key
:
'科技蓝'
,
key
:
'科技蓝'
,
...
@@ -36,6 +36,11 @@ const colorList = [
...
@@ -36,6 +36,11 @@ const colorList = [
color
:
'#009C73'
,
color
:
'#009C73'
,
headerColor
:
'linear-gradient(0deg, #00845D 0%, #02BF87 100%)'
,
headerColor
:
'linear-gradient(0deg, #00845D 0%, #02BF87 100%)'
,
},
},
{
key
:
'清澈蓝'
,
color
:
'#1890FF'
,
headerColor
:
'#1890FF'
,
},
];
];
export
default
props
=>
{
export
default
props
=>
{
...
...
src/pages/productCenter/webConfig/index.jsx
View file @
557d2b0c
...
@@ -219,7 +219,12 @@ const WebConfigPage = props => {
...
@@ -219,7 +219,12 @@ const WebConfigPage = props => {
if
(
isSite
)
{
if
(
isSite
)
{
url
=
val
;
url
=
val
;
}
else
{
}
else
{
url
=
localStorage
.
getItem
(
'pd2-baseUrl'
)
?
localStorage
.
getItem
(
'pd2-baseUrl'
)
+
val
:
val
;
url
=
localStorage
.
getItem
(
'pd2-baseUrl'
)
&&
localStorage
.
getItem
(
'pd2-baseUrl'
)
!=
'null'
&&
localStorage
.
getItem
(
'pd2-baseUrl'
)
!=
'undefined'
?
localStorage
.
getItem
(
'pd2-baseUrl'
)
+
val
:
val
;
}
}
return
url
;
return
url
;
};
};
...
...
src/routes/config.js
View file @
557d2b0c
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
routes
:
[
routes
:
[
{
{
path
:
'/authority/user'
,
path
:
'/authority/user'
,
name
:
'
机构
管理'
,
name
:
'
用户
管理'
,
component
:
UserManage
,
component
:
UserManage
,
},
},
{
{
...
...
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