|
@@ -613,10 +613,9 @@ const ElTreeMenuClick = async ({ data, keys }) => {
|
|
{ icon: 'refresh', label: '文件同步', key: 'fileSync' },
|
|
{ icon: 'refresh', label: '文件同步', key: 'fileSync' },
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
]
|
|
]
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- // 声像节点显示声像文件同步菜单
|
|
|
|
if (data?.associationType === 3) {
|
|
if (data?.associationType === 3) {
|
|
|
|
+ //声像
|
|
ElTreeMenu.value = [
|
|
ElTreeMenu.value = [
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
{ icon: 'draft', label: '编辑', key: 'edit' },
|
|
{ icon: 'draft', label: '编辑', key: 'edit' },
|
|
@@ -626,6 +625,7 @@ const ElTreeMenuClick = async ({ data, keys }) => {
|
|
{ icon: 'refresh', label: '声像文件同步', key: 'syncVocie' },
|
|
{ icon: 'refresh', label: '声像文件同步', key: 'syncVocie' },
|
|
]
|
|
]
|
|
} else if (data?.associationType === 6) {
|
|
} else if (data?.associationType === 6) {
|
|
|
|
+ //日志
|
|
ElTreeMenu.value = [
|
|
ElTreeMenu.value = [
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
{ icon: 'draft', label: '编辑', key: 'edit' },
|
|
{ icon: 'draft', label: '编辑', key: 'edit' },
|
|
@@ -634,6 +634,16 @@ const ElTreeMenuClick = async ({ data, keys }) => {
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
{ icon: 'refresh', label: '日志文件同步', key: 'syncVocie' },
|
|
{ icon: 'refresh', label: '日志文件同步', key: 'syncVocie' },
|
|
]
|
|
]
|
|
|
|
+ } else if (data?.associationType === 2) {
|
|
|
|
+ //试验
|
|
|
|
+ ElTreeMenu.value = [
|
|
|
|
+ { icon: 'add-circle', label: '新增', key: 'add' },
|
|
|
|
+ { icon: 'draft', label: '编辑', key: 'edit' },
|
|
|
|
+ { icon: 'delete-bin', label: '删除', key: 'del' },
|
|
|
|
+ { icon: 'refresh', label: '目录同步', key: 'sync' },
|
|
|
|
+ { icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
|
|
+ { icon: 'refresh', label: '试验文件同步', key: 'syncVocie' },
|
|
|
|
+ ]
|
|
} else {
|
|
} else {
|
|
ElTreeMenu.value = [
|
|
ElTreeMenu.value = [
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
{ icon: 'add-circle', label: '新增', key: 'add' },
|
|
@@ -643,15 +653,6 @@ const ElTreeMenuClick = async ({ data, keys }) => {
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
{ icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
]
|
|
]
|
|
}
|
|
}
|
|
- // ElTreeMenu.value = [
|
|
|
|
- // { icon: 'add-circle', label: '新增', key: 'add' },
|
|
|
|
- // { icon: 'draft', label: '编辑', key: 'edit' },
|
|
|
|
- // { icon: 'delete-bin', label: '删除', key: 'del' },
|
|
|
|
- // { icon: 'refresh', label: '目录同步', key: 'sync' },
|
|
|
|
- // { icon: 'sort-asc', label: '排序', key: 'sort' },
|
|
|
|
- // { icon: 'refresh', label: '声像文件同步', key: 'syncVocie' },
|
|
|
|
- // ]
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//回车搜索
|
|
//回车搜索
|