From b810720fbd043c80210c7c3ce7dd274e2eabb2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 19 Jul 2023 09:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/filters/quality/index.js | 46 +++ src/i18n/zh-CN.js | 37 +- .../modules/basic/components/control-add.vue | 15 +- .../modules/basic/components/customer-add.vue | 11 +- .../basic/components/customerType-add.vue | 8 +- .../basic/components/failureType-add.vue | 8 +- src/views/modules/basic/qmsControlMode.vue | 14 +- src/views/modules/basic/qmsCustomer.vue | 14 +- src/views/modules/basic/qmsCustomerType.vue | 14 +- src/views/modules/basic/qmsFailureType.vue | 16 +- src/views/modules/basic/qmsProduct.vue | 14 +- src/views/modules/basic/qmsProductType.vue | 16 +- src/views/modules/basic/qmsTeam.vue | 16 +- src/views/modules/basic/qmsTeamMember.vue | 109 ----- .../components/baseConfig-add.vue | 14 +- .../customerquality/components/baseConfig.vue | 21 +- .../components/baseConfigFile-add.vue | 104 ++--- .../customerQualityProjectList-add.vue | 328 ++++++++++++--- .../customerQualityRequirementList-add.vue | 9 +- .../customerquality/components/innerTable.vue | 105 +++-- .../components/publicDocuments-add.vue | 12 +- .../components/qmsKnowledgeBase-add.vue | 14 +- .../components/qualityRequirementList-add.vue | 9 +- .../qmsCustomerQualityProjectList.vue | 36 +- .../qmsCustomerQualityRequirementList.vue | 33 +- .../customerquality/qmsKnowledgeBase.vue | 7 +- .../laboratoryEmployeeResume-add.vue | 46 ++- .../laboratory/qmsLaboratoryTester.vue | 20 +- .../modules/mutual/qmsDataDictionary.vue | 8 +- .../mutual/qmsDataDictionaryDetail.vue | 8 +- .../mutual/qmsModuleDataDictionary.vue | 8 +- src/views/modules/quality/characteristics.vue | 264 ++++++++++++ .../quality/components/character-show.vue | 351 ++++++++++++++++ .../quality/components/characterShow-add.vue | 380 ++++++++++++++++++ .../modules/quality/components/isHave.vue | 42 ++ .../quality/components/productSearch.vue | 130 ++++++ .../modules/quality/qmsCustomSampling.vue | 14 +- .../modules/quality/qmsDisposalMethod.vue | 16 +- .../modules/quality/qmsInspectionPosition.vue | 14 +- src/views/modules/quality/qmsSamplingPlan.vue | 16 +- .../modules/quality/qmsTransferRecords.vue | 14 +- .../modules/quality/qmsTransferScheme.vue | 14 +- 43 files changed, 1910 insertions(+), 467 deletions(-) create mode 100644 src/filters/quality/index.js delete mode 100644 src/views/modules/basic/qmsTeamMember.vue create mode 100644 src/views/modules/quality/characteristics.vue create mode 100644 src/views/modules/quality/components/character-show.vue create mode 100644 src/views/modules/quality/components/characterShow-add.vue create mode 100644 src/views/modules/quality/components/isHave.vue create mode 100644 src/views/modules/quality/components/productSearch.vue diff --git a/public/index.html b/public/index.html index e99bd01..375c5d6 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-08-22 14:57:50 * @LastEditors: zhp - * @LastEditTime: 2023-07-17 10:36:32 + * @LastEditTime: 2023-07-18 08:46:34 * @Description: --> diff --git a/src/filters/quality/index.js b/src/filters/quality/index.js new file mode 100644 index 0000000..3997eed --- /dev/null +++ b/src/filters/quality/index.js @@ -0,0 +1,46 @@ +/* + * @Date: 2020-12-29 16:49:28 + * @LastEditors: zhp + * @LastEditTime: 2023-07-18 14:08:41 + * @FilePath: \basic-admin\src\filters\DataDict\index.js + * @Description: 部分常量的数据字典定义 + */ +import i18n from "@/i18n" +const table = { + monitor: { + 0: '否', + 1:'是', + }, + characteristicsType: { + 0: '计量', + 1:'计数', + }, + VerifyType: { + 0: i18n.t('gage.insideVerify'), + 1: i18n.t('gage.outsideVerify') + }, + inspectionType: { + 0: '监控', + 1:'电芯来料检验', + 2: 'IQC抽检', + 3: 'IQC抽检2', + 4: '原料抽检', + 5: '进货外观检验', + 6: '库内原料检验', + 7: '来料检验', + 8: '胶片', + 9: '抽检', + 10: '巡检', + 11: '首检', + 12: '末检', + 13: '实时监测', + 14: 'FQC抽检', + 15: 'OQC抽检' + } +} + +export default function (dictTable) { + return function (val) { + return table?.[dictTable]?.[val] + } +} diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index c6a0112..387c283 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -303,6 +303,10 @@ t.basic.course = '过程检验' t.basic.shipment = '出货检验' t.basic.userName = '用户名' t.basic.departName = '部门名' +t.basic.productCode = '产品编码' +t.basic.productName = '产品名称' + + @@ -363,7 +367,23 @@ t.quality.sampleRangeHigh = '取样范围高' t.quality.inspectionLevel = '检验水平' t.quality.sampleSizeCode = '样本量字码' t.quality.sampleSize = '样本量' - +t.quality.inspectionPlan = '是否有检验计划' +t.quality.analyzeDrawings = '分析图形' +t.quality.characteristicsType = '特性类型' +t.quality.company = '单位' +t.quality.decimalDigits = '小数位数' +t.quality.measuringToolsType = '量具类型' +t.quality.monitor = '是否监控' +t.quality.parameterName = '参数名称' +t.quality.parameterCode = ' 参数编码' +t.quality.sampleSize = '样本大小' +t.quality.source = '来源' +t.quality.specificationCenterline = 'SL' +t.quality.specificationOffline = 'LSL' +t.quality.specifications = '规格' +t.quality.targetCpk = '目标CPK' +t.quality.targetPpk = '目标PPK' +t.quality.upperSpecificationLimit = 'USL' @@ -584,7 +604,9 @@ t.laboratory.title = '主题' t.laboratory.trainContent = '培训内容' t.laboratory.trainDate = '培训日期' t.laboratory.trainDuration = '培训时长' -t.laboratory.trainType = '培训类型' +t.laboratory.trainType = '培训类型' +t.laboratory.timeSlot = '时间段' + t.code = {} @@ -725,7 +747,16 @@ t.customerquality.confirmDeliveryDate = '确认交付日期' t.customerquality.deliveryRequiredDate = '要求交付日期' t.customerquality.status = '状态' t.customerquality.file = '清单文件' - +t.customerquality.previousVersionCode = '上一版本号' +t.customerquality.first = '首次' +t.customerquality.confidentialityAgreement = '保密协议' +t.customerquality.ppapGrade = ' ppap等级' +t.customerquality.version = ' 版本' + + + + + diff --git a/src/views/modules/basic/components/control-add.vue b/src/views/modules/basic/components/control-add.vue index b303ecd..7e68f15 100644 --- a/src/views/modules/basic/components/control-add.vue +++ b/src/views/modules/basic/components/control-add.vue @@ -1,20 +1,21 @@ diff --git a/src/views/modules/basic/components/customer-add.vue b/src/views/modules/basic/components/customer-add.vue index e974766..92ad8c4 100644 --- a/src/views/modules/basic/components/customer-add.vue +++ b/src/views/modules/basic/components/customer-add.vue @@ -1,26 +1,27 @@