diff --git a/src/views/station/test/addModal.vue b/src/views/station/test/addModal.vue deleted file mode 100644 index cb5a082..0000000 --- a/src/views/station/test/addModal.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/views/station/test/api.ts b/src/views/station/test/api.ts deleted file mode 100644 index 1b81e22..0000000 --- a/src/views/station/test/api.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { ID, IDS, commonExport } from '@/api/base'; -import { defHttp } from '@/utils/http/axios'; - -enum Api { - root = '/platform/matrialInfo', - list = '/platform/matrialInfo/list', - tree = '/platform/projectCategoryPoint/queryAll', - export = '/workflow/leave/export', -} - -export function list(params: any) { - return defHttp.get({ url: Api.list, params }); -} -export function tree() { - return defHttp.get({ url: Api.tree }); -} -export function exportExcel(data: any) { - return commonExport(Api.export, data); -} - -export function getInfo(id: ID) { - return defHttp.get({ url: `${Api.root}/${id}` }); -} - -export function add(data: any) { - return defHttp.post({ url: Api.root, data }); -} - -export function update(data: any) { - return defHttp.put({ url: Api.root, data }); -} - -export function removeByIds(ids: IDS) { - return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` }); -} - diff --git a/src/views/station/test/data.ts b/src/views/station/test/data.ts deleted file mode 100644 index a19a6cd..0000000 --- a/src/views/station/test/data.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { BasicColumn } from '@/components/Table'; -import { FormSchema } from '@/components/Form'; - -export const formSchemas: FormSchema[] = [ - { - field: 'name', - label: '名称', - component: 'Input', - componentProps: { - placeholder: '请输入', - }, - }, -]; - -export const columns: BasicColumn[] = [ - { - title: '名称', - dataIndex: 'name', - }, - { - title: '规格', - dataIndex: 'standards', - }, - { - title: '单价(元)', - dataIndex: 'price', - }, - { - title: '数量', - dataIndex: 'amount', - }, - { - title: '单位', - dataIndex: 'unit', - }, - { - title: '状态', - dataIndex: 'status', - }, - { - title: '创建日期', - dataIndex: 'createTime', - }, - { - title: '备注', - dataIndex: 'remark', - }, -]; diff --git a/src/views/station/test/index.vue b/src/views/station/test/index.vue deleted file mode 100644 index ca26ac0..0000000 --- a/src/views/station/test/index.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - -