From 2351a0711cd002def5b687dd487424ddc1bfcde4 Mon Sep 17 00:00:00 2001 From: lidm0086 Date: Fri, 27 Dec 2024 13:08:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BD=93=E5=87=BA=E5=8E=82=E6=A3=80?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/battery/cellCore/index.ts | 50 ++ src/api/battery/cellDevice/index.ts | 54 ++ src/api/battery/cellEnv/index.ts | 70 +++ src/api/battery/cellPass/index.ts | 50 ++ src/api/battery/cellPlate/index.ts | 61 ++ src/api/battery/cellProd/index.ts | 57 ++ src/api/battery/monomer/index.ts | 134 +++++ src/api/ccwin/eqBake/index.ts | 51 ++ src/api/ccwin/eqRollWelding/index.ts | 51 ++ src/api/ccwin/paNmp/index.ts | 51 ++ src/utils/dict.ts | 1 + src/utils/disposition/defaultButtons.ts | 28 +- src/views/battery/cellCore/cellCore.data.ts | 72 +++ src/views/battery/cellCore/index.vue | 244 ++++++++ .../battery/cellDevice/cellDevice.data.ts | 88 +++ src/views/battery/cellDevice/index.vue | 246 ++++++++ src/views/battery/cellEnv/cellEnv.data.ts | 184 ++++++ src/views/battery/cellEnv/index.vue | 244 ++++++++ src/views/battery/cellPass/cellPass.data.ts | 64 +++ src/views/battery/cellPass/index.vue | 244 ++++++++ src/views/battery/cellPlate/cellPlate.data.ts | 130 +++++ src/views/battery/cellPlate/index.vue | 244 ++++++++ src/views/battery/cellProd/cellProd.data.ts | 106 ++++ src/views/battery/cellProd/index.vue | 244 ++++++++ src/views/battery/monomer/index.vue | 250 ++++++++ src/views/battery/monomer/monomer.data.ts | 536 ++++++++++++++++++ src/views/ccwin/eqBake/eqBake.data.ts | 70 +++ src/views/ccwin/eqBake/index.vue | 244 ++++++++ .../ccwin/eqRollWelding/eqRollWelding.data.ts | 70 +++ src/views/ccwin/eqRollWelding/index.vue | 244 ++++++++ src/views/ccwin/paNmp/index.vue | 244 ++++++++ src/views/ccwin/paNmp/paNmp.data.ts | 70 +++ src/views/login/components/LoginForm.vue | 4 +- 33 files changed, 4496 insertions(+), 4 deletions(-) create mode 100644 src/api/battery/cellCore/index.ts create mode 100644 src/api/battery/cellDevice/index.ts create mode 100644 src/api/battery/cellEnv/index.ts create mode 100644 src/api/battery/cellPass/index.ts create mode 100644 src/api/battery/cellPlate/index.ts create mode 100644 src/api/battery/cellProd/index.ts create mode 100644 src/api/battery/monomer/index.ts create mode 100644 src/api/ccwin/eqBake/index.ts create mode 100644 src/api/ccwin/eqRollWelding/index.ts create mode 100644 src/api/ccwin/paNmp/index.ts create mode 100644 src/views/battery/cellCore/cellCore.data.ts create mode 100644 src/views/battery/cellCore/index.vue create mode 100644 src/views/battery/cellDevice/cellDevice.data.ts create mode 100644 src/views/battery/cellDevice/index.vue create mode 100644 src/views/battery/cellEnv/cellEnv.data.ts create mode 100644 src/views/battery/cellEnv/index.vue create mode 100644 src/views/battery/cellPass/cellPass.data.ts create mode 100644 src/views/battery/cellPass/index.vue create mode 100644 src/views/battery/cellPlate/cellPlate.data.ts create mode 100644 src/views/battery/cellPlate/index.vue create mode 100644 src/views/battery/cellProd/cellProd.data.ts create mode 100644 src/views/battery/cellProd/index.vue create mode 100644 src/views/battery/monomer/index.vue create mode 100644 src/views/battery/monomer/monomer.data.ts create mode 100644 src/views/ccwin/eqBake/eqBake.data.ts create mode 100644 src/views/ccwin/eqBake/index.vue create mode 100644 src/views/ccwin/eqRollWelding/eqRollWelding.data.ts create mode 100644 src/views/ccwin/eqRollWelding/index.vue create mode 100644 src/views/ccwin/paNmp/index.vue create mode 100644 src/views/ccwin/paNmp/paNmp.data.ts diff --git a/src/api/battery/cellCore/index.ts b/src/api/battery/cellCore/index.ts new file mode 100644 index 0000000..15ce716 --- /dev/null +++ b/src/api/battery/cellCore/index.ts @@ -0,0 +1,50 @@ +import request from '@/config/axios' + +export interface CellCoreVO { + id: number + acoreThi: string + acoreWid: number + bcoreThi: string + bcoreWid: number +} + +// 查询battery_cell_core列表 +export const getCellCorePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellCore/senior', data }) + } else { + return await request.get({ url: `/battery/cellCore/page`, params }) + } +} + +// 查询battery_cell_core详情 +export const getCellCore = async (id: number) => { + return await request.get({ url: `/battery/cellCore/get?id=` + id }) +} + +// 新增battery_cell_core +export const createCellCore = async (data: CellCoreVO) => { + return await request.post({ url: `/battery/cellCore/create`, data }) +} + +// 修改battery_cell_core +export const updateCellCore = async (data: CellCoreVO) => { + return await request.put({ url: `/battery/cellCore/update`, data }) +} + +// 删除battery_cell_core +export const deleteCellCore = async (id: number) => { + return await request.delete({ url: `/battery/cellCore/delete?id=` + id }) +} + +// 导出battery_cell_core Excel +export const exportCellCore = async (params) => { + return await request.download({ url: `/battery/cellCore/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellCore/get-import-template' }) +} diff --git a/src/api/battery/cellDevice/index.ts b/src/api/battery/cellDevice/index.ts new file mode 100644 index 0000000..e2ab9c8 --- /dev/null +++ b/src/api/battery/cellDevice/index.ts @@ -0,0 +1,54 @@ +import request from '@/config/axios' + +export interface CellDeviceVO { + id: number + oneInjectPreCpk: number + twoInjectPreCpk: number + posCoatDenCpk: number + negCoatDenCpk: number + posRollThickCpk: number + negRollThickCpk: number + oneInjectCpk: number + finalInjectRetenCpk: number +} + +// 查询battery_cell_device列表 +export const getCellDevicePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellDevice/senior', data }) + } else { + return await request.get({ url: `/battery/cellDevice/page`, params }) + } +} + +// 查询battery_cell_device详情 +export const getCellDevice = async (id: number) => { + return await request.get({ url: `/battery/cellDevice/get?id=` + id }) +} + +// 新增battery_cell_device +export const createCellDevice = async (data: CellDeviceVO) => { + return await request.post({ url: `/battery/cellDevice/create`, data }) +} + +// 修改battery_cell_device +export const updateCellDevice = async (data: CellDeviceVO) => { + return await request.put({ url: `/battery/cellDevice/update`, data }) +} + +// 删除battery_cell_device +export const deleteCellDevice = async (id: number) => { + return await request.delete({ url: `/battery/cellDevice/delete?id=` + id }) +} + +// 导出battery_cell_device Excel +export const exportCellDevice = async (params) => { + return await request.download({ url: `/battery/cellDevice/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellDevice/get-import-template' }) +} diff --git a/src/api/battery/cellEnv/index.ts b/src/api/battery/cellEnv/index.ts new file mode 100644 index 0000000..8bb8bc8 --- /dev/null +++ b/src/api/battery/cellEnv/index.ts @@ -0,0 +1,70 @@ +import request from '@/config/axios' + +export interface CellEnvVO { + id: number + temOfPriinjectPlant: string + temOfPreStandPlant: string + temOfStandPlant: string + temOfAftStandPlant: string + temOfSecinjectPlant: string + tempOfBefVolSepPlant: string + tempOfVolSepPlant: string + humOfVolAssPlant: number + humOfPriinjectPlant: number + humOfPreStandPlant: number + humOfStandPlant: number + humOfAftStandPlant: number + humOfSecinjectPlant: number + humpOfBefVolSepPlant: number + humpOfVolSepPlant: number + standardOfClean: string + cleanOfCoatPlant: string + cleanOfRollPlant: string + cleanOfSlitPlant: string + cleanOfStackPlant: string + cleanOfPriInjectPlant: string + cOfPreStandPlant: string + clOfStandPlant: string + cleanOfAftStandPlant: string +} + +// 查询battery_cell_env列表 +export const getCellEnvPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellEnv/senior', data }) + } else { + return await request.get({ url: `/battery/cellEnv/page`, params }) + } +} + +// 查询battery_cell_env详情 +export const getCellEnv = async (id: number) => { + return await request.get({ url: `/battery/cellEnv/get?id=` + id }) +} + +// 新增battery_cell_env +export const createCellEnv = async (data: CellEnvVO) => { + return await request.post({ url: `/battery/cellEnv/create`, data }) +} + +// 修改battery_cell_env +export const updateCellEnv = async (data: CellEnvVO) => { + return await request.put({ url: `/battery/cellEnv/update`, data }) +} + +// 删除battery_cell_env +export const deleteCellEnv = async (id: number) => { + return await request.delete({ url: `/battery/cellEnv/delete?id=` + id }) +} + +// 导出battery_cell_env Excel +export const exportCellEnv = async (params) => { + return await request.download({ url: `/battery/cellEnv/exportExcel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellEnv/get-import-template' }) +} diff --git a/src/api/battery/cellPass/index.ts b/src/api/battery/cellPass/index.ts new file mode 100644 index 0000000..16b5252 --- /dev/null +++ b/src/api/battery/cellPass/index.ts @@ -0,0 +1,50 @@ +import request from '@/config/axios' + +export interface CellPassVO { + id: number + passPer: string + equAbnList: string + equAbnAlarm: string + environAbnoralarm: string +} + +// 查询battery_cell_pass列表 +export const getCellPassPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellPass/senior', data }) + } else { + return await request.get({ url: `/battery/cellPass/page`, params }) + } +} + +// 查询battery_cell_pass详情 +export const getCellPass = async (id: number) => { + return await request.get({ url: `/battery/cellPass/get?id=` + id }) +} + +// 新增battery_cell_pass +export const createCellPass = async (data: CellPassVO) => { + return await request.post({ url: `/battery/cellPass/create`, data }) +} + +// 修改battery_cell_pass +export const updateCellPass = async (data: CellPassVO) => { + return await request.put({ url: `/battery/cellPass/update`, data }) +} + +// 删除battery_cell_pass +export const deleteCellPass = async (id: number) => { + return await request.delete({ url: `/battery/cellPass/delete?id=` + id }) +} + +// 导出battery_cell_pass Excel +export const exportCellPass = async (params) => { + return await request.download({ url: `/battery/cellPass/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellPass/get-import-template' }) +} diff --git a/src/api/battery/cellPlate/index.ts b/src/api/battery/cellPlate/index.ts new file mode 100644 index 0000000..81ffb9c --- /dev/null +++ b/src/api/battery/cellPlate/index.ts @@ -0,0 +1,61 @@ +import request from '@/config/axios' + +export interface CellPlateVO { + id: number + posPowrMagSub: number + negPowrMagSub: number + posSlurMagSub: number + negSlurMagSub: number + posPolOneSidDen: string + negPolOneSidDen: string + posPolDouSidDen: string + negPolDouSidDen: string + posColTh: string + negColTh: string + posPolLen: string + negPolLen: string + diaThiAftDieSli: number + verHeiAftDieSli: number + mosConPolAftBak: number +} + +// 查询battery_cell_plate列表 +export const getCellPlatePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellPlate/senior', data }) + } else { + return await request.get({ url: `/battery/cellPlate/page`, params }) + } +} + +// 查询battery_cell_plate详情 +export const getCellPlate = async (id: number) => { + return await request.get({ url: `/battery/cellPlate/get?id=` + id }) +} + +// 新增battery_cell_plate +export const createCellPlate = async (data: CellPlateVO) => { + return await request.post({ url: `/battery/cellPlate/create`, data }) +} + +// 修改battery_cell_plate +export const updateCellPlate = async (data: CellPlateVO) => { + return await request.put({ url: `/battery/cellPlate/update`, data }) +} + +// 删除battery_cell_plate +export const deleteCellPlate = async (id: number) => { + return await request.delete({ url: `/battery/cellPlate/delete?id=` + id }) +} + +// 导出battery_cell_plate Excel +export const exportCellPlate = async (params) => { + return await request.download({ url: `/battery/cellPlate/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellPlate/get-import-template' }) +} diff --git a/src/api/battery/cellProd/index.ts b/src/api/battery/cellProd/index.ts new file mode 100644 index 0000000..96d4f7c --- /dev/null +++ b/src/api/battery/cellProd/index.ts @@ -0,0 +1,57 @@ +import request from '@/config/axios' + +export interface CellProdVO { + id: number + vacLeaValOrHelVal: string + helDetAftWel: string + tolInj: string + tolInjPerDev: string + totWeight: string + facVol: string + quantitative: string + impAc: string + celLen: string + celWid: string + celThi: string +} + +// 查询battery_cell_prod列表 +export const getCellProdPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/cellProd/senior', data }) + } else { + return await request.get({ url: `/battery/cellProd/page`, params }) + } +} + +// 查询battery_cell_prod详情 +export const getCellProd = async (id: number) => { + return await request.get({ url: `/battery/cellProd/get?id=` + id }) +} + +// 新增battery_cell_prod +export const createCellProd = async (data: CellProdVO) => { + return await request.post({ url: `/battery/cellProd/create`, data }) +} + +// 修改battery_cell_prod +export const updateCellProd = async (data: CellProdVO) => { + return await request.put({ url: `/battery/cellProd/update`, data }) +} + +// 删除battery_cell_prod +export const deleteCellProd = async (id: number) => { + return await request.delete({ url: `/battery/cellProd/delete?id=` + id }) +} + +// 导出battery_cell_prod Excel +export const exportCellProd = async (params) => { + return await request.download({ url: `/battery/cellProd/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/cellProd/get-import-template' }) +} diff --git a/src/api/battery/monomer/index.ts b/src/api/battery/monomer/index.ts new file mode 100644 index 0000000..4f77626 --- /dev/null +++ b/src/api/battery/monomer/index.ts @@ -0,0 +1,134 @@ +import request from '@/config/axios' + +export interface MonomerVO { + id: number + release:String + version: String + date: String + name: String + author: String + timeStamp: String + workNo: String + endTime: String + actCycle: String + pLineId: String + pType: String + testType: String + procImage: String + workRemark: String + procRemark: String + type: String + + acoreThi: String + acoreWid: String + bcoreThi: String + bcoreWid: String + + oneInjectPreCpk: String + twoInjectPreCpk: String + posCoatDenCpk: String + negCoatDenCpk: String + posRollThickCpk: String + negRollThickCpk: String + oneInjectCpk: String + finalInjectRetenCpk: String + + temOfPriinjectPlant: String + temOfPreStandPlant: String + temOfStandPlant: String + temOfAftStandPlant: String + temOfSecinjectPlant: String + tempOfBefVolSepPlant: String + tempOfVolSepPlant: String + humOfVolAssPlant: String + humOfPriinjectPlant: String + humOfPreStandPlant: String + humOfStandPlant: String + humOfAftStandPlant: String + humOfSecinjectPlant: String + humpOfBefVolSepPlant: String + humpOfVolSepPlant: String + standardOfClean: String + cleanOfCoatPlant: String + cleanOfRollPlant: String + cleanOfSlitPlant: String + cleanOfStackPlant: String + cleanOfPriInjectPlant: String + cOfPreStandPlant: String + clOfStandPlant: String + cleanOfAftStandPlant: String + + passPer: String + equAbnList: String + equAbnAlarm: String + environAbnoralarm: String + + posPowrMagSub: String + negPowrMagSub: String + posSlurMagSub: String + negSlurMagSub: String + posPolOneSidDen: String + negPolOneSidDen: String + posPolDouSidDen: String + negPolDouSidDen: String + posColTh: String + negColTh: String + posPolLen: String + negPolLen: String + diaThiAftDieSli: String + verHeiAftDieSli: String + mosConPolAftBak: String + + vacLeaValOrHelVal: String + helDetAftWel: String + tolInj: String + tolInjPerDev: String + totWeight: String + facVol: String + quantitative: String + impAc: String + celLen: String + celWid: String + celThi: String +} + +// 查询battery_cell_device列表 +export const getMonomerPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/battery/monomer/senior', data }) + } else { + return await request.get({ url: `/battery/monomer/page`, params }) + } +} + +// 查询battery_cell_device详情 +export const getMonomer = async (id: number) => { + return await request.get({ url: `/battery/monomer/get?id=` + id }) +} + +// 新增battery_cell_device +export const createMonomer = async (data: MonomerVO) => { + return await request.post({ url: `/battery/monomer/create`, data }) +} + +// 修改battery_cell_device +export const updateMonomer = async (data: MonomerVO) => { + return await request.put({ url: `/battery/monomer/update`, data }) +} + +// 删除battery_cell_device +export const deleteMonomer = async (id: number) => { + return await request.delete({ url: `/battery/monomer/delete?id=` + id }) +} + +// 导出battery_cell_device Excel +export const exportMonomer = async (params) => { + return await request.download({ url: `/battery/monomer/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/battery/monomer/get-import-template' }) +} diff --git a/src/api/ccwin/eqBake/index.ts b/src/api/ccwin/eqBake/index.ts new file mode 100644 index 0000000..3b854d2 --- /dev/null +++ b/src/api/ccwin/eqBake/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface EqBakeVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询真空烘烤列表 +export const getEqBakePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/ccwin/eqBake/senior', data }) + } else { + return await request.get({ url: `/ccwin/eqBake/page`, params }) + } +} + +// 查询真空烘烤详情 +export const getEqBake = async (id: number) => { + return await request.get({ url: `/ccwin/eqBake/get?id=` + id }) +} + +// 新增真空烘烤 +export const createEqBake = async (data: EqBakeVO) => { + return await request.post({ url: `/ccwin/eqBake/create`, data }) +} + +// 修改真空烘烤 +export const updateEqBake = async (data: EqBakeVO) => { + return await request.put({ url: `/ccwin/eqBake/update`, data }) +} + +// 删除真空烘烤 +export const deleteEqBake = async (id: number) => { + return await request.delete({ url: `/ccwin/eqBake/delete?id=` + id }) +} + +// 导出真空烘烤 Excel +export const exportEqBake = async (params) => { + return await request.download({ url: `/ccwin/eqBake/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/ccwin/eqBake/get-import-template' }) +} diff --git a/src/api/ccwin/eqRollWelding/index.ts b/src/api/ccwin/eqRollWelding/index.ts new file mode 100644 index 0000000..d6765dd --- /dev/null +++ b/src/api/ccwin/eqRollWelding/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface EqRollWeldingVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询辊焊机列表 +export const getEqRollWeldingPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/ccwin/eqRollWelding/senior', data }) + } else { + return await request.get({ url: `/ccwin/eqRollWelding/page`, params }) + } +} + +// 查询辊焊机详情 +export const getEqRollWelding = async (id: number) => { + return await request.get({ url: `/ccwin/eqRollWelding/get?id=` + id }) +} + +// 新增辊焊机 +export const createEqRollWelding = async (data: EqRollWeldingVO) => { + return await request.post({ url: `/ccwin/eqRollWelding/create`, data }) +} + +// 修改辊焊机 +export const updateEqRollWelding = async (data: EqRollWeldingVO) => { + return await request.put({ url: `/ccwin/eqRollWelding/update`, data }) +} + +// 删除辊焊机 +export const deleteEqRollWelding = async (id: number) => { + return await request.delete({ url: `/ccwin/eqRollWelding/delete?id=` + id }) +} + +// 导出辊焊机 Excel +export const exportEqRollWelding = async (params) => { + return await request.download({ url: `/ccwin/eqRollWelding/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/ccwin/eqRollWelding/get-import-template' }) +} diff --git a/src/api/ccwin/paNmp/index.ts b/src/api/ccwin/paNmp/index.ts new file mode 100644 index 0000000..0210e96 --- /dev/null +++ b/src/api/ccwin/paNmp/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface PaNmpVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询NMP回收列表 +export const getPaNmpPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/ccwin/paNmp/senior', data }) + } else { + return await request.get({ url: `/ccwin/paNmp/page`, params }) + } +} + +// 查询NMP回收详情 +export const getPaNmp = async (id: number) => { + return await request.get({ url: `/ccwin/paNmp/get?id=` + id }) +} + +// 新增NMP回收 +export const createPaNmp = async (data: PaNmpVO) => { + return await request.post({ url: `/ccwin/paNmp/create`, data }) +} + +// 修改NMP回收 +export const updatePaNmp = async (data: PaNmpVO) => { + return await request.put({ url: `/ccwin/paNmp/update`, data }) +} + +// 删除NMP回收 +export const deletePaNmp = async (id: number) => { + return await request.delete({ url: `/ccwin/paNmp/delete?id=` + id }) +} + +// 导出NMP回收 Excel +export const exportPaNmp = async (params) => { + return await request.download({ url: `/ccwin/paNmp/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/ccwin/paNmp/get-import-template' }) +} diff --git a/src/utils/dict.ts b/src/utils/dict.ts index e78f797..31ae4a7 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -187,6 +187,7 @@ export enum DICT_TYPE { ITEM_TYPE = 'item_type', // 物料类型 UOM = 'uom', // 计量单位 REWORK = 'rework', // 返工品 + BATTERY_TYPE = 'battery_type', // 返工品 IN_BOUND_RST = 'inBoundRst', // 返工品 IN_BOUND_FINSH = 'inBoundFinsh', // 返工品 ABC_CLASS = 'abc_class', // ABC类 diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 73b9680..a223653 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -9,7 +9,7 @@ const { t } = useI18n() // 新增按钮 export function defaultAddBtn(option: any) { return __defaultBtnOption(option, { - label: t(`ts.新增`).replace('ts.', ''), + label: t(`ts.动态数据`).replace('ts.', ''), name: 'add', hide: false, type: 'primary', @@ -19,6 +19,18 @@ export function defaultAddBtn(option: any) { }) } +export function defaultAddStaticBtn(option: any) { + return __defaultBtnOption(option, { + label: t(`ts.静态数据`).replace('ts.', ''), + name: 'add', + hide: false, + type: 'warning', + icon: 'ep:plus', + color: '', + hasPermi: '' + }) +} + // 导入按钮 export function defaultImportBtn(option: any) { return __defaultBtnOption(option, { @@ -35,7 +47,7 @@ export function defaultImportBtn(option: any) { // 导出按钮 export function defaultExportBtn(option: any) { return __defaultBtnOption(option, { - label: t(`ts.导出`).replace('ts.', ''), + label: t(`ts.导出数据`).replace('ts.', ''), name: 'export', hide: false, type: 'success', @@ -327,6 +339,18 @@ export function mainListEditBtn(option: any) { }) } +export function mainListReleaseBtn(option: any) { + return __defaultBtnOption(option, { + label: t(`ts.发布`).replace('ts.', ''), + name: 'release', + hide: false, + type: 'primary', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + // 主列表-删除按钮 export function mainListDeleteBtn(option: any) { return __defaultBtnOption(option, { diff --git a/src/views/battery/cellCore/cellCore.data.ts b/src/views/battery/cellCore/cellCore.data.ts new file mode 100644 index 0000000..1de56e6 --- /dev/null +++ b/src/views/battery/cellCore/cellCore.data.ts @@ -0,0 +1,72 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellCoreRules = reactive({ +}) + +export const CellCore = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: 'A卷芯或叠芯厚度允许偏差', + field: 'acoreThi', + sort: 'custom', + isSearch: true, + }, + { + label: 'A卷芯或叠芯宽度允许偏差', + field: 'acoreWid', + sort: 'custom', + isSearch: true, + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: 'B卷芯或叠芯厚度允许偏差', + field: 'bcoreThi', + sort: 'custom', + isSearch: true, + }, + { + label: 'B卷芯或叠芯宽度允许偏差', + field: 'bcoreWid', + sort: 'custom', + isSearch: true, + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellCore/index.vue b/src/views/battery/cellCore/index.vue new file mode 100644 index 0000000..9d297a9 --- /dev/null +++ b/src/views/battery/cellCore/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/battery/cellDevice/cellDevice.data.ts b/src/views/battery/cellDevice/cellDevice.data.ts new file mode 100644 index 0000000..bc475cf --- /dev/null +++ b/src/views/battery/cellDevice/cellDevice.data.ts @@ -0,0 +1,88 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellDeviceRules = reactive({ +}) + +export const CellDevice = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '一次注液前重CPK允许值', + field: 'oneInjectPreCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '二次注液前重CPK允许值', + field: 'twoInjectPreCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '正极涂布面密度CPK允许值', + field: 'posCoatDenCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '负极涂布面密度CPK允许值', + field: 'negCoatDenCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '正极辊压厚度CPK允许值', + field: 'posRollThickCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '负极辊压厚度CPK允许值', + field: 'negRollThickCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '第一次注液量CPK允许值', + field: 'oneInjectCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '最终注液保有量CPK允许值', + field: 'finalInjectRetenCpk', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellDevice/index.vue b/src/views/battery/cellDevice/index.vue new file mode 100644 index 0000000..7ee7a80 --- /dev/null +++ b/src/views/battery/cellDevice/index.vue @@ -0,0 +1,246 @@ + + + diff --git a/src/views/battery/cellEnv/cellEnv.data.ts b/src/views/battery/cellEnv/cellEnv.data.ts new file mode 100644 index 0000000..a8694ec --- /dev/null +++ b/src/views/battery/cellEnv/cellEnv.data.ts @@ -0,0 +1,184 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellEnvRules = reactive({ +}) + +export const CellEnv = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '一次注液车间温度允许值', + field: 'temOfPriinjectPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成前静置车间温度允许值', + field: 'temOfPreStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成车间温度允许值', + field: 'temOfStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成后静置车间温度允许值', + field: 'temOfAftStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '二次注液车间温度允许值', + field: 'temOfSecinjectPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '分容前静置车间温度允许值', + field: 'tempOfBefVolSepPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '分容车间温度允许值', + field: 'tempOfVolSepPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '组装车间湿度允许值', + field: 'humOfVolAssPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '一次注液车间湿度(露点)允许值', + field: 'humOfPriinjectPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成前静置车间湿度(露点)允许值', + field: 'humOfPreStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成车间湿度(露点)允许值', + field: 'humOfStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成后静置车间湿度(露点)允许值', + field: 'humOfAftStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '二次注液车间湿度(露点)允许值', + field: 'humOfSecinjectPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '分容前静置车间湿度允许值', + field: 'humpOfBefVolSepPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '分容车间湿度允许值', + field: 'humpOfVolSepPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '洁净度粉尘粒径管控标准', + field: 'standardOfClean', + sort: 'custom', + isSearch: true, + }, + { + label: '涂布车间洁净度允许值', + field: 'cleanOfCoatPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '辊压车间洁净度允许值', + field: 'cleanOfRollPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '分切车间洁净度允许值', + field: 'cleanOfSlitPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '卷绕或者叠片车间洁净度允许值', + field: 'cleanOfStackPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '一次注液车间洁净度允许值', + field: 'cleanOfPriInjectPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成前静置车间洁净度允许值', + field: 'cOfPreStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成车间洁净度允许值', + field: 'clOfStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '化成后静置车间洁净度允许值', + field: 'cleanOfAftStandPlant', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellEnv/index.vue b/src/views/battery/cellEnv/index.vue new file mode 100644 index 0000000..6474867 --- /dev/null +++ b/src/views/battery/cellEnv/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/battery/cellPass/cellPass.data.ts b/src/views/battery/cellPass/cellPass.data.ts new file mode 100644 index 0000000..00f4615 --- /dev/null +++ b/src/views/battery/cellPass/cellPass.data.ts @@ -0,0 +1,64 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellPassRules = reactive({ +}) + +export const CellPass = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '直通率允许值', + field: 'passPer', + sort: 'custom', + isSearch: true, + }, + { + label: '关键设备清单', + field: 'equAbnList', + sort: 'custom', + isSearch: true, + }, + { + label: '关键设备异常报警次数允许值', + field: 'equAbnAlarm', + sort: 'custom', + isSearch: true, + }, + { + label: '环境异常报警次数允许值', + field: 'environAbnoralarm', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellPass/index.vue b/src/views/battery/cellPass/index.vue new file mode 100644 index 0000000..b89c661 --- /dev/null +++ b/src/views/battery/cellPass/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/battery/cellPlate/cellPlate.data.ts b/src/views/battery/cellPlate/cellPlate.data.ts new file mode 100644 index 0000000..051efd2 --- /dev/null +++ b/src/views/battery/cellPlate/cellPlate.data.ts @@ -0,0 +1,130 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellPlateRules = reactive({ +}) + +export const CellPlate = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '正极粉料磁性物质含量允许值', + field: 'posPowrMagSub', + sort: 'custom', + isSearch: true, + }, + { + label: '负极粉料磁性物质含量允许值', + field: 'negPowrMagSub', + sort: 'custom', + isSearch: true, + }, + { + label: '正极浆料磁性物质含量允许值', + field: 'posSlurMagSub', + sort: 'custom', + isSearch: true, + }, + { + label: '负极浆料磁性物质含量允许值', + field: 'negSlurMagSub', + sort: 'custom', + isSearch: true, + }, + { + label: '正极极片单面面密度允许偏差', + field: 'posPolOneSidDen', + sort: 'custom', + isSearch: true, + }, + { + label: '负极极片单面面密度允许偏差', + field: 'negPolOneSidDen', + sort: 'custom', + isSearch: true, + }, + { + label: '正极极片双面面密度允许偏差', + field: 'posPolDouSidDen', + sort: 'custom', + isSearch: true, + }, + { + label: '负极极片双面面密度允许偏差', + field: 'negPolDouSidDen', + sort: 'custom', + isSearch: true, + }, + { + label: '正极辊压厚度允许偏差', + field: 'posColTh', + sort: 'custom', + isSearch: true, + }, + { + label: '负极辊压厚度允许偏差', + field: 'negColTh', + sort: 'custom', + isSearch: true, + }, + { + label: '正极极片长度允许偏差', + field: 'posPolLen', + sort: 'custom', + isSearch: true, + }, + { + label: '负极极片长度允许偏差', + field: 'negPolLen', + sort: 'custom', + isSearch: true, + }, + { + label: '模切分条后隔膜厚度', + field: 'diaThiAftDieSli', + sort: 'custom', + isSearch: true, + }, + { + label: '模切分条后毛刺长度允许值', + field: 'verHeiAftDieSli', + sort: 'custom', + isSearch: true, + }, + { + label: '烘烤后极片水份含量允许值', + field: 'mosConPolAftBak', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellPlate/index.vue b/src/views/battery/cellPlate/index.vue new file mode 100644 index 0000000..ebb383c --- /dev/null +++ b/src/views/battery/cellPlate/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/battery/cellProd/cellProd.data.ts b/src/views/battery/cellProd/cellProd.data.ts new file mode 100644 index 0000000..b720a43 --- /dev/null +++ b/src/views/battery/cellProd/cellProd.data.ts @@ -0,0 +1,106 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const CellProdRules = reactive({ +}) + +export const CellProd = useCrudSchemas(reactive([ + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '盖板焊接后真空泄露值或氦气检出值允许值', + field: 'vacLeaValOrHelVal', + sort: 'custom', + isSearch: true, + }, + { + label: '密封钉焊接后氦气检出值允许值', + field: 'helDetAftWel', + sort: 'custom', + isSearch: true, + }, + { + label: '总注液量标准值', + field: 'tolInj', + sort: 'custom', + isSearch: true, + }, + { + label: '总注液量偏差百分比允许值', + field: 'tolInjPerDev', + sort: 'custom', + isSearch: true, + }, + { + label: '总重量允许值', + field: 'totWeight', + sort: 'custom', + isSearch: true, + }, + { + label: '出厂电压允许值', + field: 'facVol', + sort: 'custom', + isSearch: true, + }, + { + label: '容量允许值', + field: 'quantitative', + sort: 'custom', + isSearch: true, + }, + { + label: '交流阻抗允许值', + field: 'impAc', + sort: 'custom', + isSearch: true, + }, + { + label: '电芯长度允许值', + field: 'celLen', + sort: 'custom', + isSearch: true, + }, + { + label: '电芯宽度允许值', + field: 'celWid', + sort: 'custom', + isSearch: true, + }, + { + label: '电芯厚度允许值', + field: 'celThi', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/battery/cellProd/index.vue b/src/views/battery/cellProd/index.vue new file mode 100644 index 0000000..295dfd3 --- /dev/null +++ b/src/views/battery/cellProd/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/battery/monomer/index.vue b/src/views/battery/monomer/index.vue new file mode 100644 index 0000000..af4049a --- /dev/null +++ b/src/views/battery/monomer/index.vue @@ -0,0 +1,250 @@ + + + diff --git a/src/views/battery/monomer/monomer.data.ts b/src/views/battery/monomer/monomer.data.ts new file mode 100644 index 0000000..0f2b92a --- /dev/null +++ b/src/views/battery/monomer/monomer.data.ts @@ -0,0 +1,536 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const MonomerRules = reactive({ +}) + +export const Monomer = useCrudSchemas(reactive([ + { + label: '数据类型', + field: 'type', + sort: 'custom', + isSearch: true, + // form: { + // component: 'InputNumber', + // value: 0 + // }, + dictType: DICT_TYPE.BATTERY_TYPE, + dictClass: 'string', + isTable: true, + tableForm: { + type: 'Select' + } + }, + { + label: '版本号', + field: 'version', + sort: 'custom', + isSearch: false, + }, + { + label: '作者', + field: 'author', + sort: 'custom', + isSearch: true, + }, + { + label: '产线名称', + field: 'name', + sort: 'custom', + isSearch: true, + }, + { + label: '报送时间', + field: 'date', + sort: 'custom', + isSearch: false, + }, + { + label: '数据报送时间', + field: 'timeStamp', + sort: 'custom', + isSearch: false, + }, + { + label: '工作控制号', + field: 'workNo', + sort: 'custom', + isSearch: true, + }, + { + label: '试验结束时间', + field: 'endTime', + sort: 'custom', + isSearch: false, + }, + { + label: '实际生产周期', + field: 'actCycle', + sort: 'custom', + isSearch: false, + }, + { + label: '产线ID', + field: 'plineId', + sort: 'custom', + isSearch: true, + }, + { + label: '产品型号', + field: 'ptype', + sort: 'custom', + isSearch: true, + }, + { + label: '检测类型', + field: 'testType', + sort: 'custom', + isSearch: false, + }, + { + label: '工艺流程图', + field: 'procImage', + sort: 'custom', + isSearch: false, + }, + { + label: '报检说明', + field: 'workRemark', + sort: 'custom', + isSearch: false, + }, + { + label: '工艺流程说明', + field: 'procRemark', + sort: 'custom', + isSearch: false, + }, + // { + // label: '一次注液', + // field: 'oneInjectPreCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '二次注液', + // field: 'twoInjectPreCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极涂布面密度', + // field: 'posCoatDenCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极涂布面密度', + // field: 'negCoatDenCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极辊压厚度', + // field: 'posRollThickCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极辊压厚度', + // field: 'negRollThickCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '第一次注液量', + // field: 'oneInjectCpk', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '最终注液保有量', + // field: 'finalInjectRetenCpk', + // sort: 'custom', + // isSearch: false, + // }, + // + // { + // label: '一次注液车间温度', + // field: 'temOfPriinjectPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成前静置车间温度', + // field: 'temOfPreStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成车间温度', + // field: 'temOfStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成后静置车间温度', + // field: 'temOfAftStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '二次注液车间温度', + // field: 'temOfSecinjectPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '分容前静置车间温度', + // field: 'tempOfBefVolSepPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '分容车间温度', + // field: 'tempOfVolSepPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '组装车间湿度', + // field: 'humOfVolAssPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '一次注液车间湿度(露点)', + // field: 'humOfPriinjectPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成前静置车间湿度(露点)', + // field: 'humOfPreStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成车间湿度(露点)', + // field: 'humOfStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成后静置车间湿度(露点)', + // field: 'humOfAftStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '二次注液车间湿度(露点)', + // field: 'humOfSecinjectPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '分容前静置车间湿度', + // field: 'humpOfBefVolSepPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '分容车间湿度', + // field: 'humpOfVolSepPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '洁净度粉尘粒径', + // field: 'standardOfClean', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '涂布车间洁净度', + // field: 'cleanOfCoatPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '辊压车间洁净度', + // field: 'cleanOfRollPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '分切车间洁净度', + // field: 'cleanOfSlitPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '卷绕或者叠片车间洁净度', + // field: 'cleanOfStackPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '一次注液车间洁净度', + // field: 'cleanOfPriInjectPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成前静置车间洁净度', + // field: 'cOfPreStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成车间洁净度', + // field: 'clOfStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '化成后静置车间洁净度', + // field: 'cleanOfAftStandPlant', + // sort: 'custom', + // isSearch: false, + // }, + // + // { + // label: '正极粉料磁性物质含量', + // field: 'posPowrMagSub', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极粉料磁性物质含量', + // field: 'negPowrMagSub', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极浆料磁性物质含量', + // field: 'posSlurMagSub', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极浆料磁性物质含量', + // field: 'negSlurMagSub', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极极片单面面密度', + // field: 'posPolOneSidDen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极极片单面面密度', + // field: 'negPolOneSidDen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极极片双面面密度', + // field: 'posPolDouSidDen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极极片双面面密度', + // field: 'negPolDouSidDen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极辊压厚度', + // field: 'posColTh', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极辊压厚度', + // field: 'negColTh', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '正极极片长度', + // field: 'posPolLen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '负极极片长度', + // field: 'negPolLen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '模切分条后隔膜厚度', + // field: 'diaThiAftDieSli', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '模切分条后毛刺长度', + // field: 'verHeiAftDieSli', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '烘烤后极片水份含量', + // field: 'mosConPolAftBak', + // sort: 'custom', + // isSearch: false, + // }, + // + // { + // label: 'A卷芯或叠芯厚度', + // field: 'acoreThi', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: 'A卷芯或叠芯宽度', + // field: 'acoreWid', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: 'B卷芯或叠芯厚度', + // field: 'bcoreThi', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: 'B卷芯或叠芯宽度', + // field: 'bcoreWid', + // sort: 'custom', + // isSearch: false, + // }, + // + // { + // label: '盖板焊接后真空泄露值或氦气检出值', + // field: 'vacLeaValOrHelVal', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '密封钉焊接后氦气检出值', + // field: 'helDetAftWel', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '总注液量标准值', + // field: 'tolInj', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '总注液量偏差百分比', + // field: 'tolInjPerDev', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '总重量', + // field: 'totWeight', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '出厂电压', + // field: 'facVol', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '容量', + // field: 'quantitative', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '交流阻抗', + // field: 'impAc', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '电芯长度', + // field: 'celLen', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '电芯宽度', + // field: 'celWid', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '电芯厚度', + // field: 'celThi', + // sort: 'custom', + // isSearch: false, + // }, + // + // { + // label: '直通率', + // field: 'passPer', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '关键设备清单', + // field: 'equAbnList', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '关键设备异常报警次数', + // field: 'equAbnAlarm', + // sort: 'custom', + // isSearch: false, + // }, + // { + // label: '环境异常报警次数', + // field: 'environAbnoralarm', + // sort: 'custom', + // isSearch: false, + // }, + + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/ccwin/eqBake/eqBake.data.ts b/src/views/ccwin/eqBake/eqBake.data.ts new file mode 100644 index 0000000..012b0b8 --- /dev/null +++ b/src/views/ccwin/eqBake/eqBake.data.ts @@ -0,0 +1,70 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const EqBakeRules = reactive({ +}) + +export const EqBake = useCrudSchemas(reactive([ + // { + // label: '主键、自增', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '数据点编号', + field: 'icode', + sort: 'custom', + isSearch: true, + }, + { + label: '数据点名称', + field: 'iname', + sort: 'custom', + isSearch: true, + }, + { + label: '采集值', + field: 'ivalue', + sort: 'custom', + isSearch: false, + }, + { + label: '设备编号', + field: 'mcode', + sort: 'custom', + isSearch: true, + }, + { + label: '设备名称', + field: 'mname', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + // }, + // { + // label: '操作', + // field: 'action', + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // } + } +])) diff --git a/src/views/ccwin/eqBake/index.vue b/src/views/ccwin/eqBake/index.vue new file mode 100644 index 0000000..9716a24 --- /dev/null +++ b/src/views/ccwin/eqBake/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/ccwin/eqRollWelding/eqRollWelding.data.ts b/src/views/ccwin/eqRollWelding/eqRollWelding.data.ts new file mode 100644 index 0000000..dd11d6b --- /dev/null +++ b/src/views/ccwin/eqRollWelding/eqRollWelding.data.ts @@ -0,0 +1,70 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const EqRollWeldingRules = reactive({ +}) + +export const EqRollWelding = useCrudSchemas(reactive([ + // { + // label: '主键、自增', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '数据点编号', + field: 'icode', + sort: 'custom', + isSearch: true, + }, + { + label: '数据点名称', + field: 'iname', + sort: 'custom', + isSearch: true, + }, + { + label: '采集值', + field: 'ivalue', + sort: 'custom', + isSearch: false, + }, + { + label: '设备编号', + field: 'mcode', + sort: 'custom', + isSearch: true, + }, + { + label: '设备名称', + field: 'mname', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + // }, + // { + // label: '操作', + // field: 'action', + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // } + } +])) diff --git a/src/views/ccwin/eqRollWelding/index.vue b/src/views/ccwin/eqRollWelding/index.vue new file mode 100644 index 0000000..a4c4c02 --- /dev/null +++ b/src/views/ccwin/eqRollWelding/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/ccwin/paNmp/index.vue b/src/views/ccwin/paNmp/index.vue new file mode 100644 index 0000000..56afea6 --- /dev/null +++ b/src/views/ccwin/paNmp/index.vue @@ -0,0 +1,244 @@ + + + diff --git a/src/views/ccwin/paNmp/paNmp.data.ts b/src/views/ccwin/paNmp/paNmp.data.ts new file mode 100644 index 0000000..46e2ba1 --- /dev/null +++ b/src/views/ccwin/paNmp/paNmp.data.ts @@ -0,0 +1,70 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const PaNmpRules = reactive({ +}) + +export const PaNmp = useCrudSchemas(reactive([ + // { + // label: '主键、自增', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, + { + label: '数据点编号', + field: 'icode', + sort: 'custom', + isSearch: true, + }, + { + label: '数据点名称', + field: 'iname', + sort: 'custom', + isSearch: true, + }, + { + label: '采集值', + field: 'ivalue', + sort: 'custom', + isSearch: false, + }, + { + label: '设备编号', + field: 'mcode', + sort: 'custom', + isSearch: true, + }, + { + label: '设备名称', + field: 'mname', + sort: 'custom', + isSearch: true, + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + // }, + // { + // label: '操作', + // field: 'action', + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // } + } +])) diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue index 69d1c4c..5c178ad 100644 --- a/src/views/login/components/LoginForm.vue +++ b/src/views/login/components/LoginForm.vue @@ -145,8 +145,8 @@ const loginData = reactive({ tenantEnable: import.meta.env.VITE_APP_TENANT_ENABLE, loginForm: { tenantName: tenantArray.value[0].name, - username: 'admin', - password: '123456', + username: '', + password: '', captchaVerification: '', rememberMe: false, code: '',