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
a42d0aca
Commit
a42d0aca
authored
Jul 23, 2021
by
shaoan123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改消息平台的输入框的提示语
parent
e65a7f5d
Pipeline
#32009
passed with stages
in 34 minutes 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
EditModal.jsx
...nter/messageManage/projectManage/components/EditModal.jsx
+1
-2
VisibleIISAgentConfig.jsx
...anage/components/IISAgentConfig/VisibleIISAgentConfig.jsx
+6
-4
No files found.
src/pages/platformCenter/messageManage/projectManage/components/EditModal.jsx
View file @
a42d0aca
...
@@ -184,7 +184,6 @@ const EditModal = props => {
...
@@ -184,7 +184,6 @@ const EditModal = props => {
WebTemplateID
:
fv
.
web_template
,
WebTemplateID
:
fv
.
web_template
,
PushGroup
:
fv
.
to_person
.
toString
()
PushGroup
:
fv
.
to_person
.
toString
()
}
}
console
.
log
(
b
)
InsertMessageConfig
(
b
).
then
(
InsertMessageConfig
(
b
).
then
(
res
=>
{
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
...
@@ -397,7 +396,7 @@ const EditModal = props => {
...
@@ -397,7 +396,7 @@ const EditModal = props => {
currentTrench
.
isMessageShow
&&
(
currentTrench
.
isMessageShow
&&
(
<
div
className=
{
styles
.
trench_card
}
>
<
div
className=
{
styles
.
trench_card
}
>
<
div
className=
{
styles
.
card_title
}
>
<
div
className=
{
styles
.
card_title
}
>
<
div
className=
{
styles
.
lable
}
>
短信
推送
</
div
>
<
div
className=
{
styles
.
lable
}
>
短信
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
<
Item
...
...
src/pages/platformCenter/messageManage/projectManage/components/IISAgentConfig/VisibleIISAgentConfig.jsx
View file @
a42d0aca
...
@@ -189,11 +189,13 @@ const VisibleIISAgentConfig = props => {
...
@@ -189,11 +189,13 @@ const VisibleIISAgentConfig = props => {
}
}
const
handleExe
=
(
e
)
=>
{
const
handleExe
=
(
e
)
=>
{
let
value
=
e
.
target
.
value
let
value
=
e
.
target
.
value
console
.
log
(
'isTypeValue'
,
isTypeValue
);
setIsType
(
value
)
setIsType
(
value
)
if
(
value
===
'执行一次'
)
{
if
(
value
===
'执行一次'
)
{
changeLoopMode
(
'ByOnce'
)
changeLoopMode
(
'ByOnce'
)
setExeType
(
false
)
setExeType
(
false
)
}
else
{
}
else
{
changeLoopMode
(
'BYLOOP'
)
setExeType
(
true
)
setExeType
(
true
)
}
}
}
}
...
@@ -254,7 +256,7 @@ const VisibleIISAgentConfig = props => {
...
@@ -254,7 +256,7 @@ const VisibleIISAgentConfig = props => {
name=
"url_path"
name=
"url_path"
style=
{
{
marginBottom
:
'0'
}
}
style=
{
{
marginBottom
:
'0'
}
}
>
>
<
TextArea
rows=
{
3
}
placeholder=
"请
求头,选填
"
/>
<
TextArea
rows=
{
3
}
placeholder=
"请
输入URL名称
"
/>
</
Item
>
</
Item
>
</
Item
>
</
Item
>
...
@@ -262,7 +264,7 @@ const VisibleIISAgentConfig = props => {
...
@@ -262,7 +264,7 @@ const VisibleIISAgentConfig = props => {
label=
"请求头"
label=
"请求头"
name=
"request_header"
name=
"request_header"
>
>
<
Input
placeholder=
"请
输入URL名称
"
/>
<
Input
placeholder=
"请
求头,选填
"
/>
</
Item
>
</
Item
>
<
Item
<
Item
label=
"计划类型"
label=
"计划类型"
...
@@ -395,7 +397,7 @@ const VisibleIISAgentConfig = props => {
...
@@ -395,7 +397,7 @@ const VisibleIISAgentConfig = props => {
>
<
div
style=
{
{
display
:
'flex'
}
}
>
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Item
<
Item
name=
"post_state"
name=
"post_state"
style=
{
{
marginRight
:
'
2
rem'
}
}
style=
{
{
marginRight
:
'
8
rem'
}
}
>
>
<
Switch
checkedChildren=
"开启"
unCheckedChildren=
"关闭"
onChange=
{
onPostChange
}
checked=
{
postCheck
}
/>
<
Switch
checkedChildren=
"开启"
unCheckedChildren=
"关闭"
onChange=
{
onPostChange
}
checked=
{
postCheck
}
/>
</
Item
>
</
Item
>
...
@@ -414,7 +416,7 @@ const VisibleIISAgentConfig = props => {
...
@@ -414,7 +416,7 @@ const VisibleIISAgentConfig = props => {
>
<
div
style=
{
{
display
:
'flex'
}
}
>
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Item
<
Item
name=
"enable_log"
name=
"enable_log"
style=
{
{
marginRight
:
'
2
rem'
}
}
style=
{
{
marginRight
:
'
8
rem'
}
}
>
>
<
Switch
checkedChildren=
"开启"
unCheckedChildren=
"关闭"
onChange=
{
onLogChange
}
checked=
{
logCheck
}
/>
<
Switch
checkedChildren=
"开启"
unCheckedChildren=
"关闭"
onChange=
{
onLogChange
}
checked=
{
logCheck
}
/>
</
Item
>
</
Item
>
...
...
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