Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liang
agcs2.0-web
Commits
c0522876
Commit
c0522876
authored
May 24, 2023
by
liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核质控-筛查/随访可以修改
parent
abd66e8e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
186 additions
and
11 deletions
+186
-11
index.vue
src/views/audit-detail/index.vue
+21
-1
DialogConfigForms.vue
src/views/followupentry/components/DialogConfigForms.vue
+109
-0
followaudit.vue
src/views/followupentry/followaudit.vue
+39
-2
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+17
-8
No files found.
src/views/audit-detail/index.vue
View file @
c0522876
...
...
@@ -11,6 +11,9 @@
>
</div>
<div
class=
"right"
>
<el-button
class=
"btn"
@
click=
"handleEdit"
v-if=
"auditNum > 0"
>
修改
</el-button
>
<el-button
class=
"btn"
@
click=
"$router.go(-1)"
>
返回
</el-button>
</div>
</div>
...
...
@@ -20,6 +23,7 @@
:is=
"curComponent"
:patient-id=
"patientId"
:no-data=
"isEmpty"
ref=
"screen"
></component>
</div>
<div
v-if=
"!isEmpty"
class=
"choose-handle p-24"
>
...
...
@@ -230,11 +234,21 @@
</div>
</
template
>
</public-dialog>
<DialogConfigForms
ref=
"follow"
:patientId=
"patientId"
formType=
"1"
is-draft=
"0"
operation=
"edit"
@
update=
"refresh"
></DialogConfigForms>
</div>
</template>
<
script
>
import
publicDialog
from
"
./components/publicDialog.vue
"
import
screenReview
from
"
./components/screenReview.vue
"
import
DialogConfigForms
from
"
../followupentry/components/DialogConfigForms.vue
"
import
{
getScreeningUser
,
putScreeningCheck
,
...
...
@@ -243,7 +257,7 @@ import {
getSysCheckNote
,
}
from
"
@/api/screeningAudit
"
export
default
{
components
:
{
publicDialog
,
screenReview
},
components
:
{
publicDialog
,
screenReview
,
DialogConfigForms
},
data
()
{
return
{
isEmpty
:
false
,
...
...
@@ -307,6 +321,12 @@ export default {
// this.$refs.publicDialog.dialogVisible = true
},
methods
:
{
refresh
()
{
this
.
$refs
[
"
screen
"
].
getPatientDetail
()
},
handleEdit
()
{
this
.
$refs
.
follow
.
open
()
},
// 获取标签
getSysCheckNote
()
{
getSysCheckNote
().
then
((
res
)
=>
{
...
...
src/views/followupentry/components/DialogConfigForms.vue
0 → 100644
View file @
c0522876
<
template
>
<el-dialog
center
:title=
"title"
:visible.sync=
"visible"
:width=
"width"
@
close=
"close"
:append-to-body=
"appendToBody"
:close-on-click-modal=
"closeModal"
top=
"5vh"
>
<div
class=
"main"
>
<ConfigForms
:key=
"patientId"
isDialogEdit
:form-type=
"formType"
:disabled=
"disabled"
:tab-disabled=
"tabDisabled"
:patient-id=
"patientId"
:isDraft=
"isDraft"
:operation=
"operation"
@
changeShow=
"changeShow"
></ConfigForms>
</div>
</el-dialog>
</
template
>
<
script
>
import
ConfigForms
from
"
@/views/screening/components/ConfigForms.vue
"
export
default
{
components
:
{
ConfigForms
},
name
:
"
DialogConfigForms
"
,
data
()
{
return
{
loading
:
false
,
visible
:
false
,
disabled
:
false
,
tabDisabled
:
true
,
screenList
:
[],
}
},
props
:
{
formType
:
String
,
operation
:
String
,
isDraft
:
String
,
patientId
:
String
,
followId
:
String
,
confirmText
:
{
type
:
String
,
default
:
"
确 认
"
,
},
appendToBody
:
{
type
:
Boolean
,
default
:
false
,
},
closeModal
:
{
type
:
Boolean
,
default
:
false
,
},
title
:
{
type
:
String
,
default
:
"
修改
"
,
},
width
:
{
type
:
String
,
default
:
"
80%
"
,
},
},
provide
()
{
return
{
tabFollowId
:
()
=>
this
.
followId
,
}
},
methods
:
{
open
()
{
this
.
visible
=
true
},
close
()
{
this
.
loading
=
false
this
.
visible
=
false
},
handleConfirm
()
{
this
.
loading
=
true
},
changeShow
()
{
this
.
close
()
},
},
watch
:
{
visible
()
{
if
(
this
.
visible
)
{
}
else
{
this
.
$emit
(
"
update
"
)
}
},
},
computed
:
{},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.
el-dialog__wrapper
:
:
v-deep
.
el-dialog__header
{
display
:
none
;
}
</
style
>
src/views/followupentry/followaudit.vue
View file @
c0522876
...
...
@@ -10,6 +10,9 @@
>
</div>
<div
class=
"right"
>
<el-button
class=
"btn"
@
click=
"handleEdit"
v-if=
"isShowEdit"
>
修改
</el-button
>
<el-button
class=
"btn"
@
click=
"$router.go(-1)"
>
返回
</el-button>
</div>
</div>
...
...
@@ -17,7 +20,12 @@
<template
v-if=
"!isEmpty"
>
<div
class=
"table-content p-24"
>
<FollowReview
:currentRow=
"currentRow"
titlePosition=
"left"
>
<FollowReview
:currentRow=
"currentRow"
ref=
"follow-review"
titlePosition=
"left"
@
update=
"update"
>
</FollowReview>
</div>
<div
class=
"choose-handle p-24"
>
...
...
@@ -227,11 +235,20 @@
</div>
</
template
>
</public-dialog>
<DialogConfigForms
ref=
"follow"
:patientId=
"currentRow.patientId"
:followId=
"currentRow.id"
formType=
"2"
@
update=
"refresh"
></DialogConfigForms>
</div>
</template>
<
script
>
import
publicDialog
from
"
./components/publicDialog.vue
"
import
FollowReview
from
"
../followupquery/components/FollowReview.vue
"
import
DialogConfigForms
from
"
./components/DialogConfigForms.vue
"
import
{
getFollowUnCheckDetail
,
putFollowCheck
,
...
...
@@ -239,7 +256,7 @@ import {
}
from
"
@/api/followup
"
import
{
saveSysCheckNote
,
getSysCheckNote
}
from
"
@/api/screeningAudit
"
export
default
{
components
:
{
publicDialog
,
FollowReview
},
components
:
{
publicDialog
,
FollowReview
,
DialogConfigForms
},
data
()
{
return
{
isEmpty
:
false
,
...
...
@@ -279,6 +296,7 @@ export default {
curBtn
:
0
,
curComponent
:
"
screenReview
"
,
confirmStatus
:
false
,
isLast
:
false
,
}
},
computed
:
{
...
...
@@ -288,11 +306,30 @@ export default {
showClose
()
{
return
this
.
curBtn
==
1
?
false
:
true
},
isShowEdit
()
{
const
{
checkStatus
,
followBatch
}
=
this
.
currentRow
return
(
this
.
currentRow
.
patientId
&&
this
.
isLast
&&
followBatch
>
0
&&
checkStatus
!==
3
&&
checkStatus
!==
4
)
},
},
created
()
{
this
.
init
()
},
methods
:
{
refresh
()
{
this
.
$refs
[
"
follow-review
"
].
refreshFollow
()
},
handleEdit
()
{
this
.
$refs
.
follow
.
open
()
},
update
(
val
)
{
this
.
isLast
=
val
},
async
getFollowUnCheckDetail
()
{
this
.
loading
=
true
let
res
=
await
getFollowUnCheckDetail
(
this
.
unionId
)
...
...
src/views/screening/components/ConfigForms.vue
View file @
c0522876
...
...
@@ -15,7 +15,14 @@
style=
"position: relative; display: flex"
>
<el-button
v-if=
"formType == 1 ? (!disabled ? true : false) : true"
v-if=
"isDialogEdit"
class=
"draftButton"
@
click=
"$emit('changeShow')"
>
关闭
</el-button
>
<el-button
v-else-if=
"formType == 1 ? (!disabled ? true : false) : true"
class=
"draftButton"
:loading=
"loading"
:disabled=
"formType == 1 ? !infoCompelete : false"
...
...
@@ -26,7 +33,9 @@
v-model=
"activeName"
v-loading=
"fromLoading"
type=
"card"
:style=
"
{ width: formType == 1 ? '100%' : 'calc(100% - 200px)' }"
:style=
"
{
width: formType == 1 || !contrast ? '100%' : 'calc(100% - 200px)',
}"
class="publicTab"
@tab-click="handleTabClick"
>
...
...
@@ -168,6 +177,7 @@ export default {
components
:
{
publicDialog
},
mixins
:
[
mixin
],
props
:
{
isDialogEdit
:
Boolean
,
disabled
:
Boolean
,
screenList
:
Array
,
tabDisabled
:
{
type
:
Boolean
,
default
:
true
},
...
...
@@ -346,12 +356,11 @@ export default {
}
else
if
(
type
==
3
)
{
// 筛查提交
this
.
dialogType
=
"
submit
"
if
(
this
.
formType
==
2
)
{
if
(
this
.
$route
.
query
.
model
===
"
edit
"
)
{
this
.
$emit
(
"
changeShow
"
,
true
)
}
else
{
this
.
$refs
.
followDialog
.
dialogVisible
=
true
}
if
(
this
.
isDialogEdit
||
this
.
$route
.
query
.
model
===
"
edit
"
)
{
// 审核质控弹窗修改提交关闭/随访修改
this
.
$emit
(
"
changeShow
"
,
true
)
}
else
if
(
this
.
formType
==
2
)
{
this
.
$refs
.
followDialog
.
dialogVisible
=
true
}
else
{
this
.
$refs
.
showDialog
.
dialogVisible
=
true
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment