diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/views/device/receive/solve/solveDetail.vue b/src/views/device/receive/solve/solveDetail.vue new file mode 100644 index 0000000..8076684 --- /dev/null +++ b/src/views/device/receive/solve/solveDetail.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/views/device/receive/solve/solveDetail.vue b/src/views/device/receive/solve/solveDetail.vue new file mode 100644 index 0000000..8076684 --- /dev/null +++ b/src/views/device/receive/solve/solveDetail.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue new file mode 100644 index 0000000..b541f35 --- /dev/null +++ b/src/views/device/receive/solve/solveList.vue @@ -0,0 +1,436 @@ + + + + + + diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/views/device/receive/solve/solveDetail.vue b/src/views/device/receive/solve/solveDetail.vue new file mode 100644 index 0000000..8076684 --- /dev/null +++ b/src/views/device/receive/solve/solveDetail.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue new file mode 100644 index 0000000..b541f35 --- /dev/null +++ b/src/views/device/receive/solve/solveList.vue @@ -0,0 +1,436 @@ + + + + + + diff --git a/src/views/device/receive/solveComponent/buttonBox.vue b/src/views/device/receive/solveComponent/buttonBox.vue deleted file mode 100644 index 4a4de71..0000000 --- a/src/views/device/receive/solveComponent/buttonBox.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/views/device/receive/solve/solveDetail.vue b/src/views/device/receive/solve/solveDetail.vue new file mode 100644 index 0000000..8076684 --- /dev/null +++ b/src/views/device/receive/solve/solveDetail.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue new file mode 100644 index 0000000..b541f35 --- /dev/null +++ b/src/views/device/receive/solve/solveList.vue @@ -0,0 +1,436 @@ + + + + + + diff --git a/src/views/device/receive/solveComponent/buttonBox.vue b/src/views/device/receive/solveComponent/buttonBox.vue deleted file mode 100644 index 4a4de71..0000000 --- a/src/views/device/receive/solveComponent/buttonBox.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/solveComponent/detail.vue b/src/views/device/receive/solveComponent/detail.vue deleted file mode 100644 index 8076684..0000000 --- a/src/views/device/receive/solveComponent/detail.vue +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - diff --git a/src/api/customer/overtime.ts b/src/api/customer/overtime.ts deleted file mode 100644 index 9f349d6..0000000 --- a/src/api/customer/overtime.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 到期样品接口 - */ -import request from '../index' -import type { IOvertimeListQuery } from '@/views/customer/sample/overTime/overtime_list_interface' -const prefix = '/meter' - -// 列表查询 -export function getOverTimeList(data: IOvertimeListQuery) { - return request({ - url: `${prefix}/sample/overtime/listPage?offset=${data.offset}&limit=${data.limit}`, - method: 'post', - data, - }) -} - -// 导出列表 -export function exportOverTimeList(data: Omit) { - return request({ - url: `${prefix}/sample/overtime/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 2610494..21a9c9e 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -59,3 +59,20 @@ }) } +// 查询检定记录 +export function getMesureRecords(data: { id: string }) { + return request({ + url: `${prefix}/sample/mesureRecordsBySampleId`, + method: 'post', + data, + }) +} + +// 查询检定证书 +export function getCertification(data: { id: string }) { + return request({ + url: `${prefix}/sample/certificationBySampleId`, + method: 'post', + data, + }) +} diff --git a/src/components.d.ts b/src/components.d.ts index 227585d..90f2dde 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -21,6 +21,7 @@ BarCodeBind: typeof import('./components/BarCodeBind/index.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] + ButtonBox: typeof import('./components/buttonBox/buttonBox.vue')['default'] CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] diff --git a/src/components/buttonBox/buttonBox.vue b/src/components/buttonBox/buttonBox.vue new file mode 100644 index 0000000..cf93686 --- /dev/null +++ b/src/components/buttonBox/buttonBox.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index 36f5104..fb6758e 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -481,7 +481,7 @@ { path: 'applyList', name: 'ApplyList', - component: () => import('@/views/device/receive/applyList.vue'), + component: () => import('@/views/device/receive/apply/applyList.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -491,7 +491,7 @@ { path: ':type', name: 'ApplyListDetail', - component: () => import('@/views/device/receive/createOrCheck.vue'), + component: () => import('@/views/device/receive/apply/applyEdit.vue'), meta: { title: '设备领用申请', icon: 'ep:key', @@ -503,7 +503,7 @@ { path: 'solveList', name: 'SolveList', - component: () => import('@/views/device/receive/solveList.vue'), + component: () => import('@/views/device/receive/solve/solveList.vue'), meta: { title: '设备领用处理', icon: 'ep:key', @@ -513,7 +513,7 @@ { path: 'solveDetail', name: 'SolveListDetail', - component: () => import('@/views/device/receive/solveComponent/detail.vue'), + component: () => import('@/views/device/receive/solve/solveDetail.vue'), meta: { title: '设备领用处理', icon: 'ep:key', diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 6b502fc..3b8f274 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -1,15 +1,53 @@ + + + + diff --git a/src/views/device/receive/apply/applyList.vue b/src/views/device/receive/apply/applyList.vue new file mode 100644 index 0000000..abf559c --- /dev/null +++ b/src/views/device/receive/apply/applyList.vue @@ -0,0 +1,542 @@ + + + + + + diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue deleted file mode 100644 index 63e1ee8..0000000 --- a/src/views/device/receive/applyList.vue +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/buttonBox.vue b/src/views/device/receive/buttonBox.vue deleted file mode 100644 index 4205fa8..0000000 --- a/src/views/device/receive/buttonBox.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue deleted file mode 100644 index 9cbc3bc..0000000 --- a/src/views/device/receive/createOrCheck.vue +++ /dev/null @@ -1,552 +0,0 @@ - - - - - diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 2754aee..056fe60 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -82,3 +82,8 @@ managerStateName: string // 管理状态 validDate: string // 有效日期 } + +export interface IMenu { + name: string // 名字 + id: string +} diff --git a/src/views/device/receive/solve/solveDetail.vue b/src/views/device/receive/solve/solveDetail.vue new file mode 100644 index 0000000..8076684 --- /dev/null +++ b/src/views/device/receive/solve/solveDetail.vue @@ -0,0 +1,257 @@ + + + + + + + diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue new file mode 100644 index 0000000..b541f35 --- /dev/null +++ b/src/views/device/receive/solve/solveList.vue @@ -0,0 +1,436 @@ + + + + + + diff --git a/src/views/device/receive/solveComponent/buttonBox.vue b/src/views/device/receive/solveComponent/buttonBox.vue deleted file mode 100644 index 4a4de71..0000000 --- a/src/views/device/receive/solveComponent/buttonBox.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - diff --git a/src/views/device/receive/solveComponent/detail.vue b/src/views/device/receive/solveComponent/detail.vue deleted file mode 100644 index 8076684..0000000 --- a/src/views/device/receive/solveComponent/detail.vue +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - diff --git a/src/views/device/receive/solveList.vue b/src/views/device/receive/solveList.vue deleted file mode 100644 index b654c2e..0000000 --- a/src/views/device/receive/solveList.vue +++ /dev/null @@ -1,426 +0,0 @@ - - - - - -