From f2fbb3b07155274408d68084e2d607760c765ad6 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 14 三月 2025 11:09:51 +0800 Subject: [PATCH] 前端跳转路由修改 --- src/views/CNAS/personnel/personnelInfo/index.vue | 1 src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue | 2 src/views/CNAS/resourceDemand/device/index.vue | 1 src/views/standard/standardLibrary/index.vue | 377 +++++++++++++++++++++++----------------------- src/views/CNAS/systemManagement/documentControl/index.vue | 1 src/views/CNAS/personnel/personalOverview/index.vue | 1 src/views/CNAS/resourceDemand/facilitiesEnvironment/index.vue | 5 src/views/CNAS/process/method/methodVerification/index.vue | 2 src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue | 1 src/views/CNAS/systemManagement/measuresDealRisks/index.vue | 1 src/views/business/inspectionReview/index.vue | 3 src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue | 2 src/views/CNAS/resourceDemand/standardMaterial/index.vue | 1 src/views/business/productOrder/index.vue | 3 src/views/CNAS/process/nonconformingWork/nonconformingItem/index.vue | 2 src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue | 1 src/views/CNAS/externalService/supplierManage/index.vue | 5 src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue | 2 src/views/CNAS/systemManagement/customerSatisfaction/index.vue | 2 src/views/CNAS/process/uncertainty/index.vue | 1 src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue | 6 src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 1 src/views/CNAS/externalService/serviceAndSupplyPro/index.vue | 1 src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue | 8 src/views/structural/capabilityAndLaboratory/capability/index.vue | 1 src/views/business/productSamplingInfo/index.vue | 2 src/views/business/sample/index.vue | 1 src/views/CNAS/resourceDemand/standardMaterailRequistion/index.vue | 3 src/views/business/unpass/index.vue | 1 src/views/system/customer/index.vue | 1 src/views/CNAS/process/sampleDisposal/index.vue | 2 src/views/business/rawMaterialInspection/index.vue | 1 src/views/business/reportPreparation/index.vue | 1 src/views/CNAS/process/reportResults/index.vue | 1 src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue | 1 src/views/CNAS/process/complaint/index.vue | 1 src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue | 1 src/views/business/finishedProductSampling/index.vue | 1 src/views/CNAS/process/demand/index.vue | 2 src/views/CNAS/process/method/standardMethodsChange/index.vue | 2 src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue | 1 src/views/CNAS/systemManagement/correctiveAction/index.vue | 2 42 files changed, 230 insertions(+), 225 deletions(-) diff --git a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue index 9efac6d..264a95d 100644 --- a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue +++ b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue @@ -56,6 +56,7 @@ } from '@/api/cnas/externalService/serviceAndSupplyPro/serviceAndSupplyPro' export default { + name: 'ServiceAndSupplyPro', data() { return { tabsKey: 0, diff --git a/src/views/CNAS/externalService/supplierManage/index.vue b/src/views/CNAS/externalService/supplierManage/index.vue index 1f11fb5..ccbe3fb 100644 --- a/src/views/CNAS/externalService/supplierManage/index.vue +++ b/src/views/CNAS/externalService/supplierManage/index.vue @@ -26,9 +26,6 @@ </template> <script> -// import ZTTable from "../caorui/ZTTable/index.vue"; -// import TableCard from "../caorui/TableCard/index.vue"; -// import axios from "axios"; import FormDia from "../supplierManage/component/formDia.vue"; import limsTable from '@/components/Table/lims-table.vue' import { @@ -38,7 +35,7 @@ } from '@/api/cnas/externalService/supplierManage/supplierManage' export default { - name: "a6-supplier-manage-new", + name: "SupplierManage", // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, diff --git a/src/views/CNAS/personnel/personalOverview/index.vue b/src/views/CNAS/personnel/personalOverview/index.vue index c5c8da2..5ed24de 100644 --- a/src/views/CNAS/personnel/personalOverview/index.vue +++ b/src/views/CNAS/personnel/personalOverview/index.vue @@ -49,6 +49,7 @@ import ScrollPagination from '@/components/index/scroll-paging.vue' import {selectUserCondition} from "@/api/business/inspectionTask"; export default { + name: 'Personaloverview', components: { ScrollPagination }, diff --git a/src/views/CNAS/personnel/personnelInfo/index.vue b/src/views/CNAS/personnel/personnelInfo/index.vue index 9867a41..b31c82f 100644 --- a/src/views/CNAS/personnel/personnelInfo/index.vue +++ b/src/views/CNAS/personnel/personnelInfo/index.vue @@ -119,6 +119,7 @@ import Communicate from './tabs/communicate.vue' import {addDepartmentLims, delDepartmentLims, selectCNSAPersonTree} from "@/api/cnas/personal/personalList"; export default { + name: 'PersonnelInfo', components: { PersonnelList, personnelInformation, PersonnelTraining, JobResponsibilities, rewardPunishmentRecord, TrainingRecord, Mandate, PersonnelCapacity, Communicate }, diff --git a/src/views/CNAS/process/complaint/index.vue b/src/views/CNAS/process/complaint/index.vue index aadc61c..c654149 100644 --- a/src/views/CNAS/process/complaint/index.vue +++ b/src/views/CNAS/process/complaint/index.vue @@ -280,6 +280,7 @@ } from '@/api/cnas/process/complaint.js' import { mapGetters } from "vuex"; export default { + name: 'Complaint', components: { limsTable }, diff --git a/src/views/CNAS/process/demand/index.vue b/src/views/CNAS/process/demand/index.vue index 60258c5..f2d5dd4 100644 --- a/src/views/CNAS/process/demand/index.vue +++ b/src/views/CNAS/process/demand/index.vue @@ -416,7 +416,7 @@ import { selectUserCondition } from "@/api/business/inspectionTask"; export default { - name: "a7-Inspection-Order-Form", + name: "Demand", components: { limsTable }, data() { return { diff --git a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue index 16690fe..e5119d0 100644 --- a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue +++ b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue @@ -176,7 +176,7 @@ import { mapGetters } from "vuex"; export default { - name: 'a7-Ensure-results-validity', + name: 'EnsureResultsValidity', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, filePreview, EvaluateDialog, CarryOutDialog, DetailFormDialog }, data() { diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue index c58086b..6ec2abf 100644 --- a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue +++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue @@ -136,7 +136,7 @@ import { mapGetters } from "vuex"; export default { - name: 'a7-quality-control-plan', + name: 'QualityControlPlan', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, RectifyDialogNew, ProcessingSheet, RecordsDialog, DetailFormDialog }, data() { diff --git a/src/views/CNAS/process/method/methodVerification/index.vue b/src/views/CNAS/process/method/methodVerification/index.vue index 950abcd..01543a8 100644 --- a/src/views/CNAS/process/method/methodVerification/index.vue +++ b/src/views/CNAS/process/method/methodVerification/index.vue @@ -39,7 +39,7 @@ import { delMethodVerify, exportMethodVerify, pagesMethodVerify } from '@/api/cnas/process/method/methodVerification' export default { - name: 'a7-method-verification', + name: 'MethodVerification', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { TableCard, limsTable, formDIa }, data() { diff --git a/src/views/CNAS/process/method/standardMethodsChange/index.vue b/src/views/CNAS/process/method/standardMethodsChange/index.vue index 3e4a30d..1f593e2 100644 --- a/src/views/CNAS/process/method/standardMethodsChange/index.vue +++ b/src/views/CNAS/process/method/standardMethodsChange/index.vue @@ -41,7 +41,7 @@ } from '@/api/cnas/process/method/standardMethodsChange' export default { - name: 'a7-changes-standard-methods', + name: 'StandardMethodschange', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, formDIaChange, TableCard }, data() { diff --git a/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue b/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue index 4006fd6..e7341e3 100644 --- a/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue +++ b/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue @@ -102,7 +102,7 @@ import {selectUserCondition} from "@/api/performance/class"; export default { - name: 'a7-standard-novelty-retrieval', + name: 'StandardNoveltyRetrieval', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { FormDialog, diff --git a/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue b/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue index 4a54eb8..8a979df 100644 --- a/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue +++ b/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue @@ -1,12 +1,6 @@ <template> <div> <div> - <!-- <div class="view-title"> - <span>涓嶇鍚堥」鐨勫垎甯�</span> - <span> - <el-button size="medium" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button> - </span> - </div> --> <div class="search-background"> <span class="search-group"> <span style="width: 120px">骞翠唤锛�</span> @@ -48,7 +42,7 @@ } from '@/api/cnas/process/nonconformingWork.js' export default { - name: 'a7-distribution-of-nonconforming', + name: 'NonconformingDistribution', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { FormDia, TableCard, limsTable }, data() { diff --git a/src/views/CNAS/process/nonconformingWork/nonconformingItem/index.vue b/src/views/CNAS/process/nonconformingWork/nonconformingItem/index.vue index 97e8aa8..8e2336c 100644 --- a/src/views/CNAS/process/nonconformingWork/nonconformingItem/index.vue +++ b/src/views/CNAS/process/nonconformingWork/nonconformingItem/index.vue @@ -38,7 +38,7 @@ } from '@/api/cnas/process/nonconformingWork.js' export default { - name: 'a7-nonconforming-item', + name: 'NonconformingItem', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { QualityInfo, TableCard, limsTable }, data() { diff --git a/src/views/CNAS/process/reportResults/index.vue b/src/views/CNAS/process/reportResults/index.vue index fcc583a..9cf49ca 100644 --- a/src/views/CNAS/process/reportResults/index.vue +++ b/src/views/CNAS/process/reportResults/index.vue @@ -118,6 +118,7 @@ selectUserCondition, } from "@/api/business/inspectionTask.js"; export default { + name: 'ReportResults', components: { limsTable }, diff --git a/src/views/CNAS/process/sampleDisposal/index.vue b/src/views/CNAS/process/sampleDisposal/index.vue index 94b45b9..b3df7ab 100644 --- a/src/views/CNAS/process/sampleDisposal/index.vue +++ b/src/views/CNAS/process/sampleDisposal/index.vue @@ -118,11 +118,11 @@ pageProcessTotaldeal, } from "@/api/cnas/process/sampleDisposal"; export default { + name: 'SampleDisposal', components: { limsTable, filePreview, }, - name: "SampleDisposal", data() { return { activeName: '濉啓', diff --git a/src/views/CNAS/process/uncertainty/index.vue b/src/views/CNAS/process/uncertainty/index.vue index f5dc83f..4cb8d52 100644 --- a/src/views/CNAS/process/uncertainty/index.vue +++ b/src/views/CNAS/process/uncertainty/index.vue @@ -66,6 +66,7 @@ } from '@/api/cnas/process/uncertainty.js' import { mapGetters } from "vuex"; export default { + name: 'Uncertainty', components: { limsTable, filePreview diff --git a/src/views/CNAS/resourceDemand/device/index.vue b/src/views/CNAS/resourceDemand/device/index.vue index 6dd1e28..3e06c02 100644 --- a/src/views/CNAS/resourceDemand/device/index.vue +++ b/src/views/CNAS/resourceDemand/device/index.vue @@ -135,6 +135,7 @@ treeDevice, } from '@/api/cnas/resourceDemand/device.js' export default { + name: 'Device', components: { QuantityValueTraceabilityPlan, EquipmentAcceptance, diff --git a/src/views/CNAS/resourceDemand/facilitiesEnvironment/index.vue b/src/views/CNAS/resourceDemand/facilitiesEnvironment/index.vue index 3c6f34b..2a9497c 100644 --- a/src/views/CNAS/resourceDemand/facilitiesEnvironment/index.vue +++ b/src/views/CNAS/resourceDemand/facilitiesEnvironment/index.vue @@ -4,7 +4,6 @@ <el-tab-pane label="璁炬柦鍜岀幆澧冩潯浠惰姹�" name="璁炬柦鍜岀幆澧冩潯浠惰姹�"> <FacilitiesEnvironmentalConditions v-if="activeName === '璁炬柦鍜岀幆澧冩潯浠惰姹�'"/> </el-tab-pane> - <el-tab-pane label="涓夊簾澶勭悊" name="涓夊簾澶勭悊"> <a6-three-wastes-treatment v-if="activeName === '涓夊簾澶勭悊'"></a6-three-wastes-treatment> </el-tab-pane> @@ -17,14 +16,12 @@ <script> import FacilitiesEnvironmentalConditions from "../facilitiesEnvironment/component/facilities-environmental-conditions.vue"; -// // 澶栨潵浜哄憳绠$悊 -// import ExternalPersonnelManagement from "../facilitiesEnvironment/component/Personnel-management.vue"; import A6ThreeWastesTreatment from '../facilitiesEnvironment/component/three-wastes-treatment.vue'; import PersonnelManagement from '../facilitiesEnvironment/component/Personnel-management.vue'; export default { + name: 'FacilitiesEnvironment', components: { - // PersonnelManagement, A6ThreeWastesTreatment, PersonnelManagement, FacilitiesEnvironmentalConditions diff --git a/src/views/CNAS/resourceDemand/standardMaterailRequistion/index.vue b/src/views/CNAS/resourceDemand/standardMaterailRequistion/index.vue index 1a38083..a062abf 100644 --- a/src/views/CNAS/resourceDemand/standardMaterailRequistion/index.vue +++ b/src/views/CNAS/resourceDemand/standardMaterailRequistion/index.vue @@ -32,10 +32,9 @@ } from '@/api/cnas/resourceDemand/standardMaterailRequistion/standardMaterailRequistion' export default { + name: 'StandardMaterailRequistion', components: { limsTable - // TableCard, - // ZTTable, }, data() { return { diff --git a/src/views/CNAS/resourceDemand/standardMaterial/index.vue b/src/views/CNAS/resourceDemand/standardMaterial/index.vue index f6378d0..4758f6f 100644 --- a/src/views/CNAS/resourceDemand/standardMaterial/index.vue +++ b/src/views/CNAS/resourceDemand/standardMaterial/index.vue @@ -45,6 +45,7 @@ import BorrowDia from '../standardMaterial/component/borrowDia.vue'; import ReturnDia from '../standardMaterial/component/returnDia.vue'; export default { + name: 'StandardMaterial', components: { limsTable, FormDia, diff --git a/src/views/CNAS/systemManagement/correctiveAction/index.vue b/src/views/CNAS/systemManagement/correctiveAction/index.vue index b86b2a3..844673b 100644 --- a/src/views/CNAS/systemManagement/correctiveAction/index.vue +++ b/src/views/CNAS/systemManagement/correctiveAction/index.vue @@ -39,7 +39,7 @@ } from '@/api/cnas/systemManagement/correctiveAction.js' export default { - name: 'a8-corrective-action', + name: 'CorrectiveAction', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { // QualityInfo, diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue index 8e371d5..59be536 100644 --- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue +++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue @@ -72,7 +72,7 @@ } from '@/api/cnas/systemManagement/customerSatisfaction.js' export default { - name: 'a8-customer-satisfaction', + name: 'CustomerSatisfaction', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { filePreview, FormDialog, limsTable, TableCard }, data() { diff --git a/src/views/CNAS/systemManagement/documentControl/index.vue b/src/views/CNAS/systemManagement/documentControl/index.vue index 5062e5c..421c1dd 100644 --- a/src/views/CNAS/systemManagement/documentControl/index.vue +++ b/src/views/CNAS/systemManagement/documentControl/index.vue @@ -16,6 +16,7 @@ import FileChangeRequest from './components/FileChangeRequest.vue' import FileObsoletionRequest from './components/FileObsoletionRequest.vue' export default { + name: 'DocumentControl', components: { FileList, ControlledFileApplication, diff --git a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue index 132c3f1..4e4b5a6 100644 --- a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue @@ -96,6 +96,7 @@ pageManageRecordCheck } from '@/api/cnas/systemManagement/documentRecords.js' export default { + name: 'ApprovalRecord', components: { limsTable }, diff --git a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue index 73e419d..e332606 100644 --- a/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/cancellationRecord.vue @@ -101,6 +101,7 @@ pageManageDocumentList, } from '@/api/cnas/systemManagement/documentControl.js' export default { + name: 'CancellationRecord', components: { limsTable }, diff --git a/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue b/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue index 4da0bf3..f03e924 100644 --- a/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/distributionCollectionRecord.vue @@ -149,6 +149,7 @@ } from '@/api/cnas/systemManagement/documentControl.js' import { mapGetters } from "vuex"; export default { + name: 'DistributionCollectionRecord', components: { limsTable }, diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue index e20fcb8..1485e6c 100644 --- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue +++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue @@ -96,6 +96,7 @@ doManageRecordVerify } from '@/api/cnas/systemManagement/documentRecords.js' export default { + name: 'OutDocumenRecordt', components: { filePreview, limsTable, diff --git a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue index 2df716e..2257543 100644 --- a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue @@ -143,6 +143,7 @@ pageManageDocumentList, } from '@/api/cnas/systemManagement/documentControl.js' export default { + name: 'RegularReviewsRecord', components: { limsTable, filePreview diff --git a/src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue b/src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue index b0c4471..234e7f1 100644 --- a/src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue +++ b/src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue @@ -341,10 +341,8 @@ selectUserCondition, } from "@/api/business/inspectionTask.js"; export default { - components: { - filePreview, - limsTable - }, + name: 'RevisionRecord', + components: {filePreview, limsTable}, data() { return { addPower: true, diff --git a/src/views/CNAS/systemManagement/measuresDealRisks/index.vue b/src/views/CNAS/systemManagement/measuresDealRisks/index.vue index 4088909..5506e5b 100644 --- a/src/views/CNAS/systemManagement/measuresDealRisks/index.vue +++ b/src/views/CNAS/systemManagement/measuresDealRisks/index.vue @@ -18,6 +18,7 @@ import listRiskAnalysisControlPlans from "./components//listRiskAnalysisControlPlans.vue"; export default { + name: 'MeasuresDealRisks', components: { HazardIdentificationRiskAssessment, listRiskAnalysisControlPlans }, data() { return { diff --git a/src/views/business/finishedProductSampling/index.vue b/src/views/business/finishedProductSampling/index.vue index d5d732d..e013681 100644 --- a/src/views/business/finishedProductSampling/index.vue +++ b/src/views/business/finishedProductSampling/index.vue @@ -273,6 +273,7 @@ import {mapGetters} from "vuex"; export default { + name: 'FinishedProductSampling', data() { return { stockList: [], diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue index a2f5cfb..2f7df2a 100644 --- a/src/views/business/inspectionReview/index.vue +++ b/src/views/business/inspectionReview/index.vue @@ -47,7 +47,6 @@ <script> import { getYearAndMonthAndDays } from "@/utils/date"; -// import ShowInfo from "../do/b1-material-ins-order/showInfo.vue"; import onlyoffice from "@/components/Onlyoffice/onlyoffice.vue"; import limsTable from "@/components/Table/lims-table.vue"; import { selectInsOrderPlanList, selectUserCondition } from "@/api/business/inspectionTask"; @@ -56,11 +55,11 @@ import filePreview from "@/components/Preview/filePreview.vue"; export default { + name: 'InspectionReview', components: { filePreview, onlyoffice, limsTable, - // ShowInfo, }, dicts: ["urgency_level", "inspection_task_state"], computed: { diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue index 7308468..5bcd383 100644 --- a/src/views/business/productOrder/index.vue +++ b/src/views/business/productOrder/index.vue @@ -307,7 +307,6 @@ <script> import vueQr from 'vue-qr' import PrintJS from 'print-js' -import file from "@/utils/file"; import PrintDialog from "@/views/business/productOrder/components/printDialog.vue"; import AddInspectionDia from "@/views/business/productOrder/components/addInspectionDia.vue"; import limsTable from "@/components/Table/lims-table.vue"; @@ -321,8 +320,8 @@ import { selectUserCondition } from "@/api/performance/class"; import { downFile, getFileList, selectSampleAndProductByOrderId } from "@/api/business/rawMaterialOrder"; import {mapGetters} from "vuex"; -// import Inspection from "../do/b1-inspect-order-plan/Inspection.vue"; export default { + name: 'ProductOrder', components: { limsTable, AddInspectionDia, diff --git a/src/views/business/productSamplingInfo/index.vue b/src/views/business/productSamplingInfo/index.vue index 9ba2b67..3b9720b 100644 --- a/src/views/business/productSamplingInfo/index.vue +++ b/src/views/business/productSamplingInfo/index.vue @@ -251,7 +251,7 @@ import { selectUserCondition } from "@/api/performance/class"; export default { - name: "b1-product-sampling-info", + name: "ProductSamplingInfo", // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, AddQuarterItem }, data() { diff --git a/src/views/business/rawMaterialInspection/index.vue b/src/views/business/rawMaterialInspection/index.vue index e691855..d3fa7e4 100644 --- a/src/views/business/rawMaterialInspection/index.vue +++ b/src/views/business/rawMaterialInspection/index.vue @@ -191,6 +191,7 @@ import limsTable from "@/components/Table/lims-table.vue"; export default { + name: 'RawMaterialInspection', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, DataLookVisible }, data() { diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue index d42d5fd..9dd603c 100644 --- a/src/views/business/reportPreparation/index.vue +++ b/src/views/business/reportPreparation/index.vue @@ -207,6 +207,7 @@ import limsTable from "@/components/Table/lims-table.vue"; import {delFile, downFile, getFileList} from "@/api/business/rawMaterialOrder"; export default { + name: 'ReportPreparation', components: { limsTable, onlyoffice }, data() { return { diff --git a/src/views/business/sample/index.vue b/src/views/business/sample/index.vue index c96a832..8858710 100644 --- a/src/views/business/sample/index.vue +++ b/src/views/business/sample/index.vue @@ -198,6 +198,7 @@ upWarehouse } from "@/api/business/sample"; export default { + name: 'Sample', components: { Detail }, diff --git a/src/views/business/unpass/index.vue b/src/views/business/unpass/index.vue index fb9b01e..b3a7250 100644 --- a/src/views/business/unpass/index.vue +++ b/src/views/business/unpass/index.vue @@ -31,6 +31,7 @@ import {pageInsUnPass} from "@/api/business/unpass"; export default { + name: 'Unpass', components: {limsTable}, data() { return { diff --git a/src/views/standard/standardLibrary/index.vue b/src/views/standard/standardLibrary/index.vue index d6c8435..e36597d 100644 --- a/src/views/standard/standardLibrary/index.vue +++ b/src/views/standard/standardLibrary/index.vue @@ -1,192 +1,3 @@ -<style scoped> -.standard { - padding-top: 10px; - display: flex; - height: calc(100vh - 90px); -} - -.left { - width: 330px; - height: calc(100% - 40px - 10px); - background-color: white; - padding: 15px; -} - -.custom-tree-node { - width: 100%; - line-height: 32px; -} - -.custom-tree-node .el-icon-delete { - color: #3a7bfa; - opacity: 0; - font-size: 18px; -} - -.custom-tree-node:hover .el-icon-delete { - opacity: 1; -} - -.custom-tree-node .el-icon-edit { - color: #3a7bfa; - opacity: 0; - font-size: 18px; -} - -.custom-tree-node:hover .el-icon-edit { - opacity: 1; -} - -.node_i { - color: orange; - font-size: 18px; -} - -.right { - margin-left: 5px; - width: calc(100% - 350px); - height: calc(100% - 40px); -} - -.right .title { - height: 34px; - line-height: 34px; - padding: 0 10px; - background-color: white; -} - -.standard_table { - border-top: 1px solid #ebeef5; - background-color: white; -} - -.product_table { - border-top: 1px solid #ebeef5; - height: calc(100% - 235px); - margin-top: 5px; - background-color: white; - user-select: none; -} - -.product_table .el-table { - height: calc(100% - 35px) !important; -} - -.sort { - width: 80% !important; - overflow: hidden; -} - ->>>.el-table__body-wrapper { - height: calc(100% - 46px) !important; -} - ->>>.header-class { - height: 40px !important; -} - ->>>.header-class th.el-table__cell>.cell { - line-height: 20px !important; - padding-top: 0 !important; - padding-bottom: 0 !important; -} - ->>>.el-table__row { - height: 35px !important; -} - -.search { - border-bottom: 1px solid #ebeef5; - margin-bottom: 16px; - display: flex; - align-items: center; - box-sizing: border-box; - padding-bottom: 10px; -} - -.search-item { - display: flex; - align-items: center; - flex-wrap: wrap; -} - -.search-item .el-row { - display: flex; - align-items: center; -} - -.search-item .el-col { - margin-left: 0; -} - -.more-edit .dialog-footer { - position: absolute; - top: 15px; - right: 70px; -} - ->>>.is-disabled .el-textarea__inner { - background: rgba(0, 0, 0, 0.05) !important; -} - ->>>.el-table__body-wrapper::-webkit-scrollbar { - height: 14px; - /* 璁剧疆婊氬姩鏉″搴� */ -} -</style> -<style> -.standard .el-tree-node__content { - height: 32px; - font-size: 14px; - border-radius: 2px; -} - -.standard .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content { - color: #3a7bfa; -} - -.standard .has-gutter .el-table__cell .cell { - line-height: 34px; - background-color: #f8f8f8; -} - -.standard .has-gutter .el-table__cell { - background-color: #fafafa !important; -} - -.standard .standard_table .el-table__row .cell { - font-size: 14px; -} - -.standard .el-table .warning-row .cell { - color: #bababa; -} - -.standard .el-table-filter__list { - max-height: 400px; - overflow-y: auto; -} - -.standard .el-upload { - width: 100%; -} - -.standard .el-upload-dragger { - width: 100%; -} - -.standard .handleBtn.is-disabled .el-upload:focus { - color: #c0c4cc !important; -} - -.standard .avatar-uploader .el-upload { - height: 80px; - display: flex; - align-items: center; - justify-content: center; -} -</style> - <template> <div class="standard"> <div class="left"> @@ -1396,3 +1207,191 @@ }, }; </script> +<style scoped> +.standard { + padding-top: 10px; + display: flex; + height: calc(100vh - 90px); +} + +.left { + width: 330px; + height: calc(100% - 40px - 10px); + background-color: white; + padding: 15px; +} + +.custom-tree-node { + width: 100%; + line-height: 32px; +} + +.custom-tree-node .el-icon-delete { + color: #3a7bfa; + opacity: 0; + font-size: 18px; +} + +.custom-tree-node:hover .el-icon-delete { + opacity: 1; +} + +.custom-tree-node .el-icon-edit { + color: #3a7bfa; + opacity: 0; + font-size: 18px; +} + +.custom-tree-node:hover .el-icon-edit { + opacity: 1; +} + +.node_i { + color: orange; + font-size: 18px; +} + +.right { + margin-left: 5px; + width: calc(100% - 350px); + height: calc(100% - 40px); +} + +.right .title { + height: 34px; + line-height: 34px; + padding: 0 10px; + background-color: white; +} + +.standard_table { + border-top: 1px solid #ebeef5; + background-color: white; +} + +.product_table { + border-top: 1px solid #ebeef5; + height: calc(100% - 235px); + margin-top: 5px; + background-color: white; + user-select: none; +} + +.product_table .el-table { + height: calc(100% - 35px) !important; +} + +.sort { + width: 80% !important; + overflow: hidden; +} + +>>>.el-table__body-wrapper { + height: calc(100% - 46px) !important; +} + +>>>.header-class { + height: 40px !important; +} + +>>>.header-class th.el-table__cell>.cell { + line-height: 20px !important; + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +>>>.el-table__row { + height: 35px !important; +} + +.search { + border-bottom: 1px solid #ebeef5; + margin-bottom: 16px; + display: flex; + align-items: center; + box-sizing: border-box; + padding-bottom: 10px; +} + +.search-item { + display: flex; + align-items: center; + flex-wrap: wrap; +} + +.search-item .el-row { + display: flex; + align-items: center; +} + +.search-item .el-col { + margin-left: 0; +} + +.more-edit .dialog-footer { + position: absolute; + top: 15px; + right: 70px; +} + +>>>.is-disabled .el-textarea__inner { + background: rgba(0, 0, 0, 0.05) !important; +} + +>>>.el-table__body-wrapper::-webkit-scrollbar { + height: 14px; + /* 璁剧疆婊氬姩鏉″搴� */ +} +</style> +<style scoped> +.standard .el-tree-node__content { + height: 32px; + font-size: 14px; + border-radius: 2px; +} + +.standard .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content { + color: #3a7bfa; +} + +.standard .has-gutter .el-table__cell .cell { + line-height: 34px; + background-color: #f8f8f8; +} + +.standard .has-gutter .el-table__cell { + background-color: #fafafa !important; +} + +.standard .standard_table .el-table__row .cell { + font-size: 14px; +} + +.standard .el-table .warning-row .cell { + color: #bababa; +} + +.standard .el-table-filter__list { + max-height: 400px; + overflow-y: auto; +} + +.standard .el-upload { + width: 100%; +} + +.standard .el-upload-dragger { + width: 100%; +} + +.standard .handleBtn.is-disabled .el-upload:focus { + color: #c0c4cc !important; +} + +.standard .avatar-uploader .el-upload { + height: 80px; + display: flex; + align-items: center; + justify-content: center; +} +</style> diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue index 8041f4a..72cb9b8 100644 --- a/src/views/structural/capabilityAndLaboratory/capability/index.vue +++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue @@ -127,6 +127,7 @@ import { obtainItemParameterList } from '@/api/structural/laboratoryScope' export default { + name: 'Capability', components: {limsTable, EditForm, testObjectEditForm, BindPartDialog, BindSupplierDensityDialog}, data() { return { diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue index 4e20b20..ef5109e 100644 --- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue +++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue @@ -151,6 +151,7 @@ import { getToken } from "@/utils/auth"; export default { + name: 'Laboratory', components: { limsTable, }, diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue index e88b72b..c928522 100644 --- a/src/views/system/customer/index.vue +++ b/src/views/system/customer/index.vue @@ -64,6 +64,7 @@ import limsTable from '@/components/Table/lims-table.vue' import {addCustom, delCustomById, selectCustomPageList, upCustom} from "@/api/system/customer"; export default { + name: 'Customer', components: { limsTable }, -- Gitblit v1.9.3