diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/baseInfo.vue b/src/views/device/standardEquipment/components/standardList/baseInfo.vue new file mode 100644 index 0000000..c47ad1d --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/baseInfo.vue @@ -0,0 +1,675 @@ + + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/baseInfo.vue b/src/views/device/standardEquipment/components/standardList/baseInfo.vue new file mode 100644 index 0000000..c47ad1d --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/baseInfo.vue @@ -0,0 +1,675 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/standardList/temptable.vue b/src/views/device/standardEquipment/components/standardList/temptable.vue new file mode 100644 index 0000000..59120b8 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/temptable.vue @@ -0,0 +1,388 @@ + + + + + + diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/baseInfo.vue b/src/views/device/standardEquipment/components/standardList/baseInfo.vue new file mode 100644 index 0000000..c47ad1d --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/baseInfo.vue @@ -0,0 +1,675 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/standardList/temptable.vue b/src/views/device/standardEquipment/components/standardList/temptable.vue new file mode 100644 index 0000000..59120b8 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/temptable.vue @@ -0,0 +1,388 @@ + + + + + + diff --git a/src/views/device/standardEquipment/components/standardListAdd.vue b/src/views/device/standardEquipment/components/standardListAdd.vue index ea13629..348bb41 100644 --- a/src/views/device/standardEquipment/components/standardListAdd.vue +++ b/src/views/device/standardEquipment/components/standardListAdd.vue @@ -3,6 +3,8 @@ import { ElMessage, ElMessageBox } from 'element-plus' import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus' import type { IOptions } from '../standard_interface' +import baseInfo from './standardList/baseInfo.vue' +import table from './standardList/temptable.vue' import { getStaffList } from '@/api/measure/person' import { getTypeSelect } from '@/api/system/price' import { getStandardLisUpdate, getStandardListAdd, getStandardListDetail, getUsersDept } from '@/api/device/standard' @@ -17,188 +19,35 @@ default: '', }, }) -const emit = defineEmits(['close']) // 关闭 -const ruleFormRef = ref() -// 逻辑代码 -const formInline = ref({ - assessDate: '', - assessmentUnit: '', - category: null, - categoryName: '', - constructionStandardProject: '', - constructionStandardUnitName: '', - contactInfo: '', - createTime: null, - createUser: null, - id: '', - isDel: null, - laboratoryOwner: null, - laboratoryOwnerContact: null, - laboratoryOwnerName: null, - managerState: null, - managerStateName: '', - measureMajor: null, - fileList: [], - measureMajorName: '', - mesureRange: '', - organizeNo: '', - preparationDate: '', - projectNo: '', - remark: '', - standardHumidity: null, - standardLaboratory: null, - standardLaboratoryName: '', - standardLevel: null, - standardLevelName: '', - standardName: '', - standardNo: '', - standardOwner: null, - standardOwnerName: '', - standardTemperature: null, - totalInvestment: null, - transmitRange: null, - transmitRangeName: '', - uncertainty: '', - updateTime: null, - version: null, -}) -const checkTypeOptions = ref([]) - -const standardOwnerOptions = ref([]) // 标准负责人 -const fileList = ref([]) // 文件对象数组 -const measureMajorList = ref([]) // 计量专业下拉框 -const standardManagerStateList = ref([]) // 管理状态下拉框 -const standardLevelList = ref([]) // 标准等级下拉框 -const transmitRangeList = ref([]) // 传递范围下拉框 -// 标准所在部门下拉框 -const standardUsersDeptList = ref([]) -// 获取下拉框 -const getSelectList = (code: string) => { - getTypeSelect(code).then((res) => { - if (code === 'measureMajor') { - measureMajorList.value = res.data - } - else if (code === 'standardManagerState') { - standardManagerStateList.value = res.data - } - else if (code === 'standardLevel') { - standardLevelList.value = res.data - } - else if (code === 'transmitRange') { - transmitRangeList.value = res.data - } - else if (code === 'standardCategory') { - checkTypeOptions.value = res.data - } - }) +const emit = defineEmits(['close']) +// 定义数据 +const formInline = ref({}) +// 关闭 +interface menuType { + name: string + comp: any } -getSelectList('measureMajor') // 获取计量专业下拉框 -getSelectList('standardManagerState') // 获取管理状态下拉框 -getSelectList('standardLevel') // 获取标准等级下拉框 -getSelectList('transmitRange') // 获取传递范围下拉框 -getSelectList('standardCategory') // 获取类别下拉框 -// 获取部门信息 -getUsersDept({ - createTime: '', - director: '', - meterMajor: '', - organizeName: '', - organizeNo: '', - organizeType: '2', - pdeptId: null, - offset: 1, - limit: 999999, -}).then((res) => { - standardUsersDeptList.value = res.data.rows +const menu = shallowRef([ + { name: '基本信息', comp: baseInfo }, + { name: '计量人员', comp: table }, + { name: '标准配套设备', comp: table }, + { name: '检定规程', comp: table }, + { name: '重复性考核记录', comp: table }, + { name: '稳定性考核记录', comp: table }, + { name: '证书管理', comp: table }, +]) +const currentCompRef = ref() +const current = ref('基本信息') +const currentComp = shallowRef(baseInfo) +watch(current, (newValue) => { + currentComp.value = menu.value.filter(item => item.name === newValue)[0].comp }) -// 获取到标准负责人数组 -const getStandardOwnerOptions = () => { - const params = { - staffNo: '', // 人员编号 - name: '', // 姓名 - deptId: '', // 工作部门 - major: '', // 计量专业 - verifierCertificateNo: '', // 证书号 - certificateStatus: '', // 证书状态 - limit: 100000, - offset: 1, - } - getStaffList(params).then((res) => { - standardOwnerOptions.value = res.data.records - }) -} -getStandardOwnerOptions() // 关闭 const close = () => { emit('close') } -const rules = ref({ - standardName: [{ required: true, message: '标准名称不能为空', trigger: 'blur' }], - projectNo: [{ required: true, message: '项目编号不能为空', trigger: 'blur' }], - constructionStandardProject: [{ required: true, message: '建标项目不能为空', trigger: 'blur' }], - organizeNo: [{ required: true, message: '组织机构代码不能为空', trigger: 'blur' }], - constructionStandardUnitName: [{ required: true, message: '建标单位名称不能为空', trigger: 'blur' }], - standardOwner: [{ required: true, message: '标准负责人不能为空', trigger: 'blur' }], - contactInfo: [{ required: true, message: '联系方式不能为空', trigger: 'blur' }], - category: [{ required: true, message: '类 别不能为空', trigger: 'blur' }], - standardLevel: [{ required: true, message: '标准等级不能为空', trigger: 'blur' }], - transmitRange: [{ required: true, message: '传递范围不能为空', trigger: 'blur' }], - preparationDate: [{ required: true, message: '筹建日期不能为空', trigger: 'blur' }], - managerState: [{ required: true, message: '管理状态不能为空', trigger: 'blur' }], - measureMajor: [{ required: true, message: '计量专业不能为空', trigger: 'blur' }], - assessmentUnit: [{ required: true, message: '考核单位不能为空', trigger: 'blur' }], - assessDate: [{ required: true, message: '考核日期不能为空', trigger: 'blur' }], - uncertainty: [{ required: true, message: '不确定度不能为空', trigger: 'blur' }], - mesureRange: [{ required: true, message: '测量范围不能为空', trigger: 'blur' }], - standardTemperature: [{ required: true, message: '标准温度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准温度只能为数字', trigger: 'blur' }], - standardHumidity: [{ required: true, message: '标准湿度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准湿度只能为数字', trigger: 'blur' }], -}) // 表单验证规则 -// 上传请求 -const uploadQuarterlyEvaluateFile = (file: File) => { - const fd = new FormData() - fd.append('multipartFile', file.file) - UploadFile(fd).then((res) => { - if (res.code === 200) { - formInline.value.fileList = res.data - // 重置当前验证 - ElMessage.success('文件上传成功') - } - }) -} -const handleExceed: UploadProps['onExceed'] = (files, uploadFiles) => { - ElMessage.warning('只能上传一个文件') -} -// 移除时触发 -const beforeRemove: UploadProps['beforeRemove'] = (uploadFile, uploadFiles) => { - return ElMessageBox.confirm( - `确认移除${uploadFile.name}文件吗 ?`, - ).then( - () => true, - () => false, - - ) -} -// 点击文件预览 -const uploadShow = (e: any) => { - const URL = window.URL || window.webkitURL - window.open(URL.createObjectURL(e.raw)) -} -const testForm = ref({ - fileList: [], - fileContent: '', -}) -const handleFileChange = (files: any, fileList: any) => { - testForm.value.fileList = fileList - const reader = new FileReader() - reader.readAsText(files.raw) - // reader.onload = (e) => { - // testForm.value.fileContent = e.target!.result?.replace( - // /\n|\r\n/g, - // '
', - // ) - // } +const setData = (newValue: object) => { + formInline.value = newValue } // 编辑获取详情的提交按钮 const submitFormDetail = () => { @@ -223,60 +72,29 @@ } } // 提交 -const submitForm = (formEl: FormInstance | undefined) => { - if (!formEl) { return } +const submitForm = () => { if (props.buttonType === '详情') { return submitFormDetail() } - formEl.validate((valid, fields) => { - if (valid) { - ElMessageBox.confirm( - '确认提交吗?', - '提示', - { - confirmButtonText: '确认', - cancelButtonText: '取消', - type: 'warning', - }, - ).then(() => { - props.buttonType === '' - ? getStandardListAdd(formInline.value).then((res) => { - if (res.code === 200) { - close() - } - }) - : submitFormDetail() - }) - } - }) -} -// 标准实验室发生改变row类型 -interface rowReturn { - phone: string - director: string -} -// 标准实验室发生改变 -const changeDeptList = (row: object) => { - formInline.value.laboratoryOwnerContact = row.phone - formInline.value.laboratoryOwner = row.director -} -// 标准实验室清空时 -const clearDeptList = () => { - formInline.value.laboratoryOwnerContact = null - formInline.value.laboratoryOwner = null -} -// 获取详情信息 -const getInfo = () => { - getStandardListDetail({ id: props.infoId }).then((res) => { - Object.keys(res.data).map((item) => { - if (typeof (res.data[item]) === 'number') { - res.data[item] = res.data[item].toString() - } + ElMessageBox.confirm( + '确认提交吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + current.value = '基本信息' + currentCompRef.value.submitForm().validate().then(() => { + props.buttonType === '' + ? getStandardListAdd(formInline.value).then((res) => { + if (res.code === 200) { + close() + } + }) + : submitFormDetail() }) - formInline.value = res.data }) } -if (props.buttonType !== '') { - getInfo() -} @@ -719,14 +149,8 @@ } } -.info-content { - margin-top: 10px; - padding: 30px; - border-radius: 10px; +.body { background-color: #fff; -} - -:deep .el-input .el-input--default .el-input--suffix { - width: 200px !important; + margin-top: 10px; } diff --git a/src/components.d.ts b/src/components.d.ts index 5a09663..2e27c4d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -13,6 +13,8 @@ ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] Auth: typeof import('./components/Auth/index.vue')['default'] AuthAll: typeof import('./components/AuthAll/index.vue')['default'] + BarChartHorizontal: typeof import('./components/Echart/BarChartHorizontal.vue')['default'] + BarChartVertical: typeof import('./components/Echart/BarChartVertical.vue')['default'] BatchActionBar: typeof import('./components/BatchActionBar/index.vue')['default'] Benchcol: typeof import('./components/benchcol/index.vue')['default'] BenchCol: typeof import('./components/benchCol/index.vue')['default'] @@ -20,7 +22,6 @@ CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] - Echarts: typeof import('./components/echarts/index.vue')['default'] Editor: typeof import('./components/Editor/index.vue')['default'] EmployeesDialog: typeof import('./components/dialog/employeesDialog.vue')['default'] EmployeesRoleDialog: typeof import('./components/dialog/employeesRoleDialog.vue')['default'] @@ -30,13 +31,14 @@ ImagePreview: typeof import('./components/ImagePreview/index.vue')['default'] ImagesUpload: typeof import('./components/ImagesUpload/index.vue')['default'] ImageUpload: typeof import('./components/ImageUpload/index.vue')['default'] + LineChart: typeof import('./components/Echart/LineChart.vue')['default'] NodeWrap: typeof import('./components/workFlow/nodeWrap.vue')['default'] NodeWrapBan: typeof import('./components/workFlow/nodeWrapBan.vue')['default'] NormalTable: typeof import('./components/NormalTable/index.vue')['default'] PageHeader: typeof import('./components/PageHeader/index.vue')['default'] PageMain: typeof import('./components/PageMain/index.vue')['default'] PcasCascader: typeof import('./components/PcasCascader/index.vue')['default'] - Pie: typeof import('./components/echarts/pie.vue')['default'] + PieChart: typeof import('./components/Echart/PieChart.vue')['default'] PromoterDrawer: typeof import('./components/drawer/promoterDrawer.vue')['default'] RoleDialog: typeof import('./components/dialog/roleDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/device/standardEquipment/changeApply.vue b/src/views/device/standardEquipment/changeApply.vue index 0762330..6be4200 100644 --- a/src/views/device/standardEquipment/changeApply.vue +++ b/src/views/device/standardEquipment/changeApply.vue @@ -1,13 +1,65 @@ - + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/baseInfo.vue b/src/views/device/standardEquipment/components/standardList/baseInfo.vue new file mode 100644 index 0000000..c47ad1d --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/baseInfo.vue @@ -0,0 +1,675 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/standardList/temptable.vue b/src/views/device/standardEquipment/components/standardList/temptable.vue new file mode 100644 index 0000000..59120b8 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/temptable.vue @@ -0,0 +1,388 @@ + + + + + + diff --git a/src/views/device/standardEquipment/components/standardListAdd.vue b/src/views/device/standardEquipment/components/standardListAdd.vue index ea13629..348bb41 100644 --- a/src/views/device/standardEquipment/components/standardListAdd.vue +++ b/src/views/device/standardEquipment/components/standardListAdd.vue @@ -3,6 +3,8 @@ import { ElMessage, ElMessageBox } from 'element-plus' import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus' import type { IOptions } from '../standard_interface' +import baseInfo from './standardList/baseInfo.vue' +import table from './standardList/temptable.vue' import { getStaffList } from '@/api/measure/person' import { getTypeSelect } from '@/api/system/price' import { getStandardLisUpdate, getStandardListAdd, getStandardListDetail, getUsersDept } from '@/api/device/standard' @@ -17,188 +19,35 @@ default: '', }, }) -const emit = defineEmits(['close']) // 关闭 -const ruleFormRef = ref() -// 逻辑代码 -const formInline = ref({ - assessDate: '', - assessmentUnit: '', - category: null, - categoryName: '', - constructionStandardProject: '', - constructionStandardUnitName: '', - contactInfo: '', - createTime: null, - createUser: null, - id: '', - isDel: null, - laboratoryOwner: null, - laboratoryOwnerContact: null, - laboratoryOwnerName: null, - managerState: null, - managerStateName: '', - measureMajor: null, - fileList: [], - measureMajorName: '', - mesureRange: '', - organizeNo: '', - preparationDate: '', - projectNo: '', - remark: '', - standardHumidity: null, - standardLaboratory: null, - standardLaboratoryName: '', - standardLevel: null, - standardLevelName: '', - standardName: '', - standardNo: '', - standardOwner: null, - standardOwnerName: '', - standardTemperature: null, - totalInvestment: null, - transmitRange: null, - transmitRangeName: '', - uncertainty: '', - updateTime: null, - version: null, -}) -const checkTypeOptions = ref([]) - -const standardOwnerOptions = ref([]) // 标准负责人 -const fileList = ref([]) // 文件对象数组 -const measureMajorList = ref([]) // 计量专业下拉框 -const standardManagerStateList = ref([]) // 管理状态下拉框 -const standardLevelList = ref([]) // 标准等级下拉框 -const transmitRangeList = ref([]) // 传递范围下拉框 -// 标准所在部门下拉框 -const standardUsersDeptList = ref([]) -// 获取下拉框 -const getSelectList = (code: string) => { - getTypeSelect(code).then((res) => { - if (code === 'measureMajor') { - measureMajorList.value = res.data - } - else if (code === 'standardManagerState') { - standardManagerStateList.value = res.data - } - else if (code === 'standardLevel') { - standardLevelList.value = res.data - } - else if (code === 'transmitRange') { - transmitRangeList.value = res.data - } - else if (code === 'standardCategory') { - checkTypeOptions.value = res.data - } - }) +const emit = defineEmits(['close']) +// 定义数据 +const formInline = ref({}) +// 关闭 +interface menuType { + name: string + comp: any } -getSelectList('measureMajor') // 获取计量专业下拉框 -getSelectList('standardManagerState') // 获取管理状态下拉框 -getSelectList('standardLevel') // 获取标准等级下拉框 -getSelectList('transmitRange') // 获取传递范围下拉框 -getSelectList('standardCategory') // 获取类别下拉框 -// 获取部门信息 -getUsersDept({ - createTime: '', - director: '', - meterMajor: '', - organizeName: '', - organizeNo: '', - organizeType: '2', - pdeptId: null, - offset: 1, - limit: 999999, -}).then((res) => { - standardUsersDeptList.value = res.data.rows +const menu = shallowRef([ + { name: '基本信息', comp: baseInfo }, + { name: '计量人员', comp: table }, + { name: '标准配套设备', comp: table }, + { name: '检定规程', comp: table }, + { name: '重复性考核记录', comp: table }, + { name: '稳定性考核记录', comp: table }, + { name: '证书管理', comp: table }, +]) +const currentCompRef = ref() +const current = ref('基本信息') +const currentComp = shallowRef(baseInfo) +watch(current, (newValue) => { + currentComp.value = menu.value.filter(item => item.name === newValue)[0].comp }) -// 获取到标准负责人数组 -const getStandardOwnerOptions = () => { - const params = { - staffNo: '', // 人员编号 - name: '', // 姓名 - deptId: '', // 工作部门 - major: '', // 计量专业 - verifierCertificateNo: '', // 证书号 - certificateStatus: '', // 证书状态 - limit: 100000, - offset: 1, - } - getStaffList(params).then((res) => { - standardOwnerOptions.value = res.data.records - }) -} -getStandardOwnerOptions() // 关闭 const close = () => { emit('close') } -const rules = ref({ - standardName: [{ required: true, message: '标准名称不能为空', trigger: 'blur' }], - projectNo: [{ required: true, message: '项目编号不能为空', trigger: 'blur' }], - constructionStandardProject: [{ required: true, message: '建标项目不能为空', trigger: 'blur' }], - organizeNo: [{ required: true, message: '组织机构代码不能为空', trigger: 'blur' }], - constructionStandardUnitName: [{ required: true, message: '建标单位名称不能为空', trigger: 'blur' }], - standardOwner: [{ required: true, message: '标准负责人不能为空', trigger: 'blur' }], - contactInfo: [{ required: true, message: '联系方式不能为空', trigger: 'blur' }], - category: [{ required: true, message: '类 别不能为空', trigger: 'blur' }], - standardLevel: [{ required: true, message: '标准等级不能为空', trigger: 'blur' }], - transmitRange: [{ required: true, message: '传递范围不能为空', trigger: 'blur' }], - preparationDate: [{ required: true, message: '筹建日期不能为空', trigger: 'blur' }], - managerState: [{ required: true, message: '管理状态不能为空', trigger: 'blur' }], - measureMajor: [{ required: true, message: '计量专业不能为空', trigger: 'blur' }], - assessmentUnit: [{ required: true, message: '考核单位不能为空', trigger: 'blur' }], - assessDate: [{ required: true, message: '考核日期不能为空', trigger: 'blur' }], - uncertainty: [{ required: true, message: '不确定度不能为空', trigger: 'blur' }], - mesureRange: [{ required: true, message: '测量范围不能为空', trigger: 'blur' }], - standardTemperature: [{ required: true, message: '标准温度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准温度只能为数字', trigger: 'blur' }], - standardHumidity: [{ required: true, message: '标准湿度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准湿度只能为数字', trigger: 'blur' }], -}) // 表单验证规则 -// 上传请求 -const uploadQuarterlyEvaluateFile = (file: File) => { - const fd = new FormData() - fd.append('multipartFile', file.file) - UploadFile(fd).then((res) => { - if (res.code === 200) { - formInline.value.fileList = res.data - // 重置当前验证 - ElMessage.success('文件上传成功') - } - }) -} -const handleExceed: UploadProps['onExceed'] = (files, uploadFiles) => { - ElMessage.warning('只能上传一个文件') -} -// 移除时触发 -const beforeRemove: UploadProps['beforeRemove'] = (uploadFile, uploadFiles) => { - return ElMessageBox.confirm( - `确认移除${uploadFile.name}文件吗 ?`, - ).then( - () => true, - () => false, - - ) -} -// 点击文件预览 -const uploadShow = (e: any) => { - const URL = window.URL || window.webkitURL - window.open(URL.createObjectURL(e.raw)) -} -const testForm = ref({ - fileList: [], - fileContent: '', -}) -const handleFileChange = (files: any, fileList: any) => { - testForm.value.fileList = fileList - const reader = new FileReader() - reader.readAsText(files.raw) - // reader.onload = (e) => { - // testForm.value.fileContent = e.target!.result?.replace( - // /\n|\r\n/g, - // '
', - // ) - // } +const setData = (newValue: object) => { + formInline.value = newValue } // 编辑获取详情的提交按钮 const submitFormDetail = () => { @@ -223,60 +72,29 @@ } } // 提交 -const submitForm = (formEl: FormInstance | undefined) => { - if (!formEl) { return } +const submitForm = () => { if (props.buttonType === '详情') { return submitFormDetail() } - formEl.validate((valid, fields) => { - if (valid) { - ElMessageBox.confirm( - '确认提交吗?', - '提示', - { - confirmButtonText: '确认', - cancelButtonText: '取消', - type: 'warning', - }, - ).then(() => { - props.buttonType === '' - ? getStandardListAdd(formInline.value).then((res) => { - if (res.code === 200) { - close() - } - }) - : submitFormDetail() - }) - } - }) -} -// 标准实验室发生改变row类型 -interface rowReturn { - phone: string - director: string -} -// 标准实验室发生改变 -const changeDeptList = (row: object) => { - formInline.value.laboratoryOwnerContact = row.phone - formInline.value.laboratoryOwner = row.director -} -// 标准实验室清空时 -const clearDeptList = () => { - formInline.value.laboratoryOwnerContact = null - formInline.value.laboratoryOwner = null -} -// 获取详情信息 -const getInfo = () => { - getStandardListDetail({ id: props.infoId }).then((res) => { - Object.keys(res.data).map((item) => { - if (typeof (res.data[item]) === 'number') { - res.data[item] = res.data[item].toString() - } + ElMessageBox.confirm( + '确认提交吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + current.value = '基本信息' + currentCompRef.value.submitForm().validate().then(() => { + props.buttonType === '' + ? getStandardListAdd(formInline.value).then((res) => { + if (res.code === 200) { + close() + } + }) + : submitFormDetail() }) - formInline.value = res.data }) } -if (props.buttonType !== '') { - getInfo() -} @@ -719,14 +149,8 @@ } } -.info-content { - margin-top: 10px; - padding: 30px; - border-radius: 10px; +.body { background-color: #fff; -} - -:deep .el-input .el-input--default .el-input--suffix { - width: 200px !important; + margin-top: 10px; } diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue index 35786b2..f4ce07a 100644 --- a/src/views/device/standardEquipment/expirationRemind.vue +++ b/src/views/device/standardEquipment/expirationRemind.vue @@ -26,39 +26,47 @@ text: '标准代码', value: 'standardNo', width: '160', + align: 'center', }, { text: '标准名称', value: 'standardName', width: '90', + align: 'center', }, { text: '管理状态', value: 'managerStateName', width: '100', + align: 'center', }, { text: '标准所在部门', value: 'standardLaboratoryName', width: '120', + align: 'center', }, { text: '负责人', value: 'standardOwnerName', + align: 'center', }, { text: '建标项目', value: 'standardOwnerName', + align: 'center', }, { text: '筹建日期', value: 'preparationDate', width: '160', + align: 'center', }, { text: '有效日期', value: 'preparationDate', width: '160', + align: 'center', }, ]) const total = ref(0) @@ -344,17 +352,17 @@ size="small" type="primary" link - @click="handleClick(row.$index, row, '编辑')" + @click="handleClick(row.$index, row, '详情')" > - 编辑 + 详情 - 详情 + 提醒 -// 逻辑代码 + + diff --git a/src/views/device/standardEquipment/components/changeApply/all.vue b/src/views/device/standardEquipment/components/changeApply/all.vue new file mode 100644 index 0000000..d124307 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/all.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/approvalPending.vue b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue new file mode 100644 index 0000000..8a7a8bc --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/approvalPending.vue @@ -0,0 +1,16 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/canceled.vue b/src/views/device/standardEquipment/components/changeApply/canceled.vue new file mode 100644 index 0000000..3b9657c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/canceled.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/draftBox.vue b/src/views/device/standardEquipment/components/changeApply/draftBox.vue new file mode 100644 index 0000000..43d7b75 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/draftBox.vue @@ -0,0 +1,15 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue new file mode 100644 index 0000000..c13f95a --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/examineAndApprove.vue @@ -0,0 +1,17 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPage.vue b/src/views/device/standardEquipment/components/changeApply/listPage.vue new file mode 100644 index 0000000..bcf35ee --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPage.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue new file mode 100644 index 0000000..71e68f7 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/listPageAdd.vue @@ -0,0 +1,693 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/notPass.vue b/src/views/device/standardEquipment/components/changeApply/notPass.vue new file mode 100644 index 0000000..5a4b817 --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/notPass.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/changeApply/passed.vue b/src/views/device/standardEquipment/components/changeApply/passed.vue new file mode 100644 index 0000000..31cd21c --- /dev/null +++ b/src/views/device/standardEquipment/components/changeApply/passed.vue @@ -0,0 +1,10 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/addRow.vue b/src/views/device/standardEquipment/components/standardList/addRow.vue new file mode 100644 index 0000000..9f2bf81 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/addRow.vue @@ -0,0 +1,270 @@ + + + + diff --git a/src/views/device/standardEquipment/components/standardList/baseInfo.vue b/src/views/device/standardEquipment/components/standardList/baseInfo.vue new file mode 100644 index 0000000..c47ad1d --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/baseInfo.vue @@ -0,0 +1,675 @@ + + + + + diff --git a/src/views/device/standardEquipment/components/standardList/temptable.vue b/src/views/device/standardEquipment/components/standardList/temptable.vue new file mode 100644 index 0000000..59120b8 --- /dev/null +++ b/src/views/device/standardEquipment/components/standardList/temptable.vue @@ -0,0 +1,388 @@ + + + + + + diff --git a/src/views/device/standardEquipment/components/standardListAdd.vue b/src/views/device/standardEquipment/components/standardListAdd.vue index ea13629..348bb41 100644 --- a/src/views/device/standardEquipment/components/standardListAdd.vue +++ b/src/views/device/standardEquipment/components/standardListAdd.vue @@ -3,6 +3,8 @@ import { ElMessage, ElMessageBox } from 'element-plus' import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus' import type { IOptions } from '../standard_interface' +import baseInfo from './standardList/baseInfo.vue' +import table from './standardList/temptable.vue' import { getStaffList } from '@/api/measure/person' import { getTypeSelect } from '@/api/system/price' import { getStandardLisUpdate, getStandardListAdd, getStandardListDetail, getUsersDept } from '@/api/device/standard' @@ -17,188 +19,35 @@ default: '', }, }) -const emit = defineEmits(['close']) // 关闭 -const ruleFormRef = ref() -// 逻辑代码 -const formInline = ref({ - assessDate: '', - assessmentUnit: '', - category: null, - categoryName: '', - constructionStandardProject: '', - constructionStandardUnitName: '', - contactInfo: '', - createTime: null, - createUser: null, - id: '', - isDel: null, - laboratoryOwner: null, - laboratoryOwnerContact: null, - laboratoryOwnerName: null, - managerState: null, - managerStateName: '', - measureMajor: null, - fileList: [], - measureMajorName: '', - mesureRange: '', - organizeNo: '', - preparationDate: '', - projectNo: '', - remark: '', - standardHumidity: null, - standardLaboratory: null, - standardLaboratoryName: '', - standardLevel: null, - standardLevelName: '', - standardName: '', - standardNo: '', - standardOwner: null, - standardOwnerName: '', - standardTemperature: null, - totalInvestment: null, - transmitRange: null, - transmitRangeName: '', - uncertainty: '', - updateTime: null, - version: null, -}) -const checkTypeOptions = ref([]) - -const standardOwnerOptions = ref([]) // 标准负责人 -const fileList = ref([]) // 文件对象数组 -const measureMajorList = ref([]) // 计量专业下拉框 -const standardManagerStateList = ref([]) // 管理状态下拉框 -const standardLevelList = ref([]) // 标准等级下拉框 -const transmitRangeList = ref([]) // 传递范围下拉框 -// 标准所在部门下拉框 -const standardUsersDeptList = ref([]) -// 获取下拉框 -const getSelectList = (code: string) => { - getTypeSelect(code).then((res) => { - if (code === 'measureMajor') { - measureMajorList.value = res.data - } - else if (code === 'standardManagerState') { - standardManagerStateList.value = res.data - } - else if (code === 'standardLevel') { - standardLevelList.value = res.data - } - else if (code === 'transmitRange') { - transmitRangeList.value = res.data - } - else if (code === 'standardCategory') { - checkTypeOptions.value = res.data - } - }) +const emit = defineEmits(['close']) +// 定义数据 +const formInline = ref({}) +// 关闭 +interface menuType { + name: string + comp: any } -getSelectList('measureMajor') // 获取计量专业下拉框 -getSelectList('standardManagerState') // 获取管理状态下拉框 -getSelectList('standardLevel') // 获取标准等级下拉框 -getSelectList('transmitRange') // 获取传递范围下拉框 -getSelectList('standardCategory') // 获取类别下拉框 -// 获取部门信息 -getUsersDept({ - createTime: '', - director: '', - meterMajor: '', - organizeName: '', - organizeNo: '', - organizeType: '2', - pdeptId: null, - offset: 1, - limit: 999999, -}).then((res) => { - standardUsersDeptList.value = res.data.rows +const menu = shallowRef([ + { name: '基本信息', comp: baseInfo }, + { name: '计量人员', comp: table }, + { name: '标准配套设备', comp: table }, + { name: '检定规程', comp: table }, + { name: '重复性考核记录', comp: table }, + { name: '稳定性考核记录', comp: table }, + { name: '证书管理', comp: table }, +]) +const currentCompRef = ref() +const current = ref('基本信息') +const currentComp = shallowRef(baseInfo) +watch(current, (newValue) => { + currentComp.value = menu.value.filter(item => item.name === newValue)[0].comp }) -// 获取到标准负责人数组 -const getStandardOwnerOptions = () => { - const params = { - staffNo: '', // 人员编号 - name: '', // 姓名 - deptId: '', // 工作部门 - major: '', // 计量专业 - verifierCertificateNo: '', // 证书号 - certificateStatus: '', // 证书状态 - limit: 100000, - offset: 1, - } - getStaffList(params).then((res) => { - standardOwnerOptions.value = res.data.records - }) -} -getStandardOwnerOptions() // 关闭 const close = () => { emit('close') } -const rules = ref({ - standardName: [{ required: true, message: '标准名称不能为空', trigger: 'blur' }], - projectNo: [{ required: true, message: '项目编号不能为空', trigger: 'blur' }], - constructionStandardProject: [{ required: true, message: '建标项目不能为空', trigger: 'blur' }], - organizeNo: [{ required: true, message: '组织机构代码不能为空', trigger: 'blur' }], - constructionStandardUnitName: [{ required: true, message: '建标单位名称不能为空', trigger: 'blur' }], - standardOwner: [{ required: true, message: '标准负责人不能为空', trigger: 'blur' }], - contactInfo: [{ required: true, message: '联系方式不能为空', trigger: 'blur' }], - category: [{ required: true, message: '类 别不能为空', trigger: 'blur' }], - standardLevel: [{ required: true, message: '标准等级不能为空', trigger: 'blur' }], - transmitRange: [{ required: true, message: '传递范围不能为空', trigger: 'blur' }], - preparationDate: [{ required: true, message: '筹建日期不能为空', trigger: 'blur' }], - managerState: [{ required: true, message: '管理状态不能为空', trigger: 'blur' }], - measureMajor: [{ required: true, message: '计量专业不能为空', trigger: 'blur' }], - assessmentUnit: [{ required: true, message: '考核单位不能为空', trigger: 'blur' }], - assessDate: [{ required: true, message: '考核日期不能为空', trigger: 'blur' }], - uncertainty: [{ required: true, message: '不确定度不能为空', trigger: 'blur' }], - mesureRange: [{ required: true, message: '测量范围不能为空', trigger: 'blur' }], - standardTemperature: [{ required: true, message: '标准温度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准温度只能为数字', trigger: 'blur' }], - standardHumidity: [{ required: true, message: '标准湿度不能为空', trigger: 'blur' }, - { pattern: /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/, message: '标准湿度只能为数字', trigger: 'blur' }], -}) // 表单验证规则 -// 上传请求 -const uploadQuarterlyEvaluateFile = (file: File) => { - const fd = new FormData() - fd.append('multipartFile', file.file) - UploadFile(fd).then((res) => { - if (res.code === 200) { - formInline.value.fileList = res.data - // 重置当前验证 - ElMessage.success('文件上传成功') - } - }) -} -const handleExceed: UploadProps['onExceed'] = (files, uploadFiles) => { - ElMessage.warning('只能上传一个文件') -} -// 移除时触发 -const beforeRemove: UploadProps['beforeRemove'] = (uploadFile, uploadFiles) => { - return ElMessageBox.confirm( - `确认移除${uploadFile.name}文件吗 ?`, - ).then( - () => true, - () => false, - - ) -} -// 点击文件预览 -const uploadShow = (e: any) => { - const URL = window.URL || window.webkitURL - window.open(URL.createObjectURL(e.raw)) -} -const testForm = ref({ - fileList: [], - fileContent: '', -}) -const handleFileChange = (files: any, fileList: any) => { - testForm.value.fileList = fileList - const reader = new FileReader() - reader.readAsText(files.raw) - // reader.onload = (e) => { - // testForm.value.fileContent = e.target!.result?.replace( - // /\n|\r\n/g, - // '
', - // ) - // } +const setData = (newValue: object) => { + formInline.value = newValue } // 编辑获取详情的提交按钮 const submitFormDetail = () => { @@ -223,60 +72,29 @@ } } // 提交 -const submitForm = (formEl: FormInstance | undefined) => { - if (!formEl) { return } +const submitForm = () => { if (props.buttonType === '详情') { return submitFormDetail() } - formEl.validate((valid, fields) => { - if (valid) { - ElMessageBox.confirm( - '确认提交吗?', - '提示', - { - confirmButtonText: '确认', - cancelButtonText: '取消', - type: 'warning', - }, - ).then(() => { - props.buttonType === '' - ? getStandardListAdd(formInline.value).then((res) => { - if (res.code === 200) { - close() - } - }) - : submitFormDetail() - }) - } - }) -} -// 标准实验室发生改变row类型 -interface rowReturn { - phone: string - director: string -} -// 标准实验室发生改变 -const changeDeptList = (row: object) => { - formInline.value.laboratoryOwnerContact = row.phone - formInline.value.laboratoryOwner = row.director -} -// 标准实验室清空时 -const clearDeptList = () => { - formInline.value.laboratoryOwnerContact = null - formInline.value.laboratoryOwner = null -} -// 获取详情信息 -const getInfo = () => { - getStandardListDetail({ id: props.infoId }).then((res) => { - Object.keys(res.data).map((item) => { - if (typeof (res.data[item]) === 'number') { - res.data[item] = res.data[item].toString() - } + ElMessageBox.confirm( + '确认提交吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + current.value = '基本信息' + currentCompRef.value.submitForm().validate().then(() => { + props.buttonType === '' + ? getStandardListAdd(formInline.value).then((res) => { + if (res.code === 200) { + close() + } + }) + : submitFormDetail() }) - formInline.value = res.data }) } -if (props.buttonType !== '') { - getInfo() -} @@ -719,14 +149,8 @@ } } -.info-content { - margin-top: 10px; - padding: 30px; - border-radius: 10px; +.body { background-color: #fff; -} - -:deep .el-input .el-input--default .el-input--suffix { - width: 200px !important; + margin-top: 10px; } diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue index 35786b2..f4ce07a 100644 --- a/src/views/device/standardEquipment/expirationRemind.vue +++ b/src/views/device/standardEquipment/expirationRemind.vue @@ -26,39 +26,47 @@ text: '标准代码', value: 'standardNo', width: '160', + align: 'center', }, { text: '标准名称', value: 'standardName', width: '90', + align: 'center', }, { text: '管理状态', value: 'managerStateName', width: '100', + align: 'center', }, { text: '标准所在部门', value: 'standardLaboratoryName', width: '120', + align: 'center', }, { text: '负责人', value: 'standardOwnerName', + align: 'center', }, { text: '建标项目', value: 'standardOwnerName', + align: 'center', }, { text: '筹建日期', value: 'preparationDate', width: '160', + align: 'center', }, { text: '有效日期', value: 'preparationDate', width: '160', + align: 'center', }, ]) const total = ref(0) @@ -344,17 +352,17 @@ size="small" type="primary" link - @click="handleClick(row.$index, row, '编辑')" + @click="handleClick(row.$index, row, '详情')" > - 编辑 + 详情
- 详情 + 提醒 { + console.log(e) +}