From 23994eb72ac0475cac571646a09435ec21516017 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期六, 15 二月 2025 11:09:58 +0800 Subject: [PATCH] 设备修改 --- src/main.js | 243 +- src/components/do/a6-device/device-overview.vue | 270 ++- src/components/do/a6-device/management.vue | 2321 +++++++++++++++++++------------- src/assets/api/controller.js | 1303 ++++++++++-------- 4 files changed, 2,400 insertions(+), 1,737 deletions(-) diff --git a/src/assets/api/controller.js b/src/assets/api/controller.js index 82b3f7f..92016a1 100644 --- a/src/assets/api/controller.js +++ b/src/assets/api/controller.js @@ -85,12 +85,18 @@ deviceScrapped, deviceInspectionRecord, deviceTraceabilityManagement, - } + deviceOperate, + deviceFault, + responsi, + deviceReservate, + deviceInstruction, + borrow + }; } const login = { - enter: "/user/enter", //鐧诲綍 -} + enter: "/user/enter" //鐧诲綍 +}; const user = { selectUserList: "/user/selectUserList", //鑾峰彇鐢ㄦ埛鍒楄〃 (鐢ㄤ簬鐝,宸ユ椂) @@ -116,16 +122,17 @@ delUserDepardLimsId: "/user/delUserDepardLimsId", //鍒犻櫎浜哄憳鏄庣粏鎵�鍦ㄧ粍缁囨灦鏋� upCustom: "/user/upCustom", //淇敼瀹㈡埛淇℃伅 selectCustomEnum: "/user/selectCustomEnum", //鑾峰彇瀹㈡埛鏋氫妇 - getLaboratoryPersonList: '/user/getLaboratoryPersonList', //鑾峰彇瀹為獙瀹や笅鐨勬楠屽憳鍒楄〃 - selectUserDepartmentLimsName: '/user/selectUserDepartmentLimsName', // 鑾峰彇褰撳墠閮ㄩ棬 - selectDepartmentLimsUserList: '/user/selectDepartmentLimsUserList', // 鑾峰彇褰撳墠閮ㄩ棬浜哄憳 -} + getLaboratoryPersonList: "/user/getLaboratoryPersonList", //鑾峰彇瀹為獙瀹や笅鐨勬楠屽憳鍒楄〃 + selectUserDepartmentLimsName: "/user/selectUserDepartmentLimsName", // 鑾峰彇褰撳墠閮ㄩ棬 + selectDepartmentLimsUserList: "/user/selectDepartmentLimsUserList" // 鑾峰彇褰撳墠閮ㄩ棬浜哄憳 +}; const dataReporting = { selectDataReportingList: "/dataReporting/selectDataReportingList", //鑾峰彇鏁版嵁涓婃姤鍒楄〃 upDataReporting: "/dataReporting/upDataReporting", //淇敼鏁版嵁涓婃姤 selectProductCountDtoPageList: "/dataReporting/selectProductCountDtoPageList", //鑾峰彇椤圭洰姹囨�诲垪琛� - selectRegistrantCountDtoPageList: "/dataReporting/selectRegistrantCountDtoPageList", //鑾峰彇鐧昏浜烘眹鎬诲垪琛� + selectRegistrantCountDtoPageList: + "/dataReporting/selectRegistrantCountDtoPageList", //鑾峰彇鐧昏浜烘眹鎬诲垪琛� addDataReporting: "/dataReporting/addDataReporting", //娣诲姞鏁版嵁涓婃姤 delDataReporting: "/dataReporting/delDataReporting", //鍒犻櫎鏁版嵁涓婃姤 downDataReportingFile: "/dataReporting/downDataReportingFile", //瀵煎嚭鏁版嵁涓婃姤 @@ -135,9 +142,11 @@ inputFansSubmitCsv: "/dataReporting/inputFansSubmitCsv", //瀵煎叆杩涚矇涓婃姤 downFinanceSubmitFile: "/dataReporting/downFinanceSubmitFile", //瀵煎嚭璐㈠姟涓婃姤 inputFinanceSubmitCsv: "/dataReporting/inputFinanceSubmitCsv", //瀵煎叆璐㈠姟涓婃姤 - selectDataComparisonDtoPageList: "/dataReporting/selectDataComparisonDtoPageList", //鑾峰彇鏁版嵁瀵规瘮鍒楄〃 + selectDataComparisonDtoPageList: + "/dataReporting/selectDataComparisonDtoPageList", //鑾峰彇鏁版嵁瀵规瘮鍒楄〃 deleteAllData: "/dataReporting/deleteAllData", //涓�閿垹闄ゆ墍鏈夌殑鏁版嵁涓婃姤 - selectDataReportingForCreateUserNames: "/dataReporting/selectDataReportingForCreateUserNames", //鑾峰彇鏁版嵁涓婃姤鐨勭櫥璁颁汉绛涢�夐」 + selectDataReportingForCreateUserNames: + "/dataReporting/selectDataReportingForCreateUserNames", //鑾峰彇鏁版嵁涓婃姤鐨勭櫥璁颁汉绛涢�夐」 selectFansSubmitList: "/dataReporting/selectFansSubmitList", //鑾峰彇杩涚矇涓婃姤鍒楄〃 delFansSubmit: "/dataReporting/delFansSubmit", //鍒犻櫎杩涚矇涓婃姤淇℃伅 @@ -152,8 +161,8 @@ getDataList: "/dataReporting/getDataList", //鑾峰彇棣栭〉鏁版嵁 - inputCsv: "/dataReporting/inputCsv", //瀵煎叆 -} + inputCsv: "/dataReporting/inputCsv" //瀵煎叆 +}; const enums = { selectEnumList: "/enum/selectEnumList", //鑾峰彇鏋氫妇鍒楄〃 @@ -161,8 +170,8 @@ upEnum: "/enum/upEnum", //淇敼鏋氫妇 delEnum: "/enum/delEnum", //鍒犻櫎鏋氫妇 selectEnumByCategory: "/enum/selectEnumByCategory", //閫氳繃鍒嗙被鏌ヨ鏋氫妇 - getDic: "/enum/getDic", //鑾峰彇鏁版嵁瀛楀吀鐨勫垎绫� -} + getDic: "/enum/getDic" //鑾峰彇鏁版嵁瀛楀吀鐨勫垎绫� +}; const capacityScope = { selectItemParameterList: "/capacityScope/selectItemParameterList", //鑾峰彇妫�楠岄」鐩弬鏁� @@ -182,16 +191,16 @@ getItemTree: "/capacityScope/getItemTree", //鑾峰彇妫�楠屽璞℃爲 importData: "/capacityScope/importData", //瀵煎叆妫�楠岄」鐩� importEquipData: "/capacityScope/importEquipData", //瑁呭鐢电紗-瀵煎叆妫�楠岄」鐩� - importExcel: "/capacityScope/importExcel", // 瀵煎叆鑳藉姏鑼冨洿 -} + importExcel: "/capacityScope/importExcel" // 瀵煎叆鑳藉姏鑼冨洿 +}; const laboratoryScope = { selectItemParameter: "/laboratoryScope/selectItemParameter", //鏌ヨ瀹為獙瀹ょ鐞嗗垪琛� addParameter: "/laboratoryScope/addParameter", //娣诲姞瀹為獙瀹ゅ弬鏁� delParameter: "/laboratoryScope/delParameter", //鍒犻櫎瀹為獙瀹ゅ弬鏁� upParameter: "/laboratoryScope/upParameter", //淇敼瀹為獙瀹ゅ弬鏁� - obtainItemParameterList: "/laboratoryScope/obtainItemParameterList", //鑾峰彇瀹為獙瀹ゅ悕绉� -} + obtainItemParameterList: "/laboratoryScope/obtainItemParameterList" //鑾峰彇瀹為獙瀹ゅ悕绉� +}; const deviceScope = { selectDeviceParameter: "/deviceScope/selectDeviceParameter", //鏌ヨ璁惧璇︽儏鍒楄〃 @@ -206,17 +215,20 @@ selectDeviceByCode: "/deviceScope/selectDeviceByCode", //閫氳繃璁惧缂栧彿鑾峰彇璁惧鍒楄〃 getNumberCollect: "/deviceScope/getNumberCollect", //鏌ヨ鏁伴噰閰嶇疆 numberCollect: "/deviceScope/numberCollect", //缁存姢鏁伴噰閰嶇疆 - saveDataAcquisitionConfiguration: "/deviceScope/saveDataAcquisitionConfiguration", // 缁存姢鏁伴噰閰嶇疆 - queryDataAcquisitionConfiguration: "/deviceScope/queryDataAcquisitionConfiguration", // 鏌ヨ鏁伴噰閰嶇疆 - deleteDataAcquisitionConfiguration: "/deviceScope/deleteDataAcquisitionConfiguration", // 鍒犻櫎鏁伴噰閰嶇疆 + saveDataAcquisitionConfiguration: + "/deviceScope/saveDataAcquisitionConfiguration", // 缁存姢鏁伴噰閰嶇疆 + queryDataAcquisitionConfiguration: + "/deviceScope/queryDataAcquisitionConfiguration", // 鏌ヨ鏁伴噰閰嶇疆 + deleteDataAcquisitionConfiguration: + "/deviceScope/deleteDataAcquisitionConfiguration", // 鍒犻櫎鏁伴噰閰嶇疆 determineWhetherToCollectData: "/deviceScope/determineWhetherToCollectData", // 鍒ゆ柇璇ヨ澶囨槸鍚﹀彲浠ユ暟閲� dataCollection: "/deviceScope/dataCollection", // 鏁伴噰-鏁版嵁閲囬泦 treeDevice: "/deviceScope/treeDevice", // 璁惧鏍戝舰 temDataAcquisition: "/deviceScope/temDataAcquisition", // PK8000鏁伴噰 temDataAcquisition2: "/deviceScope/temDataAcquisition2", // PK8000鏁伴噰--澶氭潯 formulaCalculation: "/deviceScope/formulaCalculation", // 鏁伴噰-鍏紡璁$畻 - deviceScopeSearch: "/deviceScope/search", //閫氳繃璁惧鍒嗙被鑾峰彇璁惧鍒楄〃 -} + deviceScopeSearch: "/deviceScope/search" //閫氳繃璁惧鍒嗙被鑾峰彇璁惧鍒楄〃 +}; const insOrder = { selectInsOrderParameter: "/insOrder/selectInsOrderParameter", //鏌ヨ妫�楠屼笅鍗� @@ -240,12 +252,12 @@ selectNoProducts: "/insOrder/selectNoProducts", //瀵煎嚭 checkUpdate: "/insOrder/checkUpdate", //鎾ら攢瀹℃牳閫氳繃 checkNumber: "/insOrder/checkNumber", - addNumber: "/insOrder/addNumber", -} + addNumber: "/insOrder/addNumber" +}; const sampleOrder = { - list: "/sampleOrder/list", //鑾峰彇鎸囨淳浜哄憳 -} + list: "/sampleOrder/list" //鑾峰彇鎸囨淳浜哄憳 +}; const insOrderPlan = { selectInsOrderPlanList: "/insOrderPlan/selectInsOrderPlanList", //鏌ヨ妫�楠屼换鍔� @@ -261,7 +273,8 @@ upPlanUser2: "/insOrderPlan/upPlanUser2", //浠诲姟浜ゆ帴 verifyPlan: "/insOrderPlan/verifyPlan", //澶嶆牳妫�楠屼换鍔� submitPlan: "/insOrderPlan/submitPlan", //妫�楠屼换鍔℃彁浜� - inspectionOrderDetailsTaskSwitching: "/insOrderPlan/inspectionOrderDetailsTaskSwitching", // 妫�楠屽崟璇︽儏-浠诲姟鍒囨崲 + inspectionOrderDetailsTaskSwitching: + "/insOrderPlan/inspectionOrderDetailsTaskSwitching", // 妫�楠屽崟璇︽儏-浠诲姟鍒囨崲 getInsProduct: "/insOrderPlan/getInsProduct", // 鑾峰彇妫�楠岄」鐩拰妯℃澘鍐呭 getFileList: "/insOrderPlan/getFileList", // 鏌ョ湅妫�楠屽崟涓嬬殑闄勪欢鍒楄〃 delfile: "/insOrderPlan/delfile", // 闄勪欢鍒犻櫎 @@ -279,12 +292,12 @@ preview: "/insOrderPlan/preview", // csv鏂囦欢棰勮 outInsOrderState: "/insOrderPlan/outInsOrderState", // 妫�楠屼换鍔℃壂鐮佸嚭搴� // insOrderPlan.cancelSubmitPlan - cancelSubmitPlan: "/insOrderPlan/cancelSubmitPlan", // 妫�楠屼换鍔℃挙閿� -} + cancelSubmitPlan: "/insOrderPlan/cancelSubmitPlan" // 妫�楠屼换鍔℃挙閿� +}; const systemLog = { - selectSystemLogList: "/systemLog/selectSystemLogList", //鑾峰彇鏃ュ織 -} + selectSystemLogList: "/systemLog/selectSystemLogList" //鑾峰彇鏃ュ織 +}; const standardTree = { selectStandardTreeList: "/standardTree/selectStandardTreeList", //鑾峰彇鏍囧噯鏍� @@ -298,18 +311,21 @@ addStandardProduct: "/standardTree/addStandardProduct", //鏂板鏍囧噯鏍戜笅鐨勬楠岄」鐩� delStandardTree: "/standardTree/delStandardTree", //鍒犻櫎鏍囧噯鏍戠殑灞傜骇 selectStandardProductList: "/standardTree/selectStandardProductList", //閫氳繃鏍囧噯鏍戞煡璇㈠搴旂殑妫�楠岄」鐩� - selectStandardProductListByMethodId: "/standardTree/selectStandardProductListByMethodId", //閫氳繃妫�楠屾爣鍑嗘煡璇㈡楠岄」鐩� - selectStandardProductByMethodId: "/standardTree/selectStandardProductByMethodId", //鎵归噺缂栬緫鏌ヨ妫�楠岄」鐩� + selectStandardProductListByMethodId: + "/standardTree/selectStandardProductListByMethodId", //閫氳繃妫�楠屾爣鍑嗘煡璇㈡楠岄」鐩� + selectStandardProductByMethodId: + "/standardTree/selectStandardProductByMethodId", //鎵归噺缂栬緫鏌ヨ妫�楠岄」鐩� selectStandardMethodEnum: "/standardTree/selectStandardMethodEnum", //鑾峰彇鏍囧噯鏍戜笅鏍囧噯鏂规硶鏋氫妇 getStandardTree2: "/standardTree/getStandardTree2", //鑾峰彇浜у搧鏋舵瀯 upStandardProducts: "/standardTree/upStandardProducts", //鑾峰彇浜у搧鏋舵瀯 - selectStandardProductEnumByMethodId: "/standardTree/selectStandardProductEnumByMethodId", //鎵归噺缂栬緫鏌ヨ鎵�鏈夋楠岄」鐩拰妫�楠屽瓙椤规灇涓� + selectStandardProductEnumByMethodId: + "/standardTree/selectStandardProductEnumByMethodId", //鎵归噺缂栬緫鏌ヨ鎵�鏈夋楠岄」鐩拰妫�楠屽瓙椤规灇涓� getStandTreeBySampleType: "/standardTree/getStandTreeBySampleType", //浠呰幏鍙栧厜绾ょ殑鍨嬪彿 inExcelOfTree: "/standardTree/inExcelOfTree", //瀵煎叆鏍囧噯搴� resetTreeOfPrice: "/standardTree/resetTreeOfPrice", //閲嶇疆鏍囧噯搴撳崟浠� resetTreeOfHour: "/standardTree/resetTreeOfHour", //閲嶇疆鏍囧噯搴撳伐鏃剁郴鏁� - exportStandTree: "/standardTree/exportStandTree", //閲嶇疆鏍囧噯搴撳伐鏃剁郴鏁� -} + exportStandTree: "/standardTree/exportStandTree" //閲嶇疆鏍囧噯搴撳伐鏃剁郴鏁� +}; const standardMethod = { selectStandardMethodList: "/standardMethod/selectStandardMethodList", //鑾峰彇鏍囧噯鏂规硶鍒楄〃 @@ -317,17 +333,18 @@ addStandardMethod: "/standardMethod/addStandardMethod", //娣诲姞鏍囧噯鏂规硶 upStandardMethod: "/standardMethod/upStandardMethod", //淇敼鏍囧噯鏂规硶 delStandardMethod: "/standardMethod/delStandardMethod", //鍒犻櫎鏍囧噯鏂规硶 - importStandardDetails: "/standardMethod/importStandardDetails", // 瀵煎叆鏍囧噯鏄庣粏 -} + importStandardDetails: "/standardMethod/importStandardDetails" // 瀵煎叆鏍囧噯鏄庣粏 +}; const StandardTemplate = { - selectStandardTemplatePageList: "/StandardTemplate/selectStandardTemplatePageList", //鑾峰彇妫�楠屾ā鏉垮垪琛� + selectStandardTemplatePageList: + "/StandardTemplate/selectStandardTemplatePageList", //鑾峰彇妫�楠屾ā鏉垮垪琛� addStandardTemplate: "/StandardTemplate/addStandardTemplate", //娣诲姞妫�楠屾ā鏉� upStandardTemplate: "/StandardTemplate/upStandardTemplate", //淇敼妫�楠屾ā鏉� delStandardTemplate: "/StandardTemplate/delStandardTemplate", //鍒犻櫎妫�楠屾ā鏉� getStandardTemplate: "/StandardTemplate/getStandardTemplate", //鏌ヨ鍘熷璁板綍妯℃澘鏋氫妇 getEditTemplatePreparation: "/StandardTemplate/getEditTemplatePreparation" -} +}; const insReport = { pageInsReport: "/insReport/pageInsReport", //鏌ヨ妫�楠屾姤鍛婃暟鎹� @@ -340,8 +357,8 @@ downAll: "/insReport/downAll", //鎶ュ憡鎵归噺涓嬭浇 upAll: "/insReport/upAll", //鎶ュ憡鎵归噺涓婁紶 isReport: "/insReport/isReport", //鏄惁鐢熸垚鎬绘姤鍛� - getInsOrderStateCount: "/insReport/getInsOrderStateCount", //鏌ヨ妫�楠屾姤鍛婅褰� -} + getInsOrderStateCount: "/insReport/getInsOrderStateCount" //鏌ヨ妫�楠屾姤鍛婅褰� +}; const warehouse = { addWarehouse: "/warehouse/addWarehouse", //娣诲姞浠撳簱 @@ -355,8 +372,8 @@ inWarehouse: "/warehouse/inWarehouse", //鏍峰搧鍏ュ簱 outWarehouse: "/warehouse/outWarehouse", //鏍峰搧鍑哄簱 getSampleRecord: "/warehouse/getSampleRecord", //鏌ヨ鏍峰搧璇︾粏璁板綍 - searchSampleId: "/warehouse/searchSampleId", //閫氳繃鏍峰搧缂栧彿杩涜妫�绱� -} + searchSampleId: "/warehouse/searchSampleId" //閫氳繃鏍峰搧缂栧彿杩涜妫�绱� +}; const department = { selectDepartment: "/department/selectDepartment", //浜哄憳鏋舵瀯鏍� @@ -366,8 +383,8 @@ addDepartmentLims: "/department/addDepartmentLims", //娣诲姞閮ㄩ棬 delDepartmentLims: "/department/delDepartmentLims", //鍒犻櫎閮ㄩ棬 selectDepartmentEnum: "/department/selectDepartmentEnum", //鑾峰彇缁勭粐鏋舵瀯鏋氫妇 - selectDepartmentLimsEnum: "/department/selectDepartmentLimsEnum", //鑾峰彇缁勭粐鏋舵瀯鏋氫妇 -} + selectDepartmentLimsEnum: "/department/selectDepartmentLimsEnum" //鑾峰彇缁勭粐鏋舵瀯鏋氫妇 +}; const report = { businessStatisticsByDay: "/report/businessStatisticsByDay", //姣忔棩涓氬姟缁熻 @@ -377,19 +394,19 @@ testProductByDay: "/report/testProductByDay", //棣栨娴嬮」鐩粺璁� manHourByStation: "/report/manHourByStation", //棣栭〉宸ユ椂缁熻 manHourByPerson: "/report/manHourByPerson", //棣栭〉宸ユ椂缁熻 - timeByStation: "/report/timeByStation", //绔欑偣宸ユ椂缁熻 -} + timeByStation: "/report/timeByStation" //绔欑偣宸ユ椂缁熻 +}; const certification = { getCertificationDetail: "/certification/getCertificationDetail", //鏌ヨ璧勮川鏄庣粏鍒楄〃 addCertificationDetail: "/certification/addCertificationDetail", //娣诲姞璧勮川鏄庣粏鍒楄〃 - delCertificationDetail: "certification/delCertificationDetail", //鍒犻櫎璧勮川鏄庣粏鍒楄〃 -} + delCertificationDetail: "certification/delCertificationDetail" //鍒犻櫎璧勮川鏄庣粏鍒楄〃 +}; const sealScope = { selectSeal: "/sealScope/selectSeal", //鏌ヨ鍗扮珷鍒楄〃 addSeal: "/sealScope/addSeal", //娣诲姞鍗扮珷鍙傛暟 - delectSeal: "/sealScope/delectSeal", //娣诲姞鍗扮珷鍙傛暟 -} + delectSeal: "/sealScope/delectSeal" //娣诲姞鍗扮珷鍙傛暟 +}; const informationNotification = { checkForUnreadData: "/informationNotification/checkForUnreadData", //鏌ヨ鏄惁瀛樺湪鏈鏁版嵁 @@ -397,9 +414,11 @@ informationReadOrDelete: "/informationNotification/informationReadOrDelete", //鏍囪鎵�鏈変俊鎭负宸茶-鍒犻櫎鎵�鏈夊凡璇绘秷鎭� page: "/informationNotification/page", //婊氬姩鍒嗛〉鏌ヨ updateMessageStatus: "/informationNotification/updateMessageStatus", //鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級 - triggerModificationStatusToRead: "/informationNotification/triggerModificationStatusToRead", //鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶 - getNumberFourTypesMessagesHomePage: "/informationNotification/getNumberFourTypesMessagesHomePage", // 娑堟伅閫氱煡-鑾峰彇棣栭〉鍥涚娑堟伅鏁伴噺 -} + triggerModificationStatusToRead: + "/informationNotification/triggerModificationStatusToRead", //鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶 + getNumberFourTypesMessagesHomePage: + "/informationNotification/getNumberFourTypesMessagesHomePage" // 娑堟伅閫氱煡-鑾峰彇棣栭〉鍥涚娑堟伅鏁伴噺 +}; const performanceShift = { add: "/performanceShift/add", //缁╂晥绠$悊-鐝-鎺掔彮 @@ -410,57 +429,68 @@ shiftAdd: "/shiftTime/add", //缁╂晥绠$悊-鐝-鏃堕棿閰嶇疆-鏂板 getList: "/shiftTime/list", //缁╂晥绠$悊-鐝-鏃堕棿閰嶇疆-鏌ヨ鏃堕棿閰嶇疆淇℃伅 shiftRemove: "/shiftTime/remove", //缁╂晥绠$悊-鐝-鏃堕棿閰嶇疆-鍒犻櫎 - shiftUpdate: "/shiftTime/update", //缁╂晥绠$悊-鐝-鏃堕棿閰嶇疆-淇敼 -} + shiftUpdate: "/shiftTime/update" //缁╂晥绠$悊-鐝-鏃堕棿閰嶇疆-淇敼 +}; const auxiliaryWorkingHours = { - selectAuxiliaryWorkingHours: "/auxiliaryWorkingHours/selectAuxiliaryWorkingHours", //鏌ヨ杈呭姪宸ユ椂 - deleteAuxiliaryWorkingHours: "/auxiliaryWorkingHours/deleteAuxiliaryWorkingHours", //鍒犻櫎杈呭姪宸ユ椂 + selectAuxiliaryWorkingHours: + "/auxiliaryWorkingHours/selectAuxiliaryWorkingHours", //鏌ヨ杈呭姪宸ユ椂 + deleteAuxiliaryWorkingHours: + "/auxiliaryWorkingHours/deleteAuxiliaryWorkingHours", //鍒犻櫎杈呭姪宸ユ椂 upAuxiliaryWorkingHours: "/auxiliaryWorkingHours/upAuxiliaryWorkingHours", //淇敼杈呭姪宸ユ椂 - insertAuxiliaryWorkingHours: "/auxiliaryWorkingHours/insertAuxiliaryWorkingHours", //鏂板杈呭姪宸ユ椂 -} + insertAuxiliaryWorkingHours: + "/auxiliaryWorkingHours/insertAuxiliaryWorkingHours" //鏂板杈呭姪宸ユ椂 +}; const unPass = { - pageInsUnPass: "/unPass/pageInsUnPass", // 鏌ヨ涓嶅悎鏍兼牱鍝佹暟鎹� -} + pageInsUnPass: "/unPass/pageInsUnPass" // 鏌ヨ涓嶅悎鏍兼牱鍝佹暟鎹� +}; const companies = { selectCompaniesList: "/companies/selectCompaniesList", //鑾峰彇浜轰簨绯荤粺缁勭粐 selectSimpleList: "/companies/selectSimpleList", //鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳 addPersonUser: "/companies/addPersonUser", //鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳 - selectPersonUser: "/companies/selectPersonUser", //閫氳繃鍛樺伐鍙疯幏鍙栧憳宸� -} + selectPersonUser: "/companies/selectPersonUser" //閫氳繃鍛樺伐鍙疯幏鍙栧憳宸� +}; const auxiliaryOutputWorkingHours = { - selectAuxiliaryOutputWorkingHours: "/auxiliaryOutputWorkingHours/selectAuxiliaryOutputWorkingHours", //鏌ヨ浜ч噺宸ユ椂 + selectAuxiliaryOutputWorkingHours: + "/auxiliaryOutputWorkingHours/selectAuxiliaryOutputWorkingHours", //鏌ヨ浜ч噺宸ユ椂 collectWorkingHours: "/auxiliaryOutputWorkingHours/collectWorkingHours", //缁熻浜ч噺宸ユ椂姹囨�诲拰杈呭姪宸ユ椂姹囨�� - exportWorkingHours: "/auxiliaryOutputWorkingHours/exportWorkingHours", //瀵煎嚭 -} + exportWorkingHours: "/auxiliaryOutputWorkingHours/exportWorkingHours" //瀵煎嚭 +}; const auxiliaryWorkingHoursDay = { - selectAuxiliaryWorkingHoursDay: "/auxiliaryWorkingHoursDay/selectAuxiliaryWorkingHoursDay", //鏌ヨ杈呭姪宸ユ椂 - deleteAuxiliaryWorkingHoursDay: "/auxiliaryWorkingHoursDay/deleteAuxiliaryWorkingHoursDay", //鍒犻櫎 - insertAuxiliaryWorkingHoursDay: "/auxiliaryWorkingHoursDay/insertAuxiliaryWorkingHoursDay", //鏂板 - selectAuxiliaryWorkingHoursByNumber: "/auxiliaryWorkingHoursDay/selectAuxiliaryWorkingHoursByNumber", //鏍规嵁缂栧彿鏌ヨ杈呭姪宸ユ椂閰嶇疆淇℃伅 + selectAuxiliaryWorkingHoursDay: + "/auxiliaryWorkingHoursDay/selectAuxiliaryWorkingHoursDay", //鏌ヨ杈呭姪宸ユ椂 + deleteAuxiliaryWorkingHoursDay: + "/auxiliaryWorkingHoursDay/deleteAuxiliaryWorkingHoursDay", //鍒犻櫎 + insertAuxiliaryWorkingHoursDay: + "/auxiliaryWorkingHoursDay/insertAuxiliaryWorkingHoursDay", //鏂板 + selectAuxiliaryWorkingHoursByNumber: + "/auxiliaryWorkingHoursDay/selectAuxiliaryWorkingHoursByNumber", //鏍规嵁缂栧彿鏌ヨ杈呭姪宸ユ椂閰嶇疆淇℃伅 selectshiftByUser: "/auxiliaryWorkingHoursDay/selectshiftByUser", //鏍规嵁缂栧彿褰撳墠鐢ㄦ埛淇℃伅鏌ヨ鎵�鍦ㄧ彮娆� - updateAuxiliaryWorkingHoursDay: "/auxiliaryWorkingHoursDay/updateAuxiliaryWorkingHoursDay", //缂栬緫 + updateAuxiliaryWorkingHoursDay: + "/auxiliaryWorkingHoursDay/updateAuxiliaryWorkingHoursDay", //缂栬緫 check: "/auxiliaryWorkingHoursDay/check", //瀹℃牳 - approve: "/auxiliaryWorkingHoursDay/approve", //鎵瑰噯 -} + approve: "/auxiliaryWorkingHoursDay/approve" //鎵瑰噯 +}; const auxiliaryCorrectionHours = { - selectAuxiliaryCorrectionHours: "/auxiliaryCorrectionHours/selectAuxiliaryCorrectionHours", //鏌ヨ淇宸ユ椂 - upload: "/auxiliaryCorrectionHours/upload", //瀵煎叆 -} + selectAuxiliaryCorrectionHours: + "/auxiliaryCorrectionHours/selectAuxiliaryCorrectionHours", //鏌ヨ淇宸ユ椂 + upload: "/auxiliaryCorrectionHours/upload" //瀵煎叆 +}; const insBushing = { - selectBushingBySampleId: "/insBushing/selectBushingBySampleId", //閫氳繃鏍峰搧id鑾峰彇鏍峰搧涓嬪厜绾ら厤缃唴瀹� -} + selectBushingBySampleId: "/insBushing/selectBushingBySampleId" //閫氳繃鏍峰搧id鑾峰彇鏍峰搧涓嬪厜绾ら厤缃唴瀹� +}; const auxiliaryOriginalHours = { - selectAuxiliaryOriginalHours: "/auxiliaryOriginalHours/selectAuxiliaryOriginalHours", //鏌ヨ鍘熷宸ユ椂 - exportOriginalHours: "/auxiliaryOriginalHours/exportOriginalHours", //瀵煎嚭鍘熷宸ユ椂 -} + selectAuxiliaryOriginalHours: + "/auxiliaryOriginalHours/selectAuxiliaryOriginalHours", //鏌ヨ鍘熷宸ユ椂 + exportOriginalHours: "/auxiliaryOriginalHours/exportOriginalHours" //瀵煎嚭鍘熷宸ユ椂 +}; const evaluate = { page: "/evaluate/page", //鏌ヨ鑰冭瘎 @@ -472,396 +502,446 @@ exportEvaluateCompetent: "/evaluateCompetent/exportEvaluateCompetent", //瀵煎嚭涓荤鎵撳垎 exportEvaluateLeader: "/evaluateLeader/exportEvaluateLeader", //瀵煎嚭缁勯暱鎵撳垎 getEvaluateGroup: "/evaluateGroup/getEvaluateGroup", //鏌ヨ鍛樺伐浜掕瘎 - writeEvaluateGroup: "/evaluateGroup/writeEvaluateGroup", //濉啓鍛樺伐浜掕瘎 -} + writeEvaluateGroup: "/evaluateGroup/writeEvaluateGroup" //濉啓鍛樺伐浜掕瘎 +}; const role = { - getRole:"/role/getRole",//鑾峰彇褰撳墠鐢ㄦ埛瑙掕壊 -} + getRole: "/role/getRole" //鑾峰彇褰撳墠鐢ㄦ埛瑙掕壊 +}; // 鐢佃矾璇曢獙妯℃澘 const insProductTemplate = { - addInsProductTemplate:'/insProductTemplate/addInsProductTemplate',//淇濆瓨妯$増 - chooseInsProductTemplate:'/insProductTemplate/chooseInsProductTemplate',//閫夋嫨妯$増 - getInsProductTemplate:'/insProductTemplate/getInsProductTemplate',//閫夋嫨涔嬪悗鏌ョ湅璇︽儏 浼犲弬id - delInsProductTemplate:'/insProductTemplate/delInsProductTemplate',//鍒犻櫎妯$増 浼犲弬id -} + addInsProductTemplate: "/insProductTemplate/addInsProductTemplate", //淇濆瓨妯$増 + chooseInsProductTemplate: "/insProductTemplate/chooseInsProductTemplate", //閫夋嫨妯$増 + getInsProductTemplate: "/insProductTemplate/getInsProductTemplate", //閫夋嫨涔嬪悗鏌ョ湅璇︽儏 浼犲弬id + delInsProductTemplate: "/insProductTemplate/delInsProductTemplate" //鍒犻櫎妯$増 浼犲弬id +}; // 8.3 绠$悊浣撶郴鏂囦欢鐨勬帶鍒� const manageDocumentList = { - pageManageDocumentList:'/manageDocumentList/pageManageDocumentList', // 鏂囦欢娓呭崟-鍒楄〃 - doManageDocumentList:'/manageDocumentList/doManageDocumentList', // 鏂囦欢娓呭崟-缂栬緫 - uploadFileManageDocumentList:'/manageDocumentList/uploadFileManageDocumentList', // 鏂囦欢娓呭崟-闄勪欢涓婁紶 - exportManageDocumentList:'/manageDocumentList/exportManageDocumentList', // 鏂囦欢娓呭崟-闄勪欢涓婁紶 - delManageDocumentList:'/manageDocumentList/delManageDocumentList', // 鏂囦欢娓呭崟-瀵煎嚭 - pageManageDocumentControlled:'/manageDocumentControlled/pageManageDocumentControlled', // 鏂囦欢鍙楁帶-鍒楄〃 - addManageDocumentControlled:'/manageDocumentControlled/addManageDocumentControlled', // 鏂囦欢鍙楁帶-鏂板 - getManageDocumentControlled:'/manageDocumentControlled/getManageDocumentControlled', // 鏂囦欢鍙楁帶-鏌ョ湅 - doManageDocumentControlled:'/manageDocumentControlled/doManageDocumentControlled', // 鏂囦欢鍙楁帶-淇敼 - delManageDocumentControlled:'/manageDocumentControlled/delManageDocumentControlled', // 鏂囦欢鍙楁帶-鍒犻櫎 - checkManageDocumentControlled:'/manageDocumentControlled/checkManageDocumentControlled', // 鏂囦欢鍙楁帶-瀹℃牳 - checkManageDocumentControlledPdf:'/manageDocumentControlled/checkManageDocumentControlledPdf', // 鏂囦欢鍙楁帶-鑾峰彇pdf鏂囦欢娴� - pageManageDocumentCancel:'/manageDocumentCancel/pageManageDocumentCancel', // 鏂囦欢浣滃簾-鍒楄〃 - addManageDocumentCancel:'/manageDocumentCancel/addManageDocumentCancel', // 鏂囦欢浣滃簾-鏂板 - checkManageDocumentCancel:'/manageDocumentCancel/checkManageDocumentCancel', // 鏂囦欢浣滃簾-瀹℃牳 - delManageDocumentCancel:'/manageDocumentCancel/delManageDocumentCancel', // 鏂囦欢浣滃簾-鍒犻櫎 - getManageDocumentCancel:'/manageDocumentCancel/getManageDocumentCancel', // 鏂囦欢浣滃簾-鏌ョ湅 - doManageDocumentCancel:'/manageDocumentCancel/doManageDocumentCancel', // 鏂囦欢浣滃簾-缂栬緫 - exportManageDocumentCancel:'/manageDocumentCancel/exportManageDocumentCancel', // 鏂囦欢浣滃簾-瀵煎嚭 - pageManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/pageManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-鍒楄〃 - addManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/addManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-鏂板 - delManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/delManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-鍒犻櫎 - getManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/getManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-鏌ョ湅 - doManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/doManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-缂栬緫 - checkManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/checkManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-瀹℃牳 - exportManageDocumentIssueRecycle:'/manageDocumentIssueRecycle/exportManageDocumentIssueRecycle', // 鏂囦欢鍙戞斁鍥炴敹-瀵煎嚭 - pageManageDocumentAlter:'/manageDocumentAlter/pageManageDocumentAlter', // 鏂囦欢鍙樻洿-鍒楄〃 - delManageDocumentAlter:'/manageDocumentAlter/delManageDocumentAlter', // 鏂囦欢鍙樻洿-鍒犻櫎 - getManageDocumentAlter:'/manageDocumentAlter/getManageDocumentAlter', // 鏂囦欢鍙樻洿-鏌ョ湅 - addManageDocumentAlter:'/manageDocumentAlter/addManageDocumentAlter', // 鏂囦欢鍙樻洿-鏂板 - doManageDocumentAlter:'/manageDocumentAlter/doManageDocumentAlter', // 鏂囦欢鍙樻洿-缂栬緫 - checkManageDocumentAlter:'/manageDocumentAlter/checkManageDocumentAlter', // 鏂囦欢鍙樻洿-瀹℃牳 - checkManageDocumentAlterPdf:'/manageDocumentAlter/checkManageDocumentAlterPdf', // 鏂囦欢鍙樻洿-杞崲娴� - exportManageDocumentAlter:'/manageDocumentAlter/exportManageDocumentAlter', // 鏂囦欢鍙樻洿-瀵煎嚭 -} + pageManageDocumentList: "/manageDocumentList/pageManageDocumentList", // 鏂囦欢娓呭崟-鍒楄〃 + doManageDocumentList: "/manageDocumentList/doManageDocumentList", // 鏂囦欢娓呭崟-缂栬緫 + uploadFileManageDocumentList: + "/manageDocumentList/uploadFileManageDocumentList", // 鏂囦欢娓呭崟-闄勪欢涓婁紶 + exportManageDocumentList: "/manageDocumentList/exportManageDocumentList", // 鏂囦欢娓呭崟-闄勪欢涓婁紶 + delManageDocumentList: "/manageDocumentList/delManageDocumentList", // 鏂囦欢娓呭崟-瀵煎嚭 + pageManageDocumentControlled: + "/manageDocumentControlled/pageManageDocumentControlled", // 鏂囦欢鍙楁帶-鍒楄〃 + addManageDocumentControlled: + "/manageDocumentControlled/addManageDocumentControlled", // 鏂囦欢鍙楁帶-鏂板 + getManageDocumentControlled: + "/manageDocumentControlled/getManageDocumentControlled", // 鏂囦欢鍙楁帶-鏌ョ湅 + doManageDocumentControlled: + "/manageDocumentControlled/doManageDocumentControlled", // 鏂囦欢鍙楁帶-淇敼 + delManageDocumentControlled: + "/manageDocumentControlled/delManageDocumentControlled", // 鏂囦欢鍙楁帶-鍒犻櫎 + checkManageDocumentControlled: + "/manageDocumentControlled/checkManageDocumentControlled", // 鏂囦欢鍙楁帶-瀹℃牳 + checkManageDocumentControlledPdf: + "/manageDocumentControlled/checkManageDocumentControlledPdf", // 鏂囦欢鍙楁帶-鑾峰彇pdf鏂囦欢娴� + pageManageDocumentCancel: "/manageDocumentCancel/pageManageDocumentCancel", // 鏂囦欢浣滃簾-鍒楄〃 + addManageDocumentCancel: "/manageDocumentCancel/addManageDocumentCancel", // 鏂囦欢浣滃簾-鏂板 + checkManageDocumentCancel: "/manageDocumentCancel/checkManageDocumentCancel", // 鏂囦欢浣滃簾-瀹℃牳 + delManageDocumentCancel: "/manageDocumentCancel/delManageDocumentCancel", // 鏂囦欢浣滃簾-鍒犻櫎 + getManageDocumentCancel: "/manageDocumentCancel/getManageDocumentCancel", // 鏂囦欢浣滃簾-鏌ョ湅 + doManageDocumentCancel: "/manageDocumentCancel/doManageDocumentCancel", // 鏂囦欢浣滃簾-缂栬緫 + exportManageDocumentCancel: + "/manageDocumentCancel/exportManageDocumentCancel", // 鏂囦欢浣滃簾-瀵煎嚭 + pageManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/pageManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-鍒楄〃 + addManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/addManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-鏂板 + delManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/delManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-鍒犻櫎 + getManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/getManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-鏌ョ湅 + doManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/doManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-缂栬緫 + checkManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/checkManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-瀹℃牳 + exportManageDocumentIssueRecycle: + "/manageDocumentIssueRecycle/exportManageDocumentIssueRecycle", // 鏂囦欢鍙戞斁鍥炴敹-瀵煎嚭 + pageManageDocumentAlter: "/manageDocumentAlter/pageManageDocumentAlter", // 鏂囦欢鍙樻洿-鍒楄〃 + delManageDocumentAlter: "/manageDocumentAlter/delManageDocumentAlter", // 鏂囦欢鍙樻洿-鍒犻櫎 + getManageDocumentAlter: "/manageDocumentAlter/getManageDocumentAlter", // 鏂囦欢鍙樻洿-鏌ョ湅 + addManageDocumentAlter: "/manageDocumentAlter/addManageDocumentAlter", // 鏂囦欢鍙樻洿-鏂板 + doManageDocumentAlter: "/manageDocumentAlter/doManageDocumentAlter", // 鏂囦欢鍙樻洿-缂栬緫 + checkManageDocumentAlter: "/manageDocumentAlter/checkManageDocumentAlter", // 鏂囦欢鍙樻洿-瀹℃牳 + checkManageDocumentAlterPdf: + "/manageDocumentAlter/checkManageDocumentAlterPdf", // 鏂囦欢鍙樻洿-杞崲娴� + exportManageDocumentAlter: "/manageDocumentAlter/exportManageDocumentAlter" // 鏂囦欢鍙樻洿-瀵煎嚭 +}; // 8.4璁板綍鐨勬帶鍒�--澶栨潵鏂囦欢纭璁板綍 const manageRecordTotal = { - pageManageRecordTotal:'/manageRecordTotal/pageManageRecordTotal',//鍘嗗彶--鍒楄〃 - submitManageRecordTotal:'/manageRecordTotal/submitManageRecordTotal',//鍘嗗彶--鎻愪氦 - ratifyManageRecordTotal:'/manageRecordTotal/ratifyManageRecordTotal',//鍘嗗彶--瀹℃牳 - pageManageRecordVerify:'/manageRecordVerify/pageManageRecordVerify',//濉啓--鍒楄〃 - addManageRecordVerify:'/manageRecordVerify/addManageRecordVerify',//濉啓--鏂板 - delManageRecordVerify:'/manageRecordVerify/delManageRecordVerify',//濉啓--鍒犻櫎 - doManageRecordVerify:'/manageRecordVerify/doManageRecordVerify',//濉啓--淇敼 - exportManageRecordVerify:'/manageRecordVerify/exportManageRecordVerify',//濉啓--瀵煎叆 -} + pageManageRecordTotal: "/manageRecordTotal/pageManageRecordTotal", //鍘嗗彶--鍒楄〃 + submitManageRecordTotal: "/manageRecordTotal/submitManageRecordTotal", //鍘嗗彶--鎻愪氦 + ratifyManageRecordTotal: "/manageRecordTotal/ratifyManageRecordTotal", //鍘嗗彶--瀹℃牳 + pageManageRecordVerify: "/manageRecordVerify/pageManageRecordVerify", //濉啓--鍒楄〃 + addManageRecordVerify: "/manageRecordVerify/addManageRecordVerify", //濉啓--鏂板 + delManageRecordVerify: "/manageRecordVerify/delManageRecordVerify", //濉啓--鍒犻櫎 + doManageRecordVerify: "/manageRecordVerify/doManageRecordVerify", //濉啓--淇敼 + exportManageRecordVerify: "/manageRecordVerify/exportManageRecordVerify" //濉啓--瀵煎叆 +}; // 8.4璁板綍鐨勬帶鍒�--鏂囦欢瀹℃壒璁板綍 const manageRecordCheck = { - pageManageRecordCheck:'/manageRecordCheck/pageManageRecordCheck',//鍒楄〃 - addManageRecordCheck:'/manageRecordCheck/addManageRecordCheck',//鏂板 - doManageRecordCheck:'/manageRecordCheck/doManageRecordCheck',//缂栬緫 - delManageRecordCheck:'/manageRecordCheck/delManageRecordCheck',//鍒犻櫎 - checkManageRecordCheck:'/manageRecordCheck/checkManageRecordCheck',//瀹℃牳 - ratifyManageRecordCheck:'/manageRecordCheck/ratifyManageRecordCheck',//鎵瑰噯 - exportOutManageRecordCheck:'/manageRecordCheck/exportOutManageRecordCheck',//瀵煎嚭 - exportInManageRecordCheck:'/manageRecordCheck/exportInManageRecordCheck',//瀵煎叆 -} + pageManageRecordCheck: "/manageRecordCheck/pageManageRecordCheck", //鍒楄〃 + addManageRecordCheck: "/manageRecordCheck/addManageRecordCheck", //鏂板 + doManageRecordCheck: "/manageRecordCheck/doManageRecordCheck", //缂栬緫 + delManageRecordCheck: "/manageRecordCheck/delManageRecordCheck", //鍒犻櫎 + checkManageRecordCheck: "/manageRecordCheck/checkManageRecordCheck", //瀹℃牳 + ratifyManageRecordCheck: "/manageRecordCheck/ratifyManageRecordCheck", //鎵瑰噯 + exportOutManageRecordCheck: "/manageRecordCheck/exportOutManageRecordCheck", //瀵煎嚭 + exportInManageRecordCheck: "/manageRecordCheck/exportInManageRecordCheck" //瀵煎叆 +}; // 8.4璁板綍鐨勬帶鍒�--鏂囦欢鍙戞斁鍥炴敹璁板綍 const manageRecordIssueRecycle = { - pageManageRecordIssueRecycle:'/manageRecordIssueRecycle/pageManageRecordIssueRecycle',//鍒楄〃 - delManageRecordIssueRecycle:'/manageRecordIssueRecycle/delManageRecordIssueRecycle',//鍒犻櫎 - addManageRecordIssueRecycle:'/manageRecordIssueRecycle/addManageRecordIssueRecycle',//鏂板 - doManageRecordIssueRecycle:'/manageRecordIssueRecycle/doManageRecordIssueRecycle',//缂栬緫 - exportOutManageRecordIssueRecycle:'/manageRecordIssueRecycle/exportOutManageRecordIssueRecycle',//瀵煎嚭 - exportInManageRecordIssueRecycle:'/manageRecordIssueRecycle/exportInManageRecordIssueRecycle',//瀵煎叆 -} + pageManageRecordIssueRecycle: + "/manageRecordIssueRecycle/pageManageRecordIssueRecycle", //鍒楄〃 + delManageRecordIssueRecycle: + "/manageRecordIssueRecycle/delManageRecordIssueRecycle", //鍒犻櫎 + addManageRecordIssueRecycle: + "/manageRecordIssueRecycle/addManageRecordIssueRecycle", //鏂板 + doManageRecordIssueRecycle: + "/manageRecordIssueRecycle/doManageRecordIssueRecycle", //缂栬緫 + exportOutManageRecordIssueRecycle: + "/manageRecordIssueRecycle/exportOutManageRecordIssueRecycle", //瀵煎嚭 + exportInManageRecordIssueRecycle: + "/manageRecordIssueRecycle/exportInManageRecordIssueRecycle" //瀵煎叆 +}; // 8.4璁板綍鐨勬帶鍒�--鏂囦欢瀹氭湡瀹℃煡璁板綍 const manageRecordIntervals = { - pageManageRecordIntervals:'/manageRecordIntervals/pageManageRecordIntervals',//鍒楄〃 - addManageRecordIntervals:'/manageRecordIntervals/addManageRecordIntervals',//鏂板 - doManageRecordIntervals:'/manageRecordIntervals/doManageRecordIntervals',//缂栬緫 - delManageRecordIntervals:'/manageRecordIntervals/delManageRecordIntervals',//鍒犻櫎 - exportOutManageRecordIntervals:'/manageRecordIntervals/exportOutManageRecordIntervals',//瀵煎嚭 - exportInManageRecordIntervals:'/manageRecordIntervals/exportInManageRecordIntervals',//瀵煎叆 - pageManageRecordIntervalsTotal:'/manageRecordIntervalsTotal/pageManageRecordIntervalsTotal',//鍘嗗彶璁板綍-鍒楄〃 - submitManageRecordIntervalsTotal:'/manageRecordIntervalsTotal/submitManageRecordIntervalsTotal',//鍘嗗彶璁板綍-鎻愪氦 - ratifyManageRecordIntervalsTotal:'/manageRecordIntervalsTotal/ratifyManageRecordIntervalsTotal',//鍘嗗彶璁板綍-鎵瑰噯 -} + pageManageRecordIntervals: "/manageRecordIntervals/pageManageRecordIntervals", //鍒楄〃 + addManageRecordIntervals: "/manageRecordIntervals/addManageRecordIntervals", //鏂板 + doManageRecordIntervals: "/manageRecordIntervals/doManageRecordIntervals", //缂栬緫 + delManageRecordIntervals: "/manageRecordIntervals/delManageRecordIntervals", //鍒犻櫎 + exportOutManageRecordIntervals: + "/manageRecordIntervals/exportOutManageRecordIntervals", //瀵煎嚭 + exportInManageRecordIntervals: + "/manageRecordIntervals/exportInManageRecordIntervals", //瀵煎叆 + pageManageRecordIntervalsTotal: + "/manageRecordIntervalsTotal/pageManageRecordIntervalsTotal", //鍘嗗彶璁板綍-鍒楄〃 + submitManageRecordIntervalsTotal: + "/manageRecordIntervalsTotal/submitManageRecordIntervalsTotal", //鍘嗗彶璁板綍-鎻愪氦 + ratifyManageRecordIntervalsTotal: + "/manageRecordIntervalsTotal/ratifyManageRecordIntervalsTotal" //鍘嗗彶璁板綍-鎵瑰噯 +}; // 8.4璁板綍鐨勬帶鍒�--鏂囦欢浣滃簾璁板綍 const manageRecordCancel = { - pageManageRecordCancel:'/manageRecordCancel/pageManageRecordCancel',//鍒楄〃 - addManageRecordCancel:'/manageRecordCancel/addManageRecordCancel',//鏂板 - doManageRecordCancel:'/manageRecordCancel/doManageRecordCancel',//缂栬緫 - delManageRecordCancel:'/manageRecordCancel/delManageRecordCancel',//鍒犻櫎 - ratifyManageRecordCancel:'/manageRecordCancel/ratifyManageRecordCancel',//鎵瑰噯 - exportOutManageRecordCancel:'/manageRecordCancel/exportOutManageRecordCancel',//瀵煎嚭 - exportInManageRecordCancel:'/manageRecordCancel/exportInManageRecordCancel',//瀵煎叆 -} + pageManageRecordCancel: "/manageRecordCancel/pageManageRecordCancel", //鍒楄〃 + addManageRecordCancel: "/manageRecordCancel/addManageRecordCancel", //鏂板 + doManageRecordCancel: "/manageRecordCancel/doManageRecordCancel", //缂栬緫 + delManageRecordCancel: "/manageRecordCancel/delManageRecordCancel", //鍒犻櫎 + ratifyManageRecordCancel: "/manageRecordCancel/ratifyManageRecordCancel", //鎵瑰噯 + exportOutManageRecordCancel: + "/manageRecordCancel/exportOutManageRecordCancel", //瀵煎嚭 + exportInManageRecordCancel: "/manageRecordCancel/exportInManageRecordCancel" //瀵煎叆 +}; // 8.4璁板綍鐨勬帶鍒�--鏂囦欢淇 const manageRecordAudit = { - pageManageRecordAudit:'/manageRecordAudit/pageManageRecordAudit', // 鍒楄〃 - addManageRecordAudit:'/manageRecordAudit/addManageRecordAudit', // 鏂板 - doManageRecordAudit:'/manageRecordAudit/doManageRecordAudit', // 缂栬緫 - delManageRecordAudit:'/manageRecordAudit/delManageRecordAudit', // 鍒犻櫎 - ratifyManageRecordAudit:'/manageRecordAudit/ratifyManageRecordAudit', // 鎵瑰噯 - exportOutManageRecordAudit:'/manageRecordAudit/exportOutManageRecordAudit', // 瀵煎嚭鍒楄〃 -} + pageManageRecordAudit: "/manageRecordAudit/pageManageRecordAudit", // 鍒楄〃 + addManageRecordAudit: "/manageRecordAudit/addManageRecordAudit", // 鏂板 + doManageRecordAudit: "/manageRecordAudit/doManageRecordAudit", // 缂栬緫 + delManageRecordAudit: "/manageRecordAudit/delManageRecordAudit", // 鍒犻櫎 + ratifyManageRecordAudit: "/manageRecordAudit/ratifyManageRecordAudit", // 鎵瑰噯 + exportOutManageRecordAudit: "/manageRecordAudit/exportOutManageRecordAudit" // 瀵煎嚭鍒楄〃 +}; // 6.2 浜哄憳 const personnel = { - selectCNSAPersonTree: '/personBasicInfo/selectCNSAPersonTree', // 鏌ヨCNAS浜哄憳渚ц竟鏍� - saveCNASFile: '/personBasicInfo/saveCNASFile', // 鍏叡鏂囦欢淇濆瓨鎺ュ彛 -} + selectCNSAPersonTree: "/personBasicInfo/selectCNSAPersonTree", // 鏌ヨCNAS浜哄憳渚ц竟鏍� + saveCNASFile: "/personBasicInfo/saveCNASFile" // 鍏叡鏂囦欢淇濆瓨鎺ュ彛 +}; // 8.3 瀹㈡埛婊℃剰搴﹁皟鏌� const clientSatisfaction = { - pageClientSatisfaction:'/clientSatisfaction/pageClientSatisfaction', // 瀹㈡埛婊℃剰搴﹁皟鏌ュ垪琛� - addClientSatisfaction:'/clientSatisfaction/addClientSatisfaction', // 鏂板瀹㈡埛婊℃剰搴﹁皟鏌� - updateClientSatisfaction:'/clientSatisfaction/updateClientSatisfaction', // 淇敼鏂板瀹㈡埛婊℃剰搴﹁皟鏌� - delClientSatisfaction:'/clientSatisfaction/delClientSatisfaction', // 鍒犻櫎鏂板瀹㈡埛婊℃剰搴﹁皟鏌� - pageAnalyseFile:'/clientSatisfaction/pageAnalyseFile', // 鏌ヨ瀹㈡埛鍒嗘瀽闄勪欢 - uploadAnalyseFile:'/clientSatisfaction/uploadAnalyseFile', // 鏂板瀹㈡埛鍒嗘瀽闄勪欢 - delAnalyseFile:'/clientSatisfaction/delAnalyseFile', // 鍒犻櫎瀹㈡埛鍒嗘瀽闄勪欢 -} + pageClientSatisfaction: "/clientSatisfaction/pageClientSatisfaction", // 瀹㈡埛婊℃剰搴﹁皟鏌ュ垪琛� + addClientSatisfaction: "/clientSatisfaction/addClientSatisfaction", // 鏂板瀹㈡埛婊℃剰搴﹁皟鏌� + updateClientSatisfaction: "/clientSatisfaction/updateClientSatisfaction", // 淇敼鏂板瀹㈡埛婊℃剰搴﹁皟鏌� + delClientSatisfaction: "/clientSatisfaction/delClientSatisfaction", // 鍒犻櫎鏂板瀹㈡埛婊℃剰搴﹁皟鏌� + pageAnalyseFile: "/clientSatisfaction/pageAnalyseFile", // 鏌ヨ瀹㈡埛鍒嗘瀽闄勪欢 + uploadAnalyseFile: "/clientSatisfaction/uploadAnalyseFile", // 鏂板瀹㈡埛鍒嗘瀽闄勪欢 + delAnalyseFile: "/clientSatisfaction/delAnalyseFile" // 鍒犻櫎瀹㈡埛鍒嗘瀽闄勪欢 +}; // 8.9 绠$悊璇勫-浼氳璁板綍 const manageReviewReport = { - getPageReviewReport:'/manageReviewReport/getPageReviewReport', // 鏌ヨ绠$悊璇勫浼氳鎶ュ憡 - addReviewReport:'/manageReviewReport/addReviewReport', // 鏂板绠$悊璇勫浼氳鎶ュ憡 - modifyReviewReport:'/manageReviewReport/modifyReviewReport', // 缂栬緫绠$悊璇勫浼氳鎶ュ憡 - deleteReviewReport:'/manageReviewReport/deleteReviewReport', // 鍒犻櫎绠$悊璇勫浼氳鎶ュ憡 - exportReviewReport:'/manageReviewReport/exportReviewReport', // 鍒犻櫎绠$悊璇勫浼氳鎶ュ憡--涓嬭浇 -} + getPageReviewReport: "/manageReviewReport/getPageReviewReport", // 鏌ヨ绠$悊璇勫浼氳鎶ュ憡 + addReviewReport: "/manageReviewReport/addReviewReport", // 鏂板绠$悊璇勫浼氳鎶ュ憡 + modifyReviewReport: "/manageReviewReport/modifyReviewReport", // 缂栬緫绠$悊璇勫浼氳鎶ュ憡 + deleteReviewReport: "/manageReviewReport/deleteReviewReport", // 鍒犻櫎绠$悊璇勫浼氳鎶ュ憡 + exportReviewReport: "/manageReviewReport/exportReviewReport" // 鍒犻櫎绠$悊璇勫浼氳鎶ュ憡--涓嬭浇 +}; // 8.9 绠$悊璇勫-绠$悊璁″垝 const manageReviewProgram = { - getPageReviewProgram:'/manageReviewProgram/getPageReviewProgram', // 鏌ヨ绠$悊璇勫璁″垝 - addReviewProgram:'/manageReviewProgram/addReviewProgram', // 鏂板绠$悊璇勫璁″垝 - modifyReviewProgram:'/manageReviewProgram/modifyReviewProgram', // 缂栬緫绠$悊璇勫璁″垝 - deleteReviewProgram:'/manageReviewProgram/deleteReviewProgram', // 鍒犻櫎绠$悊璇勫璁″垝 - exportReviewProgram:'/manageReviewProgram/exportReviewProgram', // 涓嬭浇绠$悊璇勫璁″垝 - addReviewProgramFile:'/manageReviewProgramFile/addReviewProgramFile', // 涓婁紶闄勪欢 - selectReviewProgramFile:'/manageReviewProgramFile/selectReviewProgramFile', // 闄勪欢鍒楄〃 -} + getPageReviewProgram: "/manageReviewProgram/getPageReviewProgram", // 鏌ヨ绠$悊璇勫璁″垝 + addReviewProgram: "/manageReviewProgram/addReviewProgram", // 鏂板绠$悊璇勫璁″垝 + modifyReviewProgram: "/manageReviewProgram/modifyReviewProgram", // 缂栬緫绠$悊璇勫璁″垝 + deleteReviewProgram: "/manageReviewProgram/deleteReviewProgram", // 鍒犻櫎绠$悊璇勫璁″垝 + exportReviewProgram: "/manageReviewProgram/exportReviewProgram", // 涓嬭浇绠$悊璇勫璁″垝 + addReviewProgramFile: "/manageReviewProgramFile/addReviewProgramFile", // 涓婁紶闄勪欢 + selectReviewProgramFile: "/manageReviewProgramFile/selectReviewProgramFile" // 闄勪欢鍒楄〃 +}; // 8.9 绠$悊璇勫-浼氳璁板綍 const manageMeeting = { - getPageMeeting:'/manageMeeting/getPageMeeting', // 鏌ヨ绠$悊璇勫浼氳璁板綍 - addMeeting:'/manageMeeting/addMeeting', // 鏂板绠$悊璇勫浼氳璁板綍 - modifyMeeting:'/manageMeeting/modifyMeeting', // 缂栬緫绠$悊璇勫浼氳璁板綍 - deleteMeeting:'/manageMeeting/deleteMeeting', // 鍒犻櫎绠$悊璇勫浼氳璁板綍 - exportMeeting:'/manageMeeting/exportMeeting', // 涓嬭浇绠$悊璇勫浼氳璁板綍 -} + getPageMeeting: "/manageMeeting/getPageMeeting", // 鏌ヨ绠$悊璇勫浼氳璁板綍 + addMeeting: "/manageMeeting/addMeeting", // 鏂板绠$悊璇勫浼氳璁板綍 + modifyMeeting: "/manageMeeting/modifyMeeting", // 缂栬緫绠$悊璇勫浼氳璁板綍 + deleteMeeting: "/manageMeeting/deleteMeeting", // 鍒犻櫎绠$悊璇勫浼氳璁板綍 + exportMeeting: "/manageMeeting/exportMeeting" // 涓嬭浇绠$悊璇勫浼氳璁板綍 +}; // 8.8 鍐呭绠$悊-骞村害璁″垝 const internalPlan = { - pageInternalPlan: '/internalPlan/pageInternalPlan', // 骞村害璁″垝鍒嗛〉鏌ヨ - getInternalPlanOne: '/internalPlan/getInternalPlanOne', // 骞村害璁″垝璇︽儏 - addInternalPlan: '/internalPlan/addInternalPlan', // 骞村害璁″垝鏂板 - updateInternalPlan: '/internalPlan/updateInternalPlan', // 骞村害璁″垝淇敼 - ratifyInternalPlan: '/internalPlan/ratifyInternalPlan', // 骞村害璁″垝鎵瑰噯 - examineInternalPlan: '/internalPlan/examineInternalPlan', // 骞村害璁″垝瀹℃牳 - delInternalPlan: '/internalPlan/delInternalPlan', // 骞村害璁″垝鍒犻櫎 - exportInternalPlan: '/internalPlan/exportInternalPlan', // 瀵煎嚭骞村害璁″垝 -} + pageInternalPlan: "/internalPlan/pageInternalPlan", // 骞村害璁″垝鍒嗛〉鏌ヨ + getInternalPlanOne: "/internalPlan/getInternalPlanOne", // 骞村害璁″垝璇︽儏 + addInternalPlan: "/internalPlan/addInternalPlan", // 骞村害璁″垝鏂板 + updateInternalPlan: "/internalPlan/updateInternalPlan", // 骞村害璁″垝淇敼 + ratifyInternalPlan: "/internalPlan/ratifyInternalPlan", // 骞村害璁″垝鎵瑰噯 + examineInternalPlan: "/internalPlan/examineInternalPlan", // 骞村害璁″垝瀹℃牳 + delInternalPlan: "/internalPlan/delInternalPlan", // 骞村害璁″垝鍒犻櫎 + exportInternalPlan: "/internalPlan/exportInternalPlan" // 瀵煎嚭骞村害璁″垝 +}; // 8.8 鍐呭绠$悊-鍐呴儴瀹炴柦璁″垝 const internalImplement = { - pageInternalImplement: '/internalImplement/pageInternalImplement', // 鍐呭瀹炴柦璁″垝鍒嗛〉鏌ヨ - getInternalImplementOne: '/internalImplement/getInternalImplementOne', // 鍐呭瀹炴柦璁″垝璇︽儏 - addInternalImplement: '/internalImplement/addInternalImplement', // 鍐呭瀹炴柦璁″垝鏂板 - updateInternalImplement: '/internalImplement/updateInternalImplement', // 鍐呭瀹炴柦璁″垝淇敼 - ratifyInternalImplement: '/internalImplement/ratifyInternalImplement', // 鍐呭瀹炴柦璁″垝鎵瑰噯 - delInternalImplement: '/internalImplement/delInternalImplement', // 鍐呭瀹炴柦璁″垝鍒犻櫎 - exportInternalImplement: '/internalImplement/exportInternalImplement', // 瀵煎嚭鍐呭瀹炴柦璁″垝 -} + pageInternalImplement: "/internalImplement/pageInternalImplement", // 鍐呭瀹炴柦璁″垝鍒嗛〉鏌ヨ + getInternalImplementOne: "/internalImplement/getInternalImplementOne", // 鍐呭瀹炴柦璁″垝璇︽儏 + addInternalImplement: "/internalImplement/addInternalImplement", // 鍐呭瀹炴柦璁″垝鏂板 + updateInternalImplement: "/internalImplement/updateInternalImplement", // 鍐呭瀹炴柦璁″垝淇敼 + ratifyInternalImplement: "/internalImplement/ratifyInternalImplement", // 鍐呭瀹炴柦璁″垝鎵瑰噯 + delInternalImplement: "/internalImplement/delInternalImplement", // 鍐呭瀹炴柦璁″垝鍒犻櫎 + exportInternalImplement: "/internalImplement/exportInternalImplement" // 瀵煎嚭鍐呭瀹炴柦璁″垝 +}; // 8.8 鍐呭绠$悊-鍐呭妫�鏌� const internalCheck = { - pageInternalCheck: '/internalCheck/pageInternalCheck', // 鍐呭妫�鏌ュ垎椤垫煡璇� - getInternalCheckOne: '/internalCheck/getInternalCheckOne', // 鍐呭妫�鏌ヨ鎯� - addInternalCheck: '/internalCheck/addInternalCheck', // 鍐呭妫�鏌ユ柊澧� - updateInternalCheck: '/internalCheck/updateInternalCheck', // 鍐呭妫�鏌ヤ慨鏀� - ratifyInternalCheck: '/internalCheck/ratifyInternalCheck', // 鍐呭妫�鏌ユ壒鍑� - delInternalCheck: '/internalCheck/delInternalCheck', // 鍐呭妫�鏌ュ垹闄� - exportInternalCheck: '/internalCheck/exportInternalCheck', // 瀵煎嚭鍐呭妫�鏌� -} + pageInternalCheck: "/internalCheck/pageInternalCheck", // 鍐呭妫�鏌ュ垎椤垫煡璇� + getInternalCheckOne: "/internalCheck/getInternalCheckOne", // 鍐呭妫�鏌ヨ鎯� + addInternalCheck: "/internalCheck/addInternalCheck", // 鍐呭妫�鏌ユ柊澧� + updateInternalCheck: "/internalCheck/updateInternalCheck", // 鍐呭妫�鏌ヤ慨鏀� + ratifyInternalCheck: "/internalCheck/ratifyInternalCheck", // 鍐呭妫�鏌ユ壒鍑� + delInternalCheck: "/internalCheck/delInternalCheck", // 鍐呭妫�鏌ュ垹闄� + exportInternalCheck: "/internalCheck/exportInternalCheck" // 瀵煎嚭鍐呭妫�鏌� +}; // 8.8 鍐呭绠$悊-鍐呭鎶ュ憡 const internalReport = { - pageInternalReport: '/internalReport/pageInternalReport', // 鍐呭鎶ュ憡鍒嗛〉鏌ヨ - getInternalReportOne: '/internalReport/getInternalReportOne', // 鍐呭鎶ュ憡璇︽儏 - addInternalReport: '/internalReport/addInternalReport', // 鍐呭鎶ュ憡鏂板 - updateInternalReport: '/internalReport/updateInternalReport', // 鍐呭鎶ュ憡淇敼 - examineInternalReport: '/internalReport/examineInternalReport', // 鍐呭鎶ュ憡瀹℃牳 - qualityInternalReport: '/internalReport/qualityInternalReport', // 鍐呭鎶ュ憡璐熻矗浜哄~鍐� - delInternalReport: '/internalReport/delInternalReport', // 鍐呭鎶ュ憡鍒犻櫎 - exportInternalReport: '/internalReport/exportInternalReport', // 瀵煎嚭鍐呭鎶ュ憡 -} + pageInternalReport: "/internalReport/pageInternalReport", // 鍐呭鎶ュ憡鍒嗛〉鏌ヨ + getInternalReportOne: "/internalReport/getInternalReportOne", // 鍐呭鎶ュ憡璇︽儏 + addInternalReport: "/internalReport/addInternalReport", // 鍐呭鎶ュ憡鏂板 + updateInternalReport: "/internalReport/updateInternalReport", // 鍐呭鎶ュ憡淇敼 + examineInternalReport: "/internalReport/examineInternalReport", // 鍐呭鎶ュ憡瀹℃牳 + qualityInternalReport: "/internalReport/qualityInternalReport", // 鍐呭鎶ュ憡璐熻矗浜哄~鍐� + delInternalReport: "/internalReport/delInternalReport", // 鍐呭鎶ュ憡鍒犻櫎 + exportInternalReport: "/internalReport/exportInternalReport" // 瀵煎嚭鍐呭鎶ュ憡 +}; // 8.8 鍐呭绠$悊-鍐呭浼氳绛惧埌 const internalMeeting = { - addInternalMeeting: '/internalMeeting/addInternalMeeting', // 鏂板浼氳绛惧埌 - pageInternalMeeting: '/internalMeeting/pageInternalMeeting', // 浼氳绛惧埌鏌ヨ - getInternalMeetingOne: '/internalMeeting/getInternalMeetingOne', // 浼氳绛惧埌鏌ヨ璇︽儏 - updateInternalMeeting: '/internalMeeting/updateInternalMeeting', // 浼氳绛惧埌淇敼 - delInternalMeeting: '/internalMeeting/delInternalMeeting', // 浼氳绛惧埌鍒犻櫎 - exportInternalMeeting: '/internalMeeting/exportInternalMeeting', // 瀵煎嚭鍐呭浼氳 -} + addInternalMeeting: "/internalMeeting/addInternalMeeting", // 鏂板浼氳绛惧埌 + pageInternalMeeting: "/internalMeeting/pageInternalMeeting", // 浼氳绛惧埌鏌ヨ + getInternalMeetingOne: "/internalMeeting/getInternalMeetingOne", // 浼氳绛惧埌鏌ヨ璇︽儏 + updateInternalMeeting: "/internalMeeting/updateInternalMeeting", // 浼氳绛惧埌淇敼 + delInternalMeeting: "/internalMeeting/delInternalMeeting", // 浼氳绛惧埌鍒犻櫎 + exportInternalMeeting: "/internalMeeting/exportInternalMeeting" // 瀵煎嚭鍐呭浼氳 +}; // 8.8 鍐呭绠$悊-绾犳鎺柦 const internalCorrect = { - pageInternalCorrect: '/internalCorrect/pageInternalCorrect', // 鏌ヨ鍐呭绠$悊绾犳鎺柦鍒楄〃 - addInternalCorrect: '/internalCorrect/addInternalCorrect', // 鎻愪氦鍐呭绠$悊绾犳鎺柦鍒楄〃 - getInternalCorrect: '/internalCorrect/getInternalCorrect', // 鏌ヨ鍐呭绠$悊绾犳澶勭悊璇︽儏 - getInternalCorrectFileList: '/internalCorrect/getInternalCorrectFileList', // 鏌ヨ鍐呭绠$悊绾犳鎺柦闄勪欢 - uploadInternalCorrectFile: '/internalCorrect/uploadInternalCorrectFile', // 鏂板鍐呭绠$悊绾犳鎺柦闄勪欢 - delInternalCorrectFile: '/internalCorrect/delInternalCorrectFile', // 鍒犻櫎鍐呭绠$悊绾犳鎺柦闄勪欢 - exportInternalCorrect: '/internalCorrect/exportInternalCorrect', // 瀵煎嚭鍐呭绠$悊绾犳鎺柦闄勪欢 -} + pageInternalCorrect: "/internalCorrect/pageInternalCorrect", // 鏌ヨ鍐呭绠$悊绾犳鎺柦鍒楄〃 + addInternalCorrect: "/internalCorrect/addInternalCorrect", // 鎻愪氦鍐呭绠$悊绾犳鎺柦鍒楄〃 + getInternalCorrect: "/internalCorrect/getInternalCorrect", // 鏌ヨ鍐呭绠$悊绾犳澶勭悊璇︽儏 + getInternalCorrectFileList: "/internalCorrect/getInternalCorrectFileList", // 鏌ヨ鍐呭绠$悊绾犳鎺柦闄勪欢 + uploadInternalCorrectFile: "/internalCorrect/uploadInternalCorrectFile", // 鏂板鍐呭绠$悊绾犳鎺柦闄勪欢 + delInternalCorrectFile: "/internalCorrect/delInternalCorrectFile", // 鍒犻櫎鍐呭绠$悊绾犳鎺柦闄勪欢 + exportInternalCorrect: "/internalCorrect/exportInternalCorrect" // 瀵煎嚭鍐呭绠$悊绾犳鎺柦闄勪欢 +}; // 7.7璐ㄩ噺鐩戠潱璁″垝 const qualitySupervise = { - pageQualitySupervise:'/qualitySupervise/pageQualitySupervise', // 璐ㄩ噺鐩戠潱骞磋鍒掑垪琛� - pageQualitySuperviseDetail:'/qualitySupervise/pageQualitySuperviseDetail', // 璐ㄩ噺鐩戠潱骞磋鍒掑垪琛� - addQualitySuperviseDetail:'/qualitySupervise/addQualitySuperviseDetail', // 鏂板鐩戠潱璁″垝璇︽儏 - updateQualitySuperviseDetail:'/qualitySupervise/updateQualitySuperviseDetail', // 淇敼鐩戠潱璁″垝璇︽儏 - delQualitySuperviseDetail:'/qualitySupervise/delQualitySuperviseDetail', // 鍒犻櫎鐩戠潱璁″垝璇︽儏 - getSuperviseDetailRecord:'/qualitySupervise/getSuperviseDetailRecord', // 鏌ヨ鐩戠潱璁″垝璁板綍娴佺▼璇︽儏 - addSuperviseDetailRecord:'/qualitySupervise/addSuperviseDetailRecord', // 鏂板鐩戠潱璁板綍淇℃伅 - addSuperviseRecordOpinion:'/qualitySupervise/addSuperviseRecordOpinion', // 鎻愪氦鐩戠潱璁板綍鎵瑰噯 - getSuperviseDetailAccording:'/qualitySupervise/getSuperviseDetailAccording', // 鏌ヨ鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭� - addSuperviseDetailAccording:'/qualitySupervise/addSuperviseDetailAccording', // 鏂板鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭� - pageSuperviseDetailAccording:'/qualitySupervise/pageSuperviseDetailAccording', // 鏌ヨ鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭垪琛� - getSuperviseDetailCorrect:'/qualitySupervise/getSuperviseDetailCorrect', // 鏌ヨ鐩戠潱绾犳澶勭悊 - addSuperviseDetailCorrect:'/qualitySupervise/addSuperviseDetailCorrect', // 鏂板鐩戠潱绾犳澶勭悊 - ratifyQualitySupervise:'/qualitySupervise/ratifyQualitySupervise', // 鐩戠潱璁″垝鎵瑰噯 - delQualitySupervise:'/qualitySupervise/delQualitySupervise', // 鍒犻櫎鐩戠潱璁″垝 - importQualitySupervise:'/qualitySupervise/importQualitySupervise', // 瀵煎叆鐩戠潱璁″垝 - pageSuperviseDetailCorrect:'/qualitySupervise/pageSuperviseDetailCorrect', // 鏌ヨ鐩戠潱绾犳鎺柦鍒楄〃 - getSuperviseDetailCorrectFileList:'/qualitySupervise/getSuperviseDetailCorrectFileList', // 鏌ヨ鐩戠潱绾犳鎺柦闄勪欢 - uploadSuperviseDetailCorrectFile:'/qualitySupervise/uploadSuperviseDetailCorrectFile', // 涓婁紶鐩戠潱绾犳鎺柦闄勪欢 - delSuperviseDetailCorrectFile:'/qualitySupervise/delSuperviseDetailCorrectFile', // 鍒犻櫎鐩戠潱绾犳鎺柦闄勪欢 - exportQualitySupervise:'/qualitySupervise/exportQualitySupervise', // 瀵煎嚭鐩戠潱璁″垝 - exportSuperviseDetaillCorrect:'/qualitySupervise/exportSuperviseDetaillCorrect', // 瀵煎嚭鐩戠潱绾犳鎺柦 - superviseDetailAccordingExport:'qualitySupervise/superviseDetailAccordingExport', // 瀵煎嚭涓嶇鍚堥」 - exportSuperviseDetailRecord:'qualitySupervise/exportSuperviseDetailRecord', // 瀵煎嚭璐ㄩ噺鐩戠潱璁″垝璁板綍鍗� -} + pageQualitySupervise: "/qualitySupervise/pageQualitySupervise", // 璐ㄩ噺鐩戠潱骞磋鍒掑垪琛� + pageQualitySuperviseDetail: "/qualitySupervise/pageQualitySuperviseDetail", // 璐ㄩ噺鐩戠潱骞磋鍒掑垪琛� + addQualitySuperviseDetail: "/qualitySupervise/addQualitySuperviseDetail", // 鏂板鐩戠潱璁″垝璇︽儏 + updateQualitySuperviseDetail: + "/qualitySupervise/updateQualitySuperviseDetail", // 淇敼鐩戠潱璁″垝璇︽儏 + delQualitySuperviseDetail: "/qualitySupervise/delQualitySuperviseDetail", // 鍒犻櫎鐩戠潱璁″垝璇︽儏 + getSuperviseDetailRecord: "/qualitySupervise/getSuperviseDetailRecord", // 鏌ヨ鐩戠潱璁″垝璁板綍娴佺▼璇︽儏 + addSuperviseDetailRecord: "/qualitySupervise/addSuperviseDetailRecord", // 鏂板鐩戠潱璁板綍淇℃伅 + addSuperviseRecordOpinion: "/qualitySupervise/addSuperviseRecordOpinion", // 鎻愪氦鐩戠潱璁板綍鎵瑰噯 + getSuperviseDetailAccording: "/qualitySupervise/getSuperviseDetailAccording", // 鏌ヨ鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭� + addSuperviseDetailAccording: "/qualitySupervise/addSuperviseDetailAccording", // 鏂板鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭� + pageSuperviseDetailAccording: + "/qualitySupervise/pageSuperviseDetailAccording", // 鏌ヨ鐩戠潱璁板綍涓嶇鍚堟帶鍒朵俊鎭垪琛� + getSuperviseDetailCorrect: "/qualitySupervise/getSuperviseDetailCorrect", // 鏌ヨ鐩戠潱绾犳澶勭悊 + addSuperviseDetailCorrect: "/qualitySupervise/addSuperviseDetailCorrect", // 鏂板鐩戠潱绾犳澶勭悊 + ratifyQualitySupervise: "/qualitySupervise/ratifyQualitySupervise", // 鐩戠潱璁″垝鎵瑰噯 + delQualitySupervise: "/qualitySupervise/delQualitySupervise", // 鍒犻櫎鐩戠潱璁″垝 + importQualitySupervise: "/qualitySupervise/importQualitySupervise", // 瀵煎叆鐩戠潱璁″垝 + pageSuperviseDetailCorrect: "/qualitySupervise/pageSuperviseDetailCorrect", // 鏌ヨ鐩戠潱绾犳鎺柦鍒楄〃 + getSuperviseDetailCorrectFileList: + "/qualitySupervise/getSuperviseDetailCorrectFileList", // 鏌ヨ鐩戠潱绾犳鎺柦闄勪欢 + uploadSuperviseDetailCorrectFile: + "/qualitySupervise/uploadSuperviseDetailCorrectFile", // 涓婁紶鐩戠潱绾犳鎺柦闄勪欢 + delSuperviseDetailCorrectFile: + "/qualitySupervise/delSuperviseDetailCorrectFile", // 鍒犻櫎鐩戠潱绾犳鎺柦闄勪欢 + exportQualitySupervise: "/qualitySupervise/exportQualitySupervise", // 瀵煎嚭鐩戠潱璁″垝 + exportSuperviseDetaillCorrect: + "/qualitySupervise/exportSuperviseDetaillCorrect", // 瀵煎嚭鐩戠潱绾犳鎺柦 + superviseDetailAccordingExport: + "qualitySupervise/superviseDetailAccordingExport", // 瀵煎嚭涓嶇鍚堥」 + exportSuperviseDetailRecord: "qualitySupervise/exportSuperviseDetailRecord" // 瀵煎嚭璐ㄩ噺鐩戠潱璁″垝璁板綍鍗� +}; // 7.1瑕佹眰銆佹爣涔﹀拰鍚堝悓璇勫 const processOrder = { - pageProcessOrder:'/processOrder/pageProcessOrder', // 鍒楄〃 - delProcessOrder:'/processOrder/delProcessOrder', // 鍒犻櫎 - doProcessOrder:'/processOrder/doProcessOrder', // 淇敼 - getProcessOrder:'/processOrder/getProcessOrder', // 鏌ョ湅 - exportInspectionOrder:'/processOrder/exportInspectionOrder', // 涓嬭浇 -} + pageProcessOrder: "/processOrder/pageProcessOrder", // 鍒楄〃 + delProcessOrder: "/processOrder/delProcessOrder", // 鍒犻櫎 + doProcessOrder: "/processOrder/doProcessOrder", // 淇敼 + getProcessOrder: "/processOrder/getProcessOrder", // 鏌ョ湅 + exportInspectionOrder: "/processOrder/exportInspectionOrder" // 涓嬭浇 +}; // 7.2鏍囧噯鏌ユ柊 const processMethodSearchNew = { - pageMethodSearchNew:'/processMethodSearchNew/pageMethodSearchNew', // 鏍囧噯鏌ユ柊鍒楄〃 - addMethodSearchNew:'/processMethodSearchNew/addMethodSearchNew', // 鏂板鏍囧噯鏌ユ柊 - updateMethodSearchNew:'/processMethodSearchNew/updateMethodSearchNew', // 淇敼鏍囧噯鏌ユ柊 - exportMethodSearchNew:'/processMethodSearchNew/exportMethodSearchNew', // 瀵煎嚭鏍囧噯鏌ユ柊 - importMethodSearchNew:'/processMethodSearchNew/importMethodSearchNew', // 瀵煎叆鏍囧噯鏌ユ柊 -} + pageMethodSearchNew: "/processMethodSearchNew/pageMethodSearchNew", // 鏍囧噯鏌ユ柊鍒楄〃 + addMethodSearchNew: "/processMethodSearchNew/addMethodSearchNew", // 鏂板鏍囧噯鏌ユ柊 + updateMethodSearchNew: "/processMethodSearchNew/updateMethodSearchNew", // 淇敼鏍囧噯鏌ユ柊 + exportMethodSearchNew: "/processMethodSearchNew/exportMethodSearchNew", // 瀵煎嚭鏍囧噯鏌ユ柊 + importMethodSearchNew: "/processMethodSearchNew/importMethodSearchNew" // 瀵煎叆鏍囧噯鏌ユ柊 +}; // 7.2鏍囧噯鏂规硶楠岃瘉 const processMethodVerify = { - pagesMethodVerify:'/processMethodVerify/pagesMethodVerify', // 鏍囧噯鏂规硶鏇存柊楠岃瘉鍒楄〃 - addMethodVerify:'/processMethodVerify/addMethodVerify', // 鏂板鏍囧噯鏂规硶楠岃瘉 - getMethodVerifyOne:'/processMethodVerify/getMethodVerifyOne', // 鏌ヨ鏍囧噯鏂规硶楠岃瘉璇︽儏 - updateMethodVerify:'/processMethodVerify/updateMethodVerify', // 淇敼鏍囧噯鏂规硶楠岃瘉 - methodVerifyAffirm:'/processMethodVerify/methodVerifyAffirm', // 楠岃瘉纭 - uploadVerifyMethodFile:'/processMethodVerify/uploadVerifyMethodFile', // 鏂板鍘熷璁板綍 - getVerifyMethodFileList:'/processMethodVerify/getVerifyMethodFileList', // 鍘熷璁板綍鍒楄〃 - delVerifyMethodFileList:'/processMethodVerify/delVerifyMethodFileList', // 鍒犻櫎楠岃瘉鍘熷璁板綍鍒楄〃 - delMethodVerify:'/processMethodVerify/delMethodVerify', // 鍒犻櫎鏍囧噯鏂规硶鏇存柊楠岃瘉 -} + pagesMethodVerify: "/processMethodVerify/pagesMethodVerify", // 鏍囧噯鏂规硶鏇存柊楠岃瘉鍒楄〃 + addMethodVerify: "/processMethodVerify/addMethodVerify", // 鏂板鏍囧噯鏂规硶楠岃瘉 + getMethodVerifyOne: "/processMethodVerify/getMethodVerifyOne", // 鏌ヨ鏍囧噯鏂规硶楠岃瘉璇︽儏 + updateMethodVerify: "/processMethodVerify/updateMethodVerify", // 淇敼鏍囧噯鏂规硶楠岃瘉 + methodVerifyAffirm: "/processMethodVerify/methodVerifyAffirm", // 楠岃瘉纭 + uploadVerifyMethodFile: "/processMethodVerify/uploadVerifyMethodFile", // 鏂板鍘熷璁板綍 + getVerifyMethodFileList: "/processMethodVerify/getVerifyMethodFileList", // 鍘熷璁板綍鍒楄〃 + delVerifyMethodFileList: "/processMethodVerify/delVerifyMethodFileList", // 鍒犻櫎楠岃瘉鍘熷璁板綍鍒楄〃 + delMethodVerify: "/processMethodVerify/delMethodVerify" // 鍒犻櫎鏍囧噯鏂规硶鏇存柊楠岃瘉 +}; // 7.4妫�娴嬫垨鏍″噯鐗╁搧鐨勫缃�-鏍峰搧鎺ユ敹 const processSample = { - pageProcessTotalSample:'/processTotalSample/pageProcessTotalSample',//鏌ョ湅鍘嗗彶 - submitProcessTotalSample :'/processTotalSample/submitProcessTotalSample ',// 鎻愪氦鍘嗗彶 浼犲弬id - checkProcessTotalSample:'/processTotalSample/checkProcessTotalSample',//瀹℃牳 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) - ratifyProcessTotalSample:'/processTotalSample/ratifyProcessTotalSample',//鎵瑰噯 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) - pageProcessSample:'/processSample/pageProcessSample',//鏌ヨ璇︽儏 鍒嗛〉鏌ヨ閲岄潰totaldealId 浼犲弬鍘嗗彶鐨刬d - addProcessSample:'/processSample/addProcessSample',//鏂板璇︽儏鐨勬暟鎹� - delProcessSample:'/processSample/delProcessSample',//鍒犻櫎 浼犲弬id - doProcessSample:'/processSample/doProcessSample',//淇敼 - getProcessSample:'/processSample/getProcessSample',// 鏌ョ湅 浼犲弬id -} + pageProcessTotalSample: "/processTotalSample/pageProcessTotalSample", //鏌ョ湅鍘嗗彶 + submitProcessTotalSample: "/processTotalSample/submitProcessTotalSample ", // 鎻愪氦鍘嗗彶 浼犲弬id + checkProcessTotalSample: "/processTotalSample/checkProcessTotalSample", //瀹℃牳 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) + ratifyProcessTotalSample: "/processTotalSample/ratifyProcessTotalSample", //鎵瑰噯 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) + pageProcessSample: "/processSample/pageProcessSample", //鏌ヨ璇︽儏 鍒嗛〉鏌ヨ閲岄潰totaldealId 浼犲弬鍘嗗彶鐨刬d + addProcessSample: "/processSample/addProcessSample", //鏂板璇︽儏鐨勬暟鎹� + delProcessSample: "/processSample/delProcessSample", //鍒犻櫎 浼犲弬id + doProcessSample: "/processSample/doProcessSample", //淇敼 + getProcessSample: "/processSample/getProcessSample" // 鏌ョ湅 浼犲弬id +}; // 7.4妫�娴嬫垨鏍″噯鐗╁搧鐨勫缃� const processTotaldeal = { - pageProcessTotaldeal:'/processTotaldeal/pageProcessTotaldeal',//鏌ョ湅鍘嗗彶 - submitProcessTotaldeal :'/processTotaldeal/submitProcessTotaldeal ',// 鎻愪氦鍘嗗彶 浼犲弬id - checkProcessTotaldeal:'/processTotaldeal/checkProcessTotaldeal',//瀹℃牳 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) - ratifyProcessTotaldeal:'/processTotaldeal/ratifyProcessTotaldeal',//鎵瑰噯 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) - pageProcessDeal:'/processDeal/pageProcessDeal',//鏌ヨ璇︽儏 鍒嗛〉鏌ヨ閲岄潰totaldealId 浼犲弬鍘嗗彶鐨刬d - addProcessDeal:'/processDeal/addProcessDeal',//鏂板璇︽儏鐨勬暟鎹� - delProcessDeal:'/processDeal/delProcessDeal',//鍒犻櫎 浼犲弬id - doProcessDeal:'/processDeal/doProcessDeal',//淇敼 - getProcessDeal:'/processDeal/getProcessDeal',// 鏌ョ湅 浼犲弬id -} + pageProcessTotaldeal: "/processTotaldeal/pageProcessTotaldeal", //鏌ョ湅鍘嗗彶 + submitProcessTotaldeal: "/processTotaldeal/submitProcessTotaldeal ", // 鎻愪氦鍘嗗彶 浼犲弬id + checkProcessTotaldeal: "/processTotaldeal/checkProcessTotaldeal", //瀹℃牳 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) + ratifyProcessTotaldeal: "/processTotaldeal/ratifyProcessTotaldeal", //鎵瑰噯 浼犲弬id鍜岄�氳繃涓嶉�氳繃state(涓枃) + pageProcessDeal: "/processDeal/pageProcessDeal", //鏌ヨ璇︽儏 鍒嗛〉鏌ヨ閲岄潰totaldealId 浼犲弬鍘嗗彶鐨刬d + addProcessDeal: "/processDeal/addProcessDeal", //鏂板璇︽儏鐨勬暟鎹� + delProcessDeal: "/processDeal/delProcessDeal", //鍒犻櫎 浼犲弬id + doProcessDeal: "/processDeal/doProcessDeal", //淇敼 + getProcessDeal: "/processDeal/getProcessDeal" // 鏌ョ湅 浼犲弬id +}; // 7.6娴嬮噺涓嶇‘瀹氬害鐨勮瘎瀹� const processEvaluate = { - pageProcessEvaluate:'/processEvaluate/pageProcessEvaluate',//鍒嗛〉 - addProcessEvaluate:'/processEvaluate/addProcessEvaluate',//鏂板(鏂板涓婁紶涓�涓枃浠跺氨濂戒簡) - doProcessEvaluate:'/processEvaluate/doProcessEvaluate',//濉啓 (涓昏涓婁紶id鍜屽娉╪ote灏卞ソ浜�) - delProcessEvaluate:'/processEvaluate/delProcessEvaluate',//鍒犻櫎 浼犲弬id - exportProcessEvaluate:'/processEvaluate/exportProcessEvaluate',//瀵煎嚭 -} + pageProcessEvaluate: "/processEvaluate/pageProcessEvaluate", //鍒嗛〉 + addProcessEvaluate: "/processEvaluate/addProcessEvaluate", //鏂板(鏂板涓婁紶涓�涓枃浠跺氨濂戒簡) + doProcessEvaluate: "/processEvaluate/doProcessEvaluate", //濉啓 (涓昏涓婁紶id鍜屽娉╪ote灏卞ソ浜�) + delProcessEvaluate: "/processEvaluate/delProcessEvaluate", //鍒犻櫎 浼犲弬id + exportProcessEvaluate: "/processEvaluate/exportProcessEvaluate" //瀵煎嚭 +}; // 7.7璐ㄩ噺鐩戞帶璁″垝 const qualityMonitor = { - pageQualityMonitor:'/qualityMonitor/pageQualityMonitor', // 鐩戞帶骞村害璁″垝鍒楄〃 - pageQualityMonitorDetail:'/qualityMonitor/pageQualityMonitorDetail', // 鐩戞帶璁″垝璇︽儏鍒楄〃 - addQualityMonitorDetail:'/qualityMonitor/addQualityMonitorDetail', // 鏂板鐩戞帶璁″垝璇︽儏 - updateQualityMonitorDetail:'/qualityMonitor/updateQualityMonitorDetail', // 淇敼鐩戞帶璁″垝璇︽儏 - delQualityMonitorDetail:'/qualityMonitor/delQualityMonitorDetail', // 鍒犻櫎鐩戞帶璁″垝璇︽儏 - getQualityMonitorRatify:'/qualityMonitor/getQualityMonitorRatify', // 鏌ヨ鐩戞帶璁″垝璇︽儏瀹炴柦淇℃伅 - addQualityMonitorRatify:'/qualityMonitor/addQualityMonitorRatify', // 鏂板鐩戞帶璁″垝璇︽儏瀹炴柦淇℃伅 - addQualityMonitorRatifyOpinion:'/qualityMonitor/addQualityMonitorRatifyOpinion', // 鎻愪氦鐩戞帶璁″垝璇︽儏鎵瑰噯鎰忚 - getQualityMonitorEvaluate:'/qualityMonitor/getQualityMonitorEvaluate', // 鏌ヨ鐩戞帶璇勪环 - addQualityMonitorEvaluate:'/qualityMonitor/addQualityMonitorEvaluate', // 鏂板鐩戞帶璇勪环 - addMonitorEvaluateOpinion:'/qualityMonitor/addMonitorEvaluateOpinion', // 鏂板鐩戞帶璇勪环鎵瑰噯 - getEvaluateFileList:'/qualityMonitor/getEvaluateFileList', // 鏌ヨ鐩戞帶璇勪环闄勪欢鍒楄〃 - delVerifyEvaluateFileList:'/qualityMonitor/delVerifyEvaluateFileList', // 鍒犻櫎鐩戞帶璇勪环闄勪欢鍒楄〃 - uploadEvaluateFile:'/qualityMonitor/uploadEvaluateFile', // 鏂板鐩戞帶璇勪环闄勪欢琛� - examineQualityMonitor:'/qualityMonitor/examineQualityMonitor', // 鐩戞帶璁″垝瀹℃牳 - ratifyQualityMonitor:'/qualityMonitor/ratifyQualityMonitor', // 鐩戞帶璁″垝鎵瑰噯 - delQualitySupervise:'/qualityMonitor/delQualitySupervise', // 鐩戞帶璁″垝鎵瑰噯 - importQualityMonitor:'/qualityMonitor/importQualityMonitor', // 瀵煎叆鐩戞帶璁″垝 - exportQualityMonitorDetail:'/qualityMonitor/exportQualityMonitorDetail', // 瀵煎嚭鐩戞帶璁″垝 -} + pageQualityMonitor: "/qualityMonitor/pageQualityMonitor", // 鐩戞帶骞村害璁″垝鍒楄〃 + pageQualityMonitorDetail: "/qualityMonitor/pageQualityMonitorDetail", // 鐩戞帶璁″垝璇︽儏鍒楄〃 + addQualityMonitorDetail: "/qualityMonitor/addQualityMonitorDetail", // 鏂板鐩戞帶璁″垝璇︽儏 + updateQualityMonitorDetail: "/qualityMonitor/updateQualityMonitorDetail", // 淇敼鐩戞帶璁″垝璇︽儏 + delQualityMonitorDetail: "/qualityMonitor/delQualityMonitorDetail", // 鍒犻櫎鐩戞帶璁″垝璇︽儏 + getQualityMonitorRatify: "/qualityMonitor/getQualityMonitorRatify", // 鏌ヨ鐩戞帶璁″垝璇︽儏瀹炴柦淇℃伅 + addQualityMonitorRatify: "/qualityMonitor/addQualityMonitorRatify", // 鏂板鐩戞帶璁″垝璇︽儏瀹炴柦淇℃伅 + addQualityMonitorRatifyOpinion: + "/qualityMonitor/addQualityMonitorRatifyOpinion", // 鎻愪氦鐩戞帶璁″垝璇︽儏鎵瑰噯鎰忚 + getQualityMonitorEvaluate: "/qualityMonitor/getQualityMonitorEvaluate", // 鏌ヨ鐩戞帶璇勪环 + addQualityMonitorEvaluate: "/qualityMonitor/addQualityMonitorEvaluate", // 鏂板鐩戞帶璇勪环 + addMonitorEvaluateOpinion: "/qualityMonitor/addMonitorEvaluateOpinion", // 鏂板鐩戞帶璇勪环鎵瑰噯 + getEvaluateFileList: "/qualityMonitor/getEvaluateFileList", // 鏌ヨ鐩戞帶璇勪环闄勪欢鍒楄〃 + delVerifyEvaluateFileList: "/qualityMonitor/delVerifyEvaluateFileList", // 鍒犻櫎鐩戞帶璇勪环闄勪欢鍒楄〃 + uploadEvaluateFile: "/qualityMonitor/uploadEvaluateFile", // 鏂板鐩戞帶璇勪环闄勪欢琛� + examineQualityMonitor: "/qualityMonitor/examineQualityMonitor", // 鐩戞帶璁″垝瀹℃牳 + ratifyQualityMonitor: "/qualityMonitor/ratifyQualityMonitor", // 鐩戞帶璁″垝鎵瑰噯 + delQualitySupervise: "/qualityMonitor/delQualitySupervise", // 鐩戞帶璁″垝鎵瑰噯 + importQualityMonitor: "/qualityMonitor/importQualityMonitor", // 瀵煎叆鐩戞帶璁″垝 + exportQualityMonitorDetail: "/qualityMonitor/exportQualityMonitorDetail" // 瀵煎嚭鐩戞帶璁″垝 +}; // 8.5 搴斿椋庨櫓鍜屾満閬囩殑鎺柦 const measuresAddressRisksOpportunities = { - getPageList: '/manageControlPlanList/getPageList', // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鍒嗛〉 - approvalOfControlPlanChecklist: "/manageControlPlanList/approvalOfControlPlanChecklist", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鎵瑰噯 - riskAnalysisApprovalOfControlPlanChecklist: "/manageControlPlanList/riskAnalysisApprovalOfControlPlanChecklist", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 瀹℃牳 + getPageList: "/manageControlPlanList/getPageList", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鍒嗛〉 + approvalOfControlPlanChecklist: + "/manageControlPlanList/approvalOfControlPlanChecklist", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鎵瑰噯 + riskAnalysisApprovalOfControlPlanChecklist: + "/manageControlPlanList/riskAnalysisApprovalOfControlPlanChecklist", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 瀹℃牳 importControlPlanList: "/manageControlPlanList/importControlPlanList", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 瀵煎叆 - analysisOfMajorRiskFactorsAdded: "/manageControlPlanList/analysisOfMajorRiskFactorsAdded", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鏂板 - deleteSignificantRiskFactorAnalysis: "/manageControlPlanList/deleteSignificantRiskFactorAnalysis", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鍒犻櫎 + analysisOfMajorRiskFactorsAdded: + "/manageControlPlanList/analysisOfMajorRiskFactorsAdded", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鏂板 + deleteSignificantRiskFactorAnalysis: + "/manageControlPlanList/deleteSignificantRiskFactorAnalysis", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 鍒犻櫎 getPageResults: "/manageRiskAssessmentResults/getPageResults", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 鍒嗛〉 - hazardIdentificationAndRiskApproval: "/manageRiskAssessmentResults/hazardIdentificationAndRiskApproval", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 鎵瑰噯 + hazardIdentificationAndRiskApproval: + "/manageRiskAssessmentResults/hazardIdentificationAndRiskApproval", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 鎵瑰噯 dangerousRiskApproval: "/manageRiskAssessmentResults/dangerousRiskApproval", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 瀹℃壒 riskAssessmentImport: "/manageRiskAssessmentResults/riskAssessmentImport", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 瀵煎叆 addNewRiskFactors: "/manageRiskAssessmentResults/addNewRiskFactors", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 鏂板 removeRiskFactors: "/manageRiskAssessmentResults/removeRiskFactors", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 鍒犻櫎 - exportHazardFactorIdentification: "/manageRiskAssessmentResults/exportHazardFactorIdentification", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 瀵煎嚭 - exportSignificantRiskFactors: "/manageControlPlanList/exportSignificantRiskFactors", // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 瀵煎嚭 -} + exportHazardFactorIdentification: + "/manageRiskAssessmentResults/exportHazardFactorIdentification", // 鍗遍櫓鍥犵礌杈ㄨ瘑涓庨闄╄瘎浠风粨鏋滀竴瑙� 瀵煎嚭 + exportSignificantRiskFactors: + "/manageControlPlanList/exportSignificantRiskFactors" // 閲嶅ぇ椋庨櫓鍥犵礌鍒嗘瀽鍙婃帶鍒惰鍒掓竻鍗� 瀵煎嚭 +}; // 7.8鎶ュ憡缁撴灉 const processReport = { - pageProcessReport:'/processReport/pageProcessReport',// 鍒嗛〉 - addProcessReport:'/processReport/addProcessReport',//鏂板 - delProcessReport:'/processReport/delProcessReport',//鍒犻櫎 - getProcessReport:'/processReport/getProcessReport',//鏌ョ湅 - doProcessReport:'/processReport/doProcessReport',//淇敼 - exportProcessReport:'/processReport/exportProcessReport',//瀵煎嚭 -} + pageProcessReport: "/processReport/pageProcessReport", // 鍒嗛〉 + addProcessReport: "/processReport/addProcessReport", //鏂板 + delProcessReport: "/processReport/delProcessReport", //鍒犻櫎 + getProcessReport: "/processReport/getProcessReport", //鏌ョ湅 + doProcessReport: "/processReport/doProcessReport", //淇敼 + exportProcessReport: "/processReport/exportProcessReport" //瀵煎嚭 +}; // 鎶曡瘔 const processComplain = { - pageProcessComplain:'/processComplain/pageProcessComplain',//鎶曡瘔澶勭悊鍒嗛〉 - addProcessComplain:'/processComplain/addProcessComplain',//鎶曡瘔澶勭悊鏂板 - delProcessComplain:'/processComplain/delProcessComplain',//鎶曡瘔澶勭悊鍒犻櫎 - getProcessComplain:'/processComplain/getProcessComplain',//鎶曡瘔澶勭悊璇︽儏 - doProcessComplain:'/processComplain/doProcessComplain',//鎶曡瘔澶勭悊淇敼 - exportProcessComplain :'/processComplain/exportProcessComplain ',//鎶曡瘔澶勭悊瀵煎嚭 -} + pageProcessComplain: "/processComplain/pageProcessComplain", //鎶曡瘔澶勭悊鍒嗛〉 + addProcessComplain: "/processComplain/addProcessComplain", //鎶曡瘔澶勭悊鏂板 + delProcessComplain: "/processComplain/delProcessComplain", //鎶曡瘔澶勭悊鍒犻櫎 + getProcessComplain: "/processComplain/getProcessComplain", //鎶曡瘔澶勭悊璇︽儏 + doProcessComplain: "/processComplain/doProcessComplain", //鎶曡瘔澶勭悊淇敼 + exportProcessComplain: "/processComplain/exportProcessComplain " //鎶曡瘔澶勭悊瀵煎嚭 +}; // 7.10涓嶇鍚堥」鍒嗗竷 const inconsistentDistribution = { - pageInconsistentDistribution:'/inconsistentDistribution/pageInconsistentDistribution', // 涓嶇鍚堥」鐨勫垎甯冨垎椤垫煡璇� - getInconsistentDistributionOne:'/inconsistentDistribution/getInconsistentDistributionOne', // 涓嶇鍚堥」鐨勫垎甯冭鎯� - addInconsistentDistribution:'/inconsistentDistribution/addInconsistentDistribution', // 涓嶇鍚堥」鐨勫垎甯冩柊澧� - updateInconsistentDistribution:'/inconsistentDistribution/updateInconsistentDistribution', // 涓嶇鍚堥」鐨勫垎甯冧慨鏀� - delInconsistentDistribution:'/inconsistentDistribution/delInconsistentDistribution', // 涓嶇鍚堥」鐨勫垎甯冨垹闄� - exportInconsistentDistribution:'/inconsistentDistribution/exportInconsistentDistribution', // 瀵煎嚭涓嶇鍚堥」鐨勫垎甯� -} + pageInconsistentDistribution: + "/inconsistentDistribution/pageInconsistentDistribution", // 涓嶇鍚堥」鐨勫垎甯冨垎椤垫煡璇� + getInconsistentDistributionOne: + "/inconsistentDistribution/getInconsistentDistributionOne", // 涓嶇鍚堥」鐨勫垎甯冭鎯� + addInconsistentDistribution: + "/inconsistentDistribution/addInconsistentDistribution", // 涓嶇鍚堥」鐨勫垎甯冩柊澧� + updateInconsistentDistribution: + "/inconsistentDistribution/updateInconsistentDistribution", // 涓嶇鍚堥」鐨勫垎甯冧慨鏀� + delInconsistentDistribution: + "/inconsistentDistribution/delInconsistentDistribution", // 涓嶇鍚堥」鐨勫垎甯冨垹闄� + exportInconsistentDistribution: + "/inconsistentDistribution/exportInconsistentDistribution" // 瀵煎嚭涓嶇鍚堥」鐨勫垎甯� +}; // 6.3 璁炬柦鍜岀幆澧冩潯浠� const facilitiesAndEnvironment = { @@ -869,18 +949,27 @@ addFeLightningProtection: "/feIllumination/addFeLightningProtection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏂板/淇敼 deleteFeLightningProtection: "/feIllumination/deleteFeLightningProtection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鍒犻櫎 getFeLightningProtection: "/feIllumination/getFeLightningProtection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏌ヨ - deleteFeIlluminationDetectionArea: "/feIllumination/deleteFeIlluminationDetectionArea", // 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鍒犻櫎 - getFeIlluminationDetectionArea: "/feIllumination/getFeIlluminationDetectionArea", // 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏍规嵁鐓у害璁板綍鏌ヨ + deleteFeIlluminationDetectionArea: + "/feIllumination/deleteFeIlluminationDetectionArea", // 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鍒犻櫎 + getFeIlluminationDetectionArea: + "/feIllumination/getFeIlluminationDetectionArea", // 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏍规嵁鐓у害璁板綍鏌ヨ exportFeIllumination: "/feIllumination/exportFeIllumination", // 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 瀵煎嚭 // 璁炬柦鍜岀幆澧冩潯浠�-璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴� - addLightningProtectionDetection: "/feLightningProtection/addLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫柊澧�/淇敼 - deleteLightningProtectionDetection: "/feLightningProtection/deleteLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪垹闄� - getLightningProtectionDetection: "/feLightningProtection/getLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫煡璇� - exportOfLightningProtectionDetection: "/feLightningProtection/exportOfLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪鍑� + addLightningProtectionDetection: + "/feLightningProtection/addLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫柊澧�/淇敼 + deleteLightningProtectionDetection: + "/feLightningProtection/deleteLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪垹闄� + getLightningProtectionDetection: + "/feLightningProtection/getLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫煡璇� + exportOfLightningProtectionDetection: + "/feLightningProtection/exportOfLightningProtectionDetection", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪鍑� // 璁炬柦鍜岀幆澧冩潯浠�-璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬� - addLaboratoryFacilityPowerStable: "/fePowerStable/addLaboratoryFacilityPowerStable", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬ф柊澧�/淇敼 - deleteLaboratoryFacilityPowerStable: "/fePowerStable/deleteLaboratoryFacilityPowerStable", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬у垹闄� - getLaboratoryFacilityPowerStablePage: "/fePowerStable/getLaboratoryFacilityPowerStablePage", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬ф煡璇� + addLaboratoryFacilityPowerStable: + "/fePowerStable/addLaboratoryFacilityPowerStable", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬ф柊澧�/淇敼 + deleteLaboratoryFacilityPowerStable: + "/fePowerStable/deleteLaboratoryFacilityPowerStable", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬у垹闄� + getLaboratoryFacilityPowerStablePage: + "/fePowerStable/getLaboratoryFacilityPowerStablePage", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬ф煡璇� getCalibrationDate: "/fePowerStable/getCalibrationDate", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬� 鏂板 閫夋嫨璁惧鍚庢煡璇㈡渶鏂拌澶囩紪鍙凤紝鏍″噯鏃ユ湡 deleteFeMeasuredQuantity: "/fePowerStable/deleteFeMeasuredQuantity", // 璁炬柦鍜岀幆澧冩潯浠�-璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬�-娴嬪畾閲� 鍒犻櫎 getFeMeasuredQuantityService: "/fePowerStable/getFeMeasuredQuantityService", // 鐢垫簮绋冲畾鎬�-娴嬪畾閲� 鏍规嵁鐢垫簮绋冲畾鎬ф煡璇� @@ -892,242 +981,330 @@ addFeTempHumRecord: "/feTempHumDate/addFeTempHumRecord", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-娓╂箍搴﹁褰曟柊澧�/淇敼 deleteFeTempHumRecord: "/feTempHumDate/deleteFeTempHumRecord", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-娓╂箍搴﹁褰曞垹闄� getFeTempHumRecordPage: "/feTempHumDate/getFeTempHumRecordPage", // 璁炬柦鍜岀幆澧冩潯浠惰姹�-娓╂箍搴﹁褰曟煡璇� - exportTemperatureAndHumidityRecords: '/feTempHumDate/exportTemperatureAndHumidityRecords', // 璁炬柦鍜岀幆澧冩潯浠惰姹�-娓╂箍搴﹁褰� 瀵煎嚭 -} + exportTemperatureAndHumidityRecords: + "/feTempHumDate/exportTemperatureAndHumidityRecords" // 璁炬柦鍜岀幆澧冩潯浠惰姹�-娓╂箍搴﹁褰� 瀵煎嚭 +}; // 6.3涓夊簾澶勭悊 const internalWastes = { - pageInternalWastes: '/internalWastes/pageInternalWastes', // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒嗛〉鏌ヨ - getInternalWastesOne: '/internalWastes/getInternalWastesOne', // 瀹夊叏鍐呭姟涓夊簾澶勭悊鏌ョ湅璇︽儏 - addInternalWastes: '/internalWastes/addInternalWastes', // 瀹夊叏鍐呭姟涓夊簾澶勭悊鏂板 - updateInternalWastes: '/internalWastes/updateInternalWastes', // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒嗛〉淇敼 - delInternalWastes: '/internalWastes/delInternalWastes', // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒犻櫎 - exportInternalWastes: '/internalWastes/exportInternalWastes', // 瀵煎嚭涓夊簾澶勭悊 -} + pageInternalWastes: "/internalWastes/pageInternalWastes", // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒嗛〉鏌ヨ + getInternalWastesOne: "/internalWastes/getInternalWastesOne", // 瀹夊叏鍐呭姟涓夊簾澶勭悊鏌ョ湅璇︽儏 + addInternalWastes: "/internalWastes/addInternalWastes", // 瀹夊叏鍐呭姟涓夊簾澶勭悊鏂板 + updateInternalWastes: "/internalWastes/updateInternalWastes", // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒嗛〉淇敼 + delInternalWastes: "/internalWastes/delInternalWastes", // 瀹夊叏鍐呭姟涓夊簾澶勭悊鍒犻櫎 + exportInternalWastes: "/internalWastes/exportInternalWastes" // 瀵煎嚭涓夊簾澶勭悊 +}; // 6.3杩涘嚭浜哄憳鐧昏 const foreignRegister = { - pageForeignRegister: '/foreignRegister/pageForeignRegister', // 澶栨潵浜哄憳鍒嗛〉鏌ヨ - getForeignRegisterOne: '/foreignRegister/getForeignRegisterOne', // 澶栨潵浜哄憳鏌ョ湅璇︽儏 - addForeignRegister: '/foreignRegister/addForeignRegister', // 澶栨潵浜哄憳鏂板 - updateForeignRegister: '/foreignRegister/updateForeignRegister', // 澶栨潵浜哄憳淇敼 - delForeignRegister: '/foreignRegister/delForeignRegister', // 澶栨潵浜哄憳鍒犻櫎 - exportForeignRegister: '/foreignRegister/exportForeignRegister', // 瀵煎嚭澶栨潵浜哄憳 -} + pageForeignRegister: "/foreignRegister/pageForeignRegister", // 澶栨潵浜哄憳鍒嗛〉鏌ヨ + getForeignRegisterOne: "/foreignRegister/getForeignRegisterOne", // 澶栨潵浜哄憳鏌ョ湅璇︽儏 + addForeignRegister: "/foreignRegister/addForeignRegister", // 澶栨潵浜哄憳鏂板 + updateForeignRegister: "/foreignRegister/updateForeignRegister", // 澶栨潵浜哄憳淇敼 + delForeignRegister: "/foreignRegister/delForeignRegister", // 澶栨潵浜哄憳鍒犻櫎 + exportForeignRegister: "/foreignRegister/exportForeignRegister" // 瀵煎嚭澶栨潵浜哄憳 +}; // 6.5閲忓�兼函婧愯鍒� const feCalibrationSchedule = { - getPageCalibrationSchedule:'/feCalibrationSchedule/getPageCalibrationSchedule',// 閲忓�兼函婧愯鍒掓煡璇� - addCalibrationSchedule:'/feCalibrationSchedule/addCalibrationSchedule',//閲忓�兼函婧愯鍒掓柊澧炵紪杈� - removeCalibrationSchedule:'/feCalibrationSchedule/removeCalibrationSchedule',//鍒犻櫎閲忓�兼函婧愯鍒� - exportOfValueTraceabilityPlan: '/feCalibrationSchedule/exportOfValueTraceabilityPlan', // 閲忓�兼函婧愯鍒� 瀵煎嚭 - importOfValueTraceabilityPlan: '/feCalibrationSchedule/importOfValueTraceabilityPlan', // 閲忓�兼函婧愯鍒� 瀵煎叆 -} + getPageCalibrationSchedule: + "/feCalibrationSchedule/getPageCalibrationSchedule", // 閲忓�兼函婧愯鍒掓煡璇� + addCalibrationSchedule: "/feCalibrationSchedule/addCalibrationSchedule", //閲忓�兼函婧愯鍒掓柊澧炵紪杈� + removeCalibrationSchedule: "/feCalibrationSchedule/removeCalibrationSchedule", //鍒犻櫎閲忓�兼函婧愯鍒� + exportOfValueTraceabilityPlan: + "/feCalibrationSchedule/exportOfValueTraceabilityPlan", // 閲忓�兼函婧愯鍒� 瀵煎嚭 + importOfValueTraceabilityPlan: + "/feCalibrationSchedule/importOfValueTraceabilityPlan" // 閲忓�兼函婧愯鍒� 瀵煎叆 +}; // 6.5鏍囧噯鐗╄川娓呭崟 const feStandardSubstance = { - getPageStandardSubstance:'/feStandardSubstance/getPageStandardSubstance',// 鏍囧噯鐗╄川娓呭崟鏌ヨ - addStandardSubstance:'/feStandardSubstance/addStandardSubstance',//鏍囧噯鐗╄川娓呭崟鏂板缂栬緫 - removeStandardSubstance:'/feStandardSubstance/removeStandardSubstance',//鍒犻櫎鏍囧噯鐗╄川娓呭崟 - exportOfStandardSubstanceList: '/feStandardSubstance/exportOfStandardSubstanceList', // 鏍囧噯鐗╄川娓呭崟 瀵煎嚭 -} + getPageStandardSubstance: "/feStandardSubstance/getPageStandardSubstance", // 鏍囧噯鐗╄川娓呭崟鏌ヨ + addStandardSubstance: "/feStandardSubstance/addStandardSubstance", //鏍囧噯鐗╄川娓呭崟鏂板缂栬緫 + removeStandardSubstance: "/feStandardSubstance/removeStandardSubstance", //鍒犻櫎鏍囧噯鐗╄川娓呭崟 + exportOfStandardSubstanceList: + "/feStandardSubstance/exportOfStandardSubstanceList" // 鏍囧噯鐗╄川娓呭崟 瀵煎嚭 +}; // 6.5鏍囧噯鐗╄川娓呭崟-棰嗙敤鍊熺敤褰掕繕 const feStandardSubstanceRecord = { - getSubstanceRecord:'/feStandardSubstanceRecord/getSubstanceRecord',// 鏍囧噯鐗╄川娓呭崟棰嗙敤鏌ヨ - borrowSubstance:'/feStandardSubstanceRecord/borrowSubstance',//鏍囧噯鐗╄川娓呭崟鍊熺敤 - returnSubstance:'/feStandardSubstanceRecord/returnSubstance',//鏍囧噯鐗╄川娓呭崟褰掕繕 - getPageSubstanceRecord: '/feStandardSubstanceRecord/getPageSubstanceRecord', // 鍒嗛〉鏌ヨ -} + getSubstanceRecord: "/feStandardSubstanceRecord/getSubstanceRecord", // 鏍囧噯鐗╄川娓呭崟棰嗙敤鏌ヨ + borrowSubstance: "/feStandardSubstanceRecord/borrowSubstance", //鏍囧噯鐗╄川娓呭崟鍊熺敤 + returnSubstance: "/feStandardSubstanceRecord/returnSubstance", //鏍囧噯鐗╄川娓呭崟褰掕繕 + getPageSubstanceRecord: "/feStandardSubstanceRecord/getPageSubstanceRecord" // 鍒嗛〉鏌ヨ +}; const personPostAuthorizationRecord = { - exportPersonPostAuthorizationRecord:'/personPostAuthorizationRecord/exportPersonPostAuthorizationRecord',//浼犲弬id 浜哄憳鐨勪换鑱屾巿鏉冨鍑� - exportPersonBasicInfo:'/personBasicInfo/exportPersonBasicInfo',//鏈俊鎭鍑�,浼犲弬绫讳技鍒嗛〉 - exportPersonBasicInfoById:'/personBasicInfo/exportPersonBasicInfoById',//鏈俊鎭鍑�,浼犲弬绫讳技鍒嗛〉 - exportPersonJobResponsibilities:'/personJobResponsibilities/exportPersonJobResponsibilities',//瀵煎嚭浜哄憳鑱岃矗,浼犲弬id -} + exportPersonPostAuthorizationRecord: + "/personPostAuthorizationRecord/exportPersonPostAuthorizationRecord", //浼犲弬id 浜哄憳鐨勪换鑱屾巿鏉冨鍑� + exportPersonBasicInfo: "/personBasicInfo/exportPersonBasicInfo", //鏈俊鎭鍑�,浼犲弬绫讳技鍒嗛〉 + exportPersonBasicInfoById: "/personBasicInfo/exportPersonBasicInfoById", //鏈俊鎭鍑�,浼犲弬绫讳技鍒嗛〉 + exportPersonJobResponsibilities: + "/personJobResponsibilities/exportPersonJobResponsibilities" //瀵煎嚭浜哄憳鑱岃矗,浼犲弬id +}; + +//璁惧鏁呴殰鐩稿簲鐨勬帴鍙� +const deviceFault = { + list: "/api/device-faults", + //device/{deviceId}" 鏍规嵁id鑾峰彇璁惧鏁呴殰鏁版嵁 + getDevice: "/api/device-faults/device" +}; + +//璐熻矗浜轰俊鎭帴鍙� +const responsi = { + list: "/user/getDeviceManager" +}; +//璁惧棰勭害鎺ュ彛 +const deviceReservate = { + list: "/reservation/selectReservationParameterPage", + del: "/reservation/delete", + get: "/reservation/selectDeviceParameter", + save: "/reservation/save" +}; +const deviceInstruction = { + del: "/deviceInstruction/delete", + save: "/deviceInstruction/save", + list: "/deviceInstruction/selectDeviceInstruction" +}; +//鍊熺敤璁惧鎺ュ彛 +const borrow = { + list: "/deviceleases/list", + add: "/deviceleases" +}; //璁惧鎺ュ彛 const deviceCheck = { - list: '/device-alt', - edit: '/device-alt/edit', - saveIncidentReportData: '/incident-report/saveIncidentReportData', // 璁惧楠屾敹 淇濆瓨锛屾彁浜わ紝椹冲洖锛岄�氳繃鎺ュ彛 - incidentReportPage: '/incident-report/incidentReportPage', // 鎵撳紑鏂板寮规锛岃幏鍙栬澶囩殑鍩虹淇℃伅 - deleteIncidentReport: '/incident-report/deleteIncidentReport', // 鍒犻櫎璁惧楠屾敹鏁版嵁 - getShowIncidentReport: '/incident-report/getShowIncidentReport', // 璁惧楠屾敹 鐐瑰嚮鏌ョ湅鑾峰彇鏁版嵁 - deleteIncidentReportAll: '/incident-report/deleteIncidentReportAll', // 璁惧楠屾敹涓洓涓猼able琛ㄦ牸鐨勫垹闄ゅ姛鑳� - incidentReportExport: '/incident-report/incidentReportExport', // 璁惧楠屾敹瀵煎嚭 - deviceRecordPage: '/deviceRecord/deviceRecordPage', // cnas璁惧浣跨敤璁板綍鍒嗛〉鏌ヨ - saveDeviceRecord: '/deviceRecord/saveDeviceRecord', // 璁惧浣跨敤璁板綍淇濆瓨 - deleteDeviceRecord: '/deviceRecord/deleteDeviceRecord', // 鍒犻櫎璁惧浣跨敤璁板綍 - deviceRecordExport: '/deviceRecord/deviceRecordExport', // 璁惧浣跨敤璁板綍鍒犻櫎 - getDeviceMaintenancePage: '/device-maintain/getDeviceMaintenancePage', // 璁惧缁存姢鍒嗛〉鏌ヨ - deviceMaintenanceExport: '/device-maintain/deviceMaintenanceExport', // 璁惧缁存姢瀵煎嚭 - deviceMaintenanceDelete: '/device-maintain/delete', // 璁惧缁存姢鍒犻櫎 - deviceMaintainAdd: '/device-maintain', // 璁惧缁存姢鏂板 - saveDeviceState: '/deviceState/saveDeviceState', // 璁惧鍚敤/鍋滅敤 淇濆瓨锛屾彁浜わ紝椹冲洖锛岄�氳繃鎺ュ彛 - getDeviceStatePage: '/deviceState/getDeviceStatePage', // 璁惧鍚敤/鍋滅敤 鍒嗛〉 - deleteDeviceState: '/deviceState/deleteDeviceState', // 璁惧鍚敤/鍋滅敤 鍒犻櫎 - deviceFaultOnePage: '/deviceFaultOne/deviceFaultOnePage', // 璁惧鏁呴殰琛� 鍒嗛〉鏌ヨ - addOrUpdateDeviceFaultOne: '/deviceFaultOne/addOrUpdateDeviceFaultOne', - deleteDeviceFaultOne: '/deviceFaultOne/deleteDeviceFaultOne', // 鍒犻櫎 璁惧鏁呴殰 - deviceMetricRecordPage: '/deviceMetricRecord/deviceMetricRecordPage', // 璁惧鏍″噯 鍒嗛〉鏌ヨ - addOrUpdateDeviceMetricRecord: '/deviceMetricRecord/addOrUpdateDeviceMetricRecord', // 璁惧鏍″噯 鏂板 鏇存柊 - deleteDeviceMetricRecord: '/deviceMetricRecord/deleteDeviceMetricRecord', // 璁惧鏍″噯 鍒犻櫎 - showDeviceMetricsCopy: '/deviceMetricRecord/showDeviceMetricsCopy', // 璁惧鏍″噯 鏌ヨ鏍″噯鏉$洰 - selectDeviceMetric: '/deviceMetrics/selectDeviceMetric', // 璁惧鏍″噯 璁惧缁存姢琛� 鏌ヨ - saveOrUpdateDeviceMetric: '/deviceMetrics/saveOrUpdateDeviceMetric', // 璁惧鏍″噯 鏂板 鏇存柊 - deleteDeviceMetrics: '/deviceMetrics/deleteDeviceMetrics', // 璁惧鏍″噯 鍒犻櫎 - rewardPunishmentExport: '/personRewardPunishmentRecord/rewardPunishmentExport', // 濂栨儵璁板綍 瀵煎嚭 - exportRewardAndPunishmentRecords: '/deviceFaultOne/exportRewardAndPunishmentRecords', // 濂栨儵璁板綍瀵煎嚭 + list: "/device-alt", + edit: "/device-alt/edit", + saveIncidentReportData: "/incident-report/saveIncidentReportData", // 璁惧楠屾敹 淇濆瓨锛屾彁浜わ紝椹冲洖锛岄�氳繃鎺ュ彛 + incidentReportPage: "/incident-report/incidentReportPage", // 鎵撳紑鏂板寮规锛岃幏鍙栬澶囩殑鍩虹淇℃伅 + deleteIncidentReport: "/incident-report/deleteIncidentReport", // 鍒犻櫎璁惧楠屾敹鏁版嵁 + getShowIncidentReport: "/incident-report/getShowIncidentReport", // 璁惧楠屾敹 鐐瑰嚮鏌ョ湅鑾峰彇鏁版嵁 + deleteIncidentReportAll: "/incident-report/deleteIncidentReportAll", // 璁惧楠屾敹涓洓涓猼able琛ㄦ牸鐨勫垹闄ゅ姛鑳� + incidentReportExport: "/incident-report/incidentReportExport", // 璁惧楠屾敹瀵煎嚭 + acceptanceCertificateExport: "/incident-report/acceptanceCertificateExport", // 璁惧楠屾敹鍗曟潯瀵煎嚭 + exportDeviceStatus: "/deviceState/exportDeviceStatus", // 璁惧鍋滃惎鐢ㄥ崟鏉″鍑� + exportMaintenanceRecord: "/device-maintain/exportMaintenanceRecord", // 璁惧淇濆吇鍗曟潯瀵煎嚭 + exportDeviceFile: "/deviceScope/exportDeviceFile", // 璁惧妗f鍗″鍑� + exportEquipmentDetails: "/deviceScope/exportEquipmentDetails", // 璁惧宸ュ叿鏄庣粏瀵煎嚭 + exportUseRecord: "/deviceRecord/exportUseRecord", // 璁惧浣跨敤璁板綍瀵煎嚭 + deviceRecordPage: "/deviceRecord/deviceRecordPage", // cnas璁惧浣跨敤璁板綍鍒嗛〉鏌ヨ + saveDeviceRecord: "/deviceRecord/saveDeviceRecord", // 璁惧浣跨敤璁板綍淇濆瓨 + deleteDeviceRecord: "/deviceRecord/deleteDeviceRecord", // 鍒犻櫎璁惧浣跨敤璁板綍 + updateDeviceRecord: "/deviceRecord/updateDeviceRecord", // 璁惧浣跨敤璁板綍缂栬緫 + getDeviceMaintenancePage: "/device-maintain/getDeviceMaintenancePage", // 璁惧缁存姢鍒嗛〉鏌ヨ + deviceMaintenanceExport: "/device-maintain/deviceMaintenanceExport", // 璁惧缁存姢瀵煎嚭 + deviceMaintenanceDelete: "/device-maintain/delete", // 璁惧缁存姢鍒犻櫎 + deviceMaintainAdd: "/device-maintain", // 璁惧缁存姢鏂板 + saveDeviceState: "/deviceState/saveDeviceState", // 璁惧鍚敤/鍋滅敤 淇濆瓨锛屾彁浜わ紝椹冲洖锛岄�氳繃鎺ュ彛 + getDeviceStatePage: "/deviceState/getDeviceStatePage", // 璁惧鍚敤/鍋滅敤 鍒嗛〉 + deleteDeviceState: "/deviceState/deleteDeviceState", // 璁惧鍚敤/鍋滅敤 鍒犻櫎 + deviceFaultOnePage: "/deviceFaultOne/deviceFaultOnePage", // 璁惧鏁呴殰琛� 鍒嗛〉鏌ヨ + addOrUpdateDeviceFaultOne: "/deviceFaultOne/addOrUpdateDeviceFaultOne", + deleteDeviceFaultOne: "/deviceFaultOne/deleteDeviceFaultOne", // 鍒犻櫎 璁惧鏁呴殰 + deviceMetricRecordPage: "/deviceMetricRecord/deviceMetricRecordPage", // 璁惧鏍″噯 鍒嗛〉鏌ヨ + addOrUpdateDeviceMetricRecord: + "/deviceMetricRecord/addOrUpdateDeviceMetricRecord", // 璁惧鏍″噯 鏂板 鏇存柊 + deleteDeviceMetricRecord: "/deviceMetricRecord/deleteDeviceMetricRecord", // 璁惧鏍″噯 鍒犻櫎 + showDeviceMetricsCopy: "/deviceMetricRecord/showDeviceMetricsCopy", // 璁惧鏍″噯 鏌ヨ鏍″噯鏉$洰 + selectDeviceMetric: "/deviceMetrics/selectDeviceMetric", // 璁惧鏍″噯 璁惧缁存姢琛� 鏌ヨ + saveOrUpdateDeviceMetric: "/deviceMetrics/saveOrUpdateDeviceMetric", // 璁惧鏍″噯 鏂板 鏇存柊 + deleteDeviceMetrics: "/deviceMetrics/deleteDeviceMetrics", // 璁惧鏍″噯 鍒犻櫎 + rewardPunishmentExport: + "/personRewardPunishmentRecord/rewardPunishmentExport", // 濂栨儵璁板綍 瀵煎嚭 + exportRewardAndPunishmentRecords: + "/deviceFaultOne/exportRewardAndPunishmentRecords", // 濂栨儵璁板綍瀵煎嚭 deviceStateExport: "/deviceState/deviceStateExport", // 璁惧鐘舵�� newHomeworkGuidebookAdded: "/instruction/newHomeworkGuidebookAdded", // 浣滀笟鎸囧涔︽柊澧� - pageByPageQueryOfHomeworkInstructions: "/instruction/pageByPageQueryOfHomeworkInstructions", // 浣滀笟鎸囧涔� 鏌ヨ + pageByPageQueryOfHomeworkInstructions: + "/instruction/pageByPageQueryOfHomeworkInstructions", // 浣滀笟鎸囧涔� 鏌ヨ homeworkGuidebookEditor: "/instruction/homeworkGuidebookEditor", // 浣滀笟鎸囧涔� 缂栬緫鏌ヨ deleteHomeworkGuidebook: "/instruction/deleteHomeworkGuidebook", // 浣滀笟鎸囧涔﹀彈鎺ф枃浠跺垹闄� homeworkGuidebook: "/instruction/homeworkGuidebook", // 浣滀笟鎸囧涔� 鍒犻櫎 - approvalOfHomeworkInstructionManual: "/instruction/approvalOfHomeworkInstructionManual", // 浣滀笟鎸囧涔� 瀹℃壒 - deviceMetricRecordExport: '/deviceMetricRecord/deviceMetricRecordExport', // 璁惧鏍″噯 瀵煎嚭 + approvalOfHomeworkInstructionManual: + "/instruction/approvalOfHomeworkInstructionManual", // 浣滀笟鎸囧涔� 瀹℃壒 + deviceMetricRecordExport: "/deviceMetricRecord/deviceMetricRecordExport" // 璁惧鏍″噯 瀵煎嚭 +}; + +//璁惧鎿嶄綔鏃ュ織鍜岃褰� +const deviceOperate = { + list: "/api/device-log" }; // 娌熼�氳褰� const personCommunicationAbility = { - exportPersonCommunicationAbility:'/personCommunicationAbility/exportPersonCommunicationAbility',//瀵煎嚭 -} + exportPersonCommunicationAbility: + "/personCommunicationAbility/exportPersonCommunicationAbility" //瀵煎嚭 +}; const procurementSuppliesContents = { directoryListing: "/procurementSuppliesContents/directoryListing", // 閲囪喘鐗╄祫鐩綍鍒楄〃 - selectById: "/procurementSuppliesContents/selectProcurementSuppliesContentById", // 閲囪喘鐗╄祫鐩綍璇︽儏 + selectById: + "/procurementSuppliesContents/selectProcurementSuppliesContentById", // 閲囪喘鐗╄祫鐩綍璇︽儏 add: "/procurementSuppliesContents/addProcurementSuppliesContents", // 閲囪喘鐗╄祫鐩綍鏂板 update: "/procurementSuppliesContents/updateProcurementSuppliesContents", // 閲囪喘鐗╄祫鐩綍淇敼 - deleteById: "/procurementSuppliesContents/deleteProcurementSuppliesContentById", // 閲囪喘鐗╄祫鐩綍鍒犻櫎 + deleteById: + "/procurementSuppliesContents/deleteProcurementSuppliesContentById", // 閲囪喘鐗╄祫鐩綍鍒犻櫎 getUserList: "/procurementSuppliesContents/getUserList", // 閲囪喘鐗╄祫鐩綍鑾峰彇鐢ㄦ埛鍒楄〃 getNodeNames: "/procurementSuppliesContents/getNodeNames", // 閲囪喘鐗╄祫鐩綍鑾峰彇鑺傜偣鍚嶇О - selectSuppliersDirectoryContentsById:'/suppliersDirectoryContents/selectSuppliersDirectoryContentsById',//渚涘簲鍟嗙洰褰曡鎯� -} + selectSuppliersDirectoryContentsById: + "/suppliersDirectoryContents/selectSuppliersDirectoryContentsById" //渚涘簲鍟嗙洰褰曡鎯� +}; const procurementSuppliesStore = { - storeList: '/procurementSuppliesStore/storeList', // 鑰楁潗鍏ュ簱鍒楄〃 - addStore: '/procurementSuppliesStore/addStore', // 鑰楁潗鍏ュ簱鏂板 - deleteStore: '/procurementSuppliesStore/deleteStore', // 鑰楁潗鍏ュ簱鍒犻櫎 - updateStore: '/procurementSuppliesStore/updateStore', // 鑰楁潗鍏ュ簱淇敼 - selectStoreById: '/procurementSuppliesStore/selectStoreById', // 鏍规嵁id鏌ヨ鑰楁潗鍏ュ簱 - exportExcel: '/procurementSuppliesStore/exportExcel', // 鑰楁潗鍏ュ簱瀵煎嚭 - updateStore: '/procurementSuppliesStore/updateStore', // 鑰楁潗鍏ュ簱淇敼 -} + storeList: "/procurementSuppliesStore/storeList", // 鑰楁潗鍏ュ簱鍒楄〃 + addStore: "/procurementSuppliesStore/addStore", // 鑰楁潗鍏ュ簱鏂板 + deleteStore: "/procurementSuppliesStore/deleteStore", // 鑰楁潗鍏ュ簱鍒犻櫎 + updateStore: "/procurementSuppliesStore/updateStore", // 鑰楁潗鍏ュ簱淇敼 + selectStoreById: "/procurementSuppliesStore/selectStoreById", // 鏍规嵁id鏌ヨ鑰楁潗鍏ュ簱 + exportExcel: "/procurementSuppliesStore/exportExcel", // 鑰楁潗鍏ュ簱瀵煎嚭 + updateStore: "/procurementSuppliesStore/updateStore" // 鑰楁潗鍏ュ簱淇敼 +}; // 璁惧楠屾敹锛堣澶囷級 const deviceAcceptance = { - addDeviceAcceptance: '/deviceAcceptance/addDeviceAcceptance', // 鏂板璁惧楠屾敹 - updateDeviceAcceptance: '/deviceAcceptance/updateDeviceAcceptance', // 缂栬緫璁惧楠屾敹 - delDeviceAcceptance: '/deviceAcceptance/delDeviceAcceptance', // 鍒犻櫎璁惧楠屾敹 - delDeviceAcceptanceFileList: '/deviceAcceptance/delDeviceAcceptanceFileList', // 璁惧楠屾敹闄勪欢鍒犻櫎 - getDeviceAcceptance: '/deviceAcceptance/getDeviceAcceptance', // 鏌ヨ璁惧楠屾敹 - getDeviceAcceptanceFileList: '/deviceAcceptance/getDeviceAcceptanceFileList', // 璁惧楠屾敹闄勪欢鍒楄〃 - pageDeviceAcceptance: '/deviceAcceptance/pageDeviceAcceptance', // 璁惧楠屾敹鍒楄〃 - uploadDeviceAcceptanceFile: '/deviceAcceptance/uploadDeviceAcceptanceFile', // 璁惧楠屾敹闄勪欢鏂板 - exportDeviceAcceptance: '/deviceAcceptance/exportDeviceAcceptance', // 瀵煎嚭 -} + addDeviceAcceptance: "/deviceAcceptance/addDeviceAcceptance", // 鏂板璁惧楠屾敹 + updateDeviceAcceptance: "/deviceAcceptance/updateDeviceAcceptance", // 缂栬緫璁惧楠屾敹 + delDeviceAcceptance: "/deviceAcceptance/delDeviceAcceptance", // 鍒犻櫎璁惧楠屾敹 + delDeviceAcceptanceFileList: "/deviceAcceptance/delDeviceAcceptanceFileList", // 璁惧楠屾敹闄勪欢鍒犻櫎 + getDeviceAcceptance: "/deviceAcceptance/getDeviceAcceptance", // 鏌ヨ璁惧楠屾敹 + getDeviceAcceptanceFileList: "/deviceAcceptance/getDeviceAcceptanceFileList", // 璁惧楠屾敹闄勪欢鍒楄〃 + pageDeviceAcceptance: "/deviceAcceptance/pageDeviceAcceptance", // 璁惧楠屾敹鍒楄〃 + uploadDeviceAcceptanceFile: "/deviceAcceptance/uploadDeviceAcceptanceFile", // 璁惧楠屾敹闄勪欢鏂板 + exportDeviceAcceptance: "/deviceAcceptance/exportDeviceAcceptance" // 瀵煎嚭 +}; // 璁惧浜嬫晠 const deviceAccidentReport = { - addDeviceAccidentReport: '/deviceAccidentReport/addDeviceAccidentReport', // 鏂板璁惧浜嬫晠鎶ュ憡 - delDeviceAccidentReport: '/deviceAccidentReport/delDeviceAccidentReport', // 鍒犻櫎璁惧浜嬫晠鎶ュ憡 - getDeviceAccidentReport: '/deviceAccidentReport/getDeviceAccidentReport', // 鏌ヨ璁惧浜嬫晠鎶ュ憡 - pageDeviceAccidentReport: '/deviceAccidentReport/pageDeviceAccidentReport', // 璁惧浜嬫晠鎶ュ憡鍒楄〃 - exportDeviceAccidentReport: '/deviceAccidentReport/exportDeviceAccidentReport', // 瀵煎嚭 -} + addDeviceAccidentReport: "/deviceAccidentReport/addDeviceAccidentReport", // 鏂板璁惧浜嬫晠鎶ュ憡 + delDeviceAccidentReport: "/deviceAccidentReport/delDeviceAccidentReport", // 鍒犻櫎璁惧浜嬫晠鎶ュ憡 + getDeviceAccidentReport: "/deviceAccidentReport/getDeviceAccidentReport", // 鏌ヨ璁惧浜嬫晠鎶ュ憡 + pageDeviceAccidentReport: "/deviceAccidentReport/pageDeviceAccidentReport", // 璁惧浜嬫晠鎶ュ憡鍒楄〃 + exportDeviceAccidentReport: "/deviceAccidentReport/exportDeviceAccidentReport" // 瀵煎嚭 +}; // 璁惧鏍告煡璁″垝 const deviceExaminePlan = { - addDeviceExaminePlanDetail: '/deviceExaminePlan/addDeviceExaminePlanDetail', // 鏂板璁惧鏍告煡璁″垝璇︽儏 - addExamineRecord: '/deviceExaminePlan/addExamineRecord', // 鏂板鏍告煡璁板綍 - addExamineRecordContrast: '/deviceExaminePlan/addExamineRecordContrast', // 鏂板鏍告煡瀵规瘮璁板綍 - delDeviceExaminePlanDetail: '/deviceExaminePlan/delDeviceExaminePlanDetail', // 鍒犻櫎璁惧鏍告煡璁″垝璇︽儏 - delQualitySupervise: '/deviceExaminePlan/delQualitySupervise', // 璁惧鏍告煡璁″垝鍒犻櫎 - exportDeviceExaminePlanDetail: '/deviceExaminePlan/exportDeviceExaminePlanDetail', // 瀵煎嚭璁惧鏍告煡璁″垝 - getExamineRecord: '/deviceExaminePlan/getExamineRecord', // 鏌ヨ鏍告煡璁板綍 - getExamineRecordContrast: '/deviceExaminePlan/getExamineRecordContrast', // 鏌ヨ鏍告煡瀵规瘮璁板綍 - importDeviceExaminePlan: '/deviceExaminePlan/importDeviceExaminePlan', // 瀵煎叆璁惧鏍告煡璁″垝 - pageDeviceExaminePlan: '/deviceExaminePlan/pageDeviceExaminePlan', // 璁惧鏍告煡璁″垝鍒楄〃 - pageDeviceExaminePlanDetail: '/deviceExaminePlan/pageDeviceExaminePlanDetail', // 璁惧鏍告煡璁″垝璇︽儏鍒楄〃 - ratifyDeviceExaminePlan: '/deviceExaminePlan/ratifyDeviceExaminePlan', // 璁惧鏍告煡璁″垝鎵瑰噯 - reviewExamineRecord: '/deviceExaminePlan/reviewExamineRecord', // 澶嶆牳鏍告煡璁板綍 - reviewExamineRecordContrast: '/deviceExaminePlan/reviewExamineRecordContrast', // 瀹℃牳鏍告煡瀵规瘮璁板綍 - updateDeviceExaminePlanDetail: '/deviceExaminePlan/updateDeviceExaminePlanDetail', // 淇敼璁惧鏍告煡璁″垝璇︽儏 - exportReviewExamineRecordDetail: '/deviceExaminePlan/exportReviewExamineRecordDetail', // 鏍告煡璁板綍瀵煎嚭 - exportReviewExamineRecordContrast: '/deviceExaminePlan/exportReviewExamineRecordContrast', // 鏍告煡瀵规瘮瀵煎嚭 - addDeviceExaminePlan: '/deviceExaminePlan/addDeviceExaminePlan', // 娣诲姞璁惧鏍告煡璁″垝 -} + addDeviceExaminePlanDetail: "/deviceExaminePlan/addDeviceExaminePlanDetail", // 鏂板璁惧鏍告煡璁″垝璇︽儏 + addExamineRecord: "/deviceExaminePlan/addExamineRecord", // 鏂板鏍告煡璁板綍 + addExamineRecordContrast: "/deviceExaminePlan/addExamineRecordContrast", // 鏂板鏍告煡瀵规瘮璁板綍 + delDeviceExaminePlanDetail: "/deviceExaminePlan/delDeviceExaminePlanDetail", // 鍒犻櫎璁惧鏍告煡璁″垝璇︽儏 + delQualitySupervise: "/deviceExaminePlan/delQualitySupervise", // 璁惧鏍告煡璁″垝鍒犻櫎 + exportDeviceExaminePlanDetail: + "/deviceExaminePlan/exportDeviceExaminePlanDetail", // 瀵煎嚭璁惧鏍告煡璁″垝 + getExamineRecord: "/deviceExaminePlan/getExamineRecord", // 鏌ヨ鏍告煡璁板綍 + getExamineRecordContrast: "/deviceExaminePlan/getExamineRecordContrast", // 鏌ヨ鏍告煡瀵规瘮璁板綍 + importDeviceExaminePlan: "/deviceExaminePlan/importDeviceExaminePlan", // 瀵煎叆璁惧鏍告煡璁″垝 + pageDeviceExaminePlan: "/deviceExaminePlan/pageDeviceExaminePlan", // 璁惧鏍告煡璁″垝鍒楄〃 + pageDeviceExaminePlanDetail: "/deviceExaminePlan/pageDeviceExaminePlanDetail", // 璁惧鏍告煡璁″垝璇︽儏鍒楄〃 + ratifyDeviceExaminePlan: "/deviceExaminePlan/ratifyDeviceExaminePlan", // 璁惧鏍告煡璁″垝鎵瑰噯 + reviewExamineRecord: "/deviceExaminePlan/reviewExamineRecord", // 澶嶆牳鏍告煡璁板綍 + reviewExamineRecordContrast: "/deviceExaminePlan/reviewExamineRecordContrast", // 瀹℃牳鏍告煡瀵规瘮璁板綍 + updateDeviceExaminePlanDetail: + "/deviceExaminePlan/updateDeviceExaminePlanDetail", // 淇敼璁惧鏍告煡璁″垝璇︽儏 + exportReviewExamineRecordDetail: + "/deviceExaminePlan/exportReviewExamineRecordDetail", // 鏍告煡璁板綍瀵煎嚭 + exportReviewExamineRecordContrast: + "/deviceExaminePlan/exportReviewExamineRecordContrast", // 鏍告煡瀵规瘮瀵煎嚭 + addDeviceExaminePlan: "/deviceExaminePlan/addDeviceExaminePlan" // 娣诲姞璁惧鏍告煡璁″垝 +}; // 璁惧鏍″噯璁″垝 const deviceCalibrationPlan = { - pageDeviceCalibrationPlan: '/deviceCalibrationPlan/pageDeviceCalibrationPlan', // 璁惧鏍″噯璁″垝鍒楄〃鏌ヨ - importDeviceCalibrationPlan: '/deviceCalibrationPlan/importDeviceCalibrationPlan', // 瀵煎叆璁惧鏍″噯璁� - ratifyDeviceCalibrationPlan: '/deviceCalibrationPlan/ratifyDeviceCalibrationPlan', // 璁惧鏍″噯璁″垝鎵瑰噯 - exportDeviceCalibrationPlanDetail: '/deviceCalibrationPlan/exportDeviceCalibrationPlanDetail', // 璁惧鏍″噯璁″垝瀵煎嚭 - delQualitySupervise: '/deviceCalibrationPlan/delQualitySupervise', // 璁惧鏍″噯璁″垝鍒犻櫎 - pageDeviceCalibrationPlanDetail: '/deviceCalibrationPlan/pageDeviceCalibrationPlanDetail', // 璁惧鏍″噯璁″垝璇︽儏鍒楄〃 - addDeviceCalibrationPlanDetail: '/deviceCalibrationPlan/addDeviceCalibrationPlanDetail', // 鏂板璁惧鏍″噯璁″垝璇︽儏 - updateDeviceCalibrationPlanDetail: '/deviceCalibrationPlan/updateDeviceCalibrationPlanDetail', // 淇敼璁惧鏍″噯璁″垝璇︽儏 - delDeviceCalibrationPlanDetail: '/deviceCalibrationPlan/delDeviceCalibrationPlanDetail', // 璁惧鏍″噯璁″垝璇︽儏鍒犻櫎 - addDeviceCalibrationPlan: '/deviceCalibrationPlan/addDeviceCalibrationPlan', // 鏂板璁惧鏍″噯璁″垝 -} + pageDeviceCalibrationPlan: "/deviceCalibrationPlan/pageDeviceCalibrationPlan", // 璁惧鏍″噯璁″垝鍒楄〃鏌ヨ + importDeviceCalibrationPlan: + "/deviceCalibrationPlan/importDeviceCalibrationPlan", // 瀵煎叆璁惧鏍″噯璁� + ratifyDeviceCalibrationPlan: + "/deviceCalibrationPlan/ratifyDeviceCalibrationPlan", // 璁惧鏍″噯璁″垝鎵瑰噯 + exportDeviceCalibrationPlanDetail: + "/deviceCalibrationPlan/exportDeviceCalibrationPlanDetail", // 璁惧鏍″噯璁″垝瀵煎嚭 + delQualitySupervise: "/deviceCalibrationPlan/delQualitySupervise", // 璁惧鏍″噯璁″垝鍒犻櫎 + pageDeviceCalibrationPlanDetail: + "/deviceCalibrationPlan/pageDeviceCalibrationPlanDetail", // 璁惧鏍″噯璁″垝璇︽儏鍒楄〃 + addDeviceCalibrationPlanDetail: + "/deviceCalibrationPlan/addDeviceCalibrationPlanDetail", // 鏂板璁惧鏍″噯璁″垝璇︽儏 + updateDeviceCalibrationPlanDetail: + "/deviceCalibrationPlan/updateDeviceCalibrationPlanDetail", // 淇敼璁惧鏍″噯璁″垝璇︽儏 + delDeviceCalibrationPlanDetail: + "/deviceCalibrationPlan/delDeviceCalibrationPlanDetail", // 璁惧鏍″噯璁″垝璇︽儏鍒犻櫎 + addDeviceCalibrationPlan: "/deviceCalibrationPlan/addDeviceCalibrationPlan" // 鏂板璁惧鏍″噯璁″垝 +}; // 鍊熺敤澶栭儴浠櫒 const deviceExternalApply = { - addDeviceExternalApply: '/deviceExternalApply/addDeviceExternalApply', // 鏂板鍒╃敤澶栭儴璁惧鐢宠 - delDeviceExternalApply: '/deviceExternalApply/delDeviceExternalApply', // 鍒犻櫎鍒╃敤澶栭儴璁惧鐢宠 - getDeviceExternalApply: '/deviceExternalApply/getDeviceExternalApply', // 鏌ヨ鍒╃敤澶栭儴璁惧鐢宠 - pageDeviceExternalApply: '/deviceExternalApply/pageDeviceExternalApply', // 鍒╃敤澶栭儴璁惧鐢宠鍒楄〃 - exportDeviceExternalApply: '/deviceExternalApply/exportDeviceExternalApply', // 瀵煎嚭 -} + addDeviceExternalApply: "/deviceExternalApply/addDeviceExternalApply", // 鏂板鍒╃敤澶栭儴璁惧鐢宠 + delDeviceExternalApply: "/deviceExternalApply/delDeviceExternalApply", // 鍒犻櫎鍒╃敤澶栭儴璁惧鐢宠 + getDeviceExternalApply: "/deviceExternalApply/getDeviceExternalApply", // 鏌ヨ鍒╃敤澶栭儴璁惧鐢宠 + pageDeviceExternalApply: "/deviceExternalApply/pageDeviceExternalApply", // 鍒╃敤澶栭儴璁惧鐢宠鍒楄〃 + exportDeviceExternalApply: "/deviceExternalApply/exportDeviceExternalApply" // 瀵煎嚭 +}; // 璁惧鏁呴殰涓庣淮淇� const deviceBreakdownMaintenance = { - addDeviceBreakdownMaintenance: '/deviceBreakdownMaintenance/addDeviceBreakdownMaintenance', // 鏂板璁惧鏁呴殰缁翠慨 - delDeviceBreakdownMaintenance: '/deviceBreakdownMaintenance/delDeviceBreakdownMaintenance', // 鍒犻櫎璁惧鏁呴殰缁翠慨 - getDeviceBreakdownMaintenance: '/deviceBreakdownMaintenance/getDeviceBreakdownMaintenance', // 鏌ヨ璁惧鏁呴殰缁翠慨 - pageDeviceBreakdownMaintenance: '/deviceBreakdownMaintenance/pageDeviceBreakdownMaintenance', // 璁惧鏁呴殰缁翠慨鍒楄〃 - exportDeviceBreakdownMaintenance: '/deviceBreakdownMaintenance/exportDeviceBreakdownMaintenance', // 瀵煎嚭 -} + addDeviceBreakdownMaintenance: + "/deviceBreakdownMaintenance/addDeviceBreakdownMaintenance", // 鏂板璁惧鏁呴殰缁翠慨 + delDeviceBreakdownMaintenance: + "/deviceBreakdownMaintenance/delDeviceBreakdownMaintenance", // 鍒犻櫎璁惧鏁呴殰缁翠慨 + getDeviceBreakdownMaintenance: + "/deviceBreakdownMaintenance/getDeviceBreakdownMaintenance", // 鏌ヨ璁惧鏁呴殰缁翠慨 + pageDeviceBreakdownMaintenance: + "/deviceBreakdownMaintenance/pageDeviceBreakdownMaintenance", // 璁惧鏁呴殰缁翠慨鍒楄〃 + exportDeviceBreakdownMaintenance: + "/deviceBreakdownMaintenance/exportDeviceBreakdownMaintenance" // 瀵煎嚭 +}; // 璁惧淇濆吇 const deviceMaintenancePlan = { - addMaintenancePlan: '/deviceMaintenancePlan/addMaintenancePlan', // 鏂板璁惧淇濆吇璁″垝 - deleteMaintenancePlan: '/deviceMaintenancePlan/deleteMaintenancePlan', // 鍒犻櫎璁惧淇濆吇璁″垝 - exportDeviceMaintenancePlan: '/deviceMaintenancePlan/exportDeviceMaintenancePlan', // 瀵煎嚭璁惧淇濆吇璁″垝 - getMaintenancePlanDetail: '/deviceMaintenancePlan/getMaintenancePlanDetail', // 鏌ヨ璁惧淇濆吇璁″垝璇︽儏 - reviewMaintenancePlanStatus: '/deviceMaintenancePlan/reviewMaintenancePlanStatus', // 淇濆吇璁″垝瀹℃牳鐘舵�佷慨鏀� - selectDeviceMaintenancePlanByPage: '/deviceMaintenancePlan/selectDeviceMaintenancePlanByPage', // 鍒嗛〉鏌ヨ璁惧淇濆吇璁″垝 - updateMaintenancePlan: '/deviceMaintenancePlan/updateMaintenancePlan', // 淇敼璁惧淇濆吇璁″垝 -} + addMaintenancePlan: "/deviceMaintenancePlan/addMaintenancePlan", // 鏂板璁惧淇濆吇璁″垝 + deleteMaintenancePlan: "/deviceMaintenancePlan/deleteMaintenancePlan", // 鍒犻櫎璁惧淇濆吇璁″垝 + exportDeviceMaintenancePlan: + "/deviceMaintenancePlan/exportDeviceMaintenancePlan", // 瀵煎嚭璁惧淇濆吇璁″垝 + getMaintenancePlanDetail: "/deviceMaintenancePlan/getMaintenancePlanDetail", // 鏌ヨ璁惧淇濆吇璁″垝璇︽儏 + reviewMaintenancePlanStatus: + "/deviceMaintenancePlan/reviewMaintenancePlanStatus", // 淇濆吇璁″垝瀹℃牳鐘舵�佷慨鏀� + selectDeviceMaintenancePlanByPage: + "/deviceMaintenancePlan/selectDeviceMaintenancePlanByPage", // 鍒嗛〉鏌ヨ璁惧淇濆吇璁″垝 + updateMaintenancePlan: "/deviceMaintenancePlan/updateMaintenancePlan" // 淇敼璁惧淇濆吇璁″垝 +}; // 璁惧鎶ュ簾 const deviceScrapped = { - addDeviceScrapped: '/deviceScrapped/addDeviceScrapped', // 鏂板璁惧鎶ュ簾鐢宠 - delDeviceScrapped: '/deviceScrapped/delDeviceScrapped', // 鍒犻櫎璁惧鎶ュ簾鐢宠 - getDeviceScrapped: '/deviceScrapped/getDeviceScrapped', // 鏌ヨ璁惧鎶ュ簾鐢宠 - pageDeviceScrapped: '/deviceScrapped/pageDeviceScrapped', // 璁惧鎶ュ簾鐢宠鍒楄〃 - exportDeviceScrapped: '/deviceScrapped/exportDeviceScrapped', // 瀵煎嚭 -} + addDeviceScrapped: "/deviceScrapped/addDeviceScrapped", // 鏂板璁惧鎶ュ簾鐢宠 + delDeviceScrapped: "/deviceScrapped/delDeviceScrapped", // 鍒犻櫎璁惧鎶ュ簾鐢宠 + getDeviceScrapped: "/deviceScrapped/getDeviceScrapped", // 鏌ヨ璁惧鎶ュ簾鐢宠 + pageDeviceScrapped: "/deviceScrapped/pageDeviceScrapped", // 璁惧鎶ュ簾鐢宠鍒楄〃 + exportDeviceScrapped: "/deviceScrapped/exportDeviceScrapped" // 瀵煎嚭 +}; // 璁惧鐐规 const deviceInspectionRecord = { - addDeviceInspectionRecord: '/deviceInspectionRecord/addDeviceInspectionRecord', // 鏂板璁惧鐐规璁板綍 - deleteDeviceInspectionRecord: '/deviceInspectionRecord/deleteDeviceInspectionRecord', // 鍒犻櫎璁惧鐐规璁板綍 - exportDeviceInspectionRecord: '/deviceInspectionRecord/exportDeviceInspectionRecord', // 瀵煎嚭璁惧鐐规璁板綍 - getDeviceInspectionRecordByPage: '/deviceInspectionRecord/getDeviceInspectionRecordByPage', // 鍒嗛〉鏌ヨ璁惧鐐规璁板綍 - updateDeviceInspectionRecord: '/deviceInspectionRecord/updateDeviceInspectionRecord', // 淇敼璁惧鐐规璁板綍 - reviewDeviceInspectionRecord: '/deviceInspectionRecord/reviewDeviceInspectionRecord', // 澶嶆牳璁惧鐐规璁板綍 - getDeviceInspectionRecord: '/deviceInspectionRecord/getDeviceInspectionRecord', // 璁惧鐐规璁板綍璇︽儏 -} + addDeviceInspectionRecord: + "/deviceInspectionRecord/addDeviceInspectionRecord", // 鏂板璁惧鐐规璁板綍 + deleteDeviceInspectionRecord: + "/deviceInspectionRecord/deleteDeviceInspectionRecord", // 鍒犻櫎璁惧鐐规璁板綍 + exportDeviceInspectionRecord: + "/deviceInspectionRecord/exportDeviceInspectionRecord", // 瀵煎嚭璁惧鐐规璁板綍 + getDeviceInspectionRecordByPage: + "/deviceInspectionRecord/getDeviceInspectionRecordByPage", // 鍒嗛〉鏌ヨ璁惧鐐规璁板綍 + updateDeviceInspectionRecord: + "/deviceInspectionRecord/updateDeviceInspectionRecord", // 淇敼璁惧鐐规璁板綍 + reviewDeviceInspectionRecord: + "/deviceInspectionRecord/reviewDeviceInspectionRecord", // 澶嶆牳璁惧鐐规璁板綍 + getDeviceInspectionRecord: "/deviceInspectionRecord/getDeviceInspectionRecord" // 璁惧鐐规璁板綍璇︽儏 +}; // 璁惧閲忓�兼函婧愯鍒� const deviceTraceabilityManagement = { - addTraceabilityManagement: '/deviceTraceabilityManagement/addTraceabilityManagement', // 鏂板閲忓�兼函婧愯鍒� - deleteTraceabilityManagement: '/deviceTraceabilityManagement/deleteTraceabilityManagement', // 鍒犻櫎閲忓�兼函婧愯鍒� - exportDeviceTraceabilityManagement: '/deviceTraceabilityManagement/exportDeviceTraceabilityManagement', // 瀵煎嚭閲忓�兼函婧愯鍒� - getTraceabilityManagementDetail: '/deviceTraceabilityManagement/getTraceabilityManagementDetail', // 鏌ヨ閲忓�兼函婧愯鍒掕鎯� - reviewTraceabilityManagementStatus: '/deviceTraceabilityManagement/reviewTraceabilityManagementStatus', // 閲忓�兼函婧愯鍒掑鏍哥姸鎬佷慨鏀� - selectDeviceTraceabilityManagementByPage: '/deviceTraceabilityManagement/selectDeviceTraceabilityManagementByPage', // 鍒嗛〉鏌ヨ閲忓�兼函婧愯鍒� - updateTraceabilityManagement: '/deviceTraceabilityManagement/updateTraceabilityManagement', // 淇敼閲忓�兼函婧愯鍒� -} + addTraceabilityManagement: + "/deviceTraceabilityManagement/addTraceabilityManagement", // 鏂板閲忓�兼函婧愯鍒� + deleteTraceabilityManagement: + "/deviceTraceabilityManagement/deleteTraceabilityManagement", // 鍒犻櫎閲忓�兼函婧愯鍒� + exportDeviceTraceabilityManagement: + "/deviceTraceabilityManagement/exportDeviceTraceabilityManagement", // 瀵煎嚭閲忓�兼函婧愯鍒� + getTraceabilityManagementDetail: + "/deviceTraceabilityManagement/getTraceabilityManagementDetail", // 鏌ヨ閲忓�兼函婧愯鍒掕鎯� + reviewTraceabilityManagementStatus: + "/deviceTraceabilityManagement/reviewTraceabilityManagementStatus", // 閲忓�兼函婧愯鍒掑鏍哥姸鎬佷慨鏀� + selectDeviceTraceabilityManagementByPage: + "/deviceTraceabilityManagement/selectDeviceTraceabilityManagementByPage", // 鍒嗛〉鏌ヨ閲忓�兼函婧愯鍒� + updateTraceabilityManagement: + "/deviceTraceabilityManagement/updateTraceabilityManagement" // 淇敼閲忓�兼函婧愯鍒� +}; diff --git a/src/components/do/a6-device/device-overview.vue b/src/components/do/a6-device/device-overview.vue index ed1ab0d..a3f83c7 100644 --- a/src/components/do/a6-device/device-overview.vue +++ b/src/components/do/a6-device/device-overview.vue @@ -49,7 +49,7 @@ width: 380px; height: 165px; border-radius: 8px 8px 8px 8px; - border: 1px solid #EEEEEE; + border: 1px solid #eeeeee; margin: 0 !important; display: flex; align-items: center; @@ -76,7 +76,7 @@ .text-truncate { overflow: hidden; text-overflow: ellipsis; - white-space: nowrap + white-space: nowrap; } .circles { @@ -128,15 +128,15 @@ } .success .circle { - background: #34BD66; + background: #34bd66; } .danger .circle { - background: #FF3838; + background: #ff3838; } .warning .circle { - background: #FBB247; + background: #fbb247; } .info .circle { background: #909399; @@ -148,20 +148,45 @@ <div> <el-form :model="entity" inline label-position="right" label-width="80px"> <el-form-item label="鐘舵��:"> - <el-select v-model="entity.deviceStatus" placeholder="鍏ㄩ儴" size="small" clearable> - <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> + <el-select + v-model="entity.deviceStatus" + placeholder="鍏ㄩ儴" + size="small" + clearable + > + <el-option + v-for="item in options" + :key="item.value" + :label="item.label" + :value="item.value" + > </el-option> </el-select> </el-form-item> <el-form-item label="璁惧鍚嶇О:"> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="entity.deviceName"></el-input> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="entity.deviceName" + ></el-input> </el-form-item> <el-form-item> <el-button size="small" @click="refresh()">閲� 缃�</el-button> </el-form-item> <el-form-item> - <el-button size="small" type="primary" - @click="currentPage = 1, keyMap = {}, list = [], finishLoding = false, refreshTable()">鏌� 璇�</el-button> + <el-button + size="small" + type="primary" + @click=" + (currentPage = 1), + (keyMap = {}), + (list = []), + (finishLoding = false), + refreshTable() + " + >鏌� 璇�</el-button + > </el-form-item> </el-form> <!-- <div class="search_thing"> @@ -179,43 +204,61 @@ </div> </div> --> - <!-- <div class="search_thing" style="padding-left: 30px;"> </div> --> </div> <div class="table" v-loading="loading"> - <scroll-pagination @load="refreshTable()" :finishLoding="finishLoding" :list="list" - v-if="list.length > 0 || loading"> + <scroll-pagination + @load="refreshTable()" + :finishLoding="finishLoding" + :list="list" + v-if="list.length > 0 || loading" + > <ul class="card"> <li v-for="(m, i) in list" :key="i"> <el-image class="img" :src="javaApi + '/img/' + m.imageUpload"> - <div slot="error" class="image-error" style="width: 112px; + <div + slot="error" + class="image-error" + style="width: 112px; height: 112px; border-radius: 16px; display: flex; align-items: center; justify-content: center; - border: 1px solid #EEEEEE;"> - <i class="el-icon-picture-outline" style="font-size:30px;color:#666666;"></i> + border: 1px solid #EEEEEE;" + > + <i + class="el-icon-picture-outline" + style="font-size:30px;color:#666666;" + ></i> </div> </el-image> <div class="list-left"> <div class="list-left-info"> <span class="label">璁惧鍚嶇О锛�</span> - <span style="color:#3A7BFA; + <span + style="color:#3A7BFA; font-size: 16px; display: inline-block; width: 129px; - word-break: break-all;" class="text-truncate" :title="m.deviceName">{{ m.deviceName ? m.deviceName : '鏃�' }}</span> + word-break: break-all;" + class="text-truncate" + :title="m.deviceName" + >{{ m.deviceName ? m.deviceName : "鏃�" }}</span + > </div> <div class="list-left-info"> <span class="label">瑙勬牸鍨嬪彿锛�</span> - <span style="color:#333333;font-size: 16px;">{{ m.specificationModel ? m.specificationModel : '鏃�' - }}</span> + <span style="color:#333333;font-size: 16px;">{{ + m.specificationModel ? m.specificationModel : "鏃�" + }}</span> </div> <div class="list-left-info"> <span class="label">鐘舵�侊細</span> - <el-tag :type="m.type" v-if="m.deviceStatusName">{{ m.deviceStatusName }}</el-tag> + <el-tag :type="m.type" v-if="m.deviceStatusName">{{ + m.deviceStatusName + }}</el-tag> <span v-else style="color:#333333;font-size: 16px;">鏃�</span> </div> </div> @@ -228,7 +271,10 @@ </li> </ul> </scroll-pagination> - <div v-if="list.length < 1 && !loading" style="color:#909399;font-size:14px;text-align: center;margin-top:200px"> + <div + v-if="list.length < 1 && !loading" + style="color:#909399;font-size:14px;text-align: center;margin-top:200px" + > 鏆傛棤鏁版嵁 </div> </div> @@ -236,7 +282,7 @@ </template> <script> -import ScrollPagination from '../../tool/scroll-paging.vue' +import ScrollPagination from "../../tool/scroll-paging.vue"; export default { props: { clickNodeVal: { @@ -260,90 +306,98 @@ list: [], currentPage: 1, // 褰撳墠椤� pageSize: 16, // 涓�椤�16鏉� - total: '', + total: "", loading: true, // 缁勪欢loading鐨勫睍绀�,榛樿涓簍rue finishLoding: false, // 鍔犺浇瀹屾垚锛屾樉绀哄凡缁忔病鏈夋洿澶氫簡 keyMap: {}, - laboratoryNameIsNull: false, - } + laboratoryNameIsNull: false + }; }, created() { - this.selectEnumByCategory() + this.selectEnumByCategory(); this.keyMap = {}; this.currentPage = 1; this.list = []; - this.clickSidebar(this.clickNodeVal) + this.clickSidebar(this.clickNodeVal); }, methods: { refreshTable() { - const key = `_${this.currentPage}` - const value = this.keyMap[key] + const key = `_${this.currentPage}`; + const value = this.keyMap[key]; // 濡傛灉value瀛樺湪锛岃〃绀虹紦瀛樻湁鍊硷紝閭d箞闃绘璇锋眰 if (value) { - return + return; } // value涓嶅瓨鍦紝琛ㄧず绗竴娆¤姹�,璁剧疆鍗犱綅 - this.keyMap[key] = 'temp' + this.keyMap[key] = "temp"; if (this.currentPage == 1) { - this.loading = true + this.loading = true; } - if(this.list.length==0){ - this.finishLoding = false; - } - this.$axios.post(this.$api.deviceScope.selectDeviceParameter + "?laboratoryNameIsNull=" + this.laboratoryNameIsNull, { - page: { - current: this.currentPage, - size: this.pageSize - }, - entity: this.entity - }, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { - if (res.code == 200) { - this.total = res.data.body.total - let list = res.data.body.records.map(m => { - switch (m.deviceStatus) { - case 0: - // 姝e父 - m.type = 'success' - break; - case 1: - // 缁翠慨 - m.type = 'warning' - break; - case 2: - // 鍋滅敤 - m.type = 'danger' - break; - case 3: - // 鎶ュ簾 - m.type = 'info' - break; + if (this.list.length == 0) { + this.finishLoding = false; + } + this.$axios + .post( + this.$api.deviceScope.selectDeviceParameter + + "?laboratoryNameIsNull=" + + this.laboratoryNameIsNull, + { + page: { + current: this.currentPage, + size: this.pageSize + }, + entity: this.entity + }, + { + headers: { + "Content-Type": "application/json" } - this.options.forEach(j => { - if (m.deviceStatus == j.value) { - m.deviceStatusName = j.label - } - }) - return m; - }) - if (list.length == 0) { - this.finishLoding = true; - } else { - if (list.length < this.pageSize) { - this.finishLoding = true; - } - this.list = this.list.concat(list) - if (this.total == this.list.length) { - this.finishLoding = true; - } - this.currentPage++; } - } - this.loading = false - }) + ) + .then(res => { + if (res.code == 200) { + this.total = res.data.body.total; + let list = res.data.body.records.map(m => { + switch (m.deviceStatus) { + case 0: + // 姝e父 + m.type = "success"; + break; + case 1: + // 缁翠慨 + m.type = "warning"; + break; + case 2: + // 鍋滅敤 + m.type = "danger"; + break; + case 3: + // 鎶ュ簾 + m.type = "info"; + break; + } + this.options.forEach(j => { + if (m.deviceStatus == j.value) { + m.deviceStatusName = j.label; + } + }); + return m; + }); + if (list.length == 0) { + this.finishLoding = true; + } else { + if (list.length < this.pageSize) { + this.finishLoding = true; + } + this.list = this.list.concat(list); + if (this.total == this.list.length) { + this.finishLoding = true; + } + this.currentPage++; + } + } + this.loading = false; + }); }, refresh() { this.keyMap = {}; @@ -355,44 +409,46 @@ deviceName: null, orderBy: { field: "id", order: "asc" } }; - this.refreshTable() + this.refreshTable(); }, // 鑾峰彇瀛楀吀 selectEnumByCategory() { - this.$axios.post(this.$api.enums.selectEnumByCategory, { - category: "璁惧鐘舵��" - }).then(res => { - this.options = res.data - }) + this.$axios + .post(this.$api.enums.selectEnumByCategory, { + category: "璁惧鐘舵��" + }) + .then(res => { + this.options = res.data; + }); }, // 鐐瑰嚮渚ц竟鏍忓埛鏂� clickSidebar(clickNodeVal) { - this.laboratoryNameIsNull = false + this.laboratoryNameIsNull = false; // 鏄惁瀛樺湪value锛屽瓨鍦╲alue浠h〃涓轰笁绾� if (!clickNodeVal.value) { this.finishLoding = false; this.keyMap = {}; this.currentPage = 1; this.list = []; - this.entity.laboratoryName = null - this.entity.storagePoint = null + this.entity.laboratoryName = null; + this.entity.storagePoint = null; // 绛変簬1浠h〃涓烘爲鐨勪竴绾э紝label涓洪儴闂� - if (clickNodeVal.label == '鍏朵粬') { - this.laboratoryNameIsNull = true + if (clickNodeVal.label == "鍏朵粬") { + this.laboratoryNameIsNull = true; this.refreshTable(); - return + return; } if (clickNodeVal.level == 1) { - this.entity.laboratoryName = clickNodeVal.label + this.entity.laboratoryName = clickNodeVal.label; // 绛変簬浜岀骇銆俵abel涓哄瓨鍌ㄥ湴鐐� } else if (clickNodeVal.level == 2) { // 鍏朵粬琛ㄧず娌℃湁閰嶇疆瀹為獙瀹わ紝鍙厤缃簡鍦扮偣 - if (clickNodeVal.parent.label == '鍏朵粬') { - this.laboratoryNameIsNull = true + if (clickNodeVal.parent.label == "鍏朵粬") { + this.laboratoryNameIsNull = true; } else { - this.entity.laboratoryName = clickNodeVal.parent.label + this.entity.laboratoryName = clickNodeVal.parent.label; } - this.entity.storagePoint = clickNodeVal.label + this.entity.storagePoint = clickNodeVal.label; } this.refreshTable(); } @@ -401,8 +457,8 @@ watch: { // 鐩戝惉鐐瑰嚮el-tree鐨勬暟鎹紝杩涜鏁版嵁鍒锋柊 clickNodeVal(newVal) { - this.clickSidebar(newVal) + this.clickSidebar(newVal); } } -} +}; </script> diff --git a/src/components/do/a6-device/management.vue b/src/components/do/a6-device/management.vue index 8925775..88fbca6 100644 --- a/src/components/do/a6-device/management.vue +++ b/src/components/do/a6-device/management.vue @@ -1,379 +1,752 @@ <!-- 璁惧宸ュ叿鏄庣粏 --> <template> - <div class="role_manage"> - <div class="search" v-show="!showData"> + <div class="role_manage"> + <div class="search" v-show="!showData"> <div class="search_thing"> <div class="search_label">鐘舵�侊細</div> - <el-select v-model="componentData.entity.deviceStatus" placeholder="鍏ㄩ儴" size="small"> - <el-option v-for="item in deviceStatusList" :key="item.value" :label="item.label" - :value="item.value"> + <el-select + v-model="componentData.entity.deviceStatus" + placeholder="鍏ㄩ儴" + size="small" + > + <el-option + v-for="item in deviceStatusList" + :key="item.value" + :label="item.label" + :value="item.value" + > </el-option> </el-select> </div> <div class="search_thing"> <div class="search_label">璁惧鍚嶇О锛�</div> <div class="search_input"> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="componentData.entity.deviceName" - @keyup.enter.native="refreshTable()"> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="componentData.entity.deviceName" + @keyup.enter.native="refreshTable()" + > </el-input> </div> </div> <div class="search_thing"> <div class="search_label">瑙勬牸鍨嬪彿锛�</div> - <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable - v-model="componentData.entity.specificationModel" - @keyup.enter.native="refreshTable()"></el-input> + <div class="search_input"> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="componentData.entity.specificationModel" + @keyup.enter.native="refreshTable()" + ></el-input> </div> </div> - <div class="search_thing" style="padding-left: 30px;"> - <el-button size="small" @click="refresh()">閲� 缃�</el-button> - <el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button> - <el-button size="small" type="primary" @click="dialogVisible2 = true">鏂� 澧�</el-button> - <el-button size="small" type="primary" @click="handleDownOne">瀵� 鍑�</el-button> - </div> - </div> - <div class="table" v-show="!showData"> - <!-- 璇硶 瀛愮粍浠堕�氳繃 this.$emit +浼犲叆鏂规硶鍚� 璋冪敤鐖剁粍浠舵柟娉� 渚嬪 this.$emit锛坰electAllByOne锛� 灏遍渶鍦ㄧ埗缁勪欢澹版槑骞朵紶鍏� @selectAllByOne="selectAllByOne" --> - <ValueTable @selectAllByOne="selectAllByOne" @isUpdate="isUpdate" ref="ValueTable" - :dateFormat="dateFormat" - :upUrl="$api.deviceScope.upDeviceParameter" :delUrl="$api.deviceScope.delDeviceParameter" - :componentData="componentData" :key="upIndex" :url="$api.deviceScope.selectDeviceParameter + '?laboratoryNameIsNull=' + laboratoryNameIsNull" /> - </div> - <el-dialog :title="isUp ? '璁惧璇︽儏' : '妗f淇'" :visible.sync="dialogVisible" width="70%" + <div class="search_thing" style="padding-left: 30px;"> + <el-button size="small" @click="refresh()">閲� 缃�</el-button> + <el-button size="small" type="primary" @click="refreshTable()" + >鏌� 璇�</el-button + > + <el-button size="small" type="primary" @click="dialogVisible2 = true" + >鏂� 澧�</el-button + > + <el-button size="small" type="primary" @click="handleDownOne" + >瀵� 鍑�</el-button + > + </div> + </div> + <div class="table" v-show="!showData"> + <!-- 璇硶 瀛愮粍浠堕�氳繃 this.$emit +浼犲叆鏂规硶鍚� 璋冪敤鐖剁粍浠舵柟娉� 渚嬪 this.$emit锛坰electAllByOne锛� 灏遍渶鍦ㄧ埗缁勪欢澹版槑骞朵紶鍏� @selectAllByOne="selectAllByOne" --> + <ValueTable + @selectAllByOne="selectAllByOne" + @isUpdate="isUpdate" + ref="ValueTable" + :dateFormat="dateFormat" + :upUrl="$api.deviceScope.upDeviceParameter" + :delUrl="$api.deviceScope.delDeviceParameter" + :componentData="componentData" + :key="upIndex" + :url=" + $api.deviceScope.selectDeviceParameter + + '?laboratoryNameIsNull=' + + laboratoryNameIsNull + " + /> + </div> + <el-dialog + :title="isUp ? '璁惧璇︽儏' : '妗f淇'" + :visible.sync="dialogVisible" + width="70%" top="5vh" - :before-close="handleClose"> - <el-row style="display:flex;justify-content: space-around;max-height: 75vh;overflow-y: auto;"> - <!-- 宸﹁竟甯冨眬 --> - <el-col :span="7"> - <el-col> - <!-- 鍥剧墖 --> - <el-image class="img" style="width:100%;height: 320px;marginBottom:16px" - :src="javaApi + '/img/' + formData.imageUpload"> - <div slot="error" class="image-error" style="width: calc(100% -2px); + :before-close="handleClose" + > + <el-row + style="display:flex;justify-content: space-around;max-height: 75vh;overflow-y: auto;" + > + <!-- 宸﹁竟甯冨眬 --> + <el-col :span="7"> + <el-col> + <!-- 鍥剧墖 --> + <el-image + class="img" + style="width:100%;height: 320px;marginBottom:16px" + :src="javaApi + '/img/' + formData.imageUpload" + > + <div + slot="error" + class="image-error" + style="width: calc(100% -2px); height: 318px; border-radius: 16px; display: flex; align-items: center; justify-content: center; - border: 1px solid #EEEEEE;"> - <i class="el-icon-picture-outline" style="font-size:60px;color:#666666;"></i> - </div> - </el-image> - <!-- 琛ㄥ崟 --> - <el-form :label-position="labelPosition" :model="formData" label-width="120px"> - <el-form-item label="浠櫒鍚嶇О:" required> - <el-input :disabled="isUp" v-model="formData.deviceName" size="small"></el-input> - </el-form-item> - <el-form-item label="浠櫒鍚嶇ОEN:" required> - <el-input :disabled="isUp" v-model="formData.enDeviceName" size="small"></el-input> - </el-form-item> - <el-form-item label="瑙勬牸鍨嬪彿:" required> - <el-input :disabled="isUp" v-model="formData.specificationModel" - size="small"></el-input> - </el-form-item> - <el-form-item label="鐢熶骇鍘傚:"> - <el-input :disabled="isUp" v-model="formData.manufacturer" size="small"></el-input> - </el-form-item> - </el-form> - </el-col> - </el-col> - <!-- 涓棿甯冨眬 --> - <el-col :span="7"> - <el-form :label-position="labelPosition" :model="formData" label-width="116px"> - <el-form-item label="鏍″噯鏈嶅姟鏈烘瀯:"> - <el-input :disabled="isUp" v-model="formData.calibrationServices" size="small"></el-input> - </el-form-item> - <el-form-item label="鍑哄巶缂栧彿:"> - <el-input :disabled="isUp" v-model="formData.factoryNo" size="small"></el-input> - </el-form-item> - <el-form-item label="绠$悊缂栧彿:" required> - <el-input :disabled="isUp" v-model="formData.managementNumber" size="small"></el-input> - </el-form-item> - <el-form-item label="璐疆鏃ユ湡:"> - <el-date-picker :disabled="isUp" style="width:100%" v-model="formData.acquisitionDate" - type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" size="small" - placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="鏍″噯鏃ユ湡:" required> - <el-date-picker :disabled="isUp" style="width:100%" v-model="formData.activationDate" - type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" size="small" - placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="绠$悊浜�:"> - <el-select v-model="formData.equipmentManager" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option :disabled="isUp" v-for="item in responsiblePersonList" :key="item.value" - :label="item.label" :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="瀛樻斁鐐�:"> - <el-input :disabled="isUp" v-model="formData.storagePoint" size="small"></el-input> - </el-form-item> - <el-form-item label="鎶�鏈寚鏍�:"> - <el-input :disabled="isUp" v-model="formData.technicalIndicators" :rows="7" type="textarea" - size="small"></el-input> - </el-form-item> - </el-form> - </el-col> - <!-- 鍙宠竟甯冨眬 --> - <el-col :span="7"> - <el-form :label-position="labelPosition" :model="formData" label-width="140px" ref="ruleForm"> - <!-- 瀹為獙瀹ゅ垪琛� --> - <el-form-item label="鎵�灞為儴闂�:"> - <el-select :disabled="isUp" v-model="formData.subordinateDepartmentsId" placeholder="璇烽�夋嫨" - size="small" style="width:100%"> - <el-option v-for="item in subordinateDepartmentsList" :key="item.value" - :label="item.label" :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="妫�娴嬮」鐩�:"> - <el-cascader :disabled="isUp" v-model="formData.insProductIds" :options="options" - :show-all-levels="false" :props="props" placeholder="璇烽�夋嫨" size="small" - style="width:100%;" :collapse-tags="!isUp" separator="," filterable - clearable></el-cascader> - </el-form-item> - <el-form-item label="鏈�杩戞牎鍑嗘棩鏈�:" v-if="isUp"> - <el-date-picker :disabled="isUp" style="width:100%" v-model="formData.latestTraceability" - format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="date" size="small" - placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="涓嬫鏍″噯鏃ユ湡:" v-if="isUp"> - <el-date-picker :disabled="isUp" style="width:100%" v-model="formData.latestTraceability" - format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="date" size="small" - placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="璁惧绫诲瀷:"> - <el-select :disabled="isUp" v-model="formData.largeCategory" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in equipmentList" :key="item.value" :label="item.label" - :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="鍗曚环(涓囧厓):"> - <el-input :disabled="isUp" v-model="formData.unitPrice" size="small"></el-input> - </el-form-item> - <el-form-item label="褰撳墠鐘舵��:" required> - <el-select :disabled="isUp" v-model="formData.deviceStatus" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in deviceStatusList" :key="item.value" :label="item.label" - :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="鏍″噯鍛ㄦ湡锛堟湀锛�:" required> - <el-input :disabled="isUp" v-model="formData.calibrationDate" size="small"></el-input> - </el-form-item> - <el-form-item label="鍥剧墖:"> - <div - style="border: 1px solid #DCDFE6;border-radius:4px;height:32px;lineHeight:32px;display:flex;justify-content: space-around;font-size: 13px;"> - <div v-show="formData.imageName" class="picName">{{ formData.imageName }}</div> - <el-upload :disabled="isUp" :action="action" :on-success="handleSuccessUpImg2" - :show-file-list="false" accept='image/jpg,image/jpeg,image/png' :headers="headers" - :on-change="beforeUpload" :on-error="onError" ref='upload'> - <el-button type="text" style="height:30px;padding-top:8px">涓婁紶</el-button> - </el-upload> - </div> - </el-form-item> - </el-form> - </el-col> - </el-row> - <span slot="footer" class="dialog-footer"> - <el-row v-if="!isUp"> - <el-button @click="handleClose">鍙� 娑�</el-button> - <el-button type="primary" @click="submitForm" :loading="upLoad">纭� 瀹�</el-button> - </el-row> - </span> - </el-dialog> - <!-- 鏂板--> - <el-dialog title="鏂板璁惧" top="5vh" :visible.sync="dialogVisible2" width="70%" :before-close="handleClose2"> - <el-row style="display:flex;justify-content: space-around;"> - <!-- 宸﹁竟甯冨眬 --> - <el-col :span="7"> - <el-col> - <!-- 鍥剧墖 --> - <el-image class="img" style="width:100%;height: 320px;margin-bottom:16px" - :src="javaApi + '/img/' + formData2.imageUpload"> - <div slot="error" class="image-error" style="width: calc(100% -2px); + border: 1px solid #EEEEEE;" + > + <i + class="el-icon-picture-outline" + style="font-size:60px;color:#666666;" + ></i> + </div> + </el-image> + <!-- 琛ㄥ崟 --> + <el-form + :label-position="labelPosition" + :model="formData" + label-width="120px" + > + <el-form-item label="浠櫒鍚嶇О:" required> + <el-input + :disabled="isUp" + v-model="formData.deviceName" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="浠櫒鍚嶇ОEN:" required> + <el-input + :disabled="isUp" + v-model="formData.enDeviceName" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="瑙勬牸鍨嬪彿:" required> + <el-input + :disabled="isUp" + v-model="formData.specificationModel" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鐢熶骇鍘傚:"> + <el-input + :disabled="isUp" + v-model="formData.manufacturer" + size="small" + ></el-input> + </el-form-item> + </el-form> + </el-col> + </el-col> + <!-- 涓棿甯冨眬 --> + <el-col :span="7"> + <el-form + :label-position="labelPosition" + :model="formData" + label-width="116px" + > + <el-form-item label="鏍″噯鏈嶅姟鏈烘瀯:"> + <el-input + :disabled="isUp" + v-model="formData.calibrationServices" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鍑哄巶缂栧彿:"> + <el-input + :disabled="isUp" + v-model="formData.factoryNo" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="绠$悊缂栧彿:" required> + <el-input + :disabled="isUp" + v-model="formData.managementNumber" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="璐疆鏃ユ湡:"> + <el-date-picker + :disabled="isUp" + style="width:100%" + v-model="formData.acquisitionDate" + type="date" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="鏍″噯鏃ユ湡:" required> + <el-date-picker + :disabled="isUp" + style="width:100%" + v-model="formData.activationDate" + type="date" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="绠$悊浜�:"> + <el-select + v-model="formData.equipmentManager" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + :disabled="isUp" + v-for="item in responsiblePersonList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="瀛樻斁鐐�:"> + <el-input + :disabled="isUp" + v-model="formData.storagePoint" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鎶�鏈寚鏍�:"> + <el-input + :disabled="isUp" + v-model="formData.technicalIndicators" + :rows="7" + type="textarea" + size="small" + ></el-input> + </el-form-item> + </el-form> + </el-col> + <!-- 鍙宠竟甯冨眬 --> + <el-col :span="7"> + <el-form + :label-position="labelPosition" + :model="formData" + label-width="140px" + ref="ruleForm" + > + <!-- 瀹為獙瀹ゅ垪琛� --> + <el-form-item label="鎵�灞為儴闂�:"> + <el-select + :disabled="isUp" + v-model="formData.subordinateDepartmentsId" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in subordinateDepartmentsList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="妫�娴嬮」鐩�:"> + <el-cascader + :disabled="isUp" + v-model="formData.insProductIds" + :options="options" + :show-all-levels="false" + :props="props" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%;" + :collapse-tags="!isUp" + separator="," + filterable + clearable + ></el-cascader> + </el-form-item> + <el-form-item label="鏈�杩戞牎鍑嗘棩鏈�:" v-if="isUp"> + <el-date-picker + :disabled="isUp" + style="width:100%" + v-model="formData.latestTraceability" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + type="date" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="涓嬫鏍″噯鏃ユ湡:" v-if="isUp"> + <el-date-picker + :disabled="isUp" + style="width:100%" + v-model="formData.latestTraceability" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + type="date" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="璁惧绫诲瀷:"> + <el-select + :disabled="isUp" + v-model="formData.largeCategory" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in equipmentList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="鍗曚环(涓囧厓):"> + <el-input + :disabled="isUp" + v-model="formData.unitPrice" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="褰撳墠鐘舵��:" required> + <el-select + :disabled="isUp" + v-model="formData.deviceStatus" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in deviceStatusList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="鏍″噯鍛ㄦ湡锛堟湀锛�:" required> + <el-input + :disabled="isUp" + v-model="formData.calibrationDate" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鍥剧墖:"> + <div + style="border: 1px solid #DCDFE6;border-radius:4px;height:32px;lineHeight:32px;display:flex;justify-content: space-around;font-size: 13px;" + > + <div v-show="formData.imageName" class="picName"> + {{ formData.imageName }} + </div> + <el-upload + :disabled="isUp" + :action="action" + :on-success="handleSuccessUpImg2" + :show-file-list="false" + accept="image/jpg,image/jpeg,image/png" + :headers="headers" + :on-change="beforeUpload" + :on-error="onError" + ref="upload" + > + <el-button type="text" style="height:30px;padding-top:8px" + >涓婁紶</el-button + > + </el-upload> + </div> + </el-form-item> + </el-form> + </el-col> + </el-row> + <span slot="footer" class="dialog-footer"> + <el-row v-if="!isUp"> + <el-button @click="handleClose">鍙� 娑�</el-button> + <el-button type="primary" @click="submitForm" :loading="upLoad" + >纭� 瀹�</el-button + > + </el-row> + </span> + </el-dialog> + <!-- 鏂板--> + <el-dialog + title="鏂板璁惧" + top="5vh" + :visible.sync="dialogVisible2" + width="70%" + :before-close="handleClose2" + > + <el-row style="display:flex;justify-content: space-around;"> + <!-- 宸﹁竟甯冨眬 --> + <el-col :span="7"> + <el-col> + <!-- 鍥剧墖 --> + <el-image + class="img" + style="width:100%;height: 320px;margin-bottom:16px" + :src="javaApi + '/img/' + formData2.imageUpload" + > + <div + slot="error" + class="image-error" + style="width: calc(100% -2px); height: 318px; border-radius: 16px; display: flex; align-items: center; justify-content: center; - border: 1px solid #EEEEEE;"> - <i class="el-icon-picture-outline" style="font-size:60px;color:#666666;"></i> - </div> - </el-image> - <!-- 琛ㄥ崟 --> - <el-form :label-position="labelPosition" :model="formData2" label-width="120px"> - <el-form-item label="浠櫒鍚嶇О:" required> - <el-input v-model="formData2.deviceName" size="small"></el-input> - </el-form-item> - <el-form-item label="浠櫒鍚嶇ОEN:" required> - <el-input v-model="formData2.enDeviceName" size="small"></el-input> - </el-form-item> - <el-form-item label="瑙勬牸鍨嬪彿:" required> - <el-input v-model="formData2.specificationModel" size="small"></el-input> - </el-form-item> - <el-form-item label="鐢熶骇鍘傚:"> - <el-input v-model="formData2.manufacturer" size="small"></el-input> - </el-form-item> - </el-form> - </el-col> - </el-col> - <!-- 涓棿甯冨眬 --> - <el-col :span="7"> - <el-form :label-position="labelPosition" :model="formData2" label-width="110px"> - <!-- <el-form-item label="鐢熶骇鍘傚EN:"> + border: 1px solid #EEEEEE;" + > + <i + class="el-icon-picture-outline" + style="font-size:60px;color:#666666;" + ></i> + </div> + </el-image> + <!-- 琛ㄥ崟 --> + <el-form + :label-position="labelPosition" + :model="formData2" + label-width="120px" + > + <el-form-item label="浠櫒鍚嶇О:" required> + <el-input + v-model="formData2.deviceName" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="浠櫒鍚嶇ОEN:" required> + <el-input + v-model="formData2.enDeviceName" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="瑙勬牸鍨嬪彿:" required> + <el-input + v-model="formData2.specificationModel" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鐢熶骇鍘傚:"> + <el-input + v-model="formData2.manufacturer" + size="small" + ></el-input> + </el-form-item> + </el-form> + </el-col> + </el-col> + <!-- 涓棿甯冨眬 --> + <el-col :span="7"> + <el-form + :label-position="labelPosition" + :model="formData2" + label-width="110px" + > + <!-- <el-form-item label="鐢熶骇鍘傚EN:"> <el-input v-model="formData2.factoryNo" size="small"></el-input> </el-form-item> --> - <el-form-item label="鏍″噯鏈嶅姟鏈烘瀯:"> - <el-input v-model="formData2.calibrationServices" size="small"></el-input> - </el-form-item> - <el-form-item label="鍑哄巶缂栧彿:"> - <el-input v-model="formData2.factoryNo" size="small"></el-input> - </el-form-item> - <el-form-item label="绠$悊缂栧彿:" required> - <el-input v-model="formData2.managementNumber" size="small"></el-input> - </el-form-item> - <el-form-item label="璐疆鏃ユ湡:"> - <el-date-picker style="width:100%" v-model="formData2.acquisitionDate" type="date" - format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" size="small" placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="鍚敤鏃ユ湡:" required> - <el-date-picker style="width:100%" v-model="formData2.activationDate" type="date" - format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" size="small" placeholder="閫夋嫨鏃ユ湡"> - </el-date-picker> - </el-form-item> - <el-form-item label="绠$悊浜�:"> - <el-select v-model="formData2.equipmentManager" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in responsiblePersonList" :key="item.value" :label="item.label" - :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="瀛樻斁鐐�:"> - <el-input v-model="formData2.storagePoint" size="small"></el-input> - </el-form-item> - <el-form-item label="鎶�鏈寚鏍�:"> - <el-input v-model="formData2.technicalIndicators" :rows="7" type="textarea" - size="small"></el-input> - </el-form-item> - </el-form> - </el-col> - <!-- 鍙宠竟甯冨眬 --> - <el-col :span="7"> - <el-form :label-position="labelPosition" :model="formData2" label-width="120px" ref="ruleForm"> - <!-- 瀹為獙瀹ゅ垪琛� --> - <el-form-item label="鎵�灞為儴闂�:"> - <el-select v-model="formData2.subordinateDepartmentsId" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in subordinateDepartmentsList" :key="item.value" - :label="item.label" :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="妫�娴嬮」鐩�:"> - <el-cascader v-model="formData2.insProductIds" :options="options" :show-all-levels="false" - :props="props" placeholder="璇烽�夋嫨" size="small" style="width:100%" collapse-tags - separator="," filterable clearable></el-cascader> - </el-form-item> - <el-form-item label="璁惧绫诲瀷:"> - <el-select v-model="formData2.largeCategory" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in equipmentList" :key="item.value" :label="item.label" - :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="鍗曚环(涓囧厓):"> - <el-input v-model="formData2.unitPrice" size="small"></el-input> - </el-form-item> - <el-form-item label="褰撳墠鐘舵��:" required> - <el-select v-model="formData2.deviceStatus" placeholder="璇烽�夋嫨" size="small" - style="width:100%"> - <el-option v-for="item in deviceStatusList" :key="item.id" :label="item.label" - :value="item.value"> - </el-option> - </el-select> - </el-form-item> - <el-form-item label="鏍″噯鍛ㄦ湡锛堟湀锛�:" required> - <el-input v-model="formData2.calibrationDate" size="small"></el-input> - </el-form-item> - <el-form-item label="鍥剧墖:"> - <div - style="border: 1px solid #DCDFE6;border-radius:4px;height:32px;line-height:32px;display:flex;justify-content: space-around;font-size: 13px;"> - <div v-show="formData2.imageName" class="picName">{{ formData2.imageName }}</div> - <el-upload :action="action" :on-success="handleSuccessUpImg2" :show-file-list="false" - accept='image/jpg,image/jpeg,image/png' :headers="headers" :on-change="beforeUpload" - :on-error="onError" ref='upload'> - <el-button type="text" style="height:30px;padding-top:8px">涓婁紶</el-button> - </el-upload> - </div> - </el-form-item> - </el-form> - </el-col> - </el-row> - <span slot="footer" class="dialog-footer"> - <el-row> - <el-button @click="handleClose2">鍙� 娑�</el-button> - <el-button type="primary" @click="submitForm2" :loading="upLoad2">纭� 瀹�</el-button> - </el-row> - </span> - </el-dialog> - <el-dialog title="鏁伴噰閰嶇疆" :visible.sync="dialogVisible3" width="400px"> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>IP锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.ip"></el-input> - </div> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>閲囬泦鍦板潃锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.collectUrl"></el-input> - </div> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>鍌ㄥ瓨鍦板潃锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.storageUrl"></el-input> - </div> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>鍙傜収锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.refer"></el-input> - </div> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>X锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.x"></el-input> - </div> - <div class="search_thing" style="margin-bottom: 14px;"> - <div class="search_label"><span style="color:red;margin-right: 4px;">*</span>Y锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.y"></el-input> - </div> - <div class="search_thing"> - <div class="search_label">鍏紡锛�</div> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.formula"></el-input> - </div> - <span slot="footer" class="dialog-footer"> - <el-row> - <el-button @click="dialogVisible3 = false">鍙� 娑�</el-button> - <el-button type="primary" @click="submitForm3" :loading="upLoad3">纭� 瀹�</el-button> - </el-row> - </span> - </el-dialog> - <dataAcquisitionConfig v-if="showData" :deviceId="deviceId" /> - </div> + <el-form-item label="鏍″噯鏈嶅姟鏈烘瀯:"> + <el-input + v-model="formData2.calibrationServices" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鍑哄巶缂栧彿:"> + <el-input v-model="formData2.factoryNo" size="small"></el-input> + </el-form-item> + <el-form-item label="绠$悊缂栧彿:" required> + <el-input + v-model="formData2.managementNumber" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="璐疆鏃ユ湡:"> + <el-date-picker + style="width:100%" + v-model="formData2.acquisitionDate" + type="date" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="鍚敤鏃ユ湡:" required> + <el-date-picker + style="width:100%" + v-model="formData2.activationDate" + type="date" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" + size="small" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> + </el-form-item> + <el-form-item label="绠$悊浜�:"> + <el-select + v-model="formData2.equipmentManager" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in responsiblePersonList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="瀛樻斁鐐�:"> + <el-input + v-model="formData2.storagePoint" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鎶�鏈寚鏍�:"> + <el-input + v-model="formData2.technicalIndicators" + :rows="7" + type="textarea" + size="small" + ></el-input> + </el-form-item> + </el-form> + </el-col> + <!-- 鍙宠竟甯冨眬 --> + <el-col :span="7"> + <el-form + :label-position="labelPosition" + :model="formData2" + label-width="120px" + ref="ruleForm" + > + <!-- 瀹為獙瀹ゅ垪琛� --> + <el-form-item label="鎵�灞為儴闂�:"> + <el-select + v-model="formData2.subordinateDepartmentsId" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in subordinateDepartmentsList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="妫�娴嬮」鐩�:"> + <el-cascader + v-model="formData2.insProductIds" + :options="options" + :show-all-levels="false" + :props="props" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + collapse-tags + separator="," + filterable + clearable + ></el-cascader> + </el-form-item> + <el-form-item label="璁惧绫诲瀷:"> + <el-select + v-model="formData2.largeCategory" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in equipmentList" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="鍗曚环(涓囧厓):"> + <el-input v-model="formData2.unitPrice" size="small"></el-input> + </el-form-item> + <el-form-item label="褰撳墠鐘舵��:" required> + <el-select + v-model="formData2.deviceStatus" + placeholder="璇烽�夋嫨" + size="small" + style="width:100%" + > + <el-option + v-for="item in deviceStatusList" + :key="item.id" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-form-item> + <el-form-item label="鏍″噯鍛ㄦ湡锛堟湀锛�:" required> + <el-input + v-model="formData2.calibrationDate" + size="small" + ></el-input> + </el-form-item> + <el-form-item label="鍥剧墖:"> + <div + style="border: 1px solid #DCDFE6;border-radius:4px;height:32px;line-height:32px;display:flex;justify-content: space-around;font-size: 13px;" + > + <div v-show="formData2.imageName" class="picName"> + {{ formData2.imageName }} + </div> + <el-upload + :action="action" + :on-success="handleSuccessUpImg2" + :show-file-list="false" + accept="image/jpg,image/jpeg,image/png" + :headers="headers" + :on-change="beforeUpload" + :on-error="onError" + ref="upload" + > + <el-button type="text" style="height:30px;padding-top:8px" + >涓婁紶</el-button + > + </el-upload> + </div> + </el-form-item> + </el-form> + </el-col> + </el-row> + <span slot="footer" class="dialog-footer"> + <el-row> + <el-button @click="handleClose2">鍙� 娑�</el-button> + <el-button type="primary" @click="submitForm2" :loading="upLoad2" + >纭� 瀹�</el-button + > + </el-row> + </span> + </el-dialog> + <el-dialog title="鏁伴噰閰嶇疆" :visible.sync="dialogVisible3" width="400px"> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>IP锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.ip" + ></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>閲囬泦鍦板潃锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.collectUrl" + ></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>鍌ㄥ瓨鍦板潃锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.storageUrl" + ></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>鍙傜収锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.refer" + ></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>X锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.x" + ></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label"> + <span style="color:red;margin-right: 4px;">*</span>Y锛� + </div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.y" + ></el-input> + </div> + <div class="search_thing"> + <div class="search_label">鍏紡锛�</div> + <el-input + size="small" + placeholder="璇疯緭鍏�" + clearable + v-model="configForm.formula" + ></el-input> + </div> + <span slot="footer" class="dialog-footer"> + <el-row> + <el-button @click="dialogVisible3 = false">鍙� 娑�</el-button> + <el-button type="primary" @click="submitForm3" :loading="upLoad3" + >纭� 瀹�</el-button + > + </el-row> + </span> + </el-dialog> + <dataAcquisitionConfig v-if="showData" :deviceId="deviceId" /> + </div> </template> <script> -import ValueTable from '../../tool/value-table.vue' -import dataAcquisitionConfig from './acquisition-config.vue' +import ValueTable from "../../tool/value-table.vue"; +import dataAcquisitionConfig from "./acquisition-config.vue"; export default { - props: { + props: { clickNodeVal: { type: Object, default: () => { @@ -381,661 +754,707 @@ } } }, - components: { - ValueTable, - dataAcquisitionConfig, - }, - data() { - return { - dateFormat: 'yyyy-MM-dd', - deviceId: '', - fileTypeOptions: [ - { label: 'csv', value: '.csv' }, - { label: 'db', value: '.db' }, - { label: 'mdb', value: '.mdb' }, - { label: 'word', value: '.docx' }, - { label: 'excel', value: '.xlsx' }, - { label: 'txt', value: '.txt' }, - { label: 'png', value: '.png' }, - ], - //鏄惁鏄。妗堜慨璁� true涓嶆槸 false鏄� - isUp: true, - formData: { - }, - formData2: { - imageUpload: '', - imageName: '' - }, - value: '', - props: { multiple: true, emitPath: false, value: 'id', label: 'name' }, - options: [], - labelPosition: 'right', - dialogVisible: false, - dialogVisible2: false, - addPower: false, - showData: false, // 鏁伴噰閰嶇疆椤甸潰 - tableList: [], - componentData: { - entity: { - largeCategory: null, - orderBy: { - field: 'id', - order: 'asc' - } - }, - init: false, - isIndex: true, - showSelect: false, - select: false, - do: [{ - id: 'delete', - font: '鍒犻櫎', - type: 'text', - method: 'doDiy' - }, { - id: 'archives', - font: '妗f淇', - type: 'text', - method: 'isUpdate' - }, { - id: 'handleConfig', - font: '鏁伴噰閰嶇疆', - type: 'text', - method: 'handleConfig', - disabFun: (row, index) => { - return row.insProductItem == null || row.insProductItem === '' - } - }], - headNoShow: ['enDeviceName'], - tagField: { - deviceStatus: { - select: [] - }, - equipmentManager: { - select: [] - }, - authorizedPerson: { - select: [] - }, - insProductIds: { - select: [] - } - }, - linkEvent: { - deviceName: { - method: 'selectAllByOne' - } - }, - selectField: { - authorizedPerson: { - select: [], - choose: true - }, - equipmentManager: { - select: [] - }, - insProductIds: { - select: [], - choose: true - }, - largeCategory: { - select: [] - }, - }, - requiredAdd: [], - requiredUp: [], - needSort: ['deviceName', 'acquisitionDate', 'activationDate', 'lastCalibrationDate', 'nextCalibrationDate', 'deviceStatus'], - }, - entityCopy: {}, - upIndex: 0, - addDia: true, - addPower: true, - //璁惧绫诲瀷鍒楄〃 - equipmentList: [], - // 璐熻矗浜哄垪琛� - responsiblePersonList: [], - // 鎺堟潈浜哄垪琛� - authorizerList: [], - // 褰撳墠鐘舵�佸垪琛� - deviceStatusList: [], - // 鎵�灞為儴闂� - subordinateDepartmentsList: [], - upLoad: false, - upLoad2: false, - dialogVisible3: false, - upLoad3: false, - configForm: {}, - laboratoryNameIsNull: false - } - }, - computed: { - headers() { - return { - 'token': sessionStorage.getItem('token') - } - }, - action() { - return this.javaApi + this.$api.deviceScope.uploadFile - } - }, - mounted() { - this.entityCopy = this.HaveJson(this.componentData.entity) - this.getPower() - this.selectEnumByCategory() - this.selectDevicePrincipal() - this.obtainItemParameterList() - this.getInsProductIds() - // this.$customEvents.$on('largeCategory', this.handleNotification); - // 鍒濆鍖� - this.clickSidebar(this.clickNodeVal) - }, - methods: { - //鍒嗙被 - handleNotification(cate) { - this.componentData.entity.largeCategory = cate - }, - obtainItemParameterList() { - this.$axios.get(this.$api.laboratoryScope.obtainItemParameterList).then(res => { - let data = [] - res.data.forEach(a => { - data.push({ - label: a.laboratoryName, - value: a.id - }) - }) - this.subordinateDepartmentsList = data - }) - }, - refreshTable(e) { - this.$refs['ValueTable'].selectList(e) - }, - refresh() { - this.componentData.entity.deviceStatus = null - this.componentData.entity.deviceName = null - this.componentData.entity.specificationModel = null - this.refreshTable() - // this.upIndex++ - }, + components: { + ValueTable, + dataAcquisitionConfig + }, + data() { + return { + dateFormat: "yyyy-MM-dd", + deviceId: "", + fileTypeOptions: [ + { label: "csv", value: ".csv" }, + { label: "db", value: ".db" }, + { label: "mdb", value: ".mdb" }, + { label: "word", value: ".docx" }, + { label: "excel", value: ".xlsx" }, + { label: "txt", value: ".txt" }, + { label: "png", value: ".png" } + ], + //鏄惁鏄。妗堜慨璁� true涓嶆槸 false鏄� + isUp: true, + formData: {}, + formData2: { + imageUpload: "", + imageName: "" + }, + value: "", + props: { multiple: true, emitPath: false, value: "id", label: "name" }, + options: [], + labelPosition: "right", + dialogVisible: false, + dialogVisible2: false, + addPower: false, + showData: false, // 鏁伴噰閰嶇疆椤甸潰 + tableList: [], + componentData: { + entity: { + largeCategory: null, + deviceName: null, + orderBy: { + field: "id", + order: "asc" + } + }, + init: false, + isIndex: true, + showSelect: false, + select: false, + do: [ + { + id: "delete", + font: "鍒犻櫎", + type: "text", + method: "doDiy" + }, + { + id: "archives", + font: "妗f淇", + type: "text", + method: "isUpdate" + } + // { + // id: "handleConfig", + // font: "鏁伴噰閰嶇疆", + // type: "text", + // method: "handleConfig", + // disabFun: (row, index) => { + // return row.insProductItem == null || row.insProductItem === ""; + // } + // } + ], + headNoShow: ["enDeviceName"], + tagField: { + deviceStatus: { + select: [] + }, + equipmentManager: { + select: [] + }, + authorizedPerson: { + select: [] + }, + insProductIds: { + select: [] + } + }, + linkEvent: { + deviceName: { + method: "selectAllByOne" + } + }, + selectField: { + authorizedPerson: { + select: [], + choose: true + }, + equipmentManager: { + select: [] + }, + insProductIds: { + select: [], + choose: true + }, + largeCategory: { + select: [] + } + }, + requiredAdd: [], + requiredUp: [], + needSort: [ + "deviceName", + "acquisitionDate", + "activationDate", + "lastCalibrationDate", + "nextCalibrationDate", + "deviceStatus" + ] + }, + entityCopy: {}, + upIndex: 0, + addDia: true, + addPower: true, + //璁惧绫诲瀷鍒楄〃 + equipmentList: [], + // 璐熻矗浜哄垪琛� + responsiblePersonList: [], + // 鎺堟潈浜哄垪琛� + authorizerList: [], + // 褰撳墠鐘舵�佸垪琛� + deviceStatusList: [], + // 鎵�灞為儴闂� + subordinateDepartmentsList: [], + upLoad: false, + upLoad2: false, + dialogVisible3: false, + upLoad3: false, + configForm: {}, + laboratoryNameIsNull: false + }; + }, + computed: { + headers() { + return { + token: sessionStorage.getItem("token") + }; + }, + action() { + return this.javaApi + this.$api.deviceScope.uploadFile; + } + }, + mounted() { + this.entityCopy = this.HaveJson(this.componentData.entity); + this.getPower(); + this.selectEnumByCategory(); + this.selectDevicePrincipal(); + this.obtainItemParameterList(); + this.getInsProductIds(); + // this.$customEvents.$on('largeCategory', this.handleNotification); + // 鍒濆鍖� + this.clickSidebar(this.clickNodeVal); + }, + methods: { + //鍒嗙被 + handleNotification(cate) { + this.componentData.entity.largeCategory = cate; + }, + obtainItemParameterList() { + this.$axios + .get(this.$api.laboratoryScope.obtainItemParameterList) + .then(res => { + let data = []; + res.data.forEach(a => { + data.push({ + label: a.laboratoryName, + value: a.id + }); + }); + this.subordinateDepartmentsList = data; + }); + }, + refreshTable(e) { + this.$refs["ValueTable"].selectList(e); + }, + refresh() { + this.componentData.entity.deviceStatus = null; + this.componentData.entity.deviceName = null; + this.componentData.entity.specificationModel = null; + this.refreshTable(); + // this.upIndex++ + }, // 瀵煎嚭 handleDownOne() { - this.outLoading = true - this.$axios.get(this.$api.deviceCheck.exportEquipmentDetails, { - responseType: "blob" - }).then(res => { - this.outLoading = false - const blob = new Blob([res], { type: 'application/octet-stream' }); - //灏咮lob 瀵硅薄杞崲鎴愬瓧绗︿覆 - let reader = new FileReader(); - reader.readAsText(blob, 'utf-8'); - reader.onload = () => { - try { - let result = JSON.parse(reader.result); - if (result.message) { - this.$message.error(result.message); - } else { + this.outLoading = true; + this.$axios + .get(this.$api.deviceCheck.exportEquipmentDetails, { + responseType: "blob" + }) + .then(res => { + this.outLoading = false; + const blob = new Blob([res], { type: "application/octet-stream" }); + //灏咮lob 瀵硅薄杞崲鎴愬瓧绗︿覆 + let reader = new FileReader(); + reader.readAsText(blob, "utf-8"); + reader.onload = () => { + try { + let result = JSON.parse(reader.result); + if (result.message) { + this.$message.error(result.message); + } else { + const url = URL.createObjectURL(blob); + const link = document.createElement("a"); + link.href = url; + link.download = "璁惧浠櫒涓�瑙堣〃.doc"; + link.click(); + this.$message.success("瀵煎嚭鎴愬姛"); + } + } catch (err) { + console.log(err); const url = URL.createObjectURL(blob); - const link = document.createElement('a'); + const link = document.createElement("a"); link.href = url; - link.download = '璁惧浠櫒涓�瑙堣〃.doc'; + link.download = "璁惧浠櫒涓�瑙堣〃.doc"; link.click(); - this.$message.success('瀵煎嚭鎴愬姛') + this.$message.success("瀵煎嚭鎴愬姛"); } - } catch (err) { - console.log(err); - const url = URL.createObjectURL(blob); - const link = document.createElement('a'); - link.href = url; - link.download = '璁惧浠櫒涓�瑙堣〃.doc'; - link.click(); - this.$message.success('瀵煎嚭鎴愬姛') - } - } - }) + }; + }); }, - // 鏉冮檺鍒嗛厤 - getPower(radio) { - let power = JSON.parse(sessionStorage.getItem('power')) - let up = false - let del = false - let add = false - let config = false - for (var i = 0; i < power.length; i++) { - if (power[i].menuMethod == 'upDeviceParameter') { - up = true - } - if (power[i].menuMethod == 'delDeviceParameter') { - del = true - } - if (power[i].menuMethod == 'addDeviceParameter') { - add = true - } - if (power[i].menuMethod == 'saveDataAcquisitionConfiguration') { - config = true - } - } - if (!config) { - this.componentData.do.splice(2, 1) - } - if (!up) { - this.componentData.do.splice(1, 1) - } - if (!del) { - this.componentData.do.splice(0, 1) - } - this.addPower = add - }, - // 鑾峰彇瀛楀吀 - selectEnumByCategory() { - this.$axios.post(this.$api.enums.selectEnumByCategory, { - category: "璁惧鐘舵��" - }).then(res => { - this.deviceStatusList = res.data - this.deviceStatusList.forEach(a => { - if (!isNaN(a.value)) { - a.value = parseInt(a.value) - } - }) - this.componentData.tagField.deviceStatus.select = res.data - }) - this.$axios.post(this.$api.enums.selectEnumByCategory, { - category: "璁惧鍒嗙被" - }).then(res => { - this.equipmentList = res.data - }) - }, - // 鑾峰彇璐熻矗浜哄垪琛� - selectDevicePrincipal() { - this.$axios.get(this.$api.deviceScope.selectDevicePrincipal).then(res => { - let data = [] - res.data.forEach(a => { - data.push({ - label: a.name, - value: a.id - }) - }) - this.responsiblePersonList = data - this.authorizerList = data - this.componentData.tagField.equipmentManager = data - this.componentData.tagField.authorizedPerson = data - }) - }, - getInsProductIds() { - this.$axios.post(this.$api.capacityScope.getInsProduction).then(res => { - this.componentData.tagField.insProductIds.select = [] - this.componentData.selectField.insProductIds.select = [] - this.options = res.data.map((m, i) => { - m.id = m.name; - let children = m.children.map(n => { - n.label = n.name; - n.value = n.id; - return n - }) - this.componentData.tagField.insProductIds.select = [...this.componentData.tagField.insProductIds.select, ...children] - this.componentData.selectField.insProductIds.select = [...this.componentData.selectField.insProductIds.select, ...children] - return m - }) - this.options.forEach(item => { - if (item.children.length == 0) { - item.children = null; - } else { - item.children.forEach(m => { - if (m.children.length == 0) { - m.children = null; - } else { - m.children.forEach(n => { - if (n.children && n.children.length == 0) { - n.children = null; - } - }) - } - }) - } - }) - }) - }, - handleClose() { - this.formData = {} - this.formData2 = { - imageUpload: '', - imageName: '' - } - this.dialogVisible = false; - this.upLoad = false; - }, - handleClose2() { - this.formData = {} - this.formData2 = { - imageUpload: '', - imageName: '' - } - this.dialogVisible2 = false; - this.upLoad = false; - }, - selectAllByOne(row) { - this.isUp = true - //鎵撳紑寮规 - this.dialogVisible = true; - //row = 鐐瑰嚮瀵瑰簲琛屽�� - //澶嶅埗缁檉ormData - this.formData = this.HaveJson(row); - console.log(row.insProductIds + 'valll'); - this.formData.insProductIds = row.insProductIds ? row.insProductIds.split(',') : []; - }, - isUpdate(row) { - //淇敼 isUp 涓烘。妗堜慨鏀� - this.isUp = false - //鎵撳紑寮规 - this.dialogVisible = true; - //row = 鐐瑰嚮瀵瑰簲琛屽�间竴琛屽�� - //澶嶅埗缁檉ormData - this.formData = this.HaveJson(row); - if (typeof (row.insProductIds) === 'number') { - row.insProductIds = row.insProductIds + '' - } - this.formData.insProductIds = row.insProductIds ? row.insProductIds.split(',') : []; - // 灏嗘椂闂存牸寮忎负yyyy-MM-dd 杩涜杞崲 - const dateRegex = /^\d{4}-\d{2}-\d{2}$/ - Object.keys(this.formData).forEach(key => { - if(dateRegex.test(this.formData[key])) { - this.formData[key] = `${this.formData[key]} 00:00:00` - } - }) - }, - beforeUpload(file) { - if (file.size > 1024 * 1024 * 10) { - this.$message.error('涓婁紶鏂囦欢涓嶈秴杩�10M'); - this.$refs.upload.clearFiles() - return false; - } else { - return true; - } - }, - onError(err, file, fileList) { - this.$message.error('涓婁紶澶辫触') - this.$refs.upload.clearFiles() - }, - // 涓婁紶鍥剧墖鎴愬姛 - handleSuccessUpImg(response,) { - if (response.code == 200) { - this.formData.imageUpload = response.data.url; - this.formData.imageName = response.data.name; - } - }, - handleSuccessUpImg2(response) { - if (response.code == 200) { - this.$nextTick(() => { - this.formData.imageUpload = response.data.url; - this.formData.imageName = response.data.name; - this.formData2.imageUpload = response.data.url; - this.formData2.imageName = response.data.name; - }) - } - }, - submitForm() { - if (!this.formData.deviceName) { - this.$message.error('鏈緭鍏ヤ华鍣ㄥ悕绉�') - return - } - if (!this.formData.enDeviceName) { - this.$message.error('鏈緭鍏ヤ华鍣ㄥ悕绉癊N') - return - } - if (!this.formData.specificationModel) { - this.$message.error('鏈緭鍏ヨ鏍煎瀷鍙�') - return - } - if (!this.formData.managementNumber) { - this.$message.error('鏈緭鍏ョ鐞嗙紪鍙�') - return - } - if (!this.formData.activationDate) { - this.$message.error('鏈緭鍏ュ惎鐢ㄦ棩鏈�') - return - } - if (this.formData.deviceStatus === '' || this.formData.deviceStatus === null) { - this.$message.error('鏈�夋嫨褰撳墠鐘舵��') - return - } - if (!this.formData.calibrationDate) { - this.$message.error('鏈緭鍏ユ牎鍑嗗懆鏈燂紙鏈堬級') - return - } - delete this.formData.createTime - delete this.formData.updateTime - delete this.formData.createUser - delete this.formData.updateUser - this.formData.insProductIds = this.formData.insProductIds ? this.formData.insProductIds.join() : '' - this.upLoad = true; - this.formData.authorizedPerson = JSON.stringify(this.formData.authorizedPerson) - console.log('this.formData',this.formData); - this.$axios.post(this.$api.deviceScope.upDeviceParameter, this.formData, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { - if (res.code === 201) { - this.upLoad = false - return - } - this.$message.success('淇敼鎴愬姛') - this.upLoad = false - this.refreshTable('page') - this.dialogVisible = false - }).catch(e => { - this.$message.error('淇敼澶辫触') - this.dialogVisible = false - this.upLoad = false - }) - }, - submitForm2() { - if (!this.formData2.deviceName) { - this.$message.error('鏈緭鍏ヤ华鍣ㄥ悕绉�') - return - } - if (!this.formData2.enDeviceName) { - this.$message.error('鏈緭鍏ヤ华鍣ㄥ悕绉癊N') - return - } - if (!this.formData2.specificationModel) { - this.$message.error('鏈緭鍏ヨ鏍煎瀷鍙�') - return - } - if (!this.formData2.managementNumber) { - this.$message.error('鏈緭鍏ョ鐞嗙紪鍙�') - return - } - if (!this.formData2.activationDate) { - this.$message.error('鏈緭鍏ュ惎鐢ㄦ棩鏈�') - return - } - if (!this.formData2.deviceStatus) { - this.$message.error('鏈�夋嫨褰撳墠鐘舵��') - return - } - if (!this.formData2.calibrationDate) { - this.$message.error('杈撳叆鏍″噯鍛ㄦ湡锛堟湀锛�') - return - } - this.upLoad2 = true; - this.formData2.insProductIds = this.formData2.insProductIds.join() - this.$axios.post(this.$api.deviceScope.addDeviceParameter, this.formData2, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { - if (res.code === 201) { - this.upLoad2 = false - return - } - this.$message.success('鎻愪氦鎴愬姛') - this.upLoad2 = false - this.refreshTable('page') - this.dialogVisible2 = false - this.formData2 = { - imageUpload: '', - imageName: '' - } - }).catch(e => { - this.$message.error('鎻愪氦澶辫触') - this.dialogVisible2 = false - this.upLoad2 = false - }) - }, - handleConfig(row) { - let list = [] - if(row.insProductItem){ - list = row.insProductItem.split(';') + // 鏉冮檺鍒嗛厤 + getPower(radio) { + let power = JSON.parse(sessionStorage.getItem("power")); + let up = false; + let del = false; + let add = false; + let config = false; + for (var i = 0; i < power.length; i++) { + if (power[i].menuMethod == "upDeviceParameter") { + up = true; + } + if (power[i].menuMethod == "delDeviceParameter") { + del = true; + } + if (power[i].menuMethod == "addDeviceParameter") { + add = true; + } + // if (power[i].menuMethod == "saveDataAcquisitionConfiguration") { + // config = true; + // } } - let list2 = [] - list.map((item) => { + // if (!config) { + // this.componentData.do.splice(2, 1); + // } + if (!up) { + this.componentData.do.splice(1, 1); + } + if (!del) { + this.componentData.do.splice(0, 1); + } + this.addPower = add; + }, + // 鑾峰彇瀛楀吀 + selectEnumByCategory() { + this.$axios + .post(this.$api.enums.selectEnumByCategory, { + category: "璁惧鐘舵��" + }) + .then(res => { + this.deviceStatusList = res.data; + this.deviceStatusList.forEach(a => { + if (!isNaN(a.value)) { + a.value = parseInt(a.value); + } + }); + this.componentData.tagField.deviceStatus.select = res.data; + }); + this.$axios + .post(this.$api.enums.selectEnumByCategory, { + category: "璁惧鍒嗙被" + }) + .then(res => { + this.equipmentList = res.data; + }); + }, + // 鑾峰彇璐熻矗浜哄垪琛� + selectDevicePrincipal() { + this.$axios.get(this.$api.deviceScope.selectDevicePrincipal).then(res => { + let data = []; + res.data.forEach(a => { + data.push({ + label: a.name, + value: a.id + }); + }); + this.responsiblePersonList = data; + this.authorizerList = data; + this.componentData.tagField.equipmentManager = data; + this.componentData.tagField.authorizedPerson = data; + }); + }, + getInsProductIds() { + this.$axios.post(this.$api.capacityScope.getInsProduction).then(res => { + this.componentData.tagField.insProductIds.select = []; + this.componentData.selectField.insProductIds.select = []; + this.options = res.data.map((m, i) => { + m.id = m.name; + let children = m.children.map(n => { + n.label = n.name; + n.value = n.id; + return n; + }); + this.componentData.tagField.insProductIds.select = [ + ...this.componentData.tagField.insProductIds.select, + ...children + ]; + this.componentData.selectField.insProductIds.select = [ + ...this.componentData.selectField.insProductIds.select, + ...children + ]; + return m; + }); + this.options.forEach(item => { + if (item.children.length == 0) { + item.children = null; + } else { + item.children.forEach(m => { + if (m.children.length == 0) { + m.children = null; + } else { + m.children.forEach(n => { + if (n.children && n.children.length == 0) { + n.children = null; + } + }); + } + }); + } + }); + }); + }, + handleClose() { + this.formData = {}; + this.formData2 = { + imageUpload: "", + imageName: "" + }; + this.dialogVisible = false; + this.upLoad = false; + }, + handleClose2() { + this.formData = {}; + this.formData2 = { + imageUpload: "", + imageName: "" + }; + this.dialogVisible2 = false; + this.upLoad = false; + }, + selectAllByOne(row) { + this.isUp = true; + //鎵撳紑寮规 + this.dialogVisible = true; + //row = 鐐瑰嚮瀵瑰簲琛屽�� + //澶嶅埗缁檉ormData + this.formData = this.HaveJson(row); + console.log(row.insProductIds + "valll"); + this.formData.insProductIds = row.insProductIds + ? row.insProductIds.split(",") + : []; + }, + isUpdate(row) { + //淇敼 isUp 涓烘。妗堜慨鏀� + this.isUp = false; + //鎵撳紑寮规 + this.dialogVisible = true; + //row = 鐐瑰嚮瀵瑰簲琛屽�间竴琛屽�� + //澶嶅埗缁檉ormData + this.formData = this.HaveJson(row); + if (typeof row.insProductIds === "number") { + row.insProductIds = row.insProductIds + ""; + } + this.formData.insProductIds = row.insProductIds + ? row.insProductIds.split(",") + : []; + // 灏嗘椂闂存牸寮忎负yyyy-MM-dd 杩涜杞崲 + const dateRegex = /^\d{4}-\d{2}-\d{2}$/; + Object.keys(this.formData).forEach(key => { + if (dateRegex.test(this.formData[key])) { + this.formData[key] = `${this.formData[key]} 00:00:00`; + } + }); + }, + beforeUpload(file) { + if (file.size > 1024 * 1024 * 10) { + this.$message.error("涓婁紶鏂囦欢涓嶈秴杩�10M"); + this.$refs.upload.clearFiles(); + return false; + } else { + return true; + } + }, + onError(err, file, fileList) { + this.$message.error("涓婁紶澶辫触"); + this.$refs.upload.clearFiles(); + }, + // 涓婁紶鍥剧墖鎴愬姛 + handleSuccessUpImg(response) { + if (response.code == 200) { + this.formData.imageUpload = response.data.url; + this.formData.imageName = response.data.name; + } + }, + handleSuccessUpImg2(response) { + if (response.code == 200) { + this.$nextTick(() => { + this.formData.imageUpload = response.data.url; + this.formData.imageName = response.data.name; + this.formData2.imageUpload = response.data.url; + this.formData2.imageName = response.data.name; + }); + } + }, + submitForm() { + if (!this.formData.deviceName) { + this.$message.error("鏈緭鍏ヤ华鍣ㄥ悕绉�"); + return; + } + if (!this.formData.enDeviceName) { + this.$message.error("鏈緭鍏ヤ华鍣ㄥ悕绉癊N"); + return; + } + if (!this.formData.specificationModel) { + this.$message.error("鏈緭鍏ヨ鏍煎瀷鍙�"); + return; + } + if (!this.formData.managementNumber) { + this.$message.error("鏈緭鍏ョ鐞嗙紪鍙�"); + return; + } + if (!this.formData.activationDate) { + this.$message.error("鏈緭鍏ュ惎鐢ㄦ棩鏈�"); + return; + } + if ( + this.formData.deviceStatus === "" || + this.formData.deviceStatus === null + ) { + this.$message.error("鏈�夋嫨褰撳墠鐘舵��"); + return; + } + if (!this.formData.calibrationDate) { + this.$message.error("鏈緭鍏ユ牎鍑嗗懆鏈燂紙鏈堬級"); + return; + } + delete this.formData.createTime; + delete this.formData.updateTime; + delete this.formData.createUser; + delete this.formData.updateUser; + this.formData.insProductIds = this.formData.insProductIds + ? this.formData.insProductIds.join() + : ""; + this.upLoad = true; + this.formData.authorizedPerson = JSON.stringify( + this.formData.authorizedPerson + ); + console.log("this.formData", this.formData); + this.$axios + .post(this.$api.deviceScope.upDeviceParameter, this.formData, { + headers: { + "Content-Type": "application/json" + } + }) + .then(res => { + if (res.code === 201) { + this.upLoad = false; + return; + } + this.$message.success("淇敼鎴愬姛"); + this.upLoad = false; + this.refreshTable("page"); + this.dialogVisible = false; + }) + .catch(e => { + this.$message.error("淇敼澶辫触"); + this.dialogVisible = false; + this.upLoad = false; + }); + }, + submitForm2() { + if (!this.formData2.deviceName) { + this.$message.error("鏈緭鍏ヤ华鍣ㄥ悕绉�"); + return; + } + if (!this.formData2.enDeviceName) { + this.$message.error("鏈緭鍏ヤ华鍣ㄥ悕绉癊N"); + return; + } + if (!this.formData2.specificationModel) { + this.$message.error("鏈緭鍏ヨ鏍煎瀷鍙�"); + return; + } + if (!this.formData2.managementNumber) { + this.$message.error("鏈緭鍏ョ鐞嗙紪鍙�"); + return; + } + if (!this.formData2.activationDate) { + this.$message.error("鏈緭鍏ュ惎鐢ㄦ棩鏈�"); + return; + } + if (!this.formData2.deviceStatus) { + this.$message.error("鏈�夋嫨褰撳墠鐘舵��"); + return; + } + if (!this.formData2.calibrationDate) { + this.$message.error("杈撳叆鏍″噯鍛ㄦ湡锛堟湀锛�"); + return; + } + this.upLoad2 = true; + this.formData2.insProductIds = this.formData2.insProductIds.join(); + this.$axios + .post(this.$api.deviceScope.addDeviceParameter, this.formData2, { + headers: { + "Content-Type": "application/json" + } + }) + .then(res => { + if (res.code === 201) { + this.upLoad2 = false; + return; + } + this.$message.success("鎻愪氦鎴愬姛"); + this.upLoad2 = false; + this.refreshTable("page"); + this.dialogVisible2 = false; + this.formData2 = { + imageUpload: "", + imageName: "" + }; + }) + .catch(e => { + this.$message.error("鎻愪氦澶辫触"); + this.dialogVisible2 = false; + this.upLoad2 = false; + }); + }, + handleConfig(row) { + let list = []; + if (row.insProductItem) { + list = row.insProductItem.split(";"); + } + let list2 = []; + list.map(item => { const obj = Object.assign({ deviceId: row.id, - insProductItem: item, - }) - list2.push(obj) - }) - this.tableList = list2 - this.deviceId = row.id - this.$nextTick(()=>{ - this.showData = true - }) - }, - closeDataVue() { - this.clickSidebar(this.clickNodeVal) - this.showData = false - }, - submitForm3() { - if (!this.configForm.ip) { - this.$message.error('璇峰~鍐橧P'); - return - } - if (!this.configForm.collectUrl) { - this.$message.error('璇峰~鍐欓噰闆嗗湴鍧�'); - return - } - if (!this.configForm.storageUrl) { - this.$message.error('璇峰~鍐欏偍瀛樺湴鍧�'); - return - } - if (!this.configForm.refer) { - this.$message.error('璇峰~鍐欏弬鐓�'); - return - } - if (!this.configForm.x) { - this.$message.error('璇峰~鍐橷'); - return - } - if (!this.configForm.y) { - this.$message.error('璇峰~鍐橸'); - return - } + insProductItem: item + }); + list2.push(obj); + }); + this.tableList = list2; + this.deviceId = row.id; + this.$nextTick(() => { + this.showData = true; + }); + }, + closeDataVue() { + this.clickSidebar(this.clickNodeVal); + this.showData = false; + }, + submitForm3() { + if (!this.configForm.ip) { + this.$message.error("璇峰~鍐橧P"); + return; + } + if (!this.configForm.collectUrl) { + this.$message.error("璇峰~鍐欓噰闆嗗湴鍧�"); + return; + } + if (!this.configForm.storageUrl) { + this.$message.error("璇峰~鍐欏偍瀛樺湴鍧�"); + return; + } + if (!this.configForm.refer) { + this.$message.error("璇峰~鍐欏弬鐓�"); + return; + } + if (!this.configForm.x) { + this.$message.error("璇峰~鍐橷"); + return; + } + if (!this.configForm.y) { + this.$message.error("璇峰~鍐橸"); + return; + } - this.upLoad3 = true - this.$axios.post(this.$api.deviceScope.numberCollect, this.configForm, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { - this.upLoad3 = false - if (res.code === 201) { - return - } - this.$message.success('鎿嶄綔鎴愬姛') - this.refreshTable('page') - this.dialogVisible3 = false - }).catch(e => { - this.$message.error('鎿嶄綔澶辫触') - this.dialogVisible3 = false - this.upLoad3 = false - }) - }, - // 鐐瑰嚮渚ц竟鏍忓埛鏂� - clickSidebar(clickNodeVal) { - this.laboratoryNameIsNull = false - // 鏄惁瀛樺湪value锛屽瓨鍦╲alue浠h〃涓轰笁绾� - if (!clickNodeVal.value) { - this.list = []; - this.componentData.entity.laboratoryName = null - this.componentData.entity.storagePoint = null - // 绛変簬1浠h〃涓烘爲鐨勪竴绾э紝label涓洪儴闂� - if (clickNodeVal.label == '鍏朵粬') { - this.laboratoryNameIsNull = true - this.refreshTable('page') - return - } - if (clickNodeVal.level == 1) { - this.componentData.entity.laboratoryName = clickNodeVal.label - // 绛変簬浜岀骇銆俵abel涓哄瓨鍌ㄥ湴鐐� - } else if (clickNodeVal.level == 2) { - // 鍏朵粬琛ㄧず娌℃湁閰嶇疆瀹為獙瀹わ紝鍙厤缃簡鍦扮偣 - if (clickNodeVal.parent.label == '鍏朵粬') { - this.laboratoryNameIsNull = true - } else { - this.componentData.entity.laboratoryName = clickNodeVal.parent.label + this.upLoad3 = true; + this.$axios + .post(this.$api.deviceScope.numberCollect, this.configForm, { + headers: { + "Content-Type": "application/json" } - this.componentData.entity.storagePoint = clickNodeVal.label - } - this.refreshTable('page') - } - } - }, - watch: { + }) + .then(res => { + this.upLoad3 = false; + if (res.code === 201) { + return; + } + this.$message.success("鎿嶄綔鎴愬姛"); + this.refreshTable("page"); + this.dialogVisible3 = false; + }) + .catch(e => { + this.$message.error("鎿嶄綔澶辫触"); + this.dialogVisible3 = false; + this.upLoad3 = false; + }); + }, + // 鐐瑰嚮渚ц竟鏍忓埛鏂� + clickSidebar(clickNodeVal) { + this.laboratoryNameIsNull = false; + // 鏄惁瀛樺湪value锛屽瓨鍦╲alue浠h〃涓轰笁绾� + if (!clickNodeVal.value) { + this.list = []; + this.componentData.entity.laboratoryName = null; + this.componentData.entity.storagePoint = null; + // 绛変簬1浠h〃涓烘爲鐨勪竴绾э紝label涓洪儴闂� + if (clickNodeVal.label == "鍏朵粬") { + this.laboratoryNameIsNull = true; + this.refreshTable("page"); + return; + } + if (clickNodeVal.level == 1) { + this.componentData.entity.laboratoryName = clickNodeVal.label; + // 绛変簬浜岀骇銆俵abel涓哄瓨鍌ㄥ湴鐐� + } else if (clickNodeVal.level == 2) { + // 鍏朵粬琛ㄧず娌℃湁閰嶇疆瀹為獙瀹わ紝鍙厤缃簡鍦扮偣 + if (clickNodeVal.parent.label == "鍏朵粬") { + this.laboratoryNameIsNull = true; + } else { + this.componentData.entity.laboratoryName = + clickNodeVal.parent.label; + } + this.componentData.entity.storagePoint = clickNodeVal.label; + } + this.refreshTable("page"); + } + } + }, + watch: { // 鐩戝惉鐐瑰嚮el-tree鐨勬暟鎹紝杩涜鏁版嵁鍒锋柊 clickNodeVal(newVal) { - this.clickSidebar(newVal) + this.clickSidebar(newVal); } } -} +}; </script> <style scoped> .role_manage { - width: 100%; - height: 100%; + width: 100%; + height: 100%; } .title { - line-height: 15px; + line-height: 15px; } .search { - display: flex; + display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } .search_thing { - width: 17em; - display: flex; - align-items: center; + width: 17em; + display: flex; + align-items: center; } .search_label { - width: 110px; - font-size: 14px; - text-align: right; + width: 110px; + font-size: 14px; + text-align: right; } .search_input { - width: calc(100% - 110px); + width: calc(100% - 110px); } .table { - margin-top: 12px; - background-color: #fff; - height: calc(100vh - 17em); + margin-top: 12px; + background-color: #fff; + height: calc(100vh - 17em); } .el-form-item { - margin-bottom: 16px; + margin-bottom: 16px; } .picName { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - word-break: break-all; - width: 120px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-break: break-all; + width: 120px; } </style> diff --git a/src/main.js b/src/main.js index e3d8da8..9369752 100644 --- a/src/main.js +++ b/src/main.js @@ -1,28 +1,28 @@ -import Vue from 'vue' -import ElementUI from 'element-ui'; -import 'element-ui/lib/theme-chalk/index.css'; -import VueAxios from 'vue-axios' -import $ from 'jquery' -import qs from 'qs' -import App from './App' +import Vue from "vue"; +import ElementUI from "element-ui"; +import "element-ui/lib/theme-chalk/index.css"; +import VueAxios from "vue-axios"; +import $ from "jquery"; +import qs from "qs"; +import App from "./App"; import VueRouter from "vue-router"; -import router from './router/index' -import axios from 'axios' -import api from './assets/api/controller.js' -import swal from 'sweetalert' -import Big from 'big.js' +import router from "./router/index"; +import axios from "axios"; +import api from "./assets/api/controller.js"; +import swal from "sweetalert"; +import Big from "big.js"; import VueBarcode from "vue-barcode"; -import Moment from 'moment' +import Moment from "moment"; Vue.prototype.$Big = Big; // 椤圭洰鍒囨崲 -Vue.prototype.PROJECT = '妫�娴嬩腑蹇�' +Vue.prototype.PROJECT = "妫�娴嬩腑蹇�"; // Vue.prototype.PROJECT = '瑁呭鐢电紗' //鏈湴 // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; // const javaApi = 'http://127.0.0.1:8001'; -// const javaApi = 'http://10.37.202.58:8001'; +const javaApi = "http://192.168.0.170:8001"; //閫氫俊娴嬭瘯搴� // Vue.prototype.LOCATIONVUE = "http://10.1.13.77:8080"; @@ -34,8 +34,8 @@ // const javaApi = 'https://ztwxlims.ztt.cn:7443/lims/'; // //浜� -Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; -const javaApi = 'http://114.132.189.42:1234'; +// Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; +// const javaApi = 'http://114.132.189.42:1234'; // //妫�娴嬩腑蹇冩寮忓簱 // Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; @@ -46,122 +46,133 @@ // const javaApi = 'http://10.16.173.59:8001'; // const javaApi = 'http://192.168.92.249:8001'; -Vue.prototype.HaveJson = (val) => { - return JSON.parse(JSON.stringify(val)) -} -Vue.prototype.javaApi = javaApi -Vue.prototype.$moment = Moment +Vue.prototype.HaveJson = val => { + return JSON.parse(JSON.stringify(val)); +}; +Vue.prototype.javaApi = javaApi; +Vue.prototype.$moment = Moment; -Vue.use(VueAxios, axios) -Vue.config.productionTip = false +Vue.use(VueAxios, axios); +Vue.config.productionTip = false; Vue.config.performance = true; Vue.use(VueRouter); Vue.use(ElementUI); -Vue.component('barcode', VueBarcode) +Vue.component("barcode", VueBarcode); Vue.use(qs); Vue.use(api); -axios.defaults.baseURL = javaApi -axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' -axios.defaults.withCredentials = true -axios.defaults.crossDomain = true -Vue.prototype.$axios = axios +axios.defaults.baseURL = javaApi; +axios.defaults.headers.post["Content-Type"] = + "application/x-www-form-urlencoded;charset=UTF-8"; +axios.defaults.withCredentials = true; +axios.defaults.crossDomain = true; +Vue.prototype.$axios = axios; -import { - Message -} from 'element-ui'; -axios.interceptors.request.use(function(config) { - let tk = sessionStorage.getItem("token") - let token; - if (tk != undefined && tk != '') { - token = tk - } - if (token) { - config.headers['token'] = "" + token - // config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' - // config.headers['Content-Type'] = 'application/json' - } - if ((config.method === 'post' || config.method === 'put')&&!config.noQs) { - config.data = qs.stringify(config.data) - } - if (config.headers['Content-Type'] == 'application/json'&&!config.noQs) { - config.data = qs.parse(config.data) - } - return config -}, function(error) { - return Promise.reject(error) -}) +import { Message } from "element-ui"; +axios.interceptors.request.use( + function(config) { + let tk = sessionStorage.getItem("token"); + let token; + if (tk != undefined && tk != "") { + token = tk; + } + if (token) { + config.headers["token"] = "" + token; + // config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' + // config.headers['Content-Type'] = 'application/json' + } + if ((config.method === "post" || config.method === "put") && !config.noQs) { + config.data = qs.stringify(config.data); + } + if (config.headers["Content-Type"] == "application/json" && !config.noQs) { + config.data = qs.parse(config.data); + } + return config; + }, + function(error) { + return Promise.reject(error); + } +); -axios.interceptors.response.use(res => { - if(res.data.code === 201){ - Message({ - type: 'error', - dangerouslyUseHTMLString: true, - message: `${res.data.message}` - }) - } - return res.data -}, async function(err) { - if (JSON.stringify(err).indexOf('timeout of') > -1) { - Message.error('璇锋眰瓒呮椂锛岃妫�鏌ョ綉缁滆缃�') - } else if (JSON.stringify(err).indexOf('ERR_CONNECTION_RESET') > -1 || JSON.stringify(err).indexOf( - 'Network Error') > -1) { - Message.error('缃戠粶杩炴帴閿欒') - } else if (err.response.status == "503") { - Message.error('鏈嶅姟鏈搷搴�') - } else if (err.response.status == "404") { - Message.error('璇锋眰澶辫触锛岄摼鎺ュ湴鍧�涓嶅瓨鍦�') - } else if (err.response.status == "403") { - Message.error('token涓嶅瓨鍦�') - } else if (err.response.status == "402") { - Message.error('鏃犳晥绛惧悕锛岃閲嶆柊鐧诲綍') - localStorage.removeItem('autoenter') - window.location.href = '/enter' - } else if (err.response.status == "401") { - await axios.post("/user/refresh", { - reToken: sessionStorage.getItem('reToken') - }).then(res => { - if (res.data.code == 201) { - Message.error('璁よ瘉澶辫触锛岄渶瑕侀噸鏂扮櫥褰�') - localStorage.removeItem('autoenter') - next({ - path: '/enter' - }) - return Promise.reject(err) - } - sessionStorage.setItem('token', res.data.token) - sessionStorage.setItem('reToken', res.data.reToken) - }) - return axios(err.config) - } else if (err.response.status == "500") { - Message.error('鏈嶅姟绔嚭鐜伴敊璇�') - } - return Promise.reject(err) -}) +axios.interceptors.response.use( + res => { + if (res.data.code === 201) { + Message({ + type: "error", + dangerouslyUseHTMLString: true, + message: `${res.data.message}` + }); + } + return res.data; + }, + async function(err) { + if (JSON.stringify(err).indexOf("timeout of") > -1) { + Message.error("璇锋眰瓒呮椂锛岃妫�鏌ョ綉缁滆缃�"); + } else if ( + JSON.stringify(err).indexOf("ERR_CONNECTION_RESET") > -1 || + JSON.stringify(err).indexOf("Network Error") > -1 + ) { + Message.error("缃戠粶杩炴帴閿欒"); + } else if (err.response.status == "503") { + Message.error("鏈嶅姟鏈搷搴�"); + } else if (err.response.status == "404") { + Message.error("璇锋眰澶辫触锛岄摼鎺ュ湴鍧�涓嶅瓨鍦�"); + } else if (err.response.status == "403") { + Message.error("token涓嶅瓨鍦�"); + } else if (err.response.status == "402") { + Message.error("鏃犳晥绛惧悕锛岃閲嶆柊鐧诲綍"); + localStorage.removeItem("autoenter"); + window.location.href = "/enter"; + } else if (err.response.status == "401") { + await axios + .post("/user/refresh", { + reToken: sessionStorage.getItem("reToken") + }) + .then(res => { + if (res.data.code == 201) { + Message.error("璁よ瘉澶辫触锛岄渶瑕侀噸鏂扮櫥褰�"); + localStorage.removeItem("autoenter"); + next({ + path: "/enter" + }); + return Promise.reject(err); + } + sessionStorage.setItem("token", res.data.token); + sessionStorage.setItem("reToken", res.data.reToken); + }); + return axios(err.config); + } else if (err.response.status == "500") { + Message.error("鏈嶅姟绔嚭鐜伴敊璇�"); + } + return Promise.reject(err); + } +); router.beforeEach((to, from, next) => { - if(to.path.indexOf('/test') == 0){ - next() - return - } - if (to.path.indexOf('/enter') != 0) { - if (sessionStorage.getItem('token') == null || sessionStorage.getItem('token') == '' || sessionStorage.getItem( - 'token') == undefined) { + if (to.path.indexOf("/test") == 0) { + next(); + return; + } + if (to.path.indexOf("/enter") != 0) { + if ( + sessionStorage.getItem("token") == null || + sessionStorage.getItem("token") == "" || + sessionStorage.getItem("token") == undefined + ) { next({ - path: '/enter' - }) + path: "/enter" + }); } } - next() + next(); }); new Vue({ - el: '#app', - router, - render: h => h(App), + el: "#app", + router, + render: h => h(App), beforeCreate() { - // 闇�瑕佸湪鍏ㄥ眬娣诲姞涓�涓睘鎬� - Vue.prototype.$bus = this + // 闇�瑕佸湪鍏ㄥ眬娣诲姞涓�涓睘鎬� + Vue.prototype.$bus = this; } }); - -- Gitblit v1.9.3