Commit daf77f46 authored by 周宏民's avatar 周宏民

pref: 新源集成登录修改,集成登录配置添加appSecret

parent cf595a6f
Pipeline #95590 waiting for manual action with stages
...@@ -211,13 +211,13 @@ const XinyuanCityPage = props => { ...@@ -211,13 +211,13 @@ const XinyuanCityPage = props => {
<div <div
className={classNames( className={classNames(
styles.integration_col3_list_item, styles.integration_col3_list_item,
item.label !== '报装管理' && integrationData['业务中心'] item.label !== '报装管理' && integrationData.JPCD
? styles.integration_row_col_link ? styles.integration_row_col_link
: styles.integration_row_col_no, : styles.integration_row_col_no,
)} )}
key={item.label} key={item.label}
name={item.label} name={item.label}
onClick={() => item.label !== '报装管理' && onLink(integrationData['业务中心'], loginAction)} onClick={() => item.label !== '报装管理' && onLink(integrationData.JPCD, loginAction)}
> >
<img src={imgMap[item.label]} alt={item.label} /> <img src={imgMap[item.label]} alt={item.label} />
<div className={styles.integration_col3_list_item_label}>{item.label}</div> <div className={styles.integration_col3_list_item_label}>{item.label}</div>
......
...@@ -187,15 +187,13 @@ const XinyuanVillagePage = props => { ...@@ -187,15 +187,13 @@ const XinyuanVillagePage = props => {
<div <div
className={classNames( className={classNames(
styles.integration_col3_list_item, styles.integration_col3_list_item,
item.label !== '报装管理' && integrationData['中西部乡镇业务中心'] item.label !== '报装管理' && integrationData.XZYS
? styles.integration_row_col_link ? styles.integration_row_col_link
: styles.integration_row_col_no, : styles.integration_row_col_no,
)} )}
key={item.label} key={item.label}
name={item.label} name={item.label}
onClick={() => onClick={() => item.label !== '报装管理' && onLink(integrationData.XZYS, loginAction)}
item.label !== '报装管理' && onLink(integrationData['中西部乡镇业务中心'], loginAction)
}
> >
<img src={imgMap[item.label]} alt={item.label} /> <img src={imgMap[item.label]} alt={item.label} />
<div className={styles.integration_col3_list_item_label}>{item.label}</div> <div className={styles.integration_col3_list_item_label}>{item.label}</div>
......
...@@ -642,6 +642,25 @@ const AddModal = props => { ...@@ -642,6 +642,25 @@ const AddModal = props => {
> >
<Input placeholder="请输入" /> <Input placeholder="请输入" />
</Item> </Item>
<Item
label="AppSecret"
name="appSecret"
className={styles.disabledInput}
tooltip={{
title: '第三方平台对接使用,先输入AppKey(需为全英文字符),再点击按钮生成AppSecret',
icon: <InfoCircleOutlined />,
}}
>
<Input
disabled
placeholder="请点击按钮生成AppSecret"
suffix={
<Tooltip title="点击按钮重新生成AppSecret">
<RedoOutlined style={{ fontSize: 'bold', color: 'rgba(25,128,255,0.74)' }} onClick={refreshAppSecret} />
</Tooltip>
}
/>
</Item>
</Form> </Form>
<PreviewModal <PreviewModal
visible={previewModal} visible={previewModal}
......
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