From 4381b08be67647c957734a2e9142d1aed9a6b55b Mon Sep 17 00:00:00 2001 From: coderxqt <335614092@qq.com> Date: Fri, 24 Apr 2026 17:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.staging | 2 +- src/api/manage/message.js | 7 + src/api/system/billInfo.js | 53 ++ src/api/system/phoneDialRecord.js | 44 + src/api/system/shortMessageSendRecord.js | 44 + src/views/manage/message/index.vue | 788 +++++++++++++----- src/views/system/billInfo/index.vue | 391 +++++++++ src/views/system/department/index.vue | 89 +- src/views/system/phoneDialRecord/index.vue | 523 ++++++++++++ .../system/shortMessageSendRecord/index.vue | 381 +++++++++ 12 files changed, 2054 insertions(+), 272 deletions(-) create mode 100644 src/api/system/billInfo.js create mode 100644 src/api/system/phoneDialRecord.js create mode 100644 src/api/system/shortMessageSendRecord.js create mode 100644 src/views/system/billInfo/index.vue create mode 100644 src/views/system/phoneDialRecord/index.vue create mode 100644 src/views/system/shortMessageSendRecord/index.vue diff --git a/.env.development b/.env.development index e074897..1278ae5 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 新医路院后患者管理平台 ENV = 'development' # 新医路院后患者管理平台/开发环境 -VUE_APP_BASE_API = 'http://192.168.4.245:19090' +VUE_APP_BASE_API = 'http://8.131.93.145:54098' # 路由懒加载 diff --git a/.env.production b/.env.production index 4fe6194..c55c949 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ VUE_APP_TITLE = 新医路院后患者管理平台 ENV = 'production' # 新医路院后患者管理平台/生产环境 -VUE_APP_BASE_API = 'http://192.168.4.245:19090' +VUE_APP_BASE_API = 'http://8.131.93.145:54098' diff --git a/.env.staging b/.env.staging index 475ea1b..ea2fb1c 100644 --- a/.env.staging +++ b/.env.staging @@ -7,4 +7,4 @@ NODE_ENV = production ENV = 'staging' # 新医路院后患者管理平台/测试环境 -VUE_APP_BASE_API = 'http://192.168.4.245:19090' +VUE_APP_BASE_API = 'http://8.131.93.145:54098' diff --git a/src/api/manage/message.js b/src/api/manage/message.js index 288ee4f..8d67062 100644 --- a/src/api/manage/message.js +++ b/src/api/manage/message.js @@ -50,3 +50,10 @@ export function listMessageNum(query) { params: query }) } +// 查询字典信息(当前页面) +export function type(dictValue) { + return request({ + url: '/system/dict/data/type/' + dictValue, + method: 'get' + }) +} diff --git a/src/api/system/billInfo.js b/src/api/system/billInfo.js new file mode 100644 index 0000000..3b29a3c --- /dev/null +++ b/src/api/system/billInfo.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询账单信息列表 +export function listBillInfo(query) { + return request({ + url: '/system/billInfo/list', + method: 'get', + params: query + }) +} + +// 查询账单信息详细 +export function getBillInfo(id) { + return request({ + url: '/system/billInfo/' + id, + method: 'get' + }) +} + +// 新增账单信息 +export function addBillInfo(data) { + return request({ + url: '/system/billInfo', + method: 'post', + data: data + }) +} + +// 修改账单信息 +export function updateBillInfo(data) { + return request({ + url: '/system/billInfo', + method: 'put', + data: data + }) +} + +// 删除账单信息 +export function delBillInfo(id) { + return request({ + url: '/system/billInfo/' + id, + method: 'delete' + }) +} + +// 查看单条信息 +export function lookBillInfo(data) { + return request({ + url: '/system/billInfo/view', + method: 'get', + params: data + }) +} diff --git a/src/api/system/phoneDialRecord.js b/src/api/system/phoneDialRecord.js new file mode 100644 index 0000000..279eb3e --- /dev/null +++ b/src/api/system/phoneDialRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询电话拨打记录列表 +export function listPhoneDialRecord(query) { + return request({ + url: '/system/phoneDialRecord/list', + method: 'get', + params: query + }) +} + +// 查询电话拨打记录详细 +export function getPhoneDialRecord(id) { + return request({ + url: '/system/phoneDialRecord/' + id, + method: 'get' + }) +} + +// 新增电话拨打记录 +export function addPhoneDialRecord(data) { + return request({ + url: '/system/phoneDialRecord', + method: 'post', + data: data + }) +} + +// 修改电话拨打记录 +export function updatePhoneDialRecord(data) { + return request({ + url: '/system/phoneDialRecord', + method: 'put', + data: data + }) +} + +// 删除电话拨打记录 +export function delPhoneDialRecord(id) { + return request({ + url: '/system/phoneDialRecord/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/shortMessageSendRecord.js b/src/api/system/shortMessageSendRecord.js new file mode 100644 index 0000000..f4ed3b1 --- /dev/null +++ b/src/api/system/shortMessageSendRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询短信发送结果记录列表 +export function listShortMessageSendRecord(query) { + return request({ + url: '/system/shortMessageSendRecord/list', + method: 'get', + params: query + }) +} + +// 查询短信发送结果记录详细 +export function getShortMessageSendRecord(id) { + return request({ + url: '/system/shortMessageSendRecord/' + id, + method: 'get' + }) +} + +// 新增短信发送结果记录 +export function addShortMessageSendRecord(data) { + return request({ + url: '/system/shortMessageSendRecord', + method: 'post', + data: data + }) +} + +// 修改短信发送结果记录 +export function updateShortMessageSendRecord(data) { + return request({ + url: '/system/shortMessageSendRecord', + method: 'put', + data: data + }) +} + +// 删除短信发送结果记录 +export function delShortMessageSendRecord(id) { + return request({ + url: '/system/shortMessageSendRecord/' + id, + method: 'delete' + }) +} diff --git a/src/views/manage/message/index.vue b/src/views/manage/message/index.vue index 6af9976..764f509 100644 --- a/src/views/manage/message/index.vue +++ b/src/views/manage/message/index.vue @@ -2,145 +2,351 @@