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

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

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