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
041bfc77
authored
2022-11-16 16:36:41 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框修改
1 parent
f70b37c2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
src/components/Base/base.js
src/components/Popup/index.js
src/components/Popup/index.vue
src/views/workflow/components/zslq.vue
src/components/Base/base.js
View file @
041bfc7
...
...
@@ -9,7 +9,6 @@ export default {
Vue
.
component
(
'lbTable'
,
LbTable
);
Vue
.
component
(
'Theme'
,
Theme
);
Vue
.
prototype
.
$popup
=
Popup
.
install
;
Vue
.
prototype
.
$popupClose
=
Popup
.
close
;
Vue
.
prototype
.
$alertMes
=
MessageBox
.
alert
;
}
}
\ No newline at end of file
...
...
src/components/Popup/index.js
View file @
041bfc7
...
...
@@ -16,11 +16,5 @@ Popup.install = function (title, editItem, data, formData) {
instance
.
isShow
=
true
})
}
Popup
.
close
=
function
()
{
let
instance
=
new
PopupBox
().
$mount
()
Vue
.
nextTick
(()
=>
{
instance
.
isShow
=
false
})
}
export
default
Popup
...
...
src/components/Popup/index.vue
View file @
041bfc7
...
...
@@ -58,13 +58,13 @@ export default {
setTimeout
(()
=>
{
if
(
this
.
btnShow
)
{
if
(
this
.
height
==
'auto'
)
{
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
+
20
)
+
'px'
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
)
+
'px'
}
else
{
this
.
contentHeight
=
this
.
height
}
}
else
{
if
(
this
.
height
==
'auto'
)
{
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
+
20
)
+
'px'
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
)
+
'px'
}
else
{
this
.
contentHeight
=
this
.
height
}
...
...
src/views/workflow/components/zslq.vue
View file @
041bfc7
...
...
@@ -46,6 +46,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row
style=
"text-align:center"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
确定
</el-button>
<el-button>
取消
</el-button>
</el-row>
</el-form>
</div>
</
template
>
...
...
@@ -97,10 +101,13 @@ export default {
this
.
loadGrid
();
},
methods
:
{
onSubmit
()
{
},
fetchData
()
{
},
//列表初始化
loadGrid
()
{
getUnclaimedBdcqz
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
}).
then
(
res
=>
{
getUnclaimedBdcqz
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
;
}
...
...
Please
register
or
sign in
to post a comment