|
@@ -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);
|