diff --git a/src/views/media/Cascade/index.vue b/src/views/media/Cascade/index.vue
index 71b281c7..546b7a17 100644
--- a/src/views/media/Cascade/index.vue
+++ b/src/views/media/Cascade/index.vue
@@ -17,7 +17,13 @@
:gridColumn="2"
>
- 新增
+
+ 新增
+
-
-
-
-
-
-
-
- {{ item.text }}
-
-
-
-
-
- {{ item.text }}
-
-
-
-
+
@@ -141,38 +113,7 @@
-
-
-
-
-
-
-
-
-
+
@@ -331,7 +272,7 @@ const getActions = (
if (!data) return [];
const actions = [
{
- key: 'edit',
+ key: 'update',
text: '编辑',
tooltip: {
title: '编辑',
@@ -348,7 +289,7 @@ const getActions = (
},
},
{
- key: 'view',
+ key: 'channel',
text: '选择通道',
tooltip: {
title: '选择通道',
@@ -365,7 +306,7 @@ const getActions = (
},
},
{
- key: 'debug',
+ key: 'push',
text: '推送',
tooltip: {
title:
diff --git a/src/views/media/Device/index.vue b/src/views/media/Device/index.vue
index f3a592c2..8906b669 100644
--- a/src/views/media/Device/index.vue
+++ b/src/views/media/Device/index.vue
@@ -15,7 +15,13 @@
:params="params"
>
- 新增
+
+ 新增
+
-
-
-
-
-
-
+
-
-
- {{ item.text }}
-
+
+ {{ item?.text }}
-
+
-
-
-
-
-
-
-
-
+
+
+
@@ -254,7 +242,7 @@ const getActions = (
if (!data) return [];
const actions = [
{
- key: 'edit',
+ key: 'update',
text: '编辑',
tooltip: {
title: '编辑',
@@ -278,9 +266,6 @@ const getActions = (
},
icon: 'PartitionOutlined',
onClick: () => {
- // router.push(
- // `/media/device/Channel?id=${data.id}&type=${data.provider}`,
- // );
menuStory.jumpPage(
'media/Device/Channel',
{},
@@ -292,7 +277,7 @@ const getActions = (
},
},
{
- key: 'debug',
+ key: 'view', // updateChannel
text: '更新通道',
tooltip: {
title:
@@ -311,6 +296,7 @@ const getActions = (
icon: 'SyncOutlined',
onClick: () => {
// updateChannel()
+ console.log('updateChannel: ', data);
},
},
{
diff --git a/src/views/notice/Config/index.vue b/src/views/notice/Config/index.vue
index 25280a0d..1c57b19e 100644
--- a/src/views/notice/Config/index.vue
+++ b/src/views/notice/Config/index.vue
@@ -17,16 +17,22 @@
>
-
+
新增
-
+
- 导入
+
+ 导入
+
- 导出
+
+ 导出
+
@@ -95,34 +103,45 @@
v-for="(o, i) in item.children"
:key="i"
>
-
-
+
+
+
{{ o.text }}
-
+
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+
{{ item.text }}
-
+
@@ -130,37 +149,24 @@
-
-
-
-
-
-
-
-
+
+
+
@@ -324,7 +330,7 @@ const getActions = (
if (!data) return [];
const actions = [
{
- key: 'edit',
+ key: 'update',
text: '编辑',
tooltip: {
title: '编辑',
@@ -349,7 +355,7 @@ const getActions = (
},
},
{
- key: 'debug',
+ key: 'log',
text: '通知记录',
tooltip: {
title: '通知记录',
@@ -385,7 +391,7 @@ const getActions = (
icon: 'EllipsisOutlined',
children: [
{
- key: 'debug',
+ key: 'export',
text: '导出',
tooltip: {
title: '导出',
@@ -396,7 +402,7 @@ const getActions = (
},
},
{
- key: 'sync',
+ key: 'bind',
text: '同步用户',
tooltip: {
title: '同步用户',
diff --git a/src/views/notice/Template/index.vue b/src/views/notice/Template/index.vue
index 6d684d03..8e785387 100644
--- a/src/views/notice/Template/index.vue
+++ b/src/views/notice/Template/index.vue
@@ -17,16 +17,24 @@
>
-
+
新增
-
+
- 导入
+
+ 导入
+
- 导出
+
+ 导出
+
@@ -77,42 +89,24 @@
-
-
-
-
-
-
- {{ item.text }}
-
-
-
+
-
-
-
-
- {{ item.text }}
-
-
+
+ {{ item?.text }}
-
+
@@ -126,37 +120,24 @@
-
-
-
-
-
-
-
-
+
+
+
@@ -286,7 +267,7 @@ const handleAdd = () => {
* 导入
*/
const beforeUpload = (file: any) => {
- console.log('file: ', file);
+ // console.log('file: ', file);
const reader = new FileReader();
reader.readAsText(file);
reader.onload = async (result) => {
@@ -330,7 +311,7 @@ const getActions = (
if (!data) return [];
const actions = [
{
- key: 'edit',
+ key: 'update',
text: '编辑',
tooltip: {
title: '编辑',
@@ -355,7 +336,7 @@ const getActions = (
},
},
{
- key: 'debug',
+ key: 'export',
text: '导出',
tooltip: {
title: '导出',
@@ -366,7 +347,7 @@ const getActions = (
},
},
{
- key: 'debug',
+ key: 'log',
text: '通知记录',
tooltip: {
title: '通知记录',