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>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>
<body>

2
web/client/index.html

@ -11,7 +11,7 @@
<script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</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 >
<body>

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

@ -273,7 +273,7 @@ const Example = (props) => {
修改
</Button>
<Popconfirm
title="删除后对应的项目全局将无法进入和显示,对应的信鸽服务也会被禁用"
title="删除后对应的项目全局将无法进入和显示,对应的信鸽服务也会被删除"
arrowPointAtCenter={false}
showArrow={true}
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) {
close();
}
@ -567,7 +567,7 @@ function pushModal (props) {
placeholder="请选择通知时效"
style={{ width: 285 }}
rules={[{ required: true, message: "请选择通知时效" }]}
initValue={editObj?.timeType.length > 0 ? editObj?.timeType : timeTypePOMS.current}
initValue={editObj?.timeType?.length > 0 ? editObj?.timeType : timeTypePOMS.current}
disabled={timeTypeDis}
multiple
maxTagCount={3}

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

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

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

@ -30,7 +30,7 @@ export function getNavItem (user, dispatch) {
}, {
itemKey: 'carrierPigeon',
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',
items: [{
itemKey: 'emPush', to: '/service/carrierPigeon/emPush', text: 'EM推送'

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

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