diff --git a/src/api/manage/script.js b/src/api/manage/script.js new file mode 100644 index 0000000..067a754 --- /dev/null +++ b/src/api/manage/script.js @@ -0,0 +1,71 @@ +import request from '@/utils/request' + +// 查询话术信息列表 +export function listScript(query) { + return request({ + url: '/manage/script/list', + method: 'get', + params: query + }) +} +// 查询科室病种信息列表 +export function departmentDisease(query) { + return request({ + url: '/system/departmentDisease/listV1', + method: 'get', + params: query + }) +} + +// 科室分页列表 +export function department(query) { + return request({ + url: '/system/department/list', + method: 'get', + params: query + }) +} +// 病种分页 + +export function listDisease(query) { + return request({ + url: '/system/departmentDisease/list', + method: 'get', + params: query + }) +} + +// 查询话术信息详细 +export function getScript(id) { + return request({ + url: '/manage/script/' + id, + method: 'get' + }) +} + + +// 新增话术信息 +export function addScript(data) { + return request({ + url: '/manage/script/add', + method: 'post', + data: data + }) +} + +// 修改话术信息 +export function updateScript(data) { + return request({ + url: '/manage/script/edit', + method: 'put', + data: data + }) +} + +// 删除话术信息 +export function delScript(id) { + return request({ + url: '/manage/script/remove/' + id, + method: 'delete' + }) +} diff --git a/src/api/operationInfo/operationInfo.js b/src/api/operationInfo/operationInfo.js new file mode 100644 index 0000000..f516bab --- /dev/null +++ b/src/api/operationInfo/operationInfo.js @@ -0,0 +1,61 @@ +import request from '@/utils/request' + +// 查询手术信息列表 +export function listOperationInfo(query) { + return request({ + url: '/manage/operationInfo/list', + method: 'get', + params: query + }) +} + +// 查询手术信息详细 +export function getOperationInfo(id) { + return request({ + url: '/operationInfo/operationInfo/' + id, + method: 'get' + }) +} + +// 新增手术信息 +export function addOperationInfo(data) { + return request({ + url: '/operationInfo/operationInfo/add', + method: 'post', + data: data + }) +} + +// 修改手术信息 +export function updateOperationInfo(data) { + return request({ + url: '/operationInfo/operationInfo/edit', + method: 'put', + data: data + }) +} + +// 删除手术信息 +export function delOperationInfo(id) { + return request({ + url: '/operationInfo/operationInfo/remove/' + id, + method: 'delete' + }) +} +// 科室列表 +export function getDepartmentLis(query) { + return request({ + url: '/system/department/getDepartmentList', + method: 'get', + params: query + }) +} +// 手术左侧列表 + +export function listOperationNum(query) { + return request({ + url: '/system/department/listOperationNum', + method: 'get', + params: query + }) +} diff --git a/src/views/manage/script/index.vue b/src/views/manage/script/index.vue new file mode 100644 index 0000000..0540779 --- /dev/null +++ b/src/views/manage/script/index.vue @@ -0,0 +1,1156 @@ + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + + 删除 + + + + + + + + 科室名称 + + + + + + 全部 + + {{count}} + + + + {{ item.departmentName }} + + {{item.countNum}} + + + + + + + + + + + + + + + + {{ scope.row.scriptStatus == "NORMAL" ? "正常" : "" }} + {{ scope.row.scriptStatus == "OFF_SHELF" ? "下架" : "" }} + {{ scope.row.scriptStatus == "SUSPEND" ? "暂停" : "" }} + + + + + + + 修改 + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ departmentName }} + {{ departmentName }} + + + {{ diseaseTypeName }} + {{ diseaseTypeName }} + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/operationInfo/operationInfo/index.vue b/src/views/operationInfo/operationInfo/index.vue new file mode 100644 index 0000000..1adafc1 --- /dev/null +++ b/src/views/operationInfo/operationInfo/index.vue @@ -0,0 +1,589 @@ + + + + + + + + + 搜索 + 重置 + + + + + + 新增手术 + + + + + + + 科室名称 + + + + + + 全部 + + + {{count}} + + + + {{ item.departmentName }} + + {{item.countNum}} + + + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 将文件拖到此处,或点击上传 + + 仅允许导入xls、xlsx格式文件。 + 下载模板 + + + + + + + + +