Browse Source

em推送

dev
deartibers 2 years ago
parent
commit
ab6f9fbd28
  1. 2
      web/client/index.ejs
  2. 2
      web/client/index.html
  3. 2
      web/client/src/sections/install/containers/system.jsx
  4. 4
      web/client/src/sections/service/components/pushModal.jsx
  5. 3
      web/client/src/sections/service/containers/emPush.jsx
  6. 2
      web/client/src/sections/service/nav-item.jsx
  7. 8
      web/client/src/sections/service/style.less

2
web/client/index.ejs

@ -11,7 +11,7 @@
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</script> <script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</script>
<script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_19077_10.1efd80a22a5e53e48737fd5ab150ffd2.es5.js"></script> <script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_19077_11.559b91c217b8ddc76c0c4b1397d84d48.es5.js"></script>
</head> </head>
<body> <body>

2
web/client/index.html

@ -11,7 +11,7 @@
<script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</script> <script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</script>
<script <script
src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_19077_11.27aacefc59cea1cbc86236576463a6d2.es5.js"></script> src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_19077_11.559b91c217b8ddc76c0c4b1397d84d48.es5.js"></script>
</head > </head >
<body> <body>

2
web/client/src/sections/install/containers/system.jsx

@ -273,7 +273,7 @@ const Example = (props) => {
修改 修改
</Button> </Button>
<Popconfirm <Popconfirm
title="删除后对应的项目全局将无法进入和显示,对应的信鸽服务也会被禁用" title="删除后对应的项目全局将无法进入和显示,对应的信鸽服务也会被删除"
arrowPointAtCenter={false} arrowPointAtCenter={false}
showArrow={true} showArrow={true}
position="topRight" position="topRight"

4
web/client/src/sections/service/components/pushModal.jsx

@ -224,7 +224,7 @@ function pushModal (props) {
}) })
} }
} }
dispatch(service.postPush({ pushId: pushId, ...obj, msg: '编辑推送配置' })).then((res) => {//(PEP) dispatch(service.postPush({ pushId: editObj.id, ...obj, msg: '编辑推送配置' })).then((res) => {//(PEP)
if (res.success) { if (res.success) {
close(); close();
} }
@ -567,7 +567,7 @@ function pushModal (props) {
placeholder="请选择通知时效" placeholder="请选择通知时效"
style={{ width: 285 }} style={{ width: 285 }}
rules={[{ required: true, message: "请选择通知时效" }]} rules={[{ required: true, message: "请选择通知时效" }]}
initValue={editObj?.timeType.length > 0 ? editObj?.timeType : timeTypePOMS.current} initValue={editObj?.timeType?.length > 0 ? editObj?.timeType : timeTypePOMS.current}
disabled={timeTypeDis} disabled={timeTypeDis}
multiple multiple
maxTagCount={3} maxTagCount={3}

3
web/client/src/sections/service/containers/emPush.jsx

@ -662,6 +662,7 @@ const EmPush = (props) => {
marginLeft: 32 marginLeft: 32
}} }}
onClick={() => { onClick={() => {
setEditObj({})
setPushModal(true); setPushModal(true);
setPushEdit(false); setPushEdit(false);
}} }}
@ -688,7 +689,7 @@ const EmPush = (props) => {
hideExpandedColumn={false} hideExpandedColumn={false}
empty="暂无数据" empty="暂无数据"
expandedRowRender={expandRowRender} expandedRowRender={expandRowRender}
pagination={false} // pagination={false}
onRow={handleRow} onRow={handleRow}
/> />
</Skeleton> </Skeleton>

2
web/client/src/sections/service/nav-item.jsx

@ -30,7 +30,7 @@ export function getNavItem (user, dispatch) {
}, { }, {
itemKey: 'carrierPigeon', itemKey: 'carrierPigeon',
text: '信鸽服务', text: '信鸽服务',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>, icon: <iconpark-icon style={{ width: 20, height: 20 }} name="xingefuwu"></iconpark-icon>,
to: '/service/carrierPigeon/emPush', to: '/service/carrierPigeon/emPush',
items: [{ items: [{
itemKey: 'emPush', to: '/service/carrierPigeon/emPush', text: 'EM推送' itemKey: 'emPush', to: '/service/carrierPigeon/emPush', text: 'EM推送'

8
web/client/src/sections/service/style.less

@ -3,11 +3,3 @@
margin-bottom: 0px !important; margin-bottom: 0px !important;
} }
} }
.emPushTable{
// .semi-table-row-cell:first-child{
// display: flex !important;
// }
// .semi-table-row-cell{
// display: flex !important;
// }
}
Loading…
Cancel
Save