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
8fd75fa4
Commit
8fd75fa4
authored
2 years ago
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.头部增加返回首页按钮
2.首页用户信息模块修改页面 3.审核质控页面去除头部按钮 4.知情同意联动效果 5.入选标准增加参数
parent
c8b49699
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
113 additions
and
53 deletions
+113
-53
backhome.png
src/assets/img/DataCenter/backhome.png
+0
-0
chart.png
src/assets/img/Home/chart.png
+0
-0
FormContent.vue
src/components/FormComponents/CustomForm/FormContent.vue
+3
-1
index.vue
src/components/FormComponents/CustomForm/index.vue
+2
-0
层级关系.md
src/components/FormComponents/CustomForm/层级关系.md
+20
-0
index.vue
src/components/FormComponents/ReadForm/index.vue
+13
-14
index.vue
src/components/layout/index.vue
+58
-21
index.vue
src/layouts/components/NavBar/index.vue
+6
-2
index.vue
src/views/screening/DraftBox/index.vue
+0
-14
ScreeningAdd.vue
src/views/screening/ScreeningAdd.vue
+1
-1
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+1
-0
FormTab.vue
src/views/screening/components/FormTab.vue
+9
-0
No files found.
src/assets/img/DataCenter/backhome.png
0 → 100644
View file @
8fd75fa4
925 Bytes
This diff is collapsed.
Click to expand it.
src/assets/img/Home/chart.png
0 → 100644
View file @
8fd75fa4
635 Bytes
This diff is collapsed.
Click to expand it.
src/components/FormComponents/CustomForm/FormContent.vue
View file @
8fd75fa4
...
@@ -186,7 +186,6 @@ export default {
...
@@ -186,7 +186,6 @@ export default {
// 切换不符合筛查条件的显示
// 切换不符合筛查条件的显示
formChange
()
{
formChange
()
{
// 入选,排除标准,一个填写是就不符合筛查条件
// 入选,排除标准,一个填写是就不符合筛查条件
console
.
log
(
this
.
form
)
let
arr
=
[
let
arr
=
[
"
is_one_year
"
,
"
is_one_year
"
,
"
is_subtotal_history
"
,
"
is_subtotal_history
"
,
...
@@ -202,6 +201,9 @@ export default {
...
@@ -202,6 +201,9 @@ export default {
flag
++
flag
++
}
}
}
}
if
(
this
.
form
.
is_know
&&
this
.
form
.
is_know
==
0
)
{
flag
=
1
}
if
(
flag
==
0
)
{
if
(
flag
==
0
)
{
this
.
$emit
(
"
showError
"
,
false
)
this
.
$emit
(
"
showError
"
,
false
)
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
src/components/FormComponents/CustomForm/index.vue
View file @
8fd75fa4
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
>
上一步
</el-button
>
上一步
</el-button
>
>
</
template
>
</
template
>
<!-- 下一步按钮 -->
<
template
v-if=
"options.submitBtn"
>
<
template
v-if=
"options.submitBtn"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -424,6 +425,7 @@ export default {
...
@@ -424,6 +425,7 @@ export default {
}
}
.noCol
{
.noCol
{
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
12px
;
font-family
:
AlibabaPuHuiTiR
;
font-family
:
AlibabaPuHuiTiR
;
color
:
#ff4d4f
;
color
:
#ff4d4f
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/FormComponents/CustomForm/层级关系.md
0 → 100644
View file @
8fd75fa4
```
js
!
实在是累的没办法了,只能在这里记住这些文件的层级关系
?
FormItemSelf
\
FormContent
\
?
FormItemText
/
CustomForm
/
index
——————
views
/
screening
/
FormTab
——————
ConfigForms
————
index
*
/
上一步下一步提交按钮触发
:
在
CustomForm
/
index
最终处理实在
ConfigForms
以及同级中的
mixin
```
This diff is collapsed.
Click to expand it.
src/components/FormComponents/ReadForm/index.vue
View file @
8fd75fa4
...
@@ -49,10 +49,9 @@
...
@@ -49,10 +49,9 @@
>
>
<template
slot=
"title"
>
<template
slot=
"title"
>
{{
g
.
label
}}
{{
g
.
label
}}
<span
<span
v-if=
"g.label == '二、排除标准'"
class=
"noCol"
>
{{
v-if=
"g.label == '二、排除标准'"
errorText
class=
"noCol"
}}
</span>
>
{{
errorText
}}
</span>
</
template
>
</
template
>
<form-content
<form-content
v-if=
"collapseNames.includes(g.prop)"
v-if=
"collapseNames.includes(g.prop)"
...
@@ -63,7 +62,7 @@
...
@@ -63,7 +62,7 @@
:is-show-important=
"isShowImportant"
:is-show-important=
"isShowImportant"
@
showError=
"showError"
@
showError=
"showError"
:showIndex=
"g.showIndex"
:showIndex=
"g.showIndex"
:class=
"g.showIndex
?'simple-form':
'index-form'"
:class=
"g.showIndex
? 'simple-form' :
'index-form'"
></form-content>
></form-content>
</el-collapse-item>
</el-collapse-item>
</template>
</template>
...
@@ -160,7 +159,7 @@ export default {
...
@@ -160,7 +159,7 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
formEdit
:{
formEdit
:
{
handler
()
{
handler
()
{
this
.
initfields
(
this
.
formEdit
)
this
.
initfields
(
this
.
formEdit
)
},
},
...
@@ -313,19 +312,19 @@ export default {
...
@@ -313,19 +312,19 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 子组件数据初始化完成后
// 子组件数据初始化完成后
// setTimeout(() => {
// setTimeout(() => {
this
.
initfields
(
this
.
formEdit
)
this
.
initfields
(
this
.
formEdit
)
// }, 0)
// }, 0)
if
(
this
.
$refs
.
form
&&
this
.
$refs
.
form
.
clearValidate
)
{
if
(
this
.
$refs
.
form
&&
this
.
$refs
.
form
.
clearValidate
)
{
this
.
$refs
.
form
.
clearValidate
()
this
.
$refs
.
form
.
clearValidate
()
}
}
this
.
$forceUpdate
()
;
this
.
$forceUpdate
()
})
})
},
},
// 绑定部分值(此时表单已渲染)
// 绑定部分值(此时表单已渲染)
initfields
(
obj
)
{
initfields
(
obj
)
{
for
(
let
k
in
obj
)
{
for
(
let
k
in
obj
)
{
// if (this.form.hasOwnProperty(k)) {
// if (this.form.hasOwnProperty(k)) {
this
.
form
[
k
]
=
obj
[
k
]
this
.
form
[
k
]
=
obj
[
k
]
// }
// }
}
}
},
},
...
@@ -420,10 +419,10 @@ export default {
...
@@ -420,10 +419,10 @@ export default {
// }
// }
}
}
.simple-form
{
.simple-form
{
::v-deep
{
::v-deep
{
.el-form-item__label
{
.el-form-item__label
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
}
}
}
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
src/components/layout/index.vue
View file @
8fd75fa4
...
@@ -44,9 +44,16 @@
...
@@ -44,9 +44,16 @@
</div>
</div>
</div>
</div>
<div
v-if=
"allianceToken"
class=
"userInfo"
>
<div
v-if=
"allianceToken"
class=
"userInfo"
>
<div
class=
"white"
></div>
<div
class=
"top"
>
<div
class=
"text"
>
欢迎,
{{
userInfo
.
name
}}
</div>
<div
class=
"text"
>
欢迎,
{{
userInfo
.
name
}}
</div>
<div
class=
"exit"
@
click=
"logout"
>
退出
</div>
<div
class=
"exit"
@
click=
"logout"
>
退出
</div>
</div>
<div
class=
"bot"
@
click=
"$router.push('/')"
>
<div
class=
"left_chart"
>
<img
src=
"@/assets/img/Home/chart.png"
alt=
""
/>
</div>
<div
class=
"right_text"
>
数据中心
</div>
</div>
</div>
</div>
</header>
</header>
<div
class=
"sider"
>
<div
class=
"sider"
>
...
@@ -260,26 +267,56 @@ export default {
...
@@ -260,26 +267,56 @@ export default {
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
flex-end
;
align-items
:
flex-end
;
.white
{
.top
{
width
:
32px
;
display
:
flex
;
height
:
4px
;
align-items
:
center
;
background
:
#ffffff
;
.text
{
}
font-size
:
20px
;
.text
{
font-family
:
AlibabaPuHuiTiM
;
font-size
:
20px
;
color
:
#ffffff
;
font-family
:
AlibabaPuHuiTiM
;
margin
:
10px
24px
;
color
:
#ffffff
;
}
margin
:
10px
0
;
.exit
{
font-size
:
16px
;
cursor
:
pointer
;
font-family
:
AlibabaPuHuiTiR
;
text-decoration
:
underline
;
color
:
rgba
(
255
,
255
,
255
,
0
.8
);
line-height
:
16px
;
&
:active
{
color
:
#4e68ff
;
}
}
}
}
.exit
{
.bot
{
font-size
:
16px
;
width
:
183px
;
height
:
60px
;
background
:
rgba
(
255
,
255
,
255
,
0
.9
);
box-shadow
:
0px
12px
36px
0px
rgba
(
23
,
44
,
105
,
0
.3
);
border-radius
:
8px
;
display
:
flex
;
margin-top
:
32px
;
cursor
:
pointer
;
cursor
:
pointer
;
font-family
:
AlibabaPuHuiTiR
;
.left_chart
{
text-decoration
:
underline
;
width
:
60px
;
color
:
rgba
(
255
,
255
,
255
,
0
.8
);
height
:
60px
;
line-height
:
16px
;
display
:
flex
;
&
:active
{
justify-content
:
center
;
color
:
#4e68ff
;
align-items
:
center
;
img
{
width
:
36px
;
height
:
36px
;
}
}
.right_text
{
flex
:
1
;
background
:
#4e68ff
;
border-radius
:
0px
8px
8px
0px
;
line-height
:
60px
;
font-size
:
22px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
color
:
#f1f5fd
;
text-align
:
center
;
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/layouts/components/NavBar/index.vue
View file @
8fd75fa4
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"userInfo"
>
<div
class=
"userInfo"
>
<error-log></error-log>
<error-log></error-log>
<!--
<avatar></avatar>
-->
<!--
<avatar></avatar>
-->
<div
class=
"fontSelect"
>
<div
v-if=
"$route.path != '/auditqualitycontrol'"
class=
"fontSelect"
>
<div
<div
v-for=
"(item, index) in fontList"
v-for=
"(item, index) in fontList"
:key=
"index"
:key=
"index"
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</div>
</div>
</div>
</div>
<div
<div
v-show=
"curSelectedIndex != -1"
v-show=
"curSelectedIndex != -1
&& $route.path != '/auditqualitycontrol'
"
class=
"community"
class=
"community"
@
click=
"openModalFlag"
@
click=
"openModalFlag"
>
>
...
@@ -62,6 +62,10 @@
...
@@ -62,6 +62,10 @@
</el-badge>
</el-badge>
</
template
>
</
template
>
</el-popover>
</el-popover>
<div
class=
"user"
@
click=
"$router.push('/home')"
>
<img
src=
"~@/assets/img/DataCenter/backhome.png"
alt
/>
<span>
返回首页
</span>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
This diff is collapsed.
Click to expand it.
src/views/screening/DraftBox/index.vue
deleted
100644 → 0
View file @
c8b49699
<
template
>
<div>
草稿箱
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{}
},
methods
:
{},
mounted
()
{},
watch
:
{},
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
This diff is collapsed.
Click to expand it.
src/views/screening/ScreeningAdd.vue
View file @
8fd75fa4
<
template
>
<
template
>
<ConfigForms
form-type=
"1"
></ConfigForms>
<ConfigForms
form-type=
"1"
:prods=
"'add'"
></ConfigForms>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
This diff is collapsed.
Click to expand it.
src/views/screening/components/ConfigForms.vue
View file @
8fd75fa4
...
@@ -107,6 +107,7 @@ export default {
...
@@ -107,6 +107,7 @@ export default {
formType
:
String
,
formType
:
String
,
patientId
:
String
,
patientId
:
String
,
formClass
:
String
,
formClass
:
String
,
prods
:
String
,
},
},
data
()
{
data
()
{
return
{
return
{
...
...
This diff is collapsed.
Click to expand it.
src/views/screening/components/FormTab.vue
View file @
8fd75fa4
...
@@ -234,7 +234,13 @@ export default {
...
@@ -234,7 +234,13 @@ export default {
formId
:
this
.
form
.
formId
,
formId
:
this
.
form
.
formId
,
patientId
:
this
.
patientId
||
this
.
patientStandbyId
,
patientId
:
this
.
patientId
||
this
.
patientStandbyId
,
formRecordId
:
this
.
formData
.
formRecordId
,
formRecordId
:
this
.
formData
.
formRecordId
,
statusMap
:
{
patientFrom
:
this
.
$store
.
getters
[
"
table/selectedIndex
"
],
is_draft
:
1
,
check_status
:
1
,
},
},
},
done
,
done
,
(
res
)
=>
{
(
res
)
=>
{
// 多次填写的表单新增时,获取最新数据
// 多次填写的表单新增时,获取最新数据
...
@@ -355,6 +361,9 @@ export default {
...
@@ -355,6 +361,9 @@ export default {
)
)
}
}
},
},
mounted
()
{
// console.log()
},
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
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