Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
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
4c2704fb
Commit
4c2704fb
authored
Jun 12, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加审核按钮,审核权限
parent
2c544c6e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
282 additions
and
186 deletions
+282
-186
index.vue
src/components/TabComponents/index.vue
+4
-0
index.vue
src/views/audit-detail/index.vue
+28
-5
index.vue
src/views/audit-qualitycontrol/index.vue
+15
-1
index.vue
src/views/screening/index.vue
+235
-180
No files found.
src/components/TabComponents/index.vue
View file @
4c2704fb
...
...
@@ -795,6 +795,7 @@ export default {
},
...
mapGetters
({
fontSize
:
"
table/fontSize
"
,
roles
:
"
user/roles
"
,
}),
},
methods
:
{
...
...
@@ -864,6 +865,9 @@ export default {
remoteMethod
(
val
)
{
this
.
$emit
(
"
remoteMethod
"
,
val
)
},
clearSort
()
{
this
.
$refs
.
selftab
.
clearSort
()
},
},
}
</
script
>
...
...
src/views/audit-detail/index.vue
View file @
4c2704fb
...
...
@@ -6,7 +6,7 @@
<span
v-if=
"!isEmpty"
>
当前审核
</span>
<span
v-if=
"!isEmpty"
class=
"f-b"
>
【
{{
curUnion
}}
】
<span
v-if=
"!editStatus"
>
【剩余
{{
auditNum
}}
】
</span
>
<span
v-if=
"!inPatientId"
>
【剩余
{{
auditNum
}}
】
</span>
</span
></span
>
</div>
...
...
@@ -17,7 +17,7 @@
v-if=
"patientId && !isEmpty && !editStatus"
>
修改
</el-button
>
<el-button
class=
"btn"
@
click=
"
$router.go(-1)
"
>
返回
</el-button>
<el-button
class=
"btn"
@
click=
"
backEvents
"
>
返回
</el-button>
</div>
</div>
</div>
...
...
@@ -164,6 +164,8 @@
? curBtn == 1
? "好的"
: "提交"
: inPatientId
? "确认并返回"
: "确认并进入下一例审核"
}}
</el-button>
</div>
...
...
@@ -232,6 +234,8 @@
?
curBtn
==
1
?
"
好的
"
:
"
提交
"
:
inPatientId
?
"
确认并返回
"
:
"
确认并进入下一例审核
"
}}
</el-button>
</div>
...
...
@@ -300,6 +304,11 @@ export default {
confirmStatus
:
false
,
}
},
props
:
{
formId
:
String
,
inPatientId
:
String
,
inUnionName
:
String
,
},
computed
:
{
showClose
()
{
return
this
.
curBtn
==
1
?
false
:
true
...
...
@@ -310,7 +319,11 @@ export default {
mounted
()
{
let
unionId
=
this
.
$route
.
query
.
unionId
let
patientId
=
this
.
$route
.
query
.
patientId
if
(
unionId
&&
!
patientId
)
{
if
(
this
.
inPatientId
)
{
// 组件使用
this
.
patientId
=
this
.
inPatientId
this
.
curUnion
=
this
.
inUnionName
}
else
if
(
unionId
&&
!
patientId
)
{
this
.
editStatus
=
false
this
.
getUser
(
unionId
)
}
else
if
(
patientId
)
{
...
...
@@ -324,6 +337,13 @@ export default {
// this.$refs.publicDialog.dialogVisible = true
},
methods
:
{
backEvents
()
{
if
(
this
.
inPatientId
)
{
this
.
$emit
(
"
changeIsAudit
"
)
}
else
{
this
.
$router
.
go
(
-
1
)
}
},
refresh
()
{
this
.
$refs
[
"
screen
"
].
getPatientDetail
()
},
...
...
@@ -462,7 +482,7 @@ export default {
}
}
},
//
不合格
提交
// 提交
onSubmit
()
{
this
.
loading
=
true
// 切换文本
...
...
@@ -530,7 +550,10 @@ export default {
nextExample
()
{
// !
this
.
$store
.
commit
(
"
user/setGetMessageFlag
"
,
true
)
if
(
this
.
editStatus
)
{
if
(
this
.
inPatientId
)
{
this
.
onCancel
()
this
.
$emit
(
"
submitAudit
"
)
}
else
if
(
this
.
editStatus
)
{
this
.
loading
=
false
this
.
onCancel
()
}
else
{
...
...
src/views/audit-qualitycontrol/index.vue
View file @
4c2704fb
...
...
@@ -30,6 +30,7 @@
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
@
currentPageChange=
"handleCurrentChange"
:sortChange=
"handleSort"
:showSummary=
"auditStatus === '0'"
:getSummaries=
"getSummaries"
/>
...
...
@@ -101,6 +102,7 @@ export default {
label
:
"
待审核(例)备份
"
,
minWidth
:
120
,
value
:
"
unCheckNums
"
,
// sortable: "custom",
},
{
label
:
"
最新上报时间
"
,
...
...
@@ -213,6 +215,13 @@ export default {
this
.
handleClick
()
},
methods
:
{
handleSort
(
val
)
{
console
.
log
(
val
)
const
{
prop
,
order
}
=
val
this
.
pageIndex
=
1
this
.
handleSearch
({
unCheckNums
:
order
})
// order "descending" prop "unCheckNums"
},
getSummaries
()
{
return
[
"
总计
"
,
...
...
@@ -229,6 +238,7 @@ export default {
}
this
.
pageIndex
=
1
this
.
handleSearch
()
this
.
$refs
.
table
.
clearSort
()
},
auditHandle
(
data
,
i
)
{
if
(
this
.
type
==
"
1
"
)
{
...
...
@@ -271,12 +281,16 @@ export default {
}
}
},
async
handleSearch
()
{
async
handleSearch
(
obj
)
{
this
.
listLoading
=
true
let
params
=
{
pageSize
:
this
.
pageSize
,
pageNum
:
this
.
pageIndex
,
...
obj
,
}
// if (this.type==0) {
// }
let
res
switch
(
this
.
auditStatus
)
{
case
"
0
"
:
...
...
src/views/screening/index.vue
View file @
4c2704fb
This diff is collapsed.
Click to expand it.
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