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
072ee41e
Commit
072ee41e
authored
Nov 11, 2024
by
涂伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/maintenance
parents
283bf7be
727ab1b2
Pipeline
#93810
passed with stages
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
1 deletion
+30
-1
ConfgUndertake.jsx
...lowChartComponents/nodeModalComponents/ConfgUndertake.jsx
+19
-1
index.js
.../productCenter/mobileConfig/menuconfig/ApkUpload/index.js
+0
-0
index.less
...roductCenter/mobileConfig/menuconfig/ApkUpload/index.less
+9
-0
api.js
src/services/mobileConfig/api.js
+2
-0
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/ConfgUndertake.jsx
View file @
072ee41e
import
React
,
{
useState
,
useEffect
,
useRef
,
forwardRef
,
useImperativeHandle
}
from
'react'
;
import
{
Space
,
Button
,
Divider
,
Table
,
Tooltip
,
message
}
from
'antd'
;
import
{
Space
,
Button
,
Divider
,
Table
,
Tooltip
,
message
,
Switch
}
from
'antd'
;
import
{
DeleteOutlined
,
EditTwoTone
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
debounce
from
'lodash/debounce'
;
import
RoalChoose
from
'./RoalChoose'
;
...
...
@@ -13,11 +13,13 @@ const ConfgUndertake = (props, ref) => {
const
[
chooseUser
,
setChooseUser
]
=
useState
();
// 当前编辑角色或者机构的默认承办人
const
[
showUnderTaker
,
setShowUnderTaker
]
=
useState
(
false
);
// 是否显示选择默认承办人弹窗
const
[
roleList
,
setRoleList
]
=
useState
([]);
const
[
IsDynamicDefaultUser
,
setIsDynamicDefaultUser
]
=
useState
(
0
)
const
delayedNodeChange
=
useRef
(
debounce
(
list
=>
nodeChage
(
'roleList'
,
list
),
500
)).
current
;
useImperativeHandle
(
ref
,
()
=>
({
getParmar
,
}));
useEffect
(()
=>
{
setIsDynamicDefaultUser
(
editMsg
.
IsDynamicDefaultUser
||
0
)
setRoleList
(
editMsg
.
roleList
);
},
[
editMsg
]);
const
getParmar
=
()
=>
({
roleList
});
...
...
@@ -55,6 +57,11 @@ const ConfgUndertake = (props, ref) => {
nodeChage
(
'roleList'
,
list
);
setShowUnderTaker
(
false
);
};
const
onChangeDefaultUser
=
e
=>
{
setIsDynamicDefaultUser
(
e
?
1
:
0
)
nodeChage
(
'IsDynamicDefaultUser'
,
e
?
1
:
0
);
};
// 定义表格
const
columns
=
[
{
...
...
@@ -192,6 +199,17 @@ const ConfgUndertake = (props, ref) => {
})
}
pagination=
{
false
}
/>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'right'
,
marginTop
:
14
,
marginBottom
:
'12px'
}
}
>
是否动态承办人
<
Switch
style=
{
{
marginLeft
:
'5px'
}
}
checked=
{
IsDynamicDefaultUser
!==
0
}
onChange=
{
onChangeDefaultUser
}
/>
</
div
>
<
div
className=
{
styles
.
titleBox
}
style=
{
{
color
:
'#BCBCBC'
,
fontSize
:
14
,
paddingLeft
:
20
}
}
>
开启动态承办人后当前角色里所有人都是承办人
</
div
>
<
RoalChoose
roleList=
{
roleList
}
visible=
{
showRoal
}
...
...
src/pages/productCenter/mobileConfig/menuconfig/ApkUpload/index.js
View file @
072ee41e
This diff is collapsed.
Click to expand it.
src/pages/productCenter/mobileConfig/menuconfig/ApkUpload/index.less
View file @
072ee41e
.apkUpload{
:global{
.newVer-row{
background-color: #e6f7ff; /* 淡蓝色背景 */
font-weight: bold; /* 粗体字体 */
color: #1890ff; /* Ant Design主色 */
}
}
}
src/services/mobileConfig/api.js
View file @
072ee41e
...
...
@@ -124,3 +124,5 @@ export const upgradeCardVersion = parmas => post(`${PUBLISH_SERVICE}/WebSite/App
export
const
postAppVersionInfo
=
parmas
=>
post
(
`
${
PUBLISH_SERVICE
}
/Mobile/PostAppVersionInfo`
,
parmas
);
export
const
getAppUploadRecords
=
parmas
=>
get
(
`
${
PUBLISH_SERVICE
}
/Mobile/GetAppUploadRecords`
,
parmas
);
export
const
getApkVerionInfo
=
parmas
=>
get
(
`
${
PUBLISH_SERVICE
}
/FileCenter/GetApkVerionInfo`
,
parmas
);
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