diff --git a/package-lock.json b/package-lock.json index 04aae03..e241c23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4223,7 +4223,7 @@ }, "async-validator": { "version": "1.8.5", - "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.8.5.tgz", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz", "integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==", "requires": { "babel-runtime": "6.x" @@ -4291,7 +4291,7 @@ }, "babel-helper-vue-jsx-merge-props": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz", + "resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz", "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==" }, "babel-loader": { @@ -6975,7 +6975,7 @@ }, "echarts": { "version": "5.4.2", - "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.4.2.tgz", + "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.4.2.tgz", "integrity": "sha512-2W3vw3oI2tWJdyAz+b8DuWS0nfXtSDqlDmqgin/lfzbkB01cuMEN66KWBlmur3YMp5nEDEEt5s23pllnAzB4EA==", "requires": { "tslib": "2.3.0", @@ -11074,7 +11074,7 @@ }, "moment": { "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "resolved": "https://registry.npmmirror.com/moment/-/moment-2.29.4.tgz", "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" }, "mousetrap": { @@ -11496,7 +11496,7 @@ }, "normalize-wheel": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz", + "resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz", "integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==" }, "npm-run-path": { @@ -14345,7 +14345,7 @@ }, "resize-observer-polyfill": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" }, "resolve": { @@ -15099,7 +15099,7 @@ }, "source-map-js": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz", "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" }, "source-map-resolve": { @@ -16123,7 +16123,7 @@ }, "throttle-debounce": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-1.1.0.tgz", + "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz", "integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==" }, "through": { @@ -16338,7 +16338,7 @@ }, "tslib": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" }, "tty-browserify": { @@ -16942,7 +16942,7 @@ }, "vue-router": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.0.7.tgz", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.0.7.tgz", "integrity": "sha512-utJ+QR3YlIC/6x6xq17UMXeAfxEvXA0VKD3PiSio7hBOZNusA1jXcbxZxVEfJunLp48oonjTepY8ORoIlRx/EQ==" }, "vue-style-loader": { @@ -17848,7 +17848,7 @@ }, "zrender": { "version": "5.4.3", - "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.3.tgz", + "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.4.3.tgz", "integrity": "sha512-DRUM4ZLnoaT0PBVvGBDO9oWIDBKFdAVieNWxWwK0niYzJCMwGchRk21/hsE+RKkIveH3XHCyvXcJDkgLVvfizQ==", "requires": { "tslib": "2.3.0" diff --git a/package.json b/package.json index 4e19bc1..0dc608e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "babel-plugin-component": "^1.1.1", "code-brick-zj": "0.0.7", "core-js": "^3.6.5", - "echarts": "^5.3.3", + "echarts": "^5.4.2", "element-theme": "^2.0.1", "element-ui": "^2.15.7", "js-cookie": "^2.2.1", diff --git a/public/index.html b/public/index.html index f3ff998..0805fba 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,8 @@ @@ -38,7 +38,7 @@ <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %> <% } %> diff --git a/src/filters/gage/index.js b/src/filters/gage/index.js index 3471e00..3c88a1d 100644 --- a/src/filters/gage/index.js +++ b/src/filters/gage/index.js @@ -1,16 +1,29 @@ /* * @Date: 2020-12-29 16:49:28 * @LastEditors: zhp - * @LastEditTime: 2023-05-08 10:26:39 + * @LastEditTime: 2023-05-23 14:36:20 * @FilePath: \basic-admin\src\filters\DataDict\index.js * @Description: 部分常量的数据字典定义 */ - +import i18n from "@/i18n" const table = { measurementType: { 0: '计量', 1:'计数', - } + }, + VerifyType: { + 0: i18n.t('gage.insideVerify'), + 1: i18n.t('gage.outsideVerify') + }, + eventList: { + 0: '领用', + 1: '归还', + 2: '量具报废', + 3: '量具维修', + 4: '量具购买', + 5: '量具检测', + 6: '量具转移' + }, } export default function (dictTable) { diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index 933394d..11422a3 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -41,6 +41,8 @@ t.all = '全部' t.available = '可用' t.notAvailable = '不可用' t.time = '时间段' +t.parameter = '台差参数' + @@ -295,6 +297,7 @@ t.basic.client = '服务对象' t.quality = {} t.quality.name = '名称' +t.quality.code = '编号' t.quality.planCategory = '计划类别' t.quality.fatalFlaw = '致命缺陷' t.quality.acceptable = '可接受' @@ -324,7 +327,26 @@ t.quality.disposalMethodName = '名称' t.quality.disposalMethodCode = '编码' t.quality.judgmentMark = '判断标识' t.quality.disposalMethodStatus = '状态' -t.quality.inspectionPositionNumber = '序号' +t.quality.inspectionPositionNumber = '序号' +t.quality.productName = '检验产品' +t.quality.supplierName = '供应商名称' +t.quality.transferOutName = '转出' +t.quality.transferInName = '转入' +t.quality.dataSources = '数据来源' +t.quality.remark = '备注' +t.quality.userName = '创建人' +t.quality.inspectionStage = '检验阶段' +t.quality.supplierName = '供应商' +t.quality.normalToRelaxed = '正常转放宽' +t.quality.normalToTightened = '正常转加严' +t.quality.relaxedToNormal = '放宽转正常' +t.quality.tightenedToNormal = '加严转正常' +t.quality.productName = '检验产品' +t.quality.transferTime = '转移时间' + + + + t.disqualification = {} @@ -419,7 +441,7 @@ t.gage.createDate = '发生日期' t.gage.userDepartment = '使用部门' t.gage.useLocation = '使用位置' t.gage.remark = '备注' -t.gage.measuringToolSpecification = '规格' +t.gage.measuringToolSpecification = '量具规格' t.gage.client = '委托单位' t.gage.certificateCodeBh = '证书编号Bh' t.gage.certificateCode = '证书编号' @@ -452,13 +474,72 @@ t.gage.client ='委托单位' t.gage.measure = '测' t.gage.inspectionTime = '校验时间' t.gage.measurementTime = '测定时间' -t.gage.partName = '品名' -t.gage.partName = '品名' -t.gage.partName = '品名' -t.gage.partName = '品名' -t.gage.partName = '品名' -t.gage.partName = '品名' -t.gage.partName = '品名' +t.gage.measurementTime = '测定时间' +t.gage.corporation = '公司' +t.gage.itemNo = '料号' +t.gage.measurementNumber = '测定次数' +t.gage.partNumber = '零件数量' +t.gage.precisionDecimalPlace = '精度小数位数' +t.gage.connection = '客户' +t.gage.publicErrand = '公差' +t.gage.tester = '测试者' +t.gage.partName = '品名 ' +t.gage.specification = '规格' +t.gage.parentId = '父类型' +t.gage.singleValueAnalysis = '台差单值分析' +t.gage.stageDifferenceMeanAnalysis = '台差单值分析' +t.gage.contrastiveAnalysis = '大流量台差对比分析' +t.gage.inspectionTime = '报检时间' +t.gage.batchTail = '批号' +t.gage.analysisParameter = '台差分析参数' +t.gage.tips = '通过选择量具事件控制输入参数' +t.gage.gageResumeName = '量具履历' +t.gage.measuringToolAccuracy = '基准' +t.gage.price = '值' +t.gage.parameter = '台差分析参数' +t.gage.parameterRemark = '台差分析参数备注' +t.gage.batchTips = '请输入数字开头中间为_数字结尾的批号' +t.gage.verifyLog = '校验记录' +t.gage.insideVerify = '内部校验' +t.gage.outsideVerify = '外部校验' +t.gage.verificationFee = '校验费用' + + + + + + + + + + + + + +t.laboratory = {} +t.laboratory.userName= '人员名称' +t.laboratory.userCode = '人员编码' +t.laboratory.inspectionQualification= '检验资质' +t.laboratory.Experience = '培训经历' +t.laboratory.EmployeeResume = '员工履历' +t.laboratory.endDate = '结束日期' +t.laboratory.startDate= '开始日期' +t.laboratory.department= '任职部门' +t.laboratory.position = '任职岗位' +t.laboratory.responsibilitie = '岗位职责' +t.laboratory.remark = '备注' +t.laboratory.name = '资质名称' +t.laboratory.qualificationDescription = '资质说明' +t.laboratory.validDate = '有效日期' +t.laboratory.code = '资质编号' +t.laboratory.getDate = '获取日期' +t.laboratory.result = '结果' +t.laboratory.title = '主题' +t.laboratory.trainContent = '培训内容' +t.laboratory.trainDate = '培训日期' +t.laboratory.trainDuration = '培训时长' +t.laboratory.trainType = '培训类型' + diff --git a/src/mixins/basic-page.js b/src/mixins/basic-page.js index ba2a626..f1e97cb 100644 --- a/src/mixins/basic-page.js +++ b/src/mixins/basic-page.js @@ -1,8 +1,8 @@ /* * @Author: zwq * @Date: 2022-08-24 11:19:43 - * @LastEditors: zwq - * @LastEditTime: 2023-05-12 12:41:57 + * @LastEditors: zhp + * @LastEditTime: 2023-05-16 14:55:04 * @Description: */ export default { @@ -51,7 +51,7 @@ export default { }) .catch(() => { this.dataListLoading = false; - }); + }) }, // 每页数 sizeChangeHandle(val) { diff --git a/src/views/modules/basic/components/planBtn.vue b/src/views/modules/basic/components/planBtn.vue index 9c182c3..60fe5df 100644 --- a/src/views/modules/basic/components/planBtn.vue +++ b/src/views/modules/basic/components/planBtn.vue @@ -1,7 +1,7 @@ @@ -44,11 +44,11 @@ export default { type: "success", duration: 1500, onClose: () => { - this.getDataList(); + this.$message.error(data.msg); }, }); } else { - this.$message.error(data.msg); + this.$message.error(data.msg) } }); // 路由参数 diff --git a/src/views/modules/gage/components/gage-add.vue b/src/views/modules/gage/components/gage-add.vue index 46d7dcc..017fc7c 100644 --- a/src/views/modules/gage/components/gage-add.vue +++ b/src/views/modules/gage/components/gage-add.vue @@ -1,7 +1,7 @@ @@ -87,8 +87,7 @@ - + @@ -96,8 +95,8 @@ - - + + @@ -209,7 +208,7 @@ export default { ], visible: false, dataForm: { - belongPerson:null, + belongPerson:'1067246875800000001', benchmarkMeasurTool: null, certificateCode: null, certificateCodeBh: null, @@ -231,7 +230,7 @@ export default { name: null, nextExternalInspectionTime: null, nextInternalInspectionTime: null, - recipient: null, + recipient: '1067246875800000001', remark: null, updateDate: null, useLocation: null, diff --git a/src/views/modules/gage/components/gageGrs-add.vue b/src/views/modules/gage/components/gageGrs-add.vue new file mode 100644 index 0000000..34dc2a2 --- /dev/null +++ b/src/views/modules/gage/components/gageGrs-add.vue @@ -0,0 +1,327 @@ + + + + diff --git a/src/views/modules/gage/components/gageType-add.vue b/src/views/modules/gage/components/gageType-add.vue index 6a689ce..7b44efe 100644 --- a/src/views/modules/gage/components/gageType-add.vue +++ b/src/views/modules/gage/components/gageType-add.vue @@ -1,7 +1,7 @@ @@ -129,7 +129,9 @@ export default { // .catch(() => { // }); this.$http - .get(this.urlOptions.getGageListURL, this.listQuery) + .get(this.urlOptions.getGageListURL, { + params: this.listQuery + }) .then(({ data: res }) => { if (res.code === 0) { console.log(res.data); diff --git a/src/views/modules/gage/components/gageTypeDifferenceParameter-add.vue b/src/views/modules/gage/components/gageTypeDifferenceParameter-add.vue new file mode 100644 index 0000000..c76ea9c --- /dev/null +++ b/src/views/modules/gage/components/gageTypeDifferenceParameter-add.vue @@ -0,0 +1,221 @@ + + + + diff --git a/src/views/modules/gage/components/gageVerification-add.vue b/src/views/modules/gage/components/gageVerification-add.vue index f2d27ed..c014ce8 100644 --- a/src/views/modules/gage/components/gageVerification-add.vue +++ b/src/views/modules/gage/components/gageVerification-add.vue @@ -49,8 +49,8 @@ - 内部校验 - 外部校验 + {{ $t('gage.outsideVerify') }} + {{ $t('gage.outsideVerify') }} diff --git a/src/views/modules/gage/components/parameter-show.vue b/src/views/modules/gage/components/parameter-show.vue new file mode 100644 index 0000000..d4285cc --- /dev/null +++ b/src/views/modules/gage/components/parameter-show.vue @@ -0,0 +1,218 @@ + + + + diff --git a/src/views/modules/gage/components/parameterShow-add.vue b/src/views/modules/gage/components/parameterShow-add.vue new file mode 100644 index 0000000..9546c11 --- /dev/null +++ b/src/views/modules/gage/components/parameterShow-add.vue @@ -0,0 +1,200 @@ + + + + diff --git a/src/views/modules/gage/components/qmsGageResume-add.vue b/src/views/modules/gage/components/qmsGageResume-add.vue index 15fc545..a4108a8 100644 --- a/src/views/modules/gage/components/qmsGageResume-add.vue +++ b/src/views/modules/gage/components/qmsGageResume-add.vue @@ -1,96 +1,134 @@ diff --git a/src/views/modules/gage/components/verify-show.vue b/src/views/modules/gage/components/verify-show.vue new file mode 100644 index 0000000..02c2de3 --- /dev/null +++ b/src/views/modules/gage/components/verify-show.vue @@ -0,0 +1,267 @@ + + + + diff --git a/src/views/modules/gage/components/verifyShow-add.vue b/src/views/modules/gage/components/verifyShow-add.vue new file mode 100644 index 0000000..b2600af --- /dev/null +++ b/src/views/modules/gage/components/verifyShow-add.vue @@ -0,0 +1,255 @@ + + + + diff --git a/src/views/modules/gage/qmsGage.vue b/src/views/modules/gage/qmsGage.vue index ad1d49d..404facd 100644 --- a/src/views/modules/gage/qmsGage.vue +++ b/src/views/modules/gage/qmsGage.vue @@ -1,7 +1,7 @@ @@ -42,6 +42,7 @@ + @@ -49,6 +50,8 @@ diff --git a/src/views/modules/laboratory/components/employeeResumeDetail.vue b/src/views/modules/laboratory/components/employeeResumeDetail.vue new file mode 100644 index 0000000..ca10142 --- /dev/null +++ b/src/views/modules/laboratory/components/employeeResumeDetail.vue @@ -0,0 +1,49 @@ + + + + diff --git a/src/views/modules/laboratory/components/experienceDetail.vue b/src/views/modules/laboratory/components/experienceDetail.vue new file mode 100644 index 0000000..ff2cba3 --- /dev/null +++ b/src/views/modules/laboratory/components/experienceDetail.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/views/modules/laboratory/components/inspectionDetail.vue b/src/views/modules/laboratory/components/inspectionDetail.vue new file mode 100644 index 0000000..4121538 --- /dev/null +++ b/src/views/modules/laboratory/components/inspectionDetail.vue @@ -0,0 +1,49 @@ + + + + diff --git a/src/views/modules/laboratory/components/laboratoryEmployeeResume-add.vue b/src/views/modules/laboratory/components/laboratoryEmployeeResume-add.vue new file mode 100644 index 0000000..5e28885 --- /dev/null +++ b/src/views/modules/laboratory/components/laboratoryEmployeeResume-add.vue @@ -0,0 +1,229 @@ + + + + diff --git a/src/views/modules/laboratory/components/laboratoryTester-add.vue b/src/views/modules/laboratory/components/laboratoryTester-add.vue new file mode 100644 index 0000000..5ba143d --- /dev/null +++ b/src/views/modules/laboratory/components/laboratoryTester-add.vue @@ -0,0 +1,222 @@ + + + + diff --git a/src/views/modules/laboratory/components/laboratoryTesterInspectionQualification-add.vue b/src/views/modules/laboratory/components/laboratoryTesterInspectionQualification-add.vue new file mode 100644 index 0000000..766b2df --- /dev/null +++ b/src/views/modules/laboratory/components/laboratoryTesterInspectionQualification-add.vue @@ -0,0 +1,202 @@ + + + + diff --git a/src/views/modules/laboratory/components/laboratoryTrainExperience-add.vue b/src/views/modules/laboratory/components/laboratoryTrainExperience-add.vue new file mode 100644 index 0000000..509d5eb --- /dev/null +++ b/src/views/modules/laboratory/components/laboratoryTrainExperience-add.vue @@ -0,0 +1,197 @@ + + + + diff --git a/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue b/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue new file mode 100644 index 0000000..daae849 --- /dev/null +++ b/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue @@ -0,0 +1,231 @@ + + + + diff --git a/src/views/modules/laboratory/qmsLaboratoryTester.vue b/src/views/modules/laboratory/qmsLaboratoryTester.vue new file mode 100644 index 0000000..4d1267d --- /dev/null +++ b/src/views/modules/laboratory/qmsLaboratoryTester.vue @@ -0,0 +1,233 @@ + + + + diff --git a/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue b/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue new file mode 100644 index 0000000..ef096bf --- /dev/null +++ b/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue @@ -0,0 +1,235 @@ + + + + diff --git a/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue b/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue new file mode 100644 index 0000000..e2ad5fc --- /dev/null +++ b/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue @@ -0,0 +1,240 @@ + + + + diff --git a/src/views/modules/quality/components/normalToRelaxed.vue b/src/views/modules/quality/components/normalToRelaxed.vue new file mode 100644 index 0000000..cfcd762 --- /dev/null +++ b/src/views/modules/quality/components/normalToRelaxed.vue @@ -0,0 +1,40 @@ + + + + diff --git a/src/views/modules/quality/components/normalToTightened.vue b/src/views/modules/quality/components/normalToTightened.vue new file mode 100644 index 0000000..7cc28ac --- /dev/null +++ b/src/views/modules/quality/components/normalToTightened.vue @@ -0,0 +1,40 @@ + + + + diff --git a/src/views/modules/quality/components/relaxedToNormal.vue b/src/views/modules/quality/components/relaxedToNormal.vue new file mode 100644 index 0000000..4aed5d8 --- /dev/null +++ b/src/views/modules/quality/components/relaxedToNormal.vue @@ -0,0 +1,40 @@ + + + + diff --git a/src/views/modules/quality/components/tightenedToNormal.vue b/src/views/modules/quality/components/tightenedToNormal.vue new file mode 100644 index 0000000..7ff693b --- /dev/null +++ b/src/views/modules/quality/components/tightenedToNormal.vue @@ -0,0 +1,47 @@ + + + + + diff --git a/src/views/modules/quality/components/transferRecords-add.vue b/src/views/modules/quality/components/transferRecords-add.vue new file mode 100644 index 0000000..d14322d --- /dev/null +++ b/src/views/modules/quality/components/transferRecords-add.vue @@ -0,0 +1,300 @@ + + + + diff --git a/src/views/modules/quality/components/transferRecordsSearch.vue b/src/views/modules/quality/components/transferRecordsSearch.vue new file mode 100644 index 0000000..9bb476d --- /dev/null +++ b/src/views/modules/quality/components/transferRecordsSearch.vue @@ -0,0 +1,267 @@ + + + + diff --git a/src/views/modules/quality/components/transferScheme-add.vue b/src/views/modules/quality/components/transferScheme-add.vue new file mode 100644 index 0000000..61df82e --- /dev/null +++ b/src/views/modules/quality/components/transferScheme-add.vue @@ -0,0 +1,190 @@ + + + + diff --git a/src/views/modules/quality/components/transferSchemeSearch.vue b/src/views/modules/quality/components/transferSchemeSearch.vue new file mode 100644 index 0000000..486b562 --- /dev/null +++ b/src/views/modules/quality/components/transferSchemeSearch.vue @@ -0,0 +1,137 @@ + + + + diff --git a/src/views/modules/quality/qmsCustomSampling.vue b/src/views/modules/quality/qmsCustomSampling.vue index 4f3a3ac..2103424 100644 --- a/src/views/modules/quality/qmsCustomSampling.vue +++ b/src/views/modules/quality/qmsCustomSampling.vue @@ -1,7 +1,7 @@ @@ -255,7 +255,8 @@ export default { }) .catch(() => { }); } else if (val.type === 'edit') { - this.addOrUpdateVisible = true; + this.addOrUpdateVisible = true + this.addOrEditTitle = this.$t('edit') this.$nextTick(() => { this.$refs.addOrUpdate.init(val.data.id); }); @@ -272,7 +273,7 @@ export default { this.getDataList(); break; case "add": - this.addOrEditTitle = '新增' + this.addOrEditTitle = this.$t('add') this.addOrUpdateVisible = true; this.addOrUpdateHandle() break; diff --git a/src/views/modules/quality/qmsDisposalMethod.vue b/src/views/modules/quality/qmsDisposalMethod.vue index 0457671..5a106c6 100644 --- a/src/views/modules/quality/qmsDisposalMethod.vue +++ b/src/views/modules/quality/qmsDisposalMethod.vue @@ -1,7 +1,7 @@ @@ -182,7 +182,8 @@ export default { }) .catch(() => { }); } else if (val.type === 'edit') { - this.addOrUpdateVisible = true; + this.addOrUpdateVisible = true + this.addOrEditTitle = this.$t('edit') this.$nextTick(() => { this.$refs.addOrUpdate.init(val.data.id); }); @@ -199,7 +200,7 @@ export default { this.getDataList(); break; case "add": - this.addOrEditTitle = '新增' + this.addOrEditTitle = this.$t('add') this.addOrUpdateVisible = true; this.addOrUpdateHandle() break; diff --git a/src/views/modules/quality/qmsInspectionPosition.vue b/src/views/modules/quality/qmsInspectionPosition.vue index 029bf22..8032e77 100644 --- a/src/views/modules/quality/qmsInspectionPosition.vue +++ b/src/views/modules/quality/qmsInspectionPosition.vue @@ -1,7 +1,7 @@ @@ -176,7 +176,8 @@ export default { }) .catch(() => { }); } else if (val.type === 'edit') { - this.addOrUpdateVisible = true; + this.addOrUpdateVisible = true + this.addOrEditTitle = this.$t('edit') this.$nextTick(() => { this.$refs.addOrUpdate.init(val.data.id); }); @@ -193,7 +194,7 @@ export default { this.getDataList(); break; case "add": - this.addOrEditTitle = '新增' + this.addOrEditTitle = this.$t('add') this.addOrUpdateVisible = true; this.addOrUpdateHandle() break; diff --git a/src/views/modules/quality/qmsSamplingPlan.vue b/src/views/modules/quality/qmsSamplingPlan.vue index d3c9d6b..34ec972 100644 --- a/src/views/modules/quality/qmsSamplingPlan.vue +++ b/src/views/modules/quality/qmsSamplingPlan.vue @@ -1,7 +1,7 @@ @@ -246,7 +246,8 @@ export default { }) .catch(() => { }); } else if (val.type === 'edit') { - this.addOrUpdateVisible = true; + this.addOrUpdateVisible = true + this.addOrEditTitle = this.$t('edit') this.$nextTick(() => { this.$refs.addOrUpdate.init(val.data.id); }); @@ -263,7 +264,7 @@ export default { this.getDataList(); break; case "add": - this.addOrEditTitle = '新增' + this.addOrEditTitle = this.$t('add') this.addOrUpdateVisible = true; this.addOrUpdateHandle() break; diff --git a/src/views/modules/quality/qmsTransferRecords.vue b/src/views/modules/quality/qmsTransferRecords.vue new file mode 100644 index 0000000..c112c75 --- /dev/null +++ b/src/views/modules/quality/qmsTransferRecords.vue @@ -0,0 +1,234 @@ + + + + diff --git a/src/views/modules/quality/qmsTransferScheme.vue b/src/views/modules/quality/qmsTransferScheme.vue index 5aee96f..92c141f 100644 --- a/src/views/modules/quality/qmsTransferScheme.vue +++ b/src/views/modules/quality/qmsTransferScheme.vue @@ -1,7 +1,7 @@ @@ -22,13 +22,14 @@ - - - + + + - + + @@ -48,98 +49,52 @@