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 @@
- +
- - - + + + - + - - + + - 搜索 - 重置 + 搜索 + 重置
- 新增短信模版 - 导入 - + v-hasPermi="['manage:template:add']" + >新增短信模版 + 导入 - +
- - - - - - + + + + + + - + - + - + - +
- +
- + - + - - + + - {{ form.departmentName }} - - - {{ form.diseaseTypeName }} + " + >{{ form.departmentName }} + + + {{ form.diseaseTypeName }} - + - - + + - + - - + + + + + - + - -
- - - - - - 搜索 - 重置 - - - - - - - - - + +
+ + + + + + 搜索 + 重置 + + + + + + + + +
- +
- -
- - - - - - 搜索 - 重置 - - - - - - - - - + +
+ + + + + + 搜索 + 重置 + + + + + + + + +
- +
- + -