diff --git a/src/views/common/push/pushBlacklist/index.vue b/src/views/common/push/pushBlacklist/index.vue
index 22801e3..a7d0c6e 100644
--- a/src/views/common/push/pushBlacklist/index.vue
+++ b/src/views/common/push/pushBlacklist/index.vue
@@ -4,27 +4,22 @@
@selection-change="handleSelectionChange"
>
- 新增黑名单
修改黑名单
+ >修改黑名单-->
删除黑名单
+ >移除黑名单
clearSelectedRowKeys()
});
@@ -122,10 +117,10 @@
createConfirm({
iconType: 'warning',
title: '警告',
- content: `是否确认删除编号为${ids}的数据?`,
+ content: `是否确认移除编号为${ids}的数据?`,
onOk: async () => {
await delPushPassList(ids);
- createMessage.success('删除成功!');
+ createMessage.success('移除成功!');
handleRefreshTable();
}
});
diff --git a/src/views/common/push/pushBlacklist/passList.data.ts b/src/views/common/push/pushBlacklist/passList.data.ts
index f1deebf..21f0f0a 100644
--- a/src/views/common/push/pushBlacklist/passList.data.ts
+++ b/src/views/common/push/pushBlacklist/passList.data.ts
@@ -4,12 +4,12 @@ import { FormSchema } from '/@/components/Table';
/** 表格列配置 */
export const columns: BasicColumn[] = [
{
- title: '推送名称',
- dataIndex: 'name'
+ title: '发送方用户id',
+ dataIndex: 'fromPushId'
},
{
- title: '推送ID',
- dataIndex: 'pushManageId'
+ title: '对方用户id',
+ dataIndex: 'toPushId'
},
{
title: '创建人',
@@ -25,11 +25,11 @@ export const columns: BasicColumn[] = [
/** 搜索表单配置 */
export const searchFormSchema: FormSchema[] = [
{
- field: 'name',
- label: '推送名称',
+ field: 'fromPushId',
+ label: '发送方用户id',
component: 'Input',
componentProps: {
- placeholder: '请输入推送名称',
+ placeholder: '请输入发送方用户id',
},
colProps: { span: 6 }
}
@@ -45,14 +45,14 @@ export const formSchema: FormSchema[] = [
},
{
field: 'type',
- label: '名单类型',
+ label: '白名单类型',
component: 'Input',
- defaultValue: "0",
+ defaultValue: '0',
show: false
},
{
- field: 'name',
- label: '推送名称',
+ field: 'fromPushId',
+ label: '发送方用户id',
component: 'Input',
required: true,
colProps: {
@@ -60,8 +60,8 @@ export const formSchema: FormSchema[] = [
}
},
{
- field: 'pushManageId',
- label: '推送ID',
+ field: 'toPushId',
+ label: '对方用户id',
component: 'Input',
required: true,
colProps: {
diff --git a/src/views/common/push/pushThirdParty/index.vue b/src/views/common/push/pushThirdParty/index.vue
index 1d2eda8..ddab040 100644
--- a/src/views/common/push/pushThirdParty/index.vue
+++ b/src/views/common/push/pushThirdParty/index.vue
@@ -10,14 +10,29 @@
修改第三方
+ >修改企业
删除第三方
+ >删除企业
- 新增白名单
修改白名单
+ >修改白名单-->
删除白名单
+ >移除白名单
clearSelectedRowKeys()
});
@@ -120,10 +115,10 @@
createConfirm({
iconType: 'warning',
title: '警告',
- content: `是否确认删除编号为${ids}的数据?`,
+ content: `是否确认移除编号为${ids}的数据?`,
onOk: async () => {
await delPushPassList(ids);
- createMessage.success('删除成功!');
+ createMessage.success('移除成功!');
handleRefreshTable();
}
});
diff --git a/src/views/common/push/pushWhitelist/passList.data.ts b/src/views/common/push/pushWhitelist/passList.data.ts
index 55d7319..151ff9f 100644
--- a/src/views/common/push/pushWhitelist/passList.data.ts
+++ b/src/views/common/push/pushWhitelist/passList.data.ts
@@ -4,12 +4,12 @@ import { FormSchema } from '/@/components/Table';
/** 表格列配置 */
export const columns: BasicColumn[] = [
{
- title: '推送名称',
- dataIndex: 'name'
+ title: '发送方用户id',
+ dataIndex: 'fromPushId'
},
{
- title: '推送ID',
- dataIndex: 'pushManageId'
+ title: '对方用户id',
+ dataIndex: 'toPushId'
},
{
title: '创建人',
@@ -25,11 +25,11 @@ export const columns: BasicColumn[] = [
/** 搜索表单配置 */
export const searchFormSchema: FormSchema[] = [
{
- field: 'name',
- label: '推送名称',
+ field: 'fromPushId',
+ label: '发送方用户id',
component: 'Input',
componentProps: {
- placeholder: '请输入推送名称',
+ placeholder: '请输入发送方用户id',
},
colProps: { span: 6 }
}
@@ -47,11 +47,12 @@ export const formSchema: FormSchema[] = [
field: 'type',
label: '白名单类型',
component: 'Input',
- defaultValue: '1'
+ defaultValue: '1',
+ show: false
},
{
- field: 'name',
- label: '推送名称',
+ field: 'fromPushId',
+ label: '发送方用户id',
component: 'Input',
required: true,
colProps: {
@@ -59,8 +60,8 @@ export const formSchema: FormSchema[] = [
}
},
{
- field: 'pushManageId',
- label: '推送ID',
+ field: 'toPushId',
+ label: '对方用户id',
component: 'Input',
required: true,
colProps: {
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 8ccd5fa..ce8935b 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -27,6 +27,16 @@