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
bd6984d0
Commit
bd6984d0
authored
1 year ago
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 'mobile功能配置新增角标API配置'
parent
d7e3bf7e
Pipeline
#86281
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
3 deletions
+35
-3
AddForm.jsx
src/pages/productCenter/mobileConfig/menuconfig/AddForm.jsx
+17
-1
editForm.jsx
src/pages/productCenter/mobileConfig/menuconfig/editForm.jsx
+18
-2
No files found.
src/pages/productCenter/mobileConfig/menuconfig/AddForm.jsx
View file @
bd6984d0
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Form
,
Input
,
Button
,
Row
,
Col
}
from
'antd'
;
import
{
Form
,
Input
,
Button
,
Row
,
Col
,
Tooltip
}
from
'antd'
;
import
{
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'./addForm.less'
;
import
PicturesWall
from
'@/components/Upload/index'
;
import
CheckList
from
'./checkBox'
;
...
...
@@ -38,6 +41,13 @@ const AddForm = props => {
const
finish
=
()
=>
{
submit
();
};
const
appNumHtml
=
(
<
div
>
角标消息
<
Tooltip
placement=
"top"
title=
"路径前面不用斜杠 / ,接口api必须按照标准.net Core结构返回,返回的data数据必须是int"
arrowPointAtCenter
>
<
span
className=
{
styles
.
serchIcon
}
><
QuestionCircleOutlined
/></
span
>
</
Tooltip
>
</
div
>
)
useEffect
(()
=>
{},
[
nodeObj
,
addType
]);
return
(
<
div
>
...
...
@@ -183,6 +193,12 @@ const AddForm = props => {
<
PicturesWall
picType=
"androidMenu"
/>
</
Item
>
)
}
<
Item
label=
{
appNumHtml
}
name=
"tipFrom"
>
<
Input
style=
{
{
width
:
'100%'
}
}
placeholder=
"请输入接口API"
/>
</
Item
>
<
Item
label=
"功能路径"
name=
"pageUrl"
...
...
This diff is collapsed.
Click to expand it.
src/pages/productCenter/mobileConfig/menuconfig/editForm.jsx
View file @
bd6984d0
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Form
,
Input
,
Button
,
Row
,
Col
,
notification
,
Checkbox
}
from
'antd'
;
import
{
Form
,
Input
,
Button
,
Row
,
Col
,
notification
,
Checkbox
,
Tooltip
}
from
'antd'
;
import
classnames
from
'classnames'
;
import
styles
from
'./addForm.less'
;
import
PicturesWall
from
'@/components/Upload/index'
;
import
ParmarModal
from
'./ParmarModal'
;
import
{
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
CheckList
from
'./checkBox'
;
const
{
Item
}
=
Form
;
const
EditForm
=
props
=>
{
const
{
submitCallback
,
nodeType
,
info
,
inf
,
checkList
,
valueCallback
=
()
=>
{}
}
=
props
;
const
{
submitCallback
,
nodeType
,
info
,
inf
,
checkList
,
valueCallback
=
()
=>
{
}
}
=
props
;
// 处理pageUrl回显
if
(
info
.
product
)
{
// if(info.product === 'flutter') {
...
...
@@ -274,6 +277,13 @@ const EditForm = props => {
}
setPlainOptions
(
list
);
};
const
appNumHtml
=
(
<
div
>
角标消息
<
Tooltip
placement=
"top"
title=
"路径前面不用斜杠 / ,接口api必须按照标准.net Core结构返回,返回的data数据必须是int"
arrowPointAtCenter
>
<
span
className=
{
styles
.
serchIcon
}
><
QuestionCircleOutlined
/></
span
>
</
Tooltip
>
</
div
>
)
return
(
<
div
className=
{
classnames
({
[
styles
.
divbox
]:
true
})
}
>
{
(
nodeType
===
1
||
nodeType
===
2
)
&&
(
...
...
@@ -406,6 +416,12 @@ const EditForm = props => {
<
PicturesWall
picType=
"androidMenu"
style=
{
{
width
:
'100%'
}
}
/>
</
Item
>
)
}
<
Item
label=
{
appNumHtml
}
name=
"tipFrom"
>
<
Input
style=
{
{
width
:
'100%'
}
}
placeholder=
"请输入接口API"
/>
</
Item
>
<
Item
name=
"pageUrl"
label=
"功能路径"
...
...
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