Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d7100f93
authored
2022-11-29 16:01:41 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框
1 parent
dbc993f4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
18 deletions
src/components/DialogBox/dialogBox.vue
src/components/dialogBox/dialogBox.vue
src/styles/dialogBox.scss
src/views/sqcx/jtfc/components/addjtfc.vue
src/views/workflow/workFrame1.vue
src/components/DialogBox/dialogBox.vue
View file @
d7100f9
...
...
@@ -12,7 +12,7 @@
</div>
</div>
</div>
<div
class=
"dialogBox-content"
:style=
"
{ height: scrollerHeight
? scrollerHeight : 'auto'
}">
<div
class=
"dialogBox-content"
:style=
"
{ height: scrollerHeight }">
<slot></slot>
</div>
<div
slot=
"footer"
class=
"dialog_footer"
v-if=
"isButton"
>
...
...
@@ -69,6 +69,10 @@ export default {
btnDisabled
:
{
type
:
Boolean
,
default
:
false
},
height
:
{
type
:
String
,
default
:
''
}
},
data
()
{
...
...
@@ -76,22 +80,22 @@ export default {
key
:
0
,
dialogVisible
:
false
,
fullscreen
:
false
,
scrollerHeight
:
false
,
scrollerHeight
:
''
}
},
watch
:
{
value
(
val
)
{
this
.
dialogVisible
=
val
this
.
height
&&
(
this
.
scrollerHeight
=
this
.
height
+
'px'
)
}
},
methods
:
{
handleFullscreen
(
val
)
{
handleFullscreen
()
{
this
.
fullscreen
=
!
this
.
fullscreen
let
height
=
document
.
getElementById
(
'dialogBox'
).
clientHeight
if
(
!
this
.
fullscreen
)
{
this
.
scrollerHeight
=
false
this
.
scrollerHeight
=
''
}
else
{
this
.
scrollerHeight
=
(
window
.
innerHeight
-
1
8
0
)
+
'px'
this
.
scrollerHeight
=
(
window
.
innerHeight
-
1
2
0
)
+
'px'
}
},
submitForm
()
{
...
...
src/components/dialogBox/dialogBox.vue
View file @
d7100f9
...
...
@@ -12,7 +12,7 @@
</div>
</div>
</div>
<div
class=
"dialogBox-content"
:style=
"
{ height: scrollerHeight
? scrollerHeight : 'auto'
}">
<div
class=
"dialogBox-content"
:style=
"
{ height: scrollerHeight }">
<slot></slot>
</div>
<div
slot=
"footer"
class=
"dialog_footer"
v-if=
"isButton"
>
...
...
@@ -69,6 +69,10 @@ export default {
btnDisabled
:
{
type
:
Boolean
,
default
:
false
},
height
:
{
type
:
String
,
default
:
''
}
},
data
()
{
...
...
@@ -76,22 +80,22 @@ export default {
key
:
0
,
dialogVisible
:
false
,
fullscreen
:
false
,
scrollerHeight
:
false
,
scrollerHeight
:
''
}
},
watch
:
{
value
(
val
)
{
this
.
dialogVisible
=
val
this
.
height
&&
(
this
.
scrollerHeight
=
this
.
height
+
'px'
)
}
},
methods
:
{
handleFullscreen
(
val
)
{
handleFullscreen
()
{
this
.
fullscreen
=
!
this
.
fullscreen
let
height
=
document
.
getElementById
(
'dialogBox'
).
clientHeight
if
(
!
this
.
fullscreen
)
{
this
.
scrollerHeight
=
false
this
.
scrollerHeight
=
''
}
else
{
this
.
scrollerHeight
=
(
window
.
innerHeight
-
1
8
0
)
+
'px'
this
.
scrollerHeight
=
(
window
.
innerHeight
-
1
2
0
)
+
'px'
}
},
submitForm
()
{
...
...
src/styles/dialogBox.scss
View file @
d7100f9
...
...
@@ -33,7 +33,9 @@
@include
flex-center
;
}
.dialogBox-content
{
height
:
auto
}
}
.dialog_title
{
...
...
src/views/sqcx/jtfc/components/addjtfc.vue
View file @
d7100f9
<
template
>
<dialogBox
title=
"家庭房产查询"
@
closeDialog=
"closeDialog"
isMain
width=
"70%
"
:isButton=
"false"
v-model=
"myValue"
>
<dialogBox
title=
"家庭房产查询"
@
closeDialog=
"closeDialog"
width=
"70%"
height=
"700
"
:isButton=
"false"
v-model=
"myValue"
>
<div
class=
"jtfccx-edit"
>
<div
class=
"jtfccx-edit-con"
>
<b
class=
"title"
>
申请信息
</b>
...
...
@@ -29,13 +29,13 @@
<el-button
type=
"primary"
@
click=
"queryChick"
>
查询
</el-button>
<el-button
@
click=
"resetClick"
>
重置
</el-button>
</div>
<b
class=
"title"
v-
if
=
"isSearch"
>
查询结果
</b>
<b
class=
"title"
v-
show
=
"isSearch"
>
查询结果
</b>
<lb-table
:column=
"searchData.columns"
v-if=
"isSearch"
:data=
"searchData.data"
:maxHeight=
"200"
heightNumSetting
:pagination=
"false"
>
</lb-table>
</div>
<div
class=
"submit-button"
v-
if
=
"isSearch"
style=
"padding-bottom:20px"
>
<div
class=
"submit-button"
v-
show
=
"isSearch"
style=
"padding-bottom:20px"
>
<el-button
type=
"primary"
v-if=
"searchData.data.length > 0"
>
房产结果打印(1)
</el-button>
<el-button
type=
"primary"
v-else
>
无房证明打印(1)
</el-button>
<el-button
@
click=
"closeDialog"
>
关闭
</el-button>
...
...
src/views/workflow/workFrame1.vue
View file @
d7100f9
...
...
@@ -72,7 +72,6 @@
@import
"./workFrame.scss"
;
</
style
>
<
script
>
import
{
mapGetters
}
from
"vuex"
import
WorkFlow
from
"./mixin/index"
import
publicFlow
from
"./mixin/public.js"
import
{
getStepFormInfo
}
from
"@/api/fqsq.js"
;
...
...
@@ -91,7 +90,6 @@ export default {
data
()
{
return
{
isDialog
:
false
,
// 流程图
// 折叠
isShowdrawer
:
true
,
// 默认选中
...
...
Please
register
or
sign in
to post a comment