Commit fc3337c9 authored by 皮倩雯's avatar 皮倩雯

fix: 消息平台方案配置增加路径'

parent 6268d2e6
Pipeline #73157 passed with stages
...@@ -773,10 +773,10 @@ const AddModal = props => { ...@@ -773,10 +773,10 @@ const AddModal = props => {
</Item> </Item>
</Col> </Col>
</Row> </Row>
<Item label="身份验证" name="siteType"> <Item label="站点类型" name="siteType">
<Radio.Group onChange={onChangeIdentity} value={identity}> <Radio.Group onChange={onChangeIdentity} value={identity}>
<Radio value={0}>被动</Radio> <Radio value={0}>第三方接入</Radio>
<Radio value={1}>主动</Radio> <Radio value={1}>集成SaaS平台</Radio>
</Radio.Group> </Radio.Group>
</Item> </Item>
......
...@@ -184,9 +184,9 @@ const Integrate = () => { ...@@ -184,9 +184,9 @@ const Integrate = () => {
align: 'center', align: 'center',
render: record => { render: record => {
if (record === 0) { if (record === 0) {
return <Tag color="success">被动</Tag>; return <Tag color="success">第三方接入</Tag>;
} }
return <Tag color="processing">主动</Tag>; return <Tag color="processing">集成SaaS平台</Tag>;
}, },
}, },
{ {
......
...@@ -191,6 +191,7 @@ const EditModal = props => { ...@@ -191,6 +191,7 @@ const EditModal = props => {
web_path: template.WebFunctionPath, web_path: template.WebFunctionPath,
message_template: template.MsgTemplateID, message_template: template.MsgTemplateID,
enterprise_template: aa, enterprise_template: aa,
WorkWeiXinPath: template.WorkWeiXinPath,
}); });
setImageUrl(template.WebIcon ? `${window.location.origin}/${template.WebIcon}` : ''); setImageUrl(template.WebIcon ? `${window.location.origin}/${template.WebIcon}` : '');
setIm(template.WebIcon ? template.WebIcon : ''); setIm(template.WebIcon ? template.WebIcon : '');
...@@ -383,6 +384,7 @@ const EditModal = props => { ...@@ -383,6 +384,7 @@ const EditModal = props => {
WorkWeiXinTemplateId: aa, WorkWeiXinTemplateId: aa,
WebIcon: fv.webIcon, WebIcon: fv.webIcon,
Title: fv.Title, Title: fv.Title,
WorkWeiXinPath: fv.WorkWeiXinPath,
}; };
UpdateMessageConfig(a).then(res => { UpdateMessageConfig(a).then(res => {
...@@ -448,6 +450,7 @@ const EditModal = props => { ...@@ -448,6 +450,7 @@ const EditModal = props => {
WorkWeiXinTemplateId: bb, WorkWeiXinTemplateId: bb,
WebIcon: fv.webIcon, WebIcon: fv.webIcon,
Title: fv.Title, Title: fv.Title,
WorkWeiXinPath: fv.WorkWeiXinPath,
}; };
InsertMessageConfig(b).then(res => { InsertMessageConfig(b).then(res => {
if (res.code === 0) { if (res.code === 0) {
...@@ -948,7 +951,7 @@ const EditModal = props => { ...@@ -948,7 +951,7 @@ const EditModal = props => {
onClick={ onClick={
currentTrench.isWEBShow currentTrench.isWEBShow
? () => { ? () => {
pictruePreview(); pictruePreview();
} }
: '' : ''
} }
...@@ -1128,6 +1131,13 @@ const EditModal = props => { ...@@ -1128,6 +1131,13 @@ const EditModal = props => {
))} ))}
</Select> </Select>
</Item> </Item>
<Item label="功能路径" name="WorkWeiXinPath" labelCol={{ span: 5 }}>
<Input
style={{ width: '97%' }}
placeholder="请输入功能路径"
disabled={!currentTrench.isEnterpriseWXShow}
/>
</Item>
</div> </div>
</div> </div>
} }
......
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