diff --git a/src/api/followup.js b/src/api/followup.js index c6f7a48c1bcf01cabbf992db4d186427c7ed8297..f23153d3ccc76b6a0fa2810a479d8ee48b0eee99 100644 --- a/src/api/followup.js +++ b/src/api/followup.js @@ -12,11 +12,43 @@ export function getFollowSurvey(params = {}) { params, }); } -//审核质控 随访 +///////////////审核质控///////////////////// +//随访已审核列表 export function getFollowCheck(params = {}) { return request({ - url: "/disease-data/follow/check/patientFrom", + url: "/disease-data/dataCheck/follow/check", method: "get", params, }); +} +//随访待审核列表 +export function getFollowUncheck(params = {}) { + return request({ + url: "/disease-data/dataCheck/follow/unCheck", + method: "get", + params, + }); +} +//随访病例待审核(详情数据) +export function getFollowUnCheckDetail(id) { + return request({ + url: `/disease-data/dataCheck/follow/unCheck/detail/${id}`, + method: "get", + }); +} +//随访病例审核 +export function putFollowCheck(data = {}) { + return request({ + url: "/disease-data/dataCheck/follow/check", + method: "put", + data, + }) +} +//修改随访审核意见 +export function putFollowCheckAdvice(data = {}) { + return request({ + url: "/disease-data/dataCheck/follow/check/advice", + method: "put", + data, + }) } \ No newline at end of file diff --git a/src/components/CustomsTable/index.vue b/src/components/CustomsTable/index.vue index 7a67e9c635af427b44aebd9b21f1d1fbf6761784..2e5449e25929f97bd8c53d08eeb067d26f48b9af 100644 --- a/src/components/CustomsTable/index.vue +++ b/src/components/CustomsTable/index.vue @@ -34,16 +34,9 @@ diff --git a/src/components/FormComponents/ReadForm/index.vue b/src/components/FormComponents/ReadForm/index.vue index 877df0feea45663bdb2c241043d9f03dd55aff00..8a784294b5a5af60bed992179ee23f4b4c379a09 100644 --- a/src/components/FormComponents/ReadForm/index.vue +++ b/src/components/FormComponents/ReadForm/index.vue @@ -49,9 +49,11 @@ > - + > @@ -616,7 +621,7 @@ --> + --> @@ -94,17 +82,11 @@
该病例审核合格成功!
-
- {{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }} -
-
- {{ form.reson }} -
+
{{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }}
+
{{ form.reson }}
-
- 该病例审核{{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }}提交成功! -
+
该病例审核{{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }}提交成功!
下一例
@@ -115,6 +97,7 @@ diff --git a/src/views/audit-qualitycontrol/community.vue b/src/views/audit-qualitycontrol/community.vue deleted file mode 100644 index 4d1b1b513eb998b5b16bd837b4411de9dd9ae4c8..0000000000000000000000000000000000000000 --- a/src/views/audit-qualitycontrol/community.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - diff --git a/src/views/audit-qualitycontrol/healthcheckup.vue b/src/views/audit-qualitycontrol/healthcheckup.vue deleted file mode 100644 index ce102c33a636b932b0cb9f424b02d7ae620e634a..0000000000000000000000000000000000000000 --- a/src/views/audit-qualitycontrol/healthcheckup.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - diff --git a/src/views/audit-qualitycontrol/hospital.vue b/src/views/audit-qualitycontrol/hospital.vue deleted file mode 100644 index 75bcf8cdbf32959c6caa327f67d0db892fee1d11..0000000000000000000000000000000000000000 --- a/src/views/audit-qualitycontrol/hospital.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - diff --git a/src/views/audit-qualitycontrol/index.vue b/src/views/audit-qualitycontrol/index.vue index 4303fee7e999e1093df4c7cca174170d6ac1dbfe..8d64d706e369574fbd56de0085696b3088f40d6b 100644 --- a/src/views/audit-qualitycontrol/index.vue +++ b/src/views/audit-qualitycontrol/index.vue @@ -18,7 +18,7 @@
- import CustomsTable from "@/components/CustomsTable" import paginationMixin from "@/components/TabComponents/mixin" -import { getFollowCheck } from "@/api/followup" +import { getFollowCheck,getFollowUncheck } from "@/api/followup" export default { components: { CustomsTable, @@ -49,26 +49,64 @@ export default { type: "0", auditStatus: "0", listLoading: false, - columns: [ + tableData: [ + { + "unionId": "2", + + "unionName": "合肥高新附院", + + "unCheckNums": 2, + + "checkNums": 0, + + "reportTime": "2022-12-09 09:12:35" + + } + ], + } + }, + watch: { + auditStatus(val) { + sessionStorage.setItem('audit-status',val) + switch (this.type) { + case "1": + this.handleSearch() + break + } + console.log('status',val) + }, + type(val) { + console.log('type',val) + sessionStorage.setItem('audit-type',val) + switch (val) { + case "1": + this.handleSearch() + break + } + }, + }, + computed:{ + columns(){ + const unCkeckColumns = [ { label: "医联体", minWidth: 120, - value: "title", + value: "unionName", }, { label: "已审核(例)", minWidth: 120, - value: "file", + value: "checkNums", }, { label: "待审核(例)备份", minWidth: 120, - value: "uploadTime", + value: "unCheckNums", }, { label: "最新上报时间", minWidth: 120, - value: "editTime", + value: "reportTime", }, { label: "操作", @@ -83,32 +121,75 @@ export default { }, ], }, - ], - tableData: [ + ] + const checkColumns = [ { - title: "第一个", - isOpen: true, + label: "筛查编号", + minWidth: 120, + value: "unionId", }, - ], + { + label: "医联体", + minWidth: 120, + value: "unionName", + }, + { + label: "姓名", + minWidth: 120, + formatter: (row) => { + return row.name ? row.name : "--" + }, + value: "name", + }, + { + label: "年龄", + minWidth: 120, + value: "age", + formatter: (row) => { + return row.age ? row.age : "--" + }, + }, + { + label: "风险评估", + minWidth: 120, + value: "checkNums", + }, + { + label: "审核状态", + minWidth: 120, + value: "unCheckNums", + }, + { + label: "上报时间", + minWidth: 120, + value: "reportTime", + }, + { + label: "操作", + width: 220, + fixed: "right", + operType: "button", + operations: [ + { + func: this.auditHandle, + label: "审核", + type: "text", + }, + ], + }, + ] + return this.auditStatus == "1" ? checkColumns:unCkeckColumns } }, - watch: { - auditStatus(val) { - switch (this.type) { - case "1": - this.getFollowupList() - break - } - }, - type(val) { - switch (val) { - case "1": - this.getFollowupList() - break - } - }, + mounted() { + if(sessionStorage.getItem('audit-status') || sessionStorage.getItem('audit-type') ){ + this.auditStatus = sessionStorage.getItem('audit-status') || "0" + this.type = sessionStorage.getItem('audit-type') || "0" + } + else{ + this.handleSearch() + } }, - mounted() {}, methods: { handleClick() { console.log("type:" + this.type, "auditStatus" + this.auditStatus) @@ -122,7 +203,12 @@ export default { auditHandle(data, i) { console.log(data, i) if (this.type == "1") { - this.$router.push("/followaudit") + this.$router.push({ + path: "/followaudit", + query: { + id: data['unionId'], + }, + }) } else { this.$router.push({ path: "/auditdetail", @@ -132,17 +218,22 @@ export default { }) } }, - async getFollowupList() { + async handleSearch() { let params = { - pageSize: 10, - pageNum: 1, + pageSize:this.pageSize, + pageNum:this.pageIndex } let res switch (this.auditStatus) { + case "0": + res = await getFollowUncheck(params) //待审核 + break; case "1": - res = await getFollowCheck(params) - break + res = await getFollowCheck(params) //已审核 + break; } + this.tableData = res.data.records + this.total= res.data.total }, }, } diff --git a/src/views/followupentry/components/followReview.vue b/src/views/followupentry/components/followReview.vue index e901987fa96a65f9bba420c15ffd72db17a0db00..83f51435d00ce469de4b08f6588a21b0b6ebc9b2 100644 --- a/src/views/followupentry/components/followReview.vue +++ b/src/views/followupentry/components/followReview.vue @@ -1,5 +1,5 @@