Browse Source

bug修改

wyq 4 năm trước cách đây
mục cha
commit
9a6cf78e9d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)