From e04fbe73f7785155bffe3db30a7ead37f9200f06 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 19 四月 2024 16:09:32 +0800 Subject: [PATCH] 对接测试项目统计接口 --- src/assets/api/controller.js | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/src/assets/api/controller.js b/src/assets/api/controller.js index 3616019..ecb0d36 100644 --- a/src/assets/api/controller.js +++ b/src/assets/api/controller.js @@ -16,7 +16,10 @@ sampleOrder, insOrderPlan, insReport, - warehouse + warehouse, + department, + report, + certification, } } @@ -84,6 +87,7 @@ upEnum: "/enum/upEnum", //淇敼鏋氫妇 delEnum: "/enum/delEnum", //鍒犻櫎鏋氫妇 selectEnumByCategory: "/enum/selectEnumByCategory", //閫氳繃鍒嗙被鏌ヨ鏋氫妇 + getDic: "/enum/getDic", //鑾峰彇鏁版嵁瀛楀吀鐨勫垎绫� } const capacityScope = { @@ -130,6 +134,7 @@ selectInsOrderTemplateById: "/insOrder/selectInsOrderTemplateById", //閫氳繃妫�楠屽崟妯℃澘id鑾峰彇妫�楠屽崟妯℃澘鍐呭 delInsOrderTemplate: "/insOrder/delInsOrderTemplate", //鍒犻櫎妫�楠屽崟妯℃澘 selectSampleAndProductByOrderId: "/insOrder/selectSampleAndProductByOrderId", //閫氳繃妫�楠屽崟鏌ヨ妫�楠屾暟鎹紙鏁版嵁鏌ョ湅锛� + costStatistics: "/insOrder/costStatistics", //璐圭敤缁熻 } const sampleOrder = { @@ -184,6 +189,10 @@ const insReport = { pageInsReport: "/insReport/pageInsReport", //鏌ヨ妫�楠屾姤鍛婃暟鎹� wordToHtml: "/insReport/wordToHtml", //Word杞琀TML + inReport: "/insReport/inReport", //鎶ュ憡涓婁紶 + upReportUrl: "/insReport/upReportUrl", //鎶ュ憡杩樺師 + writeReport: "/insReport/writeReport", //鎶ュ憡鎻愪氦 + examineReport: "/insReport/examineReport", //鎶ュ憡瀹℃牳 } const warehouse = { @@ -200,3 +209,26 @@ getSampleRecord: "/warehouse/getSampleRecord", //鏌ヨ鏍峰搧璇︾粏璁板綍 searchSampleId: "/warehouse/searchSampleId", //閫氳繃鏍峰搧缂栧彿杩涜妫�绱� } + +const department = { + selectDepartment: "/department/selectDepartment", //浜哄憳鏋舵瀯鏍� + addDepartment: "/department/addDepartment", //娣诲姞閮ㄩ棬 + delDepartment: "/department/delDepartment", //鍒犻櫎閮ㄩ棬 + showUserById: "/department/showUserById", //鏍规嵁閫夋嫨鐨勬爲灞曠ず鐩稿叧鐨勪汉鍛� +} + +const report = { + businessStatisticsByDay: "/report/businessStatisticsByDay", //姣忔棩涓氬姟缁熻 + calendarWorkByWeek: "/report/calendarWorkByWeek", //棣栭〉-->鏃ュ巻浠诲姟鍥� + addSchedule: "/report/addSchedule", //棣栭〉-->娣诲姞鏃ョ▼ + ScheduleByMe: "/report/ScheduleByMe", //棣栭〉-->鎴戠殑鏃ョ▼ + testProductByDay: "/report/testProductByDay", //棣栨娴嬮」鐩粺璁� +} +const certification = { + getCertificationDetail:"/certification/getCertificationDetail",//鏌ヨ璧勮川鏄庣粏鍒楄〃 + addCertificationDetail:"/certification/addCertificationDetail",//娣诲姞璧勮川鏄庣粏鍒楄〃 + delCertificationDetail:"certification/delCertificationDetail",//鍒犻櫎璧勮川鏄庣粏鍒楄〃 +} + + + -- Gitblit v1.9.3