diff --git a/src/views/common/push/pushThirdParty/index.vue b/src/views/common/push/pushThirdParty/index.vue
index f5f5a5f..7b4403c 100644
--- a/src/views/common/push/pushThirdParty/index.vue
+++ b/src/views/common/push/pushThirdParty/index.vue
@@ -90,6 +90,9 @@
slots: { customRender: 'action' },
fixed: false
},
+ searchInfo: {
+ status: '1'
+ },
handleSearchInfoFn: () => clearSelectedRowKeys()
});
diff --git a/src/views/common/push/pushThirdParty/thirdParty.data.ts b/src/views/common/push/pushThirdParty/thirdParty.data.ts
index 63b58d8..59a65d1 100644
--- a/src/views/common/push/pushThirdParty/thirdParty.data.ts
+++ b/src/views/common/push/pushThirdParty/thirdParty.data.ts
@@ -1,7 +1,5 @@
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
-import { h } from 'vue';
-import { Tag } from 'ant-design-vue';
/** 表格列配置 */
export const columns: BasicColumn[] = [
@@ -11,7 +9,7 @@ export const columns: BasicColumn[] = [
},
{
title: '企业名称',
- dataIndex: 'enterpName'
+ dataIndex: 'entName'
},
{
title: '手机号',
@@ -34,7 +32,7 @@ export const columns: BasicColumn[] = [
/** 搜索表单配置 */
export const searchFormSchema: FormSchema[] = [
{
- field: 'enterpName',
+ field: 'entName',
label: '企业名称',
component: 'Input',
componentProps: {
@@ -65,7 +63,7 @@ export const formSchema: FormSchema[] = [
required: true,
},
{
- field: 'enterpName',
+ field: 'entName',
label: '企业名称',
component: 'Input',
required: true,
diff --git a/src/views/common/push/pushThirdPartyManage/ThirdPartyManageModal.vue b/src/views/common/push/pushThirdPartyManage/ThirdPartyManageModal.vue
deleted file mode 100644
index bffe90f..0000000
--- a/src/views/common/push/pushThirdPartyManage/ThirdPartyManageModal.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
diff --git a/src/views/common/push/pushThirdPartyManage/index.vue b/src/views/common/push/pushThirdPartyManage/index.vue
deleted file mode 100644
index 4474fda..0000000
--- a/src/views/common/push/pushThirdPartyManage/index.vue
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
- 新增第三方推送
- 修改第三方推送
- 删除第三方推送
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/common/push/pushThirdPartyManage/thirdPartyManage.data.ts b/src/views/common/push/pushThirdPartyManage/thirdPartyManage.data.ts
deleted file mode 100644
index bb6af41..0000000
--- a/src/views/common/push/pushThirdPartyManage/thirdPartyManage.data.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-import { BasicColumn } from '/@/components/Table';
-import { FormSchema } from '/@/components/Table';
-
-/** 表格列配置 */
-export const columns: BasicColumn[] = [
- {
- title: '企业名称',
- dataIndex: 'enterpName'
- },
- {
- title: '是否震动',
- dataIndex: 'isVibration',
- customRender: ({record}) => {
- return ~~record?.isVibration === 0 ? '是' : '否';
- }
- },
- {
- title: '是否响铃',
- dataIndex: 'isSound',
- customRender: ({record}) => {
- return ~~record?.isSound === 0 ? '是' : '否';
- }
- },
- {
- title: '自定义响铃',
- dataIndex: 'customSound',
- },
- {
- title: '创建人',
- dataIndex: 'createByName',
- },
- {
- title: '创建时间',
- dataIndex: 'createTime',
- width: 200
- }
-];
-
-/** 搜索表单配置 */
-export const searchFormSchema: FormSchema[] = [
- {
- field: 'enterpName',
- label: '企业名称',
- component: 'Input',
- componentProps: {
- placeholder: '请输入企业名称',
- },
- colProps: { span: 6 }
- }
-];
-
-/** 表单配置 */
-export const formSchema: FormSchema[] = [
- {
- field: 'id',
- label: 'ID',
- component: 'Input',
- show: false
- },
- {
- field: 'enterpName',
- label: '企业名称',
- component: 'Input',
- required: true,
- colProps: {
- span: 24
- }
- },
- {
- field: 'thirdPartyId',
- label: '第三方ID',
- component: 'Input',
- required: true,
- colProps: {
- span: 12
- }
- },
- {
- field: 'pushTypeId',
- label: '推送类型ID',
- component: 'Input',
- required: true,
- colProps: {
- span: 12
- }
- },
- {
- field: 'isVibration',
- label: '是否震动',
- component: 'RadioGroup',
- defaultValue: '0',
- componentProps: {
- options: [
- { label: '是', value: '0' },
- { label: '否', value: '1' }
- ]
- },
- colProps: {
- span: 12
- }
- },
- {
- field: 'isSound',
- label: '是否响铃',
- component: 'RadioGroup',
- defaultValue: '0',
- componentProps: {
- options: [
- { label: '是', value: '0' },
- { label: '否', value: '1' }
- ]
- },
- colProps: {
- span: 12
- }
- },
- {
- field: 'customSound',
- label: '自定义响铃',
- component: 'Input',
- required: true,
- colProps: {
- span: 24
- }
- },
-];
diff --git a/src/views/common/push/pushTodoThirdParty/index.vue b/src/views/common/push/pushTodoThirdParty/index.vue
index fb90473..b54825e 100644
--- a/src/views/common/push/pushTodoThirdParty/index.vue
+++ b/src/views/common/push/pushTodoThirdParty/index.vue
@@ -84,7 +84,7 @@
fixed: false
},
searchInfo: {
- status: "0"
+ status: '0'
},
handleSearchInfoFn: () => clearSelectedRowKeys()
});