浏览代码

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()
 getmoduleTypeList()
 //获取指标列表数据
 //获取指标列表数据
 function getmoduleTypeList(val) {
 function getmoduleTypeList(val) {
-    post(api.getMedQualityCoList, {}).then(res => {
+    post(api.getMedQualityCoList, { inputStr: val == "全部" ? "" : val || "" }).then(res => {
         if (res.data.code == '0') {
         if (res.data.code == '0') {
             const moduleTypeList = res.data.data
             const moduleTypeList = res.data.data
             renderModuleTypeList(moduleTypeList)
             renderModuleTypeList(moduleTypeList)