瀏覽代碼

问题修改

mfmf 3 年之前
父節點
當前提交
52a3417cd3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/DiagManager/addDiag.js

+ 2 - 2
src/components/DiagManager/addDiag.js

@@ -32,7 +32,7 @@ function AddDiag({ formData, matchChange, visible, cancel, onOk, title, termSTyp
 			const list = []
 			setDataList(list);
 		} else {
-			post(api.index, { inputStr: txt, type: termSType, hospitalId: hospitalId }).then((res) => {
+			post(api.index, { inputStr: txt, type: termSType}).then((res) => {
 				if (res.data.code === "0") {
 					const list = res.data.data.nameList || [];
 					setDataList(list);
@@ -47,7 +47,7 @@ function AddDiag({ formData, matchChange, visible, cancel, onOk, title, termSTyp
 			const list = []
 			setFormList(list);
 		} else {
-			post(api.index, { inputStr: txt, type: 15, hospitalId: hospitalId }).then((res) => {
+			post(api.index, { inputStr: txt, type: 15}).then((res) => {
 				if (res.data.code === "0") {
 					const list = res.data.data.nameList || [];
 					setFormList(list);