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
7c67e700
Commit
7c67e700
authored
2 years ago
by
miaojiale
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lyj' into dev_Miaojiale
parents
f517ea87
0605e72c
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
392 additions
and
799 deletions
+392
-799
followup.js
src/api/followup.js
+34
-2
index.vue
src/components/CustomsTable/index.vue
+3
-10
index.vue
src/components/FormComponents/ReadForm/index.vue
+5
-2
index.vue
src/components/TabComponents/index.vue
+51
-59
index.vue
src/layouts/components/ThemeBar/index.vue
+5
-15
SideBarItem.vue
...layouts/components/zx-side-bar/components/SideBarItem.vue
+2
-3
index.vue
src/layouts/components/zx-side-bar/index.vue
+1
-0
dict.js
src/store/modules/dict.js
+3
-0
vab.scss
src/styles/vab.scss
+13
-1
index.js
src/utils/index.js
+10
-9
index.vue
src/views/audit-detail/index.vue
+15
-29
community.vue
src/views/audit-qualitycontrol/community.vue
+0
-202
healthcheckup.vue
src/views/audit-qualitycontrol/healthcheckup.vue
+0
-174
hospital.vue
src/views/audit-qualitycontrol/hospital.vue
+0
-174
index.vue
src/views/audit-qualitycontrol/index.vue
+125
-34
followReview.vue
src/views/followupentry/components/followReview.vue
+17
-8
followaudit.vue
src/views/followupentry/followaudit.vue
+31
-5
index.vue
src/views/followupentry/index.vue
+0
-10
index.vue
src/views/followupresearch/index.vue
+75
-56
FormTab.vue
src/views/screening/components/FormTab.vue
+2
-6
No files found.
src/api/followup.js
View file @
7c67e700
...
...
@@ -12,11 +12,43 @@ export function getFollowSurvey(params = {}) {
params
,
});
}
//审核质控 随访
///////////////审核质控/////////////////////
//随访已审核列表
export
function
getFollowCheck
(
params
=
{})
{
return
request
({
url
:
"
/disease-data/
follow/check/patientFrom
"
,
url
:
"
/disease-data/
dataCheck/follow/check
"
,
method
:
"
get
"
,
params
,
});
}
//随访待审核列表
export
function
getFollowUncheck
(
params
=
{})
{
return
request
({
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
=
{})
{
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
This diff is collapsed.
Click to expand it.
src/components/CustomsTable/index.vue
View file @
7c67e700
...
...
@@ -34,16 +34,9 @@
</
template
>
<!-- 表内容插槽 -->
<
template
slot-scope=
"scope"
>
<!-- 转化文字 -->
<span
:style=
"
{ fontSize: fontSize + 'px' }"
v-if="column.transList"
>
{{
column
.
transList
[
scope
.
row
[
String
(
column
.
value
)]]
||
"
--
"
}}
</span>
<!-- 一般情况 -->
<span
:style=
"
{ fontSize: fontSize + 'px' }"
v-else
>
{{
scope
.
row
[
column
.
value
]
||
"
--
"
}}
</span>
<span
:style=
"
{ fontSize: fontSize + 'px' }">
<span>
{{
scope
.
row
[
column
.
value
]
||
"
--
"
}}
</span>
</span>
</
template
>
</el-table-column>
</template>
...
...
This diff is collapsed.
Click to expand it.
src/components/FormComponents/ReadForm/index.vue
View file @
7c67e700
...
...
@@ -49,9 +49,11 @@
>
<template
slot=
"title"
>
{{
g
.
label
}}
<span
v-if=
"g.label == '二、排除标准'"
class=
"noCol"
>
{{
<span
v-if=
"g.label == '二、排除标准'"
class=
"noCol"
>
{{
errorText
}}
</span>
}}
</span>
</
template
>
<form-content
v-if=
"collapseNames.includes(g.prop)"
...
...
@@ -312,6 +314,7 @@ export default {
// 绑定部分值(此时表单已渲染)
initfields
(
obj
)
{
for
(
let
k
in
obj
)
{
console
.
log
(
"
通用表单
"
,
k
,
obj
)
// if (this.form.hasOwnProperty(k)) {
this
.
form
[
k
]
=
obj
[
k
]
// }
...
...
This diff is collapsed.
Click to expand it.
src/components/TabComponents/index.vue
View file @
7c67e700
This diff is collapsed.
Click to expand it.
src/layouts/components/ThemeBar/index.vue
View file @
7c67e700
<
template
>
<span
v-if=
"themeBar"
>
<vab-icon
title=
"主题配置"
:icon=
"['fas', 'palette']"
@
click=
"handleChangeTheme"
/>
<vab-icon
title=
"主题配置"
:icon=
"['fas', 'palette']"
@
click=
"handleChangeTheme"
/>
<div
class=
"theme-bar-setting"
>
<div
@
click=
"handleChangeTheme"
>
<vab-icon
:icon=
"['fas', 'palette']"
/>
...
...
@@ -86,11 +82,7 @@
></el-color-picker>
</el-form-item>
<el-form-item
label=
"菜单文字色"
>
<el-color-picker
v-model=
"theme.menuColor"
:predefine=
"['#000', '#fff']"
show-alpha
></el-color-picker>
<el-color-picker
v-model=
"theme.menuColor"
:predefine=
"['#000', '#fff']"
show-alpha
></el-color-picker>
</el-form-item>
<el-form-item
label=
"标签主题色"
>
<el-color-picker
...
...
@@ -115,13 +107,11 @@
</el-form-item>
<el-form-item>
<el-button
@
click=
"handleSetDfaultTheme"
>
恢复默认
</el-button>
<el-button
type=
"primary"
@
click=
"handleSaveTheme"
>
保存
</el-button
>
<el-button
type=
"primary"
@
click=
"handleSaveTheme"
>
保存
</el-button>
</el-form-item>
</el-form>
</div>
</el-scrollbar
>
</div>
</el-scrollbar
>
</el-drawer>
</span>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
src/layouts/components/zx-side-bar/components/SideBarItem.vue
View file @
7c67e700
...
...
@@ -26,13 +26,12 @@
:icon-class=
"onlyOneChildren.meta.remixIcon"
class=
"vab-nav-icon"
/>
<span
slot=
"title"
>
{{
onlyOneChildren
.
meta
.
title
}}
</span>
<span
slot=
"title"
>
{{
onlyOneChildren
.
meta
.
title
}}
</span>
<el-tag
v-if=
"onlyOneChildren.meta && onlyOneChildren.meta.badge"
type=
"danger"
effect=
"dark"
>
{{
onlyOneChildren
.
meta
.
badge
}}
</el-tag
>
>
{{
onlyOneChildren
.
meta
.
badge
}}
</el-tag>
</el-menu-item>
</app-link>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
src/layouts/components/zx-side-bar/index.vue
View file @
7c67e700
...
...
@@ -57,6 +57,7 @@ export default {
if
(
meta
.
activeMenu
)
{
return
meta
.
activeMenu
}
console
.
log
(
"
path
"
,
path
)
return
path
},
variables
()
{
...
...
This diff is collapsed.
Click to expand it.
src/store/modules/dict.js
View file @
7c67e700
...
...
@@ -32,6 +32,7 @@ const actions = {
newDictSet
.
push
(
v
.
type
)
}
})
console
.
log
(
'
执行getDictData
'
,
commit
,
state
)
commit
(
"
setDictSet
"
,
latestDict
)
newDictSet
=
Object
.
keys
(
dictMap
).
length
===
0
?
latestDictSet
:
newDictSet
// 存在新增加的字典
...
...
@@ -56,10 +57,12 @@ const actions = {
},
// 更新字典分类
async
updateDictType
({
commit
,
state
},
data
)
{
console
.
log
(
'
执行updateDictType
'
)
commit
(
"
setDictSet
"
,
data
)
},
// 更新字典详情
async
updateDictDetail
({
commit
,
state
},
{
type
,
data
})
{
console
.
log
(
'
执行updateDictDetail
'
)
const
dictMap
=
state
.
dictMap
if
(
type
)
{
const
list
=
data
.
map
((
item
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
src/styles/vab.scss
View file @
7c67e700
...
...
@@ -213,7 +213,19 @@ html {
text-align
:
center
;
white-space
:
nowrap
;
}
.is-background
{
button
,
.el-pager
li
{
border-radius
:
6px
!
important
;
}
button
,
.el-pager
li
:not
(
.active
)
{
border
:
1px
solid
#D9D9D9
;
background
:
transparent
!
important
;
}
.el-input__inner
{
border-radius
:
6px
!
important
;
}
}
/* 分页结束 */
/* 菜单开始 */
...
...
This diff is collapsed.
Click to expand it.
src/utils/index.js
View file @
7c67e700
...
...
@@ -153,7 +153,7 @@ export function getInfoByIdCard(idCard, type = "birthDate") {
d
.
getFullYear
()
-
birthdays
.
getFullYear
()
-
(
d
.
getMonth
()
<
birthdays
.
getMonth
()
||
(
d
.
getMonth
()
==
birthdays
.
getMonth
()
&&
d
.
getDate
()
<
birthdays
.
getDate
())
(
d
.
getMonth
()
==
birthdays
.
getMonth
()
&&
d
.
getDate
()
<
birthdays
.
getDate
())
?
1
:
0
)
...
...
@@ -182,12 +182,12 @@ export function paramObj(url) {
}
return
JSON
.
parse
(
'
{"
'
+
decodeURIComponent
(
search
)
.
replace
(
/"/g
,
'
\\
"
'
)
.
replace
(
/&/g
,
'
","
'
)
.
replace
(
/=/g
,
'
":"
'
)
.
replace
(
/
\+
/g
,
"
"
)
+
'
"}
'
decodeURIComponent
(
search
)
.
replace
(
/"/g
,
'
\\
"
'
)
.
replace
(
/&/g
,
'
","
'
)
.
replace
(
/=/g
,
'
":"
'
)
.
replace
(
/
\+
/g
,
"
"
)
+
'
"}
'
)
}
...
...
@@ -471,7 +471,7 @@ export function formatDicList(list, value, connector = ",") {
if
(
!
list
)
return
""
if
(
list
.
constructor
!==
Array
)
return
""
// if (!value && value != 0) return ""
let
result
=
""
let
result
=
"
--
"
let
multiple
=
Array
.
isArray
(
value
)
?
true
:
false
if
(
multiple
)
{
const
resultList
=
[]
...
...
@@ -489,6 +489,7 @@ export function formatDicList(list, value, connector = ",") {
}
})
}
console
.
log
(
'
字典
'
,
list
,
value
,
result
)
return
result
}
/**
...
...
@@ -522,7 +523,7 @@ export function changeTime(time) {
let
seconds
=
Math
.
floor
(
time
%
60
)
//秒
return
`
${
day
?
day
+
"
天
"
:
""
}
${
hours
?
hours
+
"
小时
"
:
""
}${
minutes
?
minutes
+
"
分
"
:
""
}${
seconds
}
秒`
}${
seconds
}
秒`
}
export
default
{
formatDicList
,
excelExport
}
This diff is collapsed.
Click to expand it.
src/views/audit-detail/index.vue
View file @
7c67e700
...
...
@@ -20,8 +20,7 @@
class=
"p-btn"
size=
"medium"
@
click=
"showDialog(item.value)"
>
{{
item
.
text
}}
</el-button
>
>
{{
item
.
text
}}
</el-button>
<span
v-if=
"editStatus"
class=
"op"
>
驳回修改建议:胃镜图片不合规
</span>
</div>
</div>
...
...
@@ -36,26 +35,20 @@
<div
class=
"content"
>
<div
class=
"showTips"
>
该病例已经审核【驳回修改】,需要改为
{{
btnGroup
[
curBtn
-
1
]
?
btnGroup
[
curBtn
-
1
].
text
:
""
btnGroup
[
curBtn
-
1
]
?
btnGroup
[
curBtn
-
1
].
text
:
""
}}
吗
</div>
</div>
<div
class=
"btn"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onCancel"
>
否
</el-button
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"editSubmit"
>
是
</el-button
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onCancel"
>
否
</el-button>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"editSubmit"
>
是
</el-button>
</div>
</
template
>
</public-dialog>
<public-dialog
ref=
"publicDialog"
@
onSubmit=
"onSubmit"
@
onCancel=
"onCancel"
>
<!-- 审核结果回显 -->
<
template
v-if=
"!confirmStatus"
slot=
"content"
>
<div
class=
"title"
>
{{
btnGroup
[
curBtn
-
1
]
?
btnGroup
[
curBtn
-
1
].
text
:
""
}}
</div>
<div
class=
"title"
>
{{
btnGroup
[
curBtn
-
1
]
?
btnGroup
[
curBtn
-
1
].
text
:
""
}}
</div>
<div
class=
"content"
>
<div
v-if=
"curBtn != 1"
class=
"noPass"
>
<el-form
...
...
@@ -66,10 +59,7 @@
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
:label=
"curBtn == 2 ? '不合格原因' : '驳回修改建议'"
prop=
"reson"
>
<el-form-item
:label=
"curBtn == 2 ? '不合格原因' : '驳回修改建议'"
prop=
"reson"
>
<el-input
v-model=
"form.reson"
type=
"textarea"
...
...
@@ -82,9 +72,7 @@
</div>
</div>
<div
class=
"btn"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onSubmit"
>
确 定
</el-button
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"onSubmit"
>
确 定
</el-button>
</div>
</
template
>
<!-- 提交后结果 -->
...
...
@@ -94,17 +82,11 @@
<div
v-if=
"curBtn == 1"
class=
"pass"
>
该病例审核合格成功!
</div>
<div
v-if=
"curBtn != 1"
class=
"noPass"
>
<!-- 不合格和驳回 -->
<div
class=
"label"
>
{{
curBtn
==
2
?
"
不合格原因
"
:
"
驳回修改建议
"
}}
</div>
<div
class=
"reson"
>
{{
form
.
reson
}}
</div>
<div
class=
"label"
>
{{
curBtn
==
2
?
"
不合格原因
"
:
"
驳回修改建议
"
}}
</div>
<div
class=
"reson"
>
{{
form
.
reson
}}
</div>
</div>
</div>
<div
v-if=
"curBtn != 1"
class=
"showTips"
>
该病例审核
{{
curBtn
==
2
?
"
不合格原因
"
:
"
驳回修改建议
"
}}
提交成功!
</div>
<div
v-if=
"curBtn != 1"
class=
"showTips"
>
该病例审核
{{
curBtn
==
2
?
"
不合格原因
"
:
"
驳回修改建议
"
}}
提交成功!
</div>
<div
class=
"btn"
>
<el-button
type=
"primary"
@
click=
"nextExample"
>
下一例
</el-button>
</div>
...
...
@@ -115,6 +97,7 @@
<
script
>
import
publicDialog
from
"
./components/publicDialog.vue
"
import
screenReview
from
"
./components/screenReview.vue
"
export
default
{
components
:
{
publicDialog
,
screenReview
},
data
()
{
...
...
@@ -145,7 +128,9 @@ export default {
}
},
watch
:
{},
mounted
()
{},
mounted
()
{
},
methods
:
{
showDialog
(
val
)
{
this
.
curBtn
=
val
...
...
@@ -210,6 +195,7 @@ export default {
nextExample
()
{
this
.
onCancel
()
},
},
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/audit-qualitycontrol/community.vue
deleted
100644 → 0
View file @
f517ea87
<
template
>
<div
class=
"audit-qualitycontrol"
>
<div
class=
"aq-top-tab"
>
<el-tabs
v-model=
"type"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"筛查病例数据"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"随访病例数据"
name=
"1"
></el-tab-pane>
</el-tabs>
</div>
<div
class=
"aq-bot-table"
>
<div
class=
"table-top-tab"
>
<el-tabs
v-model=
"auditStatus"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"待审核"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"已审核"
name=
"1"
></el-tab-pane>
</el-tabs>
<div
v-show=
"auditStatus == 1"
class=
"keyExplain"
>
字段说明
<img
src=
"~@/assets/img/DataCenter/question.png"
alt
/>
</div>
</div>
<div
class=
"bot-table"
>
<customs-table
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
:header-class=
"'newHeader'"
:list-loading=
"listLoading"
:current-page=
"pageIndex"
:total-count=
"total"
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
@
currentPageChange=
"handleCurrentChange"
/>
</div>
</div>
</div>
</
template
>
<
script
>
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
{
getFollowCheck
}
from
"
@/api/followup
"
export
default
{
components
:
{
CustomsTable
,
},
mixins
:
[
paginationMixin
],
data
()
{
return
{
type
:
"
0
"
,
auditStatus
:
"
0
"
,
listLoading
:
false
,
columns
:
[
{
label
:
"
医联体
"
,
minWidth
:
120
,
value
:
"
title
"
,
},
{
label
:
"
已审核(例)
"
,
minWidth
:
120
,
value
:
"
file
"
,
},
{
label
:
"
待审核(例)备份
"
,
minWidth
:
120
,
value
:
"
uploadTime
"
,
},
{
label
:
"
最新上报时间
"
,
minWidth
:
120
,
value
:
"
editTime
"
,
},
{
label
:
"
操作
"
,
width
:
220
,
fixed
:
"
right
"
,
operType
:
"
button
"
,
operations
:
[
{
func
:
this
.
auditHandle
,
label
:
"
审核
"
,
type
:
"
text
"
,
},
],
},
],
tableData
:
[
{
title
:
"
第一个
"
,
isOpen
:
true
,
},
],
}
},
watch
:
{
auditStatus
(
val
){
switch
(
this
.
type
)
{
case
'
1
'
:
this
.
getFollowupList
()
break
;
}
},
type
(
val
){
switch
(
val
)
{
case
'
1
'
:
this
.
getFollowupList
()
break
;
}
}
},
mounted
()
{},
methods
:
{
handleClick
()
{
console
.
log
(
"
type:
"
+
this
.
type
,
"
auditStatus
"
+
this
.
auditStatus
)
if
(
this
.
auditStatus
==
1
)
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
修改审核意见
"
}
else
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
审核
"
}
},
auditHandle
(
data
,
i
)
{
console
.
log
(
data
,
i
)
if
(
this
.
type
==
"
1
"
){
this
.
$router
.
push
(
"
/followaudit
"
)
}
else
{
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
id
:
i
,
},
})
}
},
async
getFollowupList
(){
let
params
=
{
pageSize
:
10
,
pageNum
:
1
}
let
res
switch
(
this
.
auditStatus
)
{
case
'
1
'
:
res
=
await
getFollowCheck
(
params
);
break
;
}
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.audit-qualitycontrol
{
padding
:
20px
0
;
.table-top-tab
{
margin-bottom
:
15px
;
position
:
relative
;
.keyExplain
{
position
:
absolute
;
display
:
flex
;
align-items
:
center
;
right
:
0
;
top
:
10%
;
font-size
:
16px
;
font-family
:
AlibabaPuHuiTiR
;
color
:
#999999
;
img
{
width
:
18px
;
height
:
18px
;
margin-left
:
5px
;
transform
:
translateY
(
1px
);
}
}
}
.aq-bot-table
{
padding
:
20px
;
::v-deep
{
.el-tabs__nav
{
border
:
none
;
}
.el-tabs__item
{
margin-right
:
10px
;
border
:
1px
solid
#e4e7ed
;
border-radius
:
5px
5px
0
0
;
}
.is-active
{
background
:
#4e68ff
;
color
:
#fff
;
}
}
}
}
::v-deep
{
.el-tabs__item
{
padding-left
:
20px
!
important
;
font-size
:
18px
;
font-family
:
AlibabaPuHuiTiM
;
}
.is-active
{
color
:
#4e68ff
;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/audit-qualitycontrol/healthcheckup.vue
deleted
100644 → 0
View file @
f517ea87
<
template
>
<div
class=
"audit-qualitycontrol"
>
<div
class=
"aq-top-tab"
>
<el-tabs
v-model=
"type"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"筛查病例数据"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"随访病例数据"
name=
"1"
></el-tab-pane>
</el-tabs>
</div>
<div
class=
"aq-bot-table"
>
<div
class=
"table-top-tab"
>
<el-tabs
v-model=
"auditStatus"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"待审核"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"已审核"
name=
"1"
></el-tab-pane>
</el-tabs>
<div
v-show=
"auditStatus == 1"
class=
"keyExplain"
>
字段说明
<img
src=
"~@/assets/img/DataCenter/question.png"
alt
/>
</div>
</div>
<div
class=
"bot-table"
>
<customs-table
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
:header-class=
"'newHeader'"
:list-loading=
"listLoading"
:current-page=
"pageIndex"
:total-count=
"total"
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
@
currentPageChange=
"handleCurrentChange"
/>
</div>
</div>
</div>
</
template
>
<
script
>
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
export
default
{
components
:
{
CustomsTable
,
},
mixins
:
[
paginationMixin
],
data
()
{
return
{
type
:
"
0
"
,
auditStatus
:
"
0
"
,
listLoading
:
false
,
columns
:
[
{
label
:
"
医联体
"
,
minWidth
:
120
,
value
:
"
title
"
,
},
{
label
:
"
已审核(例)
"
,
minWidth
:
120
,
value
:
"
file
"
,
},
{
label
:
"
待审核(例)备份
"
,
minWidth
:
120
,
value
:
"
uploadTime
"
,
},
{
label
:
"
最新上报时间
"
,
minWidth
:
120
,
value
:
"
editTime
"
,
},
{
label
:
"
操作
"
,
width
:
220
,
fixed
:
"
right
"
,
operType
:
"
button
"
,
operations
:
[
{
func
:
this
.
auditHandle
,
label
:
"
审核
"
,
type
:
"
text
"
,
},
],
},
],
tableData
:
[
{
title
:
"
第一个
"
,
isOpen
:
true
,
},
],
}
},
watch
:
{},
mounted
()
{},
methods
:
{
handleClick
()
{
console
.
log
(
"
type:
"
+
this
.
type
,
"
auditStatus
"
+
this
.
auditStatus
)
if
(
this
.
auditStatus
==
1
)
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
修改审核意见
"
}
else
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
审核
"
}
},
auditHandle
(
data
,
i
)
{
console
.
log
(
data
,
i
)
if
(
this
.
type
==
"
1
"
){
this
.
$router
.
push
(
"
/followaudit
"
)
}
else
{
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
id
:
i
,
},
})
}
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.audit-qualitycontrol
{
padding
:
20px
0
;
.table-top-tab
{
margin-bottom
:
15px
;
position
:
relative
;
.keyExplain
{
position
:
absolute
;
display
:
flex
;
align-items
:
center
;
right
:
0
;
top
:
10%
;
font-size
:
16px
;
font-family
:
AlibabaPuHuiTiR
;
color
:
#999999
;
img
{
width
:
18px
;
height
:
18px
;
margin-left
:
5px
;
transform
:
translateY
(
1px
);
}
}
}
.aq-bot-table
{
padding
:
20px
;
::v-deep
{
.el-tabs__nav
{
border
:
none
;
}
.el-tabs__item
{
margin-right
:
10px
;
border
:
1px
solid
#e4e7ed
;
border-radius
:
5px
5px
0
0
;
}
.is-active
{
background
:
#4e68ff
;
color
:
#fff
;
}
}
}
}
::v-deep
{
.el-tabs__item
{
padding-left
:
20px
!
important
;
font-size
:
18px
;
font-family
:
AlibabaPuHuiTiM
;
}
.is-active
{
color
:
#4e68ff
;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/audit-qualitycontrol/hospital.vue
deleted
100644 → 0
View file @
f517ea87
<
template
>
<div
class=
"audit-qualitycontrol"
>
<div
class=
"aq-top-tab"
>
<el-tabs
v-model=
"type"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"筛查病例数据"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"随访病例数据"
name=
"1"
></el-tab-pane>
</el-tabs>
</div>
<div
class=
"aq-bot-table"
>
<div
class=
"table-top-tab"
>
<el-tabs
v-model=
"auditStatus"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"待审核"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"已审核"
name=
"1"
></el-tab-pane>
</el-tabs>
<div
v-show=
"auditStatus == 1"
class=
"keyExplain"
>
字段说明
<img
src=
"~@/assets/img/DataCenter/question.png"
alt
/>
</div>
</div>
<div
class=
"bot-table"
>
<customs-table
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
:header-class=
"'newHeader'"
:list-loading=
"listLoading"
:current-page=
"pageIndex"
:total-count=
"total"
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
@
currentPageChange=
"handleCurrentChange"
/>
</div>
</div>
</div>
</
template
>
<
script
>
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
export
default
{
components
:
{
CustomsTable
,
},
mixins
:
[
paginationMixin
],
data
()
{
return
{
type
:
"
0
"
,
auditStatus
:
"
0
"
,
listLoading
:
false
,
columns
:
[
{
label
:
"
医联体
"
,
minWidth
:
120
,
value
:
"
title
"
,
},
{
label
:
"
已审核(例)
"
,
minWidth
:
120
,
value
:
"
file
"
,
},
{
label
:
"
待审核(例)备份
"
,
minWidth
:
120
,
value
:
"
uploadTime
"
,
},
{
label
:
"
最新上报时间
"
,
minWidth
:
120
,
value
:
"
editTime
"
,
},
{
label
:
"
操作
"
,
width
:
220
,
fixed
:
"
right
"
,
operType
:
"
button
"
,
operations
:
[
{
func
:
this
.
auditHandle
,
label
:
"
审核
"
,
type
:
"
text
"
,
},
],
},
],
tableData
:
[
{
title
:
"
第一个
"
,
isOpen
:
true
,
},
],
}
},
watch
:
{},
mounted
()
{},
methods
:
{
handleClick
()
{
console
.
log
(
"
type:
"
+
this
.
type
,
"
auditStatus
"
+
this
.
auditStatus
)
if
(
this
.
auditStatus
==
1
)
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
修改审核意见
"
}
else
{
this
.
columns
[
this
.
columns
.
length
-
1
].
operations
[
0
].
label
=
"
审核
"
}
},
auditHandle
(
data
,
i
)
{
console
.
log
(
data
,
i
,
"
表单
"
)
if
(
this
.
type
==
"
1
"
){
this
.
$router
.
push
(
"
/followaudit
"
)
}
else
{
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
query
:
{
id
:
i
,
},
})
}
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.audit-qualitycontrol
{
padding
:
20px
0
;
.table-top-tab
{
margin-bottom
:
15px
;
position
:
relative
;
.keyExplain
{
position
:
absolute
;
display
:
flex
;
align-items
:
center
;
right
:
0
;
top
:
10%
;
font-size
:
16px
;
font-family
:
AlibabaPuHuiTiR
;
color
:
#999999
;
img
{
width
:
18px
;
height
:
18px
;
margin-left
:
5px
;
transform
:
translateY
(
1px
);
}
}
}
.aq-bot-table
{
padding
:
20px
;
::v-deep
{
.el-tabs__nav
{
border
:
none
;
}
.el-tabs__item
{
margin-right
:
10px
;
border
:
1px
solid
#e4e7ed
;
border-radius
:
5px
5px
0
0
;
}
.is-active
{
background
:
#4e68ff
;
color
:
#fff
;
}
}
}
}
::v-deep
{
.el-tabs__item
{
padding-left
:
20px
!
important
;
font-size
:
18px
;
font-family
:
AlibabaPuHuiTiM
;
}
.is-active
{
color
:
#4e68ff
;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/audit-qualitycontrol/index.vue
View file @
7c67e700
...
...
@@ -18,7 +18,7 @@
</div>
</div>
<div
class=
"bot-table"
>
<
customs-table
<
el-table-self
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
...
...
@@ -38,7 +38,7 @@
<
script
>
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
{
getFollowCheck
}
from
"
@/api/followup
"
import
{
getFollowCheck
,
getFollowUncheck
}
from
"
@/api/followup
"
export
default
{
components
:
{
CustomsTable
,
...
...
@@ -49,26 +49,64 @@ export default {
type
:
"
0
"
,
auditStatus
:
"
0
"
,
listLoading
:
false
,
columns
:
[
tableData
:
[
{
"
unionId
"
:
"
2
"
,
"
unionName
"
:
"
合肥高新附院
"
,
"
unCheckNums
"
:
2
,
"
checkNums
"
:
0
,
"
reportTime
"
:
"
2022-12-09 09:12:35
"
}
],
}
},
watch
:
{
auditStatus
(
val
)
{
sessionStorage
.
setItem
(
'
audit-status
'
,
val
)
switch
(
this
.
type
)
{
case
"
1
"
:
this
.
handleSearch
()
break
}
console
.
log
(
'
status
'
,
val
)
},
type
(
val
)
{
console
.
log
(
'
type
'
,
val
)
sessionStorage
.
setItem
(
'
audit-type
'
,
val
)
switch
(
val
)
{
case
"
1
"
:
this
.
handleSearch
()
break
}
},
},
computed
:{
columns
(){
const
unCkeckColumns
=
[
{
label
:
"
医联体
"
,
minWidth
:
120
,
value
:
"
titl
e
"
,
value
:
"
unionNam
e
"
,
},
{
label
:
"
已审核(例)
"
,
minWidth
:
120
,
value
:
"
file
"
,
value
:
"
checkNums
"
,
},
{
label
:
"
待审核(例)备份
"
,
minWidth
:
120
,
value
:
"
u
ploadTime
"
,
value
:
"
u
nCheckNums
"
,
},
{
label
:
"
最新上报时间
"
,
minWidth
:
120
,
value
:
"
edi
tTime
"
,
value
:
"
repor
tTime
"
,
},
{
label
:
"
操作
"
,
...
...
@@ -83,32 +121,75 @@ export default {
},
],
},
]
,
tableData
:
[
]
const
checkColumns
=
[
{
title
:
"
第一个
"
,
isOpen
:
true
,
label
:
"
筛查编号
"
,
minWidth
:
120
,
value
:
"
unionId
"
,
},
],
{
label
:
"
医联体
"
,
minWidth
:
120
,
value
:
"
unionName
"
,
},
{
label
:
"
姓名
"
,
minWidth
:
120
,
formatter
:
(
row
)
=>
{
return
row
.
name
?
row
.
name
:
"
--
"
},
value
:
"
name
"
,
},
{
label
:
"
年龄
"
,
minWidth
:
120
,
value
:
"
age
"
,
formatter
:
(
row
)
=>
{
return
row
.
age
?
row
.
age
:
"
--
"
},
},
{
label
:
"
风险评估
"
,
minWidth
:
120
,
value
:
"
checkNums
"
,
},
{
label
:
"
审核状态
"
,
minWidth
:
120
,
value
:
"
unCheckNums
"
,
},
{
label
:
"
上报时间
"
,
minWidth
:
120
,
value
:
"
reportTime
"
,
},
{
label
:
"
操作
"
,
width
:
220
,
fixed
:
"
right
"
,
operType
:
"
button
"
,
operations
:
[
{
func
:
this
.
auditHandle
,
label
:
"
审核
"
,
type
:
"
text
"
,
},
],
},
]
return
this
.
auditStatus
==
"
1
"
?
checkColumns
:
unCkeckColumns
}
},
watch
:
{
auditStatus
(
val
)
{
switch
(
this
.
type
)
{
case
"
1
"
:
this
.
getFollowupList
()
break
}
},
type
(
val
)
{
switch
(
val
)
{
case
"
1
"
:
this
.
getFollowupList
()
break
}
},
mounted
()
{
if
(
sessionStorage
.
getItem
(
'
audit-status
'
)
||
sessionStorage
.
getItem
(
'
audit-type
'
)
){
this
.
auditStatus
=
sessionStorage
.
getItem
(
'
audit-status
'
)
||
"
0
"
this
.
type
=
sessionStorage
.
getItem
(
'
audit-type
'
)
||
"
0
"
}
else
{
this
.
handleSearch
()
}
},
mounted
()
{},
methods
:
{
handleClick
()
{
console
.
log
(
"
type:
"
+
this
.
type
,
"
auditStatus
"
+
this
.
auditStatus
)
...
...
@@ -122,7 +203,12 @@ export default {
auditHandle
(
data
,
i
)
{
console
.
log
(
data
,
i
)
if
(
this
.
type
==
"
1
"
)
{
this
.
$router
.
push
(
"
/followaudit
"
)
this
.
$router
.
push
({
path
:
"
/followaudit
"
,
query
:
{
id
:
data
[
'
unionId
'
],
},
})
}
else
{
this
.
$router
.
push
({
path
:
"
/auditdetail
"
,
...
...
@@ -132,17 +218,22 @@ export default {
})
}
},
async
getFollowupList
()
{
async
handleSearch
()
{
let
params
=
{
pageSize
:
10
,
pageNum
:
1
,
pageSize
:
this
.
pageSize
,
pageNum
:
this
.
pageIndex
}
let
res
switch
(
this
.
auditStatus
)
{
case
"
0
"
:
res
=
await
getFollowUncheck
(
params
)
//待审核
break
;
case
"
1
"
:
res
=
await
getFollowCheck
(
params
)
break
res
=
await
getFollowCheck
(
params
)
//已审核
break
;
}
this
.
tableData
=
res
.
data
.
records
this
.
total
=
res
.
data
.
total
},
},
}
...
...
This diff is collapsed.
Click to expand it.
src/views/followupentry/components/followReview.vue
View file @
7c67e700
<
template
>
<!-- 随访
调查录入
-->
<!-- 随访
审核详情
-->
<div
class=
"follow-form"
>
<!--
<ConfigForms
form-type=
"2"
formClass=
"follow-form"
></ConfigForms>
-->
<read-form
ref=
"form"
:options=
"followupForm"
:formEdit=
"formEdit"
></read-form>
...
...
@@ -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
:
{},
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/followupentry/followaudit.vue
View file @
7c67e700
<
template
>
<!-- 随访审核 -->
<div
id=
"audit-detail"
>
<div
class=
"audit-detail_header p-24"
>
<div
class=
"left"
>
...
...
@@ -9,6 +10,10 @@
<el-button
class=
"btn"
@
click=
"$router.go(-1)"
>
返回
</el-button>
</div>
</div>
<div
class=
"table-content p-24"
>
<!--
<component
:is=
"curComponent"
:formEdit=
"formEdit"
></component>
-->
<follow-review
:form=
"formEdit"
></follow-review>
</div>
<div
class=
"choose-handle p-24"
>
<span
v-if=
"!editStatus"
>
请选择审核结果:
</span>
<div
class=
"btn_group"
>
...
...
@@ -23,9 +28,6 @@
<span
v-if=
"editStatus"
class=
"op"
>
驳回修改建议:胃镜图片不合规
</span>
</div>
</div>
<div
class=
"table-content p-24"
>
<component
:is=
"curComponent"
></component>
</div>
<public-dialog
ref=
"editDialog"
@
onSubmit=
"onSubmit"
@
onCancel=
"onCancel"
>
<!-- 修改审核结果 优先触发提示 -->
<template
v-if=
"!confirmStatus"
slot=
"content"
>
...
...
@@ -95,6 +97,7 @@
<
script
>
import
publicDialog
from
"
./components/publicDialog.vue
"
import
followReview
from
"
./components/followReview.vue
"
import
{
getFollowUnCheckDetail
}
from
"
@/api/followup
"
export
default
{
components
:
{
publicDialog
,
followReview
},
data
()
{
...
...
@@ -102,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
"
}],
...
...
@@ -127,7 +137,14 @@ export default {
}
},
watch
:
{},
mounted
()
{},
created
()
{
this
.
getDetail
()
},
computed
:{
unionId
(){
return
this
.
$route
.
query
.
id
}
},
methods
:
{
showDialog
(
val
)
{
this
.
curBtn
=
val
...
...
@@ -192,6 +209,14 @@ export default {
nextExample
()
{
this
.
onCancel
()
},
async
getDetail
(){
this
.
loading
=
true
let
res
=
await
getFollowUnCheckDetail
(
this
.
unionId
)
if
(
res
.
code
==
1
){
this
.
formEdit
=
res
.
data
[
0
]
}
this
.
loading
=
false
},
},
}
</
script
>
...
...
@@ -234,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
;
...
...
This diff is collapsed.
Click to expand it.
src/views/followupentry/index.vue
View file @
7c67e700
...
...
@@ -18,17 +18,7 @@ export default {
},
created
()
{
},
computed
:{
formEdit
(){
return
this
.
$route
.
query
}
},
methods
:
{},
provide
()
{
return
{
formEdit
:
this
.
$route
.
query
.
formEdit
}
},
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/followupresearch/index.vue
View file @
7c67e700
...
...
@@ -5,7 +5,7 @@
<form-components
:forms=
"formList"
:formEdit=
"formEdit"
@
handleSearch=
"onSearch"
></form-components>
</div>
<div
class=
"bot"
>
<
customs-table
<
el-table-self
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
...
...
@@ -41,64 +41,82 @@ export default {
columns
:
[
{
label
:
"
医联体
"
,
value
:
"
unionName
"
,
minWidth
:
120
,
value
:
"
unionName
"
,
formatter
:
(
row
)
=>
{
return
row
.
unionName
?
row
.
unionName
:
"
--
"
},
},
{
label
:
"
姓名
"
,
value
:
"
name
"
,
minWidth
:
120
,
formatter
:
(
row
)
=>
{
return
row
.
name
?
row
.
name
:
"
--
"
},
value
:
"
name
"
,
},
{
label
:
"
性别
"
,
minWidth
:
80
,
value
:
"
sex
"
,
minWidth
:
120
,
// trans:'d-sex',
transList
:{
1
:
'
男
'
,
2
:
'
女
'
}
formatter
:
(
row
)
=>
{
return
this
.
$handle
.
formatDicList
(
this
.
dictMap
[
"
d-sex
"
],
row
.
sex
+
""
)
},
},
{
label
:
"
身份证
"
,
value
:
"
idCard
"
,
minWidth
:
120
,
value
:
"
idCard
"
,
formatter
:
(
row
)
=>
{
return
row
.
idCard
?
row
.
idCard
:
"
--
"
},
},
{
label
:
"
年龄
"
,
value
:
"
age
"
,
minWidth
:
120
,
value
:
"
age
"
,
formatter
:
(
row
)
=>
{
return
row
.
age
?
row
.
age
:
"
--
"
},
},
{
label
:
"
筛查时间
"
,
minWidth
:
180
,
value
:
"
screeningTime
"
,
minWidth
:
120
,
formatter
:
(
row
)
=>
{
return
row
.
createTime
?
row
.
createTime
:
"
--
"
},
},
{
label
:
"
风险评估结果
"
,
minWidth
:
120
,
value
:
"
riskRank
"
,
trans
:
'
risk_level
'
,
transList
:{
formatter
:
(
row
)
=>
{
return
this
.
$handle
.
formatDicList
(
this
.
dictMap
[
"
risk_level
"
],
String
(
row
.
riskRank
))
},
minWidth
:
120
,
},
{
label
:
"
上次随访时间
"
,
value
:
"
followTime
"
,
minWidth
:
120
,
formatter
:
(
row
)
=>
{
return
row
.
followTime
?
row
.
followTime
:
"
--
"
},
},
{
label
:
"
随访进度
"
,
value
:
"
followBatch
"
,
trans
:
'
follow_type
'
,
transList
:{
},
minWidth
:
120
,
formatter
:
(
row
)
=>
{
return
this
.
$handle
.
formatDicList
(
this
.
dictMap
[
"
follow_type
"
],
String
(
row
.
followBatch
))
},
},
{
label
:
"
计划随访时间
"
,
value
:
"
nextFollowTime
"
,
trans
:
'
next_follow_time
'
,
formatter
:
(
row
)
=>
{
return
this
.
$handle
.
formatDicList
(
this
.
dictMap
[
"
next_follow_time
"
],
String
(
row
.
nextFollowTime
))
},
minWidth
:
120
,
},
{
...
...
@@ -142,7 +160,8 @@ export default {
"
formRecordId
"
:
""
,
//表单记录id
"
linkPhone
"
:
"
0556-5556666
"
,
//联系方式
"
isContinueFollow
"
:
1
,
//是否继续随访
"
checkStatus
"
:
""
//审核状态
"
checkStatus
"
:
""
,
//审核状态
"
riskRank
"
:
"
medium
"
},
{
name
:
'
11
'
,
...
...
@@ -283,7 +302,7 @@ export default {
}
},
created
(){
this
.
initColumn
()
//
this.initColumn()
},
mounted
()
{
this
.
formEdit
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
followResearch-form
'
))
||
{}
...
...
@@ -332,41 +351,41 @@ export default {
}
this
.
listLoading
=
false
},
initColumn
(){
this
.
columns
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
trans
){
this
.
initDict
(
item
.
trans
,
index
)
}
})
},
async
initDict
(
type
,
index
){
let
params
=
{
type
:
type
}
const
res
=
await
getDictDetail
(
params
)
let
item
=
this
.
formList
.
find
(
_
=>
_
.
trans
==
type
)
res
.
data
.
forEach
((
itemD
,
inx
)
=>
{
if
(
!
this
.
columns
[
index
][
'
transList
'
]){
this
.
columns
[
index
][
'
transList
'
]
=
{}
}
else
{
this
.
columns
[
index
][
'
transList
'
][
itemD
.
code
]
=
itemD
.
name
}
if
(
item
){
if
(
!
item
[
'
opts
'
]){
item
[
'
opts
'
]
=
[]
}
else
{
item
[
'
opts
'
]
=
res
.
data
.
map
((
_
)
=>
{
return
{
label
:
_
.
name
,
value
:
_
.
code
,
}
})
}
}
})
}
//
initColumn(){
//
this.columns.forEach((item,index) => {
//
if(item.trans){
//
this.initDict(item.trans,index)
//
}
//
})
//
},
//
async initDict(type,index){
//
let params={
//
type:type
//
}
//
const res = await getDictDetail(params)
//
let item = this.formList.find(_ => _.trans == type)
//
res.data.forEach((itemD,inx) => {
// //
if(!this.columns[index]['transList']){
// //
this.columns[index]['transList']={}
// //
}
// //
else{
// //
this.columns[index]['transList'][itemD.code]=itemD.name
// //
}
//
if(item){
//
if(!item['opts']){
//
item['opts']=[]
//
}
//
else {
//
item['opts']=res.data.map((_) => {
//
return {
//
label: _.name,
//
value: _.code,
//
}
//
})
//
}
//
}
//
})
//
}
},
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/screening/components/FormTab.vue
View file @
7c67e700
...
...
@@ -42,11 +42,7 @@
</el-switch>-->
</div>
</el-row>
<div
ref=
"my-form"
class=
"my-form"
:class=
"externalScroll ? 'no-scroll' : ''"
>
<div
ref=
"my-form"
class=
"my-form"
:class=
"externalScroll ? 'no-scroll' : ''"
>
<!-- <read-form
ref="form"
:options="survivalForm"
...
...
@@ -344,7 +340,7 @@ export default {
},
created
()
{
if
(
this
.
$route
.
query
.
formEdit
)
{
this
.
formData
.
formEdit
=
this
.
$route
.
query
.
formEdit
this
.
formData
.
formEdit
=
JSON
.
parse
(
this
.
$route
.
query
.
formEdit
)
}
this
.
initForm
()
if
(
this
.
getAll
)
{
...
...
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