diff --git a/src/api/RQWarning.js b/src/api/RQWarning.js index 32f2dc0..e263923 100644 --- a/src/api/RQWarning.js +++ b/src/api/RQWarning.js @@ -43,3 +43,39 @@ data: data, }); } + + +// /commonWarning/list +export function commonWarningList(query) { + return request({ + url: "/business/commonWarning/list", + method: "get", + params: query, + }); +} + +// /commonWarning/{id} +export function commonWarningGet(id) { + return request({ + url: `/business/commonWarning/${id}`, + method: "get", + }); +} + +// /alarmWorkOrder/add +export function alarmWorkOrderAdd(data) { + return request({ + url: "/business/alarmWorkOrder/add", + method: "POST", + data: data, + }); +} + +// /alarmWorkOrder/list +export function alarmWorkOrderList(query) { + return request({ + url: "/business/alarmWorkOrder/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/src/api/RQWarning.js b/src/api/RQWarning.js index 32f2dc0..e263923 100644 --- a/src/api/RQWarning.js +++ b/src/api/RQWarning.js @@ -43,3 +43,39 @@ data: data, }); } + + +// /commonWarning/list +export function commonWarningList(query) { + return request({ + url: "/business/commonWarning/list", + method: "get", + params: query, + }); +} + +// /commonWarning/{id} +export function commonWarningGet(id) { + return request({ + url: `/business/commonWarning/${id}`, + method: "get", + }); +} + +// /alarmWorkOrder/add +export function alarmWorkOrderAdd(data) { + return request({ + url: "/business/alarmWorkOrder/add", + method: "POST", + data: data, + }); +} + +// /alarmWorkOrder/list +export function alarmWorkOrderList(query) { + return request({ + url: "/business/alarmWorkOrder/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/src/api/system/tanchuang.js b/src/api/system/tanchuang.js new file mode 100644 index 0000000..7b6d12f --- /dev/null +++ b/src/api/system/tanchuang.js @@ -0,0 +1,10 @@ +import request from "@/utils/request"; + +// /callRecords/list +export function callRecordsList(query) { + return request({ + url: "/business/callRecords/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/src/api/RQWarning.js b/src/api/RQWarning.js index 32f2dc0..e263923 100644 --- a/src/api/RQWarning.js +++ b/src/api/RQWarning.js @@ -43,3 +43,39 @@ data: data, }); } + + +// /commonWarning/list +export function commonWarningList(query) { + return request({ + url: "/business/commonWarning/list", + method: "get", + params: query, + }); +} + +// /commonWarning/{id} +export function commonWarningGet(id) { + return request({ + url: `/business/commonWarning/${id}`, + method: "get", + }); +} + +// /alarmWorkOrder/add +export function alarmWorkOrderAdd(data) { + return request({ + url: "/business/alarmWorkOrder/add", + method: "POST", + data: data, + }); +} + +// /alarmWorkOrder/list +export function alarmWorkOrderList(query) { + return request({ + url: "/business/alarmWorkOrder/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/src/api/system/tanchuang.js b/src/api/system/tanchuang.js new file mode 100644 index 0000000..7b6d12f --- /dev/null +++ b/src/api/system/tanchuang.js @@ -0,0 +1,10 @@ +import request from "@/utils/request"; + +// /callRecords/list +export function callRecordsList(query) { + return request({ + url: "/business/callRecords/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/src/views/DialogTabs/component/GongDanPaiFa.vue b/src/views/DialogTabs/component/GongDanPaiFa.vue index b9fd757..5f48c79 100644 --- a/src/views/DialogTabs/component/GongDanPaiFa.vue +++ b/src/views/DialogTabs/component/GongDanPaiFa.vue @@ -1,23 +1,23 @@