Browse Source

fix: 修改cardNo为hisPatientId

carver 2 years ago
parent
commit
f363fa2d49

+ 1 - 0
antbuilder/core/utils/request.js

@@ -241,6 +241,7 @@ export default async function request(options) {
 	if (err) return [err, null];
 	const code = +getIn(res, ["code"], "");
 	if (code === 20001 || code === 20002 || code === 20008) {
+		console.log("code ===>", code);
 		const [error] = await setTicket();
 		if (!error) {
 			const result = await request(options);

+ 0 - 1
antbuilder/industry/hospitalV2/components/edit-patient/index.js

@@ -372,7 +372,6 @@ Component(
 
 					my.hideLoading();
 					this.resolveFn = resolve;
-					console.log("medicCardsList ===>", medicCardsList);
 					this.setData({
 						show: true,
 						medicCardsList,

+ 1 - 4
antbuilder/industry/hospitalV2/components/report-list/index.js

@@ -47,10 +47,7 @@ Component({
 			if (!this.filters && patient) {
 				this.filters = {
 					type: "检查报告",
-					cardNum:
-						patient.medicCards && patient.medicCards.length !== 0
-							? patient.medicCards[0].cardNum
-							: "",
+					hisPatientId: patient.hisPatientId || "",
 				};
 				this.flatRef.refresh();
 			}