|
|
@@ -986,7 +986,8 @@ const injurySicard = async () => {
|
|
|
grouping: true,
|
|
|
});
|
|
|
try {
|
|
|
- const response = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ //const response = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ const response = await fetch('http://localhost:9205/thyy/api/public/injury/workinjury', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1033,7 +1034,8 @@ const injurySicard = async () => {
|
|
|
visit_type = match[3];
|
|
|
}
|
|
|
}
|
|
|
- const responseTwo = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryPatientRelation', {
|
|
|
+ //const responseTwo = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryPatientRelation', {
|
|
|
+ const responseTwo = await fetch('http://localhost:9205/thyy/api/public/injury/addWorkInjuryPatientRelation', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1446,7 +1448,8 @@ const handleClickInjuryinfo = row => {
|
|
|
}
|
|
|
console.log("params22222222222222222222222222222222222222222222222222",params)
|
|
|
try {
|
|
|
- const response = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ //const response = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ const response = await fetch('http://localhost:9205/thyy/api/public/injury/workinjury', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1458,7 +1461,8 @@ const handleClickInjuryinfo = row => {
|
|
|
if (result && result.code === 1 && result.data && result.data.code === 200 && result.data.data.infcode == '0') {
|
|
|
//调用addOrEditTSiPatInfo接口
|
|
|
try {
|
|
|
- const responseThree = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addOrEditTSiPatInfo', {
|
|
|
+ //const responseThree = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addOrEditTSiPatInfo', {
|
|
|
+ const responseThree = await fetch('http://localhost:9205/thyy/api/public/injury/addOrEditTSiPatInfo', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1525,7 +1529,8 @@ const handleClickInjuryinfo = row => {
|
|
|
}
|
|
|
//调用addWorkInjuryInterfaceLog接口
|
|
|
try {
|
|
|
- const responseTwo = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
+ //const responseTwo = await fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
+ const responseTwo = await fetch('http://localhost:9205/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1696,7 +1701,8 @@ const beforeCancelRegister = () => {
|
|
|
grouping: true,
|
|
|
});
|
|
|
|
|
|
- fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ //fetch('http://130.150.161.72:9206/thyy/api/public/injury/workinjury', {
|
|
|
+ fetch('http://localhost:9205/thyy/api/public/injury/workinjury', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1707,7 +1713,8 @@ const beforeCancelRegister = () => {
|
|
|
.then(result => {
|
|
|
if (result && result.code === 1 && result.data && result.data.code === 200 && result.data.data.infcode == '0') {
|
|
|
// 新增:调用本地表撤销同步接口
|
|
|
- fetch('http://130.150.161.72:9206/thyy/api/public/injury/localTablesModifyForAdmissionCancellation', {
|
|
|
+ //fetch('http://130.150.161.72:9206/thyy/api/public/injury/localTablesModifyForAdmissionCancellation', {
|
|
|
+ fetch('http://localhost:9205/thyy/api/public/injury/localTablesModifyForAdmissionCancellation', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -1725,7 +1732,8 @@ const beforeCancelRegister = () => {
|
|
|
.then(localResult => {
|
|
|
if (localResult && localResult.code === 1) {
|
|
|
// 调用addWorkInjuryInterfaceLog接口
|
|
|
- fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
+ //fetch('http://130.150.161.72:9206/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
+ fetch('http://localhost:9205/thyy/api/public/injury/addWorkInjuryInterfaceLog', {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|