|
@@ -17,11 +17,11 @@
|
|
|
<template v-if="column.key === 'action'">
|
|
<template v-if="column.key === 'action'">
|
|
|
<TableAction
|
|
<TableAction
|
|
|
:actions="[
|
|
:actions="[
|
|
|
- {
|
|
|
|
|
- tooltip: '文件上传',
|
|
|
|
|
- label: '文件上传',
|
|
|
|
|
- onClick: handleUpdateModel.bind(null, record),
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // tooltip: '文件上传',
|
|
|
|
|
+ // label: '文件上传',
|
|
|
|
|
+ // onClick: handleUpdateModel.bind(null, record),
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
auth: 'storage:config:query',
|
|
auth: 'storage:config:query',
|
|
|
icon: 'icon-eye|iconfont',
|
|
icon: 'icon-eye|iconfont',
|
|
@@ -87,7 +87,7 @@
|
|
|
</BasicTable>
|
|
</BasicTable>
|
|
|
<FormDrawer @register="registerDrawer" @success="handleSuccess" />
|
|
<FormDrawer @register="registerDrawer" @success="handleSuccess" />
|
|
|
<ViewDrawer @register="registerDrawerView" @success="handleSuccess" />
|
|
<ViewDrawer @register="registerDrawerView" @success="handleSuccess" />
|
|
|
- <UploadModal @register="registerUpload" />
|
|
|
|
|
|
|
+ <!-- <UploadModal @register="registerUpload" /> -->
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
@@ -96,7 +96,7 @@
|
|
|
import { Button } from '/@/components/Button';
|
|
import { Button } from '/@/components/Button';
|
|
|
|
|
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table';
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table';
|
|
|
- import UploadModal from './uploadModel.vue';
|
|
|
|
|
|
|
+ // import UploadModal from './uploadModel.vue';
|
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
import FormDrawer from './formDrawer.vue';
|
|
import FormDrawer from './formDrawer.vue';
|
|
|
import ViewDrawer from './viewDrawer.vue';
|
|
import ViewDrawer from './viewDrawer.vue';
|
|
@@ -109,7 +109,7 @@
|
|
|
} from '/@/api/infra/infraStorageConfigApi';
|
|
} from '/@/api/infra/infraStorageConfigApi';
|
|
|
import { useDrawer } from '/@/components/Drawer';
|
|
import { useDrawer } from '/@/components/Drawer';
|
|
|
import { commonDict } from '/@/utils';
|
|
import { commonDict } from '/@/utils';
|
|
|
- import { useModal } from '/@/components/Modal';
|
|
|
|
|
|
|
+ // import { useModal } from '/@/components/Modal';
|
|
|
|
|
|
|
|
onBeforeMount(async () => {});
|
|
onBeforeMount(async () => {});
|
|
|
|
|
|
|
@@ -117,7 +117,7 @@
|
|
|
// const [registerModal, { openModal }] = useModal();
|
|
// const [registerModal, { openModal }] = useModal();
|
|
|
const [registerDrawer, { openDrawer }] = useDrawer();
|
|
const [registerDrawer, { openDrawer }] = useDrawer();
|
|
|
const [registerDrawerView, { openDrawer: openDrawerView }] = useDrawer();
|
|
const [registerDrawerView, { openDrawer: openDrawerView }] = useDrawer();
|
|
|
- const [registerUpload, { openModal: openUpload }] = useModal();
|
|
|
|
|
|
|
+ // const [registerUpload, { openModal: openUpload }] = useModal();
|
|
|
const tableSort = ref([
|
|
const tableSort = ref([
|
|
|
{
|
|
{
|
|
|
field: 'master',
|
|
field: 'master',
|
|
@@ -216,9 +216,9 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 打开上传测试弹窗
|
|
// 打开上传测试弹窗
|
|
|
- function handleUpdateModel(record: Recordable) {
|
|
|
|
|
- openUpload(true, { record });
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // function handleUpdateModel(record: Recordable) {
|
|
|
|
|
+ // openUpload(true, { record });
|
|
|
|
|
+ // }
|
|
|
// 表格点击字段排序
|
|
// 表格点击字段排序
|
|
|
function handleSortFn(sortInfo) {
|
|
function handleSortFn(sortInfo) {
|
|
|
if (sortInfo?.order && sortInfo?.columnKey) {
|
|
if (sortInfo?.order && sortInfo?.columnKey) {
|