소스 검색

bug修改

wyq 4 년 전
부모
커밋
9a6cf78e9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/js/qualityControl.js

+ 1 - 1
src/js/qualityControl.js

@@ -207,7 +207,7 @@ $('.selectModuleType').on("input", function (e) {
 getmoduleTypeList()
 //获取指标列表数据
 function getmoduleTypeList(val) {
-    post(api.getMedQualityCoList, {}).then(res => {
+    post(api.getMedQualityCoList, { inputStr: val == "全部" ? "" : val || "" }).then(res => {
         if (res.data.code == '0') {
             const moduleTypeList = res.data.data
             renderModuleTypeList(moduleTypeList)