diff --git a/src/api/manage/materials.js b/src/api/manage/materials.js new file mode 100644 index 0000000..fcb6ff8 --- /dev/null +++ b/src/api/manage/materials.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询素材信息列表 +export function listMaterials(query) { + return request({ + url: '/manage/materials/list', + method: 'get', + params: query + }) +} + +// 查询素材信息详细 +export function getMaterials(id) { + return request({ + url: '/manage/materials/' + id, + method: 'get' + }) +} + +// 新增素材信息 +export function addMaterials(data) { + return request({ + url: '/manage/materials', + method: 'post', + data: data + }) +} + +// 修改素材信息 +export function updateMaterials(data) { + return request({ + url: '/manage/materials', + method: 'put', + data: data + }) +} + +// 删除素材信息 +export function delMaterials(id) { + return request({ + url: '/manage/materials/' + id, + method: 'delete' + }) +} diff --git a/src/api/manage/propaganda.js b/src/api/manage/propaganda.js new file mode 100644 index 0000000..d2b1369 --- /dev/null +++ b/src/api/manage/propaganda.js @@ -0,0 +1,68 @@ +import request from '@/utils/request' + +// 查询患者宣教信息列表 +export function listPropaganda(query) { + return request({ + url: '/manage/propaganda/list', + method: 'get', + params: query + }) +} + +// 查询患者宣教信息详细 +export function getPropaganda(id) { + return request({ + url: '/manage/propaganda/' + id, + method: 'get' + }) +} +// 复制宣教内容 +export function copy(id) { + return request({ + url: '/manage/propaganda/copy/' + id, + method: 'get' + }) +} + +// 审核患者宣教信息 +export function updateStatus(data) { + return request({ + url: '/manage/propaganda/updateStatus', + method: 'post', + data: data + }) +} +// 新增患者宣教信息 +export function addPropaganda(data) { + return request({ + url: '/manage/propaganda', + method: 'post', + data: data + }) +} + +// 修改患者宣教信息 +export function updatePropaganda(data) { + return request({ + url: '/manage/propaganda', + method: 'put', + data: data + }) +} + +// 删除患者宣教信息 +export function delPropaganda(id) { + return request({ + url: '/manage/propaganda/' + id, + method: 'delete' + }) +} +// 左侧列表 + +export function listWechatTemplateNum(query) { + return request({ + url: '/system/department/listWechatTemplateNum', + method: 'get', + params: query + }) +} diff --git a/src/api/system/stationAvatar.js b/src/api/system/stationAvatar.js new file mode 100644 index 0000000..8a1664f --- /dev/null +++ b/src/api/system/stationAvatar.js @@ -0,0 +1,56 @@ +import request from '@/utils/request' + +// 用户头像上传 +export function updateNurseStationHeads(data) { + return request({ + url: '/system/station/updateNurseStationHeads', + method: 'post', + data: data + }) +} +export function uploadFilefm(data) { + return request({ + url: '/manage/file/uploadFile', + method: 'post', + data: data + }) +} + +//海报视频上传 +export function updatePoserHeads(data) { + return request({ + url: '/system/poser/updatePoserHeads', + method: 'post', + data: data + }) +} +export function uploadVideoUrl(data) { + return request({ + url: '/system/trainingItem/uploadVideoUrl', + method: 'post', + data: data + }) +} + +export function uploadUrl(data) { + return request({ + url: '/system/trainingItem/uploadUrl', + method: 'post', + data: data + }) +} +export function uploadTrainingCategoryPicture(data) { + return request({ + url: '/system/trainingCategory/uploadTrainingCategoryPicture', + method: 'post', + data: data + }) +} + +export function posts(data) { + return request({ + url: 'https://jsonplaceholder.typicode.com/posts/', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/manage/materials/index.vue b/src/views/manage/materials/index.vue new file mode 100644 index 0000000..cc96a6b --- /dev/null +++ b/src/views/manage/materials/index.vue @@ -0,0 +1,853 @@ + + + + + diff --git a/src/views/manage/propaganda/index.vue b/src/views/manage/propaganda/index.vue new file mode 100644 index 0000000..451f563 --- /dev/null +++ b/src/views/manage/propaganda/index.vue @@ -0,0 +1,1225 @@ + + + + \ No newline at end of file diff --git a/src/views/system/manage/propaganda/index.vue b/src/views/system/manage/propaganda/index.vue new file mode 100644 index 0000000..a6604c5 --- /dev/null +++ b/src/views/system/manage/propaganda/index.vue @@ -0,0 +1,391 @@ + + + diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue new file mode 100644 index 0000000..1249f4c --- /dev/null +++ b/src/views/system/stationAvatar/index.vue @@ -0,0 +1,463 @@ + + + +