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
27b4a9af
Commit
27b4a9af
authored
Aug 22, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修复web配置接口调两次bug'
parent
f187bbb1
Pipeline
#58295
waiting for manual action with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
NodeEdit.jsx
...rkOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
+1
-1
siteConfigDrawer.js
...es/productCenter/webConfig/components/siteConfigDrawer.js
+7
-0
index.jsx
src/pages/productCenter/webConfig/index.jsx
+1
-4
webMenu.jsx
src/pages/productCenter/webConfig/menuconfig/webMenu.jsx
+3
-3
No files found.
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
View file @
27b4a9af
...
...
@@ -391,7 +391,7 @@ const NodeEdit = props => {
<
Radio
value=
"1"
>
是
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
"
消息接收
"
name=
"IsSendMessage"
>
<
Form
.
Item
label=
"
是否发送短信
"
name=
"IsSendMessage"
>
<
Radio
.
Group
>
<
Radio
value=
{
0
}
>
否
</
Radio
>
<
Radio
value=
{
1
}
>
是
</
Radio
>
...
...
src/pages/productCenter/webConfig/components/siteConfigDrawer.js
View file @
27b4a9af
...
...
@@ -111,6 +111,7 @@ export default props => {
form
.
setFieldsValue
({
messageMarking
:
'All'
,
messageVoice
:
true
,
menuState
:
'open'
,
hideMap
:
false
,
loginTemplate
:
'Default.html'
,
primaryColor
:
'#0087F7'
,
...
...
@@ -454,6 +455,12 @@ export default props => {
<
Radio
value
=
{
false
}
>
关闭
<
/Radio
>
<
/Radio.Group
>
<
/Form.Item
>
<
Form
.
Item
label
=
"菜单状态"
name
=
"menuState"
>
<
Radio
.
Group
>
<
Radio
value
=
"open"
>
开启
<
/Radio
>
<
Radio
value
=
"close"
>
关闭
<
/Radio
>
<
/Radio.Group
>
<
/Form.Item
>
<
/div
>
<
/Form
>
<
ColorLinear
...
...
src/pages/productCenter/webConfig/index.jsx
View file @
27b4a9af
...
...
@@ -82,8 +82,7 @@ const WebConfigPage = props => {
const
updateModuleTree
=
(
userModePrama
,
canceled
=
{
cancel
:
false
})
=>
{
setLoading
(
true
);
console
.
log
(
userModePrama
);
return
getWebModuleTree
(
userModePrama
)
getWebModuleTree
(
userModePrama
)
.
then
(
res
=>
{
const
websArr
=
[
// 暂时不要集成网站
...
...
@@ -106,14 +105,12 @@ const WebConfigPage = props => {
].
flat
(
2
);
if
(
!
canceled
.
cancel
)
{
setWebs
(
websArr
);
console
.
log
(
websArr
[
0
],
'websArr[0]'
);
if
(
!
curWeb
)
setCurWeb
(
websArr
[
0
]);
setLoading
(
false
);
}
})
.
catch
(
err
=>
{
// eslint-disable-next-line no-console
console
.
error
(
err
);
setLoading
(
false
);
});
};
...
...
src/pages/productCenter/webConfig/menuconfig/webMenu.jsx
View file @
27b4a9af
...
...
@@ -68,9 +68,9 @@ const MiniMenu = props => {
console
.
log
(
expendKey
);
getInfo
();
},
[
menuID
,
webid
]);
useEffect
(()
=>
{
getTree
();
},
[]);
//
useEffect(() => {
//
getTree();
//
}, []);
useEffect
(()
=>
{
getTree
();
return
()
=>
{
...
...
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