mfmf il y a 3 ans
Parent
commit
52a3417cd3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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);