diff --git a/src/views/quality/base/basicData/qualityInspectionBoxBtn/dialogForm.vue b/src/views/devConfig/quality/qualityInspectionBoxBtn/dialogForm.vue similarity index 100% rename from src/views/quality/base/basicData/qualityInspectionBoxBtn/dialogForm.vue rename to src/views/devConfig/quality/qualityInspectionBoxBtn/dialogForm.vue diff --git a/src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue b/src/views/devConfig/quality/qualityInspectionBoxBtn/index.vue similarity index 100% rename from src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue rename to src/views/devConfig/quality/qualityInspectionBoxBtn/index.vue diff --git a/src/views/quality/base/qualityInspectionDet/index.vue b/src/views/devConfig/quality/qualityInspectionDet/index.vue similarity index 72% rename from src/views/quality/base/qualityInspectionDet/index.vue rename to src/views/devConfig/quality/qualityInspectionDet/index.vue index 602f9fb2..3a4052d3 100644 --- a/src/views/quality/base/qualityInspectionDet/index.vue +++ b/src/views/devConfig/quality/qualityInspectionDet/index.vue @@ -1,53 +1,92 @@ diff --git a/src/views/quality/base/qualityScrapType/index.vue b/src/views/devConfig/quality/qualityScrapType/index.vue similarity index 78% rename from src/views/quality/base/qualityScrapType/index.vue rename to src/views/devConfig/quality/qualityScrapType/index.vue index 6d638e83..dc7e7605 100644 --- a/src/views/quality/base/qualityScrapType/index.vue +++ b/src/views/devConfig/quality/qualityScrapType/index.vue @@ -29,7 +29,7 @@ @cancel="handleCancel" @confirm="handleConfirm" :before-close="handleCancel" - width="30%"> + width="40%"> @@ -42,31 +42,31 @@ import AddOrUpdate from './add-or-updata'; import basicPage from '../../../core/mixins/basic-page'; import { parseTime } from '../../../core/mixins/code-filter'; import { - getQualityScrapTypePage, - deleteQualityScrapType + getQualityScrapTypePage, + deleteQualityScrapType, } from '@/api/base/qualityScrapType'; const tableProps = [ { prop: 'createTime', label: '添加时间', - filter: parseTime - }, - { - prop: 'name', - label: '报废类型' - }, + filter: parseTime, + }, + { + prop: 'name', + label: '报废类型', + }, { prop: 'code', - label: '报废类型编码' + label: '报废类型编码', }, { prop: 'description', - label: '描述信息' + label: '描述信息', }, { prop: 'remark', - label: '备注' + label: '备注', }, ]; @@ -81,25 +81,25 @@ export default { }, tableProps, tableBtn: [ - this.$auth.hasPermi(`base:quality-scrap-type:update`) + this.$auth.hasPermi(`base:quality-scrap-type:update`) ? { type: 'edit', btnName: '编辑', } : undefined, - this.$auth.hasPermi(`base:quality-scrap-type:delete`) + this.$auth.hasPermi(`base:quality-scrap-type:delete`) ? { type: 'delete', btnName: '删除', } : undefined, - ].filter((v)=>v), + ].filter((v) => v), tableData: [], formConfig: [ { type: 'input', label: '报废类型', - placeholder: '报废类型', + placeholder: '报废类型', param: 'name', }, { @@ -112,11 +112,13 @@ export default { type: 'separate', }, { - type: this.$auth.hasPermi('base:quality-scrap-type:create') ? 'button' : '', + type: this.$auth.hasPermi('base:quality-scrap-type:create') + ? 'button' + : '', btnName: '新增', name: 'add', color: 'success', - plain: true + plain: true, }, ], }; @@ -127,14 +129,14 @@ export default { created() {}, methods: { // 获取数据列表 - getDataList() { - this.dataListLoading = true; - this.urlOptions.getDataListURL(this.listQuery).then(response => { - this.tableData = response.data.list; - this.listQuery.total = response.data.total; - this.dataListLoading = false; - }); - }, + getDataList() { + this.dataListLoading = true; + this.urlOptions.getDataListURL(this.listQuery).then((response) => { + this.tableData = response.data.list; + this.listQuery.total = response.data.total; + this.dataListLoading = false; + }); + }, buttonClick(val) { switch (val.btnName) { case 'search': diff --git a/src/views/quality/base/qualityScrapLog/add-or-updata.vue b/src/views/quality/base/qualityScrapLog/add-or-updata.vue deleted file mode 100644 index bcfc9530..00000000 --- a/src/views/quality/base/qualityScrapLog/add-or-updata.vue +++ /dev/null @@ -1,209 +0,0 @@ - - - - diff --git a/src/views/quality/base/qualityScrapLog/detail-or-updata.vue b/src/views/quality/base/qualityScrapLog/detail-or-updata.vue deleted file mode 100644 index a689f27f..00000000 --- a/src/views/quality/base/qualityScrapLog/detail-or-updata.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - diff --git a/src/views/quality/base/qualityScrapLog/index.vue b/src/views/quality/base/qualityScrapLog/index.vue deleted file mode 100644 index 5237cb8d..00000000 --- a/src/views/quality/base/qualityScrapLog/index.vue +++ /dev/null @@ -1,213 +0,0 @@ - - - diff --git a/src/views/quality/base/qualityScrapType/add-or-updata.vue b/src/views/quality/base/qualityScrapType/add-or-updata.vue deleted file mode 100644 index 6ef00826..00000000 --- a/src/views/quality/base/qualityScrapType/add-or-updata.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - - diff --git a/src/views/quality/monitoring/currentData/dialogForm.vue b/src/views/quality/currentData/dialogForm.vue similarity index 100% rename from src/views/quality/monitoring/currentData/dialogForm.vue rename to src/views/quality/currentData/dialogForm.vue diff --git a/src/views/quality/monitoring/currentData/index.vue b/src/views/quality/currentData/index.vue similarity index 100% rename from src/views/quality/monitoring/currentData/index.vue rename to src/views/quality/currentData/index.vue diff --git a/src/views/quality/monitoring/qualityRecentHours/index.vue b/src/views/quality/monitoring/qualityRecentHours/index.vue deleted file mode 100644 index 5d9fb42d..00000000 --- a/src/views/quality/monitoring/qualityRecentHours/index.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - diff --git a/src/views/quality/monitoring/qualityRecentHours/props.json b/src/views/quality/monitoring/qualityRecentHours/props.json deleted file mode 100644 index a8976b08..00000000 --- a/src/views/quality/monitoring/qualityRecentHours/props.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "tableProps": [ - { - "prop": "inspectionContent", - "label": "检测内容", - "align": "center" - }, - { - "prop": "2023-03-18T00:00:00", - "label": "2023-03-18T00:00:00", - "align": "center", - "children": [ - { - "prop": "2023-03-18T00:00:00-产线1", - "label": "产线1", - "align": "center" - }, - { - "prop": "2023-03-18T00:00:00-产线2", - "label": "产线2", - "align": "center" - }, - { - "prop": "2023-03-18T00:00:00-产线3", - "label": "产线3", - "align": "center" - }, - { - "prop": "2023-03-18T00:00:00-产线4", - "label": "产线4", - "align": "center" - }, - { - "prop": "2023-03-18T00:00:00-产线5", - "label": "产线5", - "align": "center" - } - ] - }, - { - "prop": "2023-03-18T01:00:00", - "label": "2023-03-18T01:00:00", - "align": "center", - "children": [ - { - "prop": "2023-03-18T01:00:00-产线1", - "label": "产线1", - "align": "center" - }, - { - "prop": "2023-03-18T01:00:00-产线2", - "label": "产线2", - "align": "center" - }, - { - "prop": "2023-03-18T01:00:00-产线3", - "label": "产线3", - "align": "center" - } - ] - }, - { - "prop": "2023-03-18T02:00:00", - "label": "2023-03-18T02:00:00", - "align": "center", - "children": [ - { - "prop": "2023-03-18T02:00:00-产线1", - "label": "产线1", - "align": "center" - }, - { - "prop": "2023-03-18T02:00:00-产线2", - "label": "产线2", - "align": "center" - } - ] - } - ] -} diff --git a/src/views/quality/monitoring/qualityRecentHours/response.json b/src/views/quality/monitoring/qualityRecentHours/response.json deleted file mode 100644 index 9524dfb4..00000000 --- a/src/views/quality/monitoring/qualityRecentHours/response.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "code": 0, - "data": { - "data": [ - { - "data": [ - { - "id": "测试222023-08-09T02:00", - "parentId": "测试22", - "dynamicName": "2023-08-09T02:00", - "dynamicValue": 1691517600000, - "children": [ - { - "id": "1672847052717821953", - "parentId": "测试222023-08-09T02:00", - "dynamicName": "产线1", - "dynamicValue": 1 - } - ] - }, - { - "id": "测试222023-08-09T08:00", - "parentId": "测试22", - "dynamicName": "2023-08-09T08:00", - "dynamicValue": 1691539200000, - "children": [ - { - "id": "1672847052717821953", - "parentId": "测试222023-08-09T08:00", - "dynamicName": "产线1", - "dynamicValue": 1 - } - ] - }, - { - "id": "测试222023-08-09T11:00", - "parentId": "测试22", - "dynamicName": "2023-08-09T11:00", - "dynamicValue": 1691550000000, - "children": [ - { - "id": "1672847052717821953", - "parentId": "测试222023-08-09T11:00", - "dynamicName": "产线1", - "dynamicValue": 1 - } - ] - } - ], - "inspectionDetContent": "测试22" - }, - { - "data": [ - { - "id": "测试112023-08-09T02:00", - "parentId": "测试11", - "dynamicName": "2023-08-09T02:00", - "dynamicValue": 1691517600000, - "children": [ - { - "id": "1672847052717821954", - "parentId": "测试112023-08-09T02:00", - "dynamicName": "产线22", - "dynamicValue": 1 - } - ] - }, - { - "id": "测试112023-08-09T08:00", - "parentId": "测试11", - "dynamicName": "2023-08-09T08:00", - "dynamicValue": 1691539200000, - "children": [ - { - "id": "1672847052717821953", - "parentId": "测试112023-08-09T08:00", - "dynamicName": "产线1", - "dynamicValue": 1 - } - ] - }, - { - "id": "测试112023-08-09T09:00", - "parentId": "测试11", - "dynamicName": "2023-08-09T09:00", - "dynamicValue": 1691542800000, - "children": [ - { - "id": "1672847052717821954", - "parentId": "测试112023-08-09T09:00", - "dynamicName": "产线22", - "dynamicValue": 2 - } - ] - } - ], - "inspectionDetContent": "测试11" - } - ], - "nameData": [ - { - "name": "2023-08-09T02:00", - "tree": 1, - "id": "测试222023-08-09T02:00", - "parentId": "测试22" - }, - { - "name": "产线1", - "tree": 2, - "id": "1672847052717821953", - "parentId": "测试222023-08-09T02:00" - }, - { - "name": "2023-08-09T08:00", - "tree": 1, - "id": "测试222023-08-09T08:00", - "parentId": "测试22" - }, - { - "name": "产线1", - "tree": 2, - "id": "1672847052717821953", - "parentId": "测试222023-08-09T08:00" - }, - { - "name": "2023-08-09T11:00", - "tree": 1, - "id": "测试222023-08-09T11:00", - "parentId": "测试22" - }, - { - "name": "产线1", - "tree": 2, - "id": "1672847052717821953", - "parentId": "测试222023-08-09T11:00" - }, - { - "name": "2023-08-09T02:00", - "tree": 1, - "id": "测试112023-08-09T02:00", - "parentId": "测试11" - }, - { - "name": "产线22", - "tree": 2, - "id": "1672847052717821954", - "parentId": "测试112023-08-09T02:00" - }, - { - "name": "2023-08-09T08:00", - "tree": 1, - "id": "测试112023-08-09T08:00", - "parentId": "测试11" - }, - { - "name": "产线1", - "tree": 2, - "id": "1672847052717821953", - "parentId": "测试112023-08-09T08:00" - }, - { - "name": "2023-08-09T09:00", - "tree": 1, - "id": "测试112023-08-09T09:00", - "parentId": "测试11" - }, - { - "name": "产线22", - "tree": 2, - "id": "1672847052717821954", - "parentId": "测试112023-08-09T09:00" - } - ] - }, - "msg": "" -} diff --git a/src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue b/src/views/quality/qualityInspectionRecord/dialogForm.vue similarity index 100% rename from src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue rename to src/views/quality/qualityInspectionRecord/dialogForm.vue diff --git a/src/views/quality/monitoring/qualityInspectionRecord/index.vue b/src/views/quality/qualityInspectionRecord/index.vue similarity index 100% rename from src/views/quality/monitoring/qualityInspectionRecord/index.vue rename to src/views/quality/qualityInspectionRecord/index.vue diff --git a/src/views/quality/base/qualityScrapLog/SmallTitle.vue b/src/views/quality/qualityScrapLog/SmallTitle.vue similarity index 100% rename from src/views/quality/base/qualityScrapLog/SmallTitle.vue rename to src/views/quality/qualityScrapLog/SmallTitle.vue diff --git a/src/views/quality/qualityScrapLog/add-or-updata.vue b/src/views/quality/qualityScrapLog/add-or-updata.vue new file mode 100644 index 00000000..01cdb1e8 --- /dev/null +++ b/src/views/quality/qualityScrapLog/add-or-updata.vue @@ -0,0 +1,259 @@ + + + + diff --git a/src/views/quality/qualityScrapLog/detail-or-updata.vue b/src/views/quality/qualityScrapLog/detail-or-updata.vue new file mode 100644 index 00000000..2d78de45 --- /dev/null +++ b/src/views/quality/qualityScrapLog/detail-or-updata.vue @@ -0,0 +1,284 @@ + + + + diff --git a/src/views/quality/qualityScrapLog/index.vue b/src/views/quality/qualityScrapLog/index.vue new file mode 100644 index 00000000..95af4cfa --- /dev/null +++ b/src/views/quality/qualityScrapLog/index.vue @@ -0,0 +1,243 @@ + + +