diff --git a/src/filters/customerquality/index.js b/src/filters/customerquality/index.js new file mode 100644 index 0000000..0232375 --- /dev/null +++ b/src/filters/customerquality/index.js @@ -0,0 +1,33 @@ +/* + * @Date: 2020-12-29 16:49:28 + * @LastEditors: zhp + * @LastEditTime: 2023-07-13 15:52:31 + * @FilePath: \basic-admin\src\filters\DataDict\index.js + * @Description: 部分常量的数据字典定义 + */ + +const table = { + currentStage:{ + 0: '接受投诉阶段', + 1: '解释澄清阶段', + 2: '提出解决方案阶段', + 3: '回访阶段' + }, + questionType: { + 0: '产品质量题', + 1: '售后服务题', + 2: '物流配送问题', + 3: '单关问题', + 4: '4系统故问题' + }, + status: { + 0: '不可用', + 1: '可用' + }, +} + +export default function (dictTable) { + return function (val) { + return table?.[dictTable]?.[val] + } +} diff --git a/src/filters/supplier/index.js b/src/filters/supplier/index.js index 1b54837..9a1fea6 100644 --- a/src/filters/supplier/index.js +++ b/src/filters/supplier/index.js @@ -1,7 +1,7 @@ /* * @Date: 2020-12-29 16:49:28 * @LastEditors: zhp - * @LastEditTime: 2023-07-11 14:23:27 + * @LastEditTime: 2023-07-13 15:46:31 * @FilePath: \basic-admin\src\filters\DataDict\index.js * @Description: 部分常量的数据字典定义 */ @@ -13,7 +13,7 @@ const table = { }, available: { 0: '不可用', - 1:'不可用', + 1:'可用', }, supplierStatus:{ 0: '合格', diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index fb41e8f..c5d1e03 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -42,6 +42,7 @@ t.available = '可用' t.notAvailable = '不可用' t.time = '时间段' t.parameter = '台差参数' +t.configuration = '配置' @@ -551,6 +552,8 @@ t.gage.repeatabilityAndReproducibility = '重复性和再现性(R&R)' t.gage.partVariation = '零件变差(TV)' t.gage.decide = '综合判定' t.gage.tabularComputations = '表格计算' +t.gage.fabrication = '制作' + @@ -663,5 +666,62 @@ t.dictionary = {} t.dictionary.name = ' 名称' t.dictionary.code = ' 编码' +t.researchquality = {} +t.researchquality.title = '标题' +t.researchquality.description = '描述' +t.researchquality.code = '编码' +t.researchquality.requirementListGroupId = '所属分组' +t.researchquality.registrationDate = '登记日期' +t.researchquality.changeSource = '变更来源' +t.researchquality.owner = '所有者' +t.researchquality.category = 'Category' +t.researchquality.title = '标题' +t.researchquality.currentStage = '当前阶段' +t.researchquality.productName = '产品名称' +t.researchquality.qualityChangeStatus = '状态' +t.researchquality.temporaryChange = '临时变更' +t.researchquality.sourceRemark = '来源备注' +t.researchquality.processName = '工序名称' +t.researchquality.productTypeName = '产品类型' +t.researchquality.planPhase = '计划阶段' +t.researchquality.planTime = '计划时间' +t.researchquality.stageOneName = '阶段1' +t.researchquality.stageTwoName = '阶段2' +t.researchquality.stageThreeName = '阶段3' +t.researchquality.stageFourName = '阶段4' +t.researchquality.stageOneDate = '阶段1时间' +t.researchquality.stageTwoDate = '阶段2时间' +t.researchquality.stageThreeDate = '阶段3时间' +t.researchquality.stageFourDate = '阶段4时间' +t.researchquality.approvedMemo = '审核记录' + + + +t.customerquality = {} +t.customerquality.customerName = '客户名称' +t.customerquality.currentStage = '当前阶段' +t.customerquality.serialNumber = '序列号' +t.customerquality.description = '描述' +t.customerquality.questionType = '问题类型' +t.customerquality.knowledgeBaseName = '知识库名称' +t.customerquality.code = '编号' +t.customerquality.category = '类别' +t.customerquality.requirementListName = '要求清单名称' +t.customerquality.uploadFiles = '不可上传文件' +t.customerquality.accessPath = '访问路径' +t.customerquality.knowledgeBaseFileId = '知识库文件标识' +t.customerquality.title = '标题' +t.customerquality.knowledgeBase = '知识库' +t.customerquality.productName = '品名' +t.customerquality.customerName = '客户' +t.customerquality.qualityAcceptanceDate = '质量接收日期' +t.customerquality.confirmDeliveryDate = '确认交付日期' +t.customerquality.deliveryRequiredDate = '要求交付日期' +t.customerquality.status = '状态' + + + + + export default t diff --git a/src/views/modules/basic/components/process-add.vue b/src/views/modules/basic/components/process-add.vue new file mode 100644 index 0000000..340d1f6 --- /dev/null +++ b/src/views/modules/basic/components/process-add.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/src/views/modules/basic/process.vue b/src/views/modules/basic/process.vue new file mode 100644 index 0000000..32acd20 --- /dev/null +++ b/src/views/modules/basic/process.vue @@ -0,0 +1,314 @@ + + + + diff --git a/src/views/modules/basic/qmsProduct.vue b/src/views/modules/basic/qmsProduct.vue index 503c649..c2c845e 100644 --- a/src/views/modules/basic/qmsProduct.vue +++ b/src/views/modules/basic/qmsProduct.vue @@ -92,6 +92,7 @@ export default { urlOptions: { getDataListURL: "/basic/qmsProduct/page", deleteURL: "/basic/qmsProduct", + exportURL: '/basic/qmsProduct/export', }, tableProps, tableBtn, @@ -131,6 +132,13 @@ export default { name: "search", color: "primary", // plain: true, + }, + { + type: "button", + btnName: "导出", + name: "export", + color: "primary", + plain: true } ], }; @@ -238,11 +246,11 @@ export default { break; case "add": this.addOrEditTitle = '新增' - this.addOrUpdateVisible = true; + this.addOrUpdateVisible = true this.addOrUpdateHandle() break; - case "cancel": - this.$refs.palletTable1.setCurrent("palletTable", -1); + case "export": + this.exportHandle() break; default: console.log(val); diff --git a/src/views/modules/customerquality/components/available.vue b/src/views/modules/customerquality/components/available.vue new file mode 100644 index 0000000..4ab1932 --- /dev/null +++ b/src/views/modules/customerquality/components/available.vue @@ -0,0 +1,41 @@ + + + + diff --git a/src/views/modules/customerquality/components/baseConfig.vue b/src/views/modules/customerquality/components/baseConfig.vue new file mode 100644 index 0000000..a5d2a66 --- /dev/null +++ b/src/views/modules/customerquality/components/baseConfig.vue @@ -0,0 +1,97 @@ + + + + + + diff --git a/src/views/modules/customerquality/components/customerQualityProjectList-add.vue b/src/views/modules/customerquality/components/customerQualityProjectList-add.vue new file mode 100644 index 0000000..1f0a7e7 --- /dev/null +++ b/src/views/modules/customerquality/components/customerQualityProjectList-add.vue @@ -0,0 +1,171 @@ + + + + diff --git a/src/views/modules/customerquality/components/customerQualityRequirementList-add.vue b/src/views/modules/customerquality/components/customerQualityRequirementList-add.vue new file mode 100644 index 0000000..bb43f0c --- /dev/null +++ b/src/views/modules/customerquality/components/customerQualityRequirementList-add.vue @@ -0,0 +1,197 @@ + + + + diff --git a/src/views/modules/customerquality/components/publicDocuments-add.vue b/src/views/modules/customerquality/components/publicDocuments-add.vue new file mode 100644 index 0000000..2cd6482 --- /dev/null +++ b/src/views/modules/customerquality/components/publicDocuments-add.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/modules/customerquality/components/qmsCustomerComplaintManagement-add.vue b/src/views/modules/customerquality/components/qmsCustomerComplaintManagement-add.vue new file mode 100644 index 0000000..b6cd23b --- /dev/null +++ b/src/views/modules/customerquality/components/qmsCustomerComplaintManagement-add.vue @@ -0,0 +1,200 @@ + + + + diff --git a/src/views/modules/customerquality/components/qmsKnowledgeBase-add.vue b/src/views/modules/customerquality/components/qmsKnowledgeBase-add.vue new file mode 100644 index 0000000..3de5e15 --- /dev/null +++ b/src/views/modules/customerquality/components/qmsKnowledgeBase-add.vue @@ -0,0 +1,171 @@ + + + + diff --git a/src/views/modules/customerquality/components/qualityChange-add.vue b/src/views/modules/customerquality/components/qualityChange-add.vue new file mode 100644 index 0000000..7e09089 --- /dev/null +++ b/src/views/modules/customerquality/components/qualityChange-add.vue @@ -0,0 +1,336 @@ + + + + diff --git a/src/views/modules/customerquality/components/qualityChangeSearch.vue b/src/views/modules/customerquality/components/qualityChangeSearch.vue new file mode 100644 index 0000000..e0839f4 --- /dev/null +++ b/src/views/modules/customerquality/components/qualityChangeSearch.vue @@ -0,0 +1,125 @@ + + + + diff --git a/src/views/modules/customerquality/components/qualityRequirementList-add.vue b/src/views/modules/customerquality/components/qualityRequirementList-add.vue new file mode 100644 index 0000000..5952232 --- /dev/null +++ b/src/views/modules/customerquality/components/qualityRequirementList-add.vue @@ -0,0 +1,193 @@ + + + + diff --git a/src/views/modules/customerquality/components/radio.vue b/src/views/modules/customerquality/components/radio.vue new file mode 100644 index 0000000..aaf9937 --- /dev/null +++ b/src/views/modules/customerquality/components/radio.vue @@ -0,0 +1,49 @@ + + + + diff --git a/src/views/modules/customerquality/qmsCustomerComplaintManagement.vue b/src/views/modules/customerquality/qmsCustomerComplaintManagement.vue new file mode 100644 index 0000000..a0d6f4b --- /dev/null +++ b/src/views/modules/customerquality/qmsCustomerComplaintManagement.vue @@ -0,0 +1,344 @@ + + + + diff --git a/src/views/modules/customerquality/qmsCustomerQualityProjectList.vue b/src/views/modules/customerquality/qmsCustomerQualityProjectList.vue new file mode 100644 index 0000000..f848174 --- /dev/null +++ b/src/views/modules/customerquality/qmsCustomerQualityProjectList.vue @@ -0,0 +1,332 @@ + + + + diff --git a/src/views/modules/customerquality/qmsCustomerQualityRequirementList.vue b/src/views/modules/customerquality/qmsCustomerQualityRequirementList.vue new file mode 100644 index 0000000..a6a87c2 --- /dev/null +++ b/src/views/modules/customerquality/qmsCustomerQualityRequirementList.vue @@ -0,0 +1,301 @@ + + + + diff --git a/src/views/modules/customerquality/qmsKnowledgeBase.vue b/src/views/modules/customerquality/qmsKnowledgeBase.vue new file mode 100644 index 0000000..7007489 --- /dev/null +++ b/src/views/modules/customerquality/qmsKnowledgeBase.vue @@ -0,0 +1,320 @@ + + + + diff --git a/src/views/modules/customerquality/qmsPublicDocuments.vue b/src/views/modules/customerquality/qmsPublicDocuments.vue new file mode 100644 index 0000000..3547b05 --- /dev/null +++ b/src/views/modules/customerquality/qmsPublicDocuments.vue @@ -0,0 +1,277 @@ + + + + diff --git a/src/views/modules/customerquality/qmsQualityChange.vue b/src/views/modules/customerquality/qmsQualityChange.vue new file mode 100644 index 0000000..820fd9e --- /dev/null +++ b/src/views/modules/customerquality/qmsQualityChange.vue @@ -0,0 +1,281 @@ + + + + diff --git a/src/views/modules/customerquality/qmsQualityRequirementList.vue b/src/views/modules/customerquality/qmsQualityRequirementList.vue new file mode 100644 index 0000000..15a1af0 --- /dev/null +++ b/src/views/modules/customerquality/qmsQualityRequirementList.vue @@ -0,0 +1,292 @@ + + + + diff --git a/src/views/modules/gage/components/gage-add.vue b/src/views/modules/gage/components/gage-add.vue index 017fc7c..a19cb3d 100644 --- a/src/views/modules/gage/components/gage-add.vue +++ b/src/views/modules/gage/components/gage-add.vue @@ -1,12 +1,12 @@