diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts new file mode 100644 index 0000000..6a6d694 --- /dev/null +++ b/src/api/device/standard.ts @@ -0,0 +1,29 @@ +/** + * 溯源供方请求接口 + */ +import request from '../index' +const prefix = '/meter' +// 列表查询 +export function getStandardList(data: object) { + return request({ + url: `${prefix}/standard/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListAdd(data: object) { + return request({ + url: `${prefix}/standard/add`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListDelete(data: object) { + return request({ + url: `${prefix}/standard/delete`, + method: 'post', + data, + }) +} diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts new file mode 100644 index 0000000..6a6d694 --- /dev/null +++ b/src/api/device/standard.ts @@ -0,0 +1,29 @@ +/** + * 溯源供方请求接口 + */ +import request from '../index' +const prefix = '/meter' +// 列表查询 +export function getStandardList(data: object) { + return request({ + url: `${prefix}/standard/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListAdd(data: object) { + return request({ + url: `${prefix}/standard/add`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListDelete(data: object) { + return request({ + url: `${prefix}/standard/delete`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 8b37b44..0bb0edd 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -18,6 +18,7 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] + Echart: typeof import('./components/Echart/index.vue')['default'] Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts new file mode 100644 index 0000000..6a6d694 --- /dev/null +++ b/src/api/device/standard.ts @@ -0,0 +1,29 @@ +/** + * 溯源供方请求接口 + */ +import request from '../index' +const prefix = '/meter' +// 列表查询 +export function getStandardList(data: object) { + return request({ + url: `${prefix}/standard/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListAdd(data: object) { + return request({ + url: `${prefix}/standard/add`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListDelete(data: object) { + return request({ + url: `${prefix}/standard/delete`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 8b37b44..0bb0edd 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -18,6 +18,7 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] + Echart: typeof import('./components/Echart/index.vue')['default'] Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] diff --git a/src/views/device/standardEquipment/components/standardListAdd.vue b/src/views/device/standardEquipment/components/standardListAdd.vue new file mode 100644 index 0000000..e7c5f86 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardListAdd.vue @@ -0,0 +1,679 @@ + + + + + + + 测量标准装置 + + + + {{ buttonType === '详情' ? '打印' : '提交' }} + + + 关闭 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上传 + + + + + + + + + + + + + + + + + + diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts new file mode 100644 index 0000000..6a6d694 --- /dev/null +++ b/src/api/device/standard.ts @@ -0,0 +1,29 @@ +/** + * 溯源供方请求接口 + */ +import request from '../index' +const prefix = '/meter' +// 列表查询 +export function getStandardList(data: object) { + return request({ + url: `${prefix}/standard/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListAdd(data: object) { + return request({ + url: `${prefix}/standard/add`, + method: 'post', + data, + }) +} +// 列表新增 +export function getStandardListDelete(data: object) { + return request({ + url: `${prefix}/standard/delete`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 8b37b44..0bb0edd 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -18,6 +18,7 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] + Echart: typeof import('./components/Echart/index.vue')['default'] Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] diff --git a/src/views/device/standardEquipment/components/standardListAdd.vue b/src/views/device/standardEquipment/components/standardListAdd.vue new file mode 100644 index 0000000..e7c5f86 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardListAdd.vue @@ -0,0 +1,679 @@ + + + + + + + 测量标准装置 + + + + {{ buttonType === '详情' ? '打印' : '提交' }} + + + 关闭 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上传 + + + + + + + + + + + + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + + diff --git a/src/views/device/standardEquipment/standardList.vue b/src/views/device/standardEquipment/standardList.vue index 55e7402..99ed765 100644 --- a/src/views/device/standardEquipment/standardList.vue +++ b/src/views/device/standardEquipment/standardList.vue @@ -1,11 +1,301 @@ - - 标准装置列表 + + + + + + + + + + + + + + + + + + + + + + + + + 新建 + + + 导出 + + + 打印 + + + + + + + + 编辑 + + + 详情 + + + 删除 + + + + + + +