From 0605e72cd0e959d5f36ebd857b3c90ceb11ad2d1 Mon Sep 17 00:00:00 2001 From: Liuyujia <18050528999@163.com> Date: Fri, 3 Feb 2023 17:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E8=AE=BF=E5=BD=95=E5=85=A5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/followup.js | 22 +++++++++++----- .../FormComponents/ReadForm/index.vue | 7 ++++-- .../zx-side-bar/components/SideBarItem.vue | 5 ++-- src/layouts/components/zx-side-bar/index.vue | 1 + .../followupentry/components/followReview.vue | 25 +++++++++++++------ src/views/followupentry/followaudit.vue | 25 ++++++++++++------- 6 files changed, 57 insertions(+), 28 deletions(-) diff --git a/src/api/followup.js b/src/api/followup.js index cb6ddb1..f23153d 100644 --- a/src/api/followup.js +++ b/src/api/followup.js @@ -36,9 +36,19 @@ export function getFollowUnCheckDetail(id) { method: "get", }); } -// export function getHproleDetail(id) { -// return request({ -// url: `/cloud-upms//sys/role/${id}`, -// method: "get", -// }) -// } \ No newline at end of file +//随访病例审核 +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/FormComponents/ReadForm/index.vue b/src/components/FormComponents/ReadForm/index.vue index c820290..750e577 100644 --- a/src/components/FormComponents/ReadForm/index.vue +++ b/src/components/FormComponents/ReadForm/index.vue @@ -49,9 +49,11 @@ > {{ g.label }} - {{ + + {{ errorText - }} + }} + - {{ onlyOneChildren.meta.title }} + {{ onlyOneChildren.meta.title }} {{ onlyOneChildren.meta.badge }} + >{{ onlyOneChildren.meta.badge }} diff --git a/src/layouts/components/zx-side-bar/index.vue b/src/layouts/components/zx-side-bar/index.vue index a7ef194..7314dc1 100644 --- a/src/layouts/components/zx-side-bar/index.vue +++ b/src/layouts/components/zx-side-bar/index.vue @@ -57,6 +57,7 @@ export default { if (meta.activeMenu) { return meta.activeMenu } + console.log("path",path) return path }, variables() { diff --git a/src/views/followupentry/components/followReview.vue b/src/views/followupentry/components/followReview.vue index e901987..83f5143 100644 --- a/src/views/followupentry/components/followReview.vue +++ b/src/views/followupentry/components/followReview.vue @@ -1,5 +1,5 @@ - + @@ -10,11 +10,16 @@ import ConfigForms from "@/views/screening/components/ConfigForms.vue" import ReadForm from "@/components/FormComponents/ReadForm/index" export default { - name: "FollowupAudit", + name: "followReview", components: { ConfigForms, ReadForm }, + props: { + form: { + type: Object, + }, + }, data() { return { followupForm:{ @@ -685,15 +690,19 @@ export default { ] }, formEdit:{ - name:"djksh", - contact_phone:"12345678", - is_accept:"0", - gas_exam:"15", - G_17:"1" } } }, - created() {}, + watch:{ + form(val){ + this.formEdit = val + console.log("form",val) + } + }, + created() { + }, + mounted(){ + }, methods: {}, } diff --git a/src/views/followupentry/followaudit.vue b/src/views/followupentry/followaudit.vue index cb69365..a447826 100644 --- a/src/views/followupentry/followaudit.vue +++ b/src/views/followupentry/followaudit.vue @@ -1,4 +1,5 @@ + @@ -9,6 +10,10 @@ 返回 + + + + 请选择审核结果: @@ -23,9 +28,6 @@ 驳回修改建议:胃镜图片不合规 - - - @@ -103,6 +105,13 @@ export default { medicalCombination:'无锡市人民医院医联体', mcCount:7, editStatus: false, //进入的状态是第一次审核还是修改审核,false为第一次,true为修改 + formEdit:{ + name:"djksh", + contact_phone:"12345678", + is_accept:"0", + gas_exam:"15", + G_17:"5" + },//填报数据 form: {}, rules: { reson: [{ required: true, message: "请填写", trigger: "blur" }], @@ -128,7 +137,7 @@ export default { } }, watch: {}, - mounted() { + created() { this.getDetail() }, computed:{ @@ -204,10 +213,7 @@ export default { this.loading = true let res = await getFollowUnCheckDetail(this.unionId) if(res.code==1){ - //分页内容 - // const d = res.data - // this.total= d.total - // this.tableData=d['records'] + this.formEdit=res.data[0] } this.loading = false }, @@ -253,7 +259,8 @@ export default { font-size: 14px; font-family: AlibabaPuHuiTiM; color: #333333; - box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.1); + box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1); + border-top: 1px solid rgba(0, 0, 0, 0.1); display: flex; .btn_group { margin-left: 24px; -- 2.22.0