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
2921a9bf
Commit
2921a9bf
authored
Feb 08, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.筛查跳转
2.提交和草稿状态传参
parent
ca416b44
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
15 deletions
+39
-15
index.vue
src/components/FormComponents/CustomForm/index.vue
+4
-0
index.vue
src/views/Home/index.vue
+6
-6
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+6
-4
FormTab.vue
src/views/screening/components/FormTab.vue
+10
-3
index.vue
src/views/screening/index.vue
+13
-2
No files found.
src/components/FormComponents/CustomForm/index.vue
View file @
2921a9bf
...
...
@@ -461,6 +461,10 @@ export default {
}
}
.form-footer
{
// position: absolute;
// left: 50%;
// transform: translateX(-50%);
// bottom: -50px;
margin-top
:
20px
;
margin-bottom
:
20px
;
text-align
:
center
;
...
...
src/views/Home/index.vue
View file @
2921a9bf
...
...
@@ -350,12 +350,12 @@ export default {
},
],
rigBarList
:
[
//
{
//
src1: require("@/assets/img/Home/kefu.png"),
//
src2: require("@/assets/img/Home/kefuwhite.png"),
// content: "
",
//
name: "客服",
//
},
{
src1
:
require
(
"
@/assets/img/Home/kefu.png
"
),
src2
:
require
(
"
@/assets/img/Home/kefuwhite.png
"
),
content
:
"
021-31161236
"
,
name
:
"
客服
"
,
},
{
src1
:
require
(
"
@/assets/img/Home/youxiang.png
"
),
src2
:
require
(
"
@/assets/img/Home/youxiangwhite.png
"
),
...
...
src/views/screening/components/ConfigForms.vue
View file @
2921a9bf
...
...
@@ -28,7 +28,7 @@
:key=
"form.id"
:label=
"form.label"
:name=
"'index' + index"
disabled
:disabled=
"tabDisabled"
>
<!-- disabled -->
<transition
mode=
"out-in"
name=
"fade-transform"
>
...
...
@@ -42,6 +42,7 @@
:form=
"form"
:disabled=
"disabled"
:operation=
"operation"
:active-name=
"activeName"
contrast
:form-initial=
"formInitial"
:survival-flag=
"survivalFlag"
...
...
@@ -59,7 +60,7 @@
<el-empty
v-else
description=
"暂无数据"
></el-empty>
<public-dialog
ref=
"showDialog"
:show
C
lose=
"dialogType == 'draft' ? true : false"
:show
-c
lose=
"dialogType == 'draft' ? true : false"
>
<!-- 保存草稿 -->
<
template
v-if=
"dialogType == 'draft'"
slot=
"content"
>
...
...
@@ -114,6 +115,7 @@ export default {
mixins
:
[
mixin
],
props
:
{
disabled
:
Boolean
,
tabDisabled
:
{
type
:
Boolean
,
default
:
true
},
formType
:
String
,
patientId
:
String
,
formClass
:
String
,
...
...
@@ -269,8 +271,8 @@ export default {
}
},
viewJump
()
{
// this.$router.push('/'
)
alert
(
"
跳转
"
)
this
.
$router
.
push
(
"
/screening/index
"
)
//
alert("跳转")
},
},
provide
()
{
...
...
src/views/screening/components/FormTab.vue
View file @
2921a9bf
...
...
@@ -45,6 +45,12 @@
<div
ref=
"my-form"
class=
"my-form"
:style=
"{
height:
$route.path == '/screening/index'
? 'calc(100vh - 310px)'
: 'calc(100vh - 270px)',
}"
:class=
"externalScroll ? 'no-scroll' : ''"
>
<!-- <read-form
...
...
@@ -84,6 +90,7 @@ export default {
name
:
"
FormTab
"
,
components
:
{
CustomForm
,
TagsScrollBar
,
ReadForm
},
props
:
{
activeName
:
String
,
externalScroll
:
Boolean
,
//外部滚动
disabled
:
Boolean
,
contrast
:
Boolean
,
//同屏对照
...
...
@@ -205,7 +212,7 @@ export default {
// formRecordId: this.formData.formRecordId || this.newformRecordId, // 是否为编辑的表单id
statusMap
:
{
patient_from
:
this
.
$store
.
getters
[
"
table/selectedIndex
"
],
is_draft
:
0
,
//是否为草稿
is_draft
:
this
.
activeName
==
"
index5
"
?
0
:
1
,
//是否为草稿
check_status
:
1
,
// 审核状态
},
}
...
...
@@ -437,10 +444,10 @@ export default {
}
}
.my-form
{
height
:
calc
(
100vh
-
#{
"27
0px"
}
);
// height: calc(100vh - #{"31
0px"});
overflow-y
:
auto
;
padding-top
:
20px
;
position
:
relative
;
//
position: relative;
&
:
:-
webkit-scrollbar-thumb
{
background-color
:
#fff
;
}
...
...
src/views/screening/index.vue
View file @
2921a9bf
...
...
@@ -33,6 +33,7 @@
form-type=
"1"
:patient-id=
"patientId"
:disabled=
"disabled"
:tabDisabled=
"tabDisabled"
></ConfigForms>
</div>
</div>
...
...
@@ -54,6 +55,7 @@ export default {
disabled
:
false
,
tableData
:
[],
cacheForm
:
{},
tabDisabled
:
true
,
searchList
:
[
{
type
:
"
date
"
,
...
...
@@ -247,10 +249,16 @@ export default {
},
methods
:
{
handleView
(
row
)
{
this
.
handleAdd
(
row
,
null
,
true
)
},
handleAdd
({
patientId
,
name
},
index
,
disabled
=
false
)
{
this
.
handleAdd
(
row
,
null
,
true
,
false
)
},
handleAdd
(
{
patientId
,
name
},
index
,
disabled
=
false
,
tabDisabled
=
true
)
{
this
.
disabled
=
disabled
this
.
tabDisabled
=
tabDisabled
this
.
patientId
=
patientId
||
null
this
.
name
=
name
this
.
isDetail
=
true
...
...
@@ -302,6 +310,9 @@ export default {
},
created
()
{
this
.
handleFormSearch
()
// if (this.$route.path == "/screening/index") {
// this.tabDisabled = false
// }
},
watch
:
{
selectedIndex
(
v
)
{
...
...
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