From 4531e7fd103f59ead9258f149a836c9b2fd5ff50 Mon Sep 17 00:00:00 2001
From: wangxiang <1827945911@qq.com>
Date: Mon, 27 Feb 2023 18:05:32 +0800
Subject: [PATCH] =?UTF-8?q?:rocket:=20=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/common/push/pushBlacklist/index.vue | 19 ++---
.../push/pushBlacklist/passList.data.ts | 26 +++----
.../common/push/pushThirdParty/index.vue | 78 ++++++++++++++++++-
.../common/push/pushTodoThirdParty/index.vue | 28 -------
src/views/common/push/pushWhitelist/index.vue | 19 ++---
.../push/pushWhitelist/passList.data.ts | 25 +++---
src/views/system/user/index.vue | 49 +++++++++++-
7 files changed, 163 insertions(+), 81 deletions(-)
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 @@