Commit a42d0aca authored by shaoan123's avatar shaoan123

修改消息平台的输入框的提示语

parent e65a7f5d
Pipeline #32009 passed with stages
in 34 minutes 28 seconds
...@@ -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
......
...@@ -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: '2rem' }} style={{ marginRight: '8rem' }}
> >
<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: '2rem' }} style={{ marginRight: '8rem' }}
> >
<Switch checkedChildren="开启" unCheckedChildren="关闭" onChange={onLogChange} checked={logCheck} /> <Switch checkedChildren="开启" unCheckedChildren="关闭" onChange={onLogChange} checked={logCheck} />
</Item> </Item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment