diff --git a/src/api/manage/template.js b/src/api/manage/template.js new file mode 100644 index 0000000..355a966 --- /dev/null +++ b/src/api/manage/template.js @@ -0,0 +1,60 @@ +import request from '@/utils/request' + +// 查询微信模板信息列表 +export function listTemplate(query) { + return request({ + url: '/manage/template/list', + method: 'get', + params: query + }) +} + +// 查询微信模板信息详细 +export function getTemplate(id) { + return request({ + url: '/manage/template/' + id, + method: 'get' + }) +} + +// 新增微信模板信息 +export function addTemplate(data) { + return request({ + url: '/manage/template/add', + method: 'post', + data: data + }) +} + +// 修改微信模板信息 +export function updateTemplate(data) { + return request({ + url: '/manage/template/edit', + method: 'put', + data: data + }) +} + +// 删除微信模板信息 +export function delTemplate(id) { + return request({ + url: '/manage/template/remove/' + id, + method: 'delete' + }) +} +// 左侧微信列表 +export function listWechatTemplateNum(query) { + return request({ + url: '/system/department/listWechatTemplateNum', + method: 'get', + params: query + }) +} +// 适用任务类型 + +export function typelist(dictType) { + return request({ + url: '/system/dict/data/type/'+dictType, + method: 'get', + }) +} diff --git a/src/api/operationInfo/operationInfo.js b/src/api/operationInfo/operationInfo.js index f516bab..bb86481 100644 --- a/src/api/operationInfo/operationInfo.js +++ b/src/api/operationInfo/operationInfo.js @@ -12,7 +12,7 @@ export function listOperationInfo(query) { // 查询手术信息详细 export function getOperationInfo(id) { return request({ - url: '/operationInfo/operationInfo/' + id, + url: '/manage/operationInfo/' + id, method: 'get' }) } @@ -20,7 +20,7 @@ export function getOperationInfo(id) { // 新增手术信息 export function addOperationInfo(data) { return request({ - url: '/operationInfo/operationInfo/add', + url: '/manage/operationInfo/add', method: 'post', data: data }) @@ -29,7 +29,7 @@ export function addOperationInfo(data) { // 修改手术信息 export function updateOperationInfo(data) { return request({ - url: '/operationInfo/operationInfo/edit', + url: '/manage/operationInfo/edit', method: 'put', data: data }) @@ -38,7 +38,7 @@ export function updateOperationInfo(data) { // 删除手术信息 export function delOperationInfo(id) { return request({ - url: '/operationInfo/operationInfo/remove/' + id, + url: '/manage/operationInfo/remove/' + id, method: 'delete' }) } diff --git a/src/api/system/question.js b/src/api/system/question.js new file mode 100644 index 0000000..55ffc30 --- /dev/null +++ b/src/api/system/question.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 查询问卷基本信息列表 +export function listQuestion(query) { + return request({ + url: '/system/question/list', + method: 'get', + params: query + }) +} + +// 查询问卷基本信息详细 +export function getQuestion(id) { + return request({ + url: '/system/question/' + id, + method: 'get' + }) +} + +// 新增问卷基本信息 +export function addQuestion(data) { + return request({ + url: '/system/question', + method: 'post', + data: data + }) +} + +// 修改问卷基本信息 +export function updateQuestion(data) { + return request({ + url: '/system/question', + method: 'put', + data: data + }) +} + +// 删除问卷基本信息 +export function delQuestion(id) { + return request({ + url: '/system/question/' + id, + method: 'delete' + }) +} + + +//科室接口 +export function getDepartmentList(query) { + return request({ + url: 'system/department/getDepartmentList', + method: 'get', + params: query + }) +} diff --git a/src/assets/system/dafen.png b/src/assets/system/dafen.png new file mode 100644 index 0000000..7819f77 Binary files /dev/null and b/src/assets/system/dafen.png differ diff --git a/src/assets/system/dafens.png b/src/assets/system/dafens.png new file mode 100644 index 0000000..a5a46b3 Binary files /dev/null and b/src/assets/system/dafens.png differ diff --git a/src/assets/system/danxuan.png b/src/assets/system/danxuan.png new file mode 100644 index 0000000..e9d1355 Binary files /dev/null and b/src/assets/system/danxuan.png differ diff --git a/src/assets/system/danxuans.png b/src/assets/system/danxuans.png new file mode 100644 index 0000000..33cccbd Binary files /dev/null and b/src/assets/system/danxuans.png differ diff --git a/src/assets/system/duoxuan.png b/src/assets/system/duoxuan.png new file mode 100644 index 0000000..08671e0 Binary files /dev/null and b/src/assets/system/duoxuan.png differ diff --git a/src/assets/system/duoxuans.png b/src/assets/system/duoxuans.png new file mode 100644 index 0000000..7ef0dbc Binary files /dev/null and b/src/assets/system/duoxuans.png differ diff --git a/src/assets/system/gb.png b/src/assets/system/gb.png new file mode 100644 index 0000000..711581e Binary files /dev/null and b/src/assets/system/gb.png differ diff --git a/src/assets/system/riqi.png b/src/assets/system/riqi.png new file mode 100644 index 0000000..114ca0f Binary files /dev/null and b/src/assets/system/riqi.png differ diff --git a/src/assets/system/shijian.png b/src/assets/system/shijian.png new file mode 100644 index 0000000..dd8a5bc Binary files /dev/null and b/src/assets/system/shijian.png differ diff --git a/src/assets/system/tiankong.png b/src/assets/system/tiankong.png new file mode 100644 index 0000000..fa17591 Binary files /dev/null and b/src/assets/system/tiankong.png differ diff --git a/src/assets/system/tiankongs.png b/src/assets/system/tiankongs.png new file mode 100644 index 0000000..8684728 Binary files /dev/null and b/src/assets/system/tiankongs.png differ diff --git a/src/assets/system/yidong.png b/src/assets/system/yidong.png new file mode 100644 index 0000000..272a23b Binary files /dev/null and b/src/assets/system/yidong.png differ diff --git a/src/views/manage/components/healthEducation.vue b/src/views/manage/components/healthEducation.vue index 4994a19..c9e8d6e 100644 --- a/src/views/manage/components/healthEducation.vue +++ b/src/views/manage/components/healthEducation.vue @@ -45,7 +45,7 @@ import { getList } from '@/api/manage/healthEducation' export default { - name: "visitRecords", + name: "healthEducation", data() { return { pickerOptions: { diff --git a/src/views/manage/components/indicatorMonitoring.vue b/src/views/manage/components/indicatorMonitoring.vue index ef45ab5..940c63b 100644 --- a/src/views/manage/components/indicatorMonitoring.vue +++ b/src/views/manage/components/indicatorMonitoring.vue @@ -17,7 +17,7 @@ import * as echarts from 'echarts'; export default { - name: "visitRecords", + name: "indicatorMonitoring", data() { return { pickerOptions: { diff --git a/src/views/manage/components/signingRecords.vue b/src/views/manage/components/signingRecords.vue index 5d2748c..4f718cb 100644 --- a/src/views/manage/components/signingRecords.vue +++ b/src/views/manage/components/signingRecords.vue @@ -40,7 +40,7 @@ + diff --git a/src/views/manage/visitin/index.vue b/src/views/manage/visitin/index.vue index b0a0c79..be453a1 100644 --- a/src/views/manage/visitin/index.vue +++ b/src/views/manage/visitin/index.vue @@ -348,7 +348,7 @@ import { listPatientInfo, getPatientInfo, delPatientInfo, addPatientInfo, update import { getAge } from "@/utils/age"; export default { - name: "PatientInfo", + name: "visitin", dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'], data() { return { diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue index b011978..995ac3b 100644 --- a/src/views/manage/visitout/index.vue +++ b/src/views/manage/visitout/index.vue @@ -355,7 +355,7 @@ import { listPatientInfo, getPatientInfo, delPatientInfo, addPatientInfo, update import { getAge } from "@/utils/age"; export default { - name: "PatientInfo", + name: "visitout", dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'], data() { return { diff --git a/src/views/operationInfo/operationInfo/index.vue b/src/views/operationInfo/operationInfo/index.vue index 1adafc1..7b17555 100644 --- a/src/views/operationInfo/operationInfo/index.vue +++ b/src/views/operationInfo/operationInfo/index.vue @@ -186,43 +186,7 @@ 取 消 - - - - -
将文件拖到此处,或点击上传
-
- 仅允许导入xls、xlsx格式文件。 - 下载模板 -
-
- -
+ @@ -341,7 +305,6 @@ export default { // 左侧科室 itemdata(item) { if (item) { - console.log(item, '9999') this.itemname = item.id this.form.departmentId = this.itemname this.form.departmentName = item.departmentName @@ -355,41 +318,6 @@ export default { } }, - /** 导入按钮操作 */ - handleImport() { - this.upload.title = "导入手术名称"; - this.upload.open = true; - }, - /** 下载模板操作 */ - importTemplate() { - this.download( - "system/user/importTemplate", - {}, - `user_template_${new Date().getTime()}.xlsx` - ); - }, - // 文件上传中处理 - handleFileUploadProgress(event, file, fileList) { - this.upload.isUploading = true; - }, - // 文件上传成功处理 - handleFileSuccess(response, file, fileList) { - this.upload.open = false; - this.upload.isUploading = false; - this.$refs.upload.clearFiles(); - this.$alert( - "
" + - response.msg + - "
", - "导入结果", - { dangerouslyUseHTMLString: true } - ); - this.getList(); - }, - // 提交上传文件 - submitFileForm() { - this.$refs.upload.submit(); - }, // 左侧科室 Departmentlist() { this.loading = true; @@ -533,6 +461,15 @@ export default { return delOperationInfo(ids); }).then(() => { this.getList(); + var quer={ + pageNum: 1, + pageSize: 10, + } + listOperationInfo(quer).then(response => { + this.count = response.total; + this.loading = false; + }); + this.Departmentlist(); this.$modal.msgSuccess("删除成功"); }).catch(() => { }); }, diff --git a/src/views/system/addQuestionnaire/index.vue b/src/views/system/addQuestionnaire/index.vue new file mode 100644 index 0000000..a45071a --- /dev/null +++ b/src/views/system/addQuestionnaire/index.vue @@ -0,0 +1,524 @@ + + + + \ No newline at end of file diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue new file mode 100644 index 0000000..2f4a858 --- /dev/null +++ b/src/views/system/question/index.vue @@ -0,0 +1,178 @@ + + +