From 1495b22eed7745a337edb1bc22422bb914f205a8 Mon Sep 17 00:00:00 2001 From: lrw <319150264@qq.com> Date: Thu, 13 Apr 2023 15:39:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E8=AE=BF=E6=9F=A5=E8=AF=A2-=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B/=E4=BF=AE=E6=94=B9/=E6=93=8D=E4=BD=9C=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/followup.js | 23 +- src/views/followupentry/index.vue | 5 +- src/views/followupquery/FollowUpDetail.vue | 56 ++++ .../followupquery/components/FollowReview.vue | 302 ++++++++++++++++++ .../followupquery/components/MyCustomForm.vue | 192 +++++++++++ src/views/followupquery/index.vue | 167 +++++----- src/views/followupresearch/index.vue | 3 +- .../screening/components/ConfigForms.vue | 3 +- src/views/screening/components/FormTab.vue | 2 +- 9 files changed, 648 insertions(+), 105 deletions(-) create mode 100644 src/views/followupquery/FollowUpDetail.vue create mode 100644 src/views/followupquery/components/FollowReview.vue create mode 100644 src/views/followupquery/components/MyCustomForm.vue diff --git a/src/api/followup.js b/src/api/followup.js index 091b04e..3bd575a 100644 --- a/src/api/followup.js +++ b/src/api/followup.js @@ -1,4 +1,4 @@ -import request from "@/utils/request"; +import request from "@/utils/request" /** * 随访 @@ -10,7 +10,7 @@ export function getFollowSearch(params = {}) { url: "/disease-data/follow/search", method: "get", params, - }); + }) } //随访调查 列表 export function getFollowSurvey(params = {}) { @@ -18,7 +18,7 @@ export function getFollowSurvey(params = {}) { url: "/disease-data/follow/survey", method: "get", params, - }); + }) } ///////////////审核质控///////////////////// //随访已审核列表 @@ -27,7 +27,7 @@ export function getFollowCheck(params = {}) { url: "/disease-data/dataCheck/follow/check", method: "get", params, - }); + }) } //随访待审核列表 export function getFollowUncheck(params = {}) { @@ -35,14 +35,14 @@ export function getFollowUncheck(params = {}) { 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 = {}) { @@ -59,4 +59,13 @@ export function putFollowCheckAdvice(data = {}) { method: "put", data, }) -} \ No newline at end of file +} + +// 随访查询详情list +export function getFollowRecord(params = {}) { + return request({ + url: "/disease-data/follow/search/detail", + method: "get", + params, + }) +} diff --git a/src/views/followupentry/index.vue b/src/views/followupentry/index.vue index f5cf87e..e740b2f 100644 --- a/src/views/followupentry/index.vue +++ b/src/views/followupentry/index.vue @@ -88,10 +88,11 @@ export default { this.$router.push({ path: "/followupquery", query: {} }) }, getFollowList() { + const followId = this.followId + const key = followId ? "followId" : "patientId" getFollowList({ - patientId: this.patientId, + [key]: this[key], }).then((res) => { - // console.log(res) if (res.code == 1) { this.screenList = res.data || [] } diff --git a/src/views/followupquery/FollowUpDetail.vue b/src/views/followupquery/FollowUpDetail.vue new file mode 100644 index 0000000..f080288 --- /dev/null +++ b/src/views/followupquery/FollowUpDetail.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/views/followupquery/components/FollowReview.vue b/src/views/followupquery/components/FollowReview.vue new file mode 100644 index 0000000..5825882 --- /dev/null +++ b/src/views/followupquery/components/FollowReview.vue @@ -0,0 +1,302 @@ + + + + + diff --git a/src/views/followupquery/components/MyCustomForm.vue b/src/views/followupquery/components/MyCustomForm.vue new file mode 100644 index 0000000..41a492f --- /dev/null +++ b/src/views/followupquery/components/MyCustomForm.vue @@ -0,0 +1,192 @@ + + + diff --git a/src/views/followupquery/index.vue b/src/views/followupquery/index.vue index 580b388..444ce9f 100644 --- a/src/views/followupquery/index.vue +++ b/src/views/followupquery/index.vue @@ -1,47 +1,54 @@