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
19d67c11
Commit
19d67c11
authored
Feb 15, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.处理数据类型导致数据回显失败
2.修改审核建议功能
parent
06b17403
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
203 additions
and
79 deletions
+203
-79
screeningAudit.js
src/api/screeningAudit.js
+8
-8
FormItemText.vue
src/components/FormComponents/CustomForm/FormItemText.vue
+11
-2
index.vue
src/views/audit-detail/index.vue
+158
-63
index.vue
src/views/audit-qualitycontrol/index.vue
+26
-6
No files found.
src/api/screeningAudit.js
View file @
19d67c11
...
...
@@ -53,11 +53,11 @@ export function saveSysCheckNote(data = {}) {
})
}
//
//
修改筛查病例审核意见
// export function putFollow
CheckAdvice(data = {}) {
//
return request({
// url: "/disease-data/dataCheck/follow
/check/advice",
//
method: "put",
//
data,
//
})
//
}
//修改筛查病例审核意见
export
function
putScreening
CheckAdvice
(
data
=
{})
{
return
request
({
url
:
"
/disease-data/dataCheck/screening
/check/advice
"
,
method
:
"
put
"
,
data
,
})
}
src/components/FormComponents/CustomForm/FormItemText.vue
View file @
19d67c11
...
...
@@ -65,13 +65,22 @@ export default {
},
filters
:
{
getItemText
(
val
,
list
,
type
)
{
if
(
!
val
)
return
""
if
([
"
radio
"
,
"
select
"
,
"
checkbox
"
,
"
cascader
"
].
includes
(
type
))
{
// 单选改为字符串
if
([
"
radio
"
,
"
select
"
,
"
cascader
"
].
includes
(
type
))
{
return
formatDicList
(
list
,
String
(
val
),
type
===
"
cascader
"
?
"
/
"
:
"
,
"
)
}
// 多选
if
([
"
checkbox
"
].
includes
(
type
))
{
return
formatDicList
(
list
,
val
,
type
===
"
cascader
"
?
"
/
"
:
"
,
"
)
}
// 返回的数字修改字符串
if
(
typeof
val
===
"
number
"
)
{
return
String
(
val
)
}
if
(
Array
.
isArray
(
val
)
&&
type
.
includes
(
"
range
"
))
{
return
val
.
join
(
"
-
"
)
}
// if (!val) return ""
return
val
},
},
...
...
src/views/audit-detail/index.vue
View file @
19d67c11
This diff is collapsed.
Click to expand it.
src/views/audit-qualitycontrol/index.vue
View file @
19d67c11
...
...
@@ -199,6 +199,7 @@ export default {
this
.
type
=
sessionStorage
.
getItem
(
"
audit-type
"
)
||
"
0
"
}
this
.
handleSearch
()
this
.
handleClick
()
},
methods
:
{
handleClick
()
{
...
...
@@ -221,12 +222,31 @@ export default {
},
})
}
else
{
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
id
:
data
[
"
unionId
"
],
},
})
switch
(
this
.
auditStatus
)
{
case
"
0
"
:
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
unionId
:
data
[
"
unionId
"
],
},
})
break
case
"
1
"
:
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
id
:
data
[
"
id
"
],
patientId
:
data
[
"
patientId
"
],
checkNote
:
data
[
"
checkNote
"
],
checkStatus
:
data
[
"
checkStatus
"
],
unionName
:
data
[
"
unionName
"
],
},
})
break
default
:
break
}
}
},
async
handleSearch
()
{
...
...
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