|
@@ -36,16 +36,7 @@ export interface EmrAuditDetailTable {
|
|
|
index: number
|
|
|
}
|
|
|
|
|
|
-export function getAuditMessages(id, code, finalControl) {
|
|
|
- return requestV2({
|
|
|
- showLoading: false,
|
|
|
- url: URL + '/getAuditMessages',
|
|
|
- method: 'get',
|
|
|
- params: {id, code, finalControl}
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
-export function setAudit(data) {
|
|
|
+export function setAudit(data: any) {
|
|
|
return requestV2({
|
|
|
url: URL + '/setAudit',
|
|
|
method: 'post',
|
|
@@ -53,7 +44,7 @@ export function setAudit(data) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function rectifyMedicalRecords(id, state) {
|
|
|
+export function rectifyMedicalRecords(id: string, state: number) {
|
|
|
return requestV2({
|
|
|
url: URL + '/rectifyMedicalRecords',
|
|
|
method: 'get',
|
|
@@ -61,7 +52,7 @@ export function rectifyMedicalRecords(id, state) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function getHistoricalAudit(emrId, finalControl) {
|
|
|
+export function getHistoricalAudit(emrId: string, finalControl: number) {
|
|
|
return requestV2({
|
|
|
url: URL + '/getHistoricalAudit',
|
|
|
method: 'get',
|
|
@@ -70,7 +61,7 @@ export function getHistoricalAudit(emrId, finalControl) {
|
|
|
}
|
|
|
|
|
|
|
|
|
-export function updateFinalControl(patNo, times) {
|
|
|
+export function updateFinalControl(patNo: string, times: number) {
|
|
|
return requestV2({
|
|
|
url: URL + '/updateFinalControl',
|
|
|
method: 'get',
|
|
@@ -78,7 +69,7 @@ export function updateFinalControl(patNo, times) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function updateControlLevel(patNo, times, bazl) {
|
|
|
+export function updateControlLevel(patNo: string, times: number, bazl: string) {
|
|
|
return requestV2({
|
|
|
url: URL + '/updateControlLevel',
|
|
|
method: 'get',
|