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
27571fa6
authored
2022-10-14 11:38:27 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式修改
1 parent
d722d892
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
src/views/workflow/components/batchDel.vue
src/views/workflow/workFrame.scss
src/views/workflow/workFrame.vue
src/views/workflow/components/batchDel.vue
View file @
27571fa
...
...
@@ -4,7 +4,8 @@
-->
<
template
>
<div
class=
'batchDel'
>
<lb-table
:column=
"columns"
:data=
"formData.dataList"
:heightNum=
"500"
:pagination=
"false"
@
selection-change=
"handleSelectionChange"
>
<lb-table
:column=
"columns"
:data=
"formData.dataList"
:maxHeight=
"460"
:heightNumSetting=
"true"
:pagination=
"false"
@
selection-change=
"handleSelectionChange"
>
</lb-table>
</div>
</
template
>
...
...
@@ -43,15 +44,15 @@ export default {
selectBdcdy
:
[],
}
},
methods
:{
childFn
()
{
methods
:
{
childFn
()
{
deleteBdcdy
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
bsmSldyList
:
this
.
selectBdcdy
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
);
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
...
...
@@ -60,7 +61,7 @@ export default {
this
.
selectBdcdy
=
[];
e
.
forEach
((
item
,
index
)
=>
{
this
.
selectBdcdy
.
push
(
item
.
bsmSldy
)
})
})
}
}
}
...
...
src/views/workflow/workFrame.scss
View file @
27571fa
...
...
@@ -60,8 +60,11 @@
font-size
:
14px
;
line-height
:
20px
;
cursor
:
pointer
;
display
:
flex
;
flex-direction
:
column
;
div
{
display
:
flex
;
flex-direction
:
column
;
}
}
li
:hover
{
...
...
src/views/workflow/workFrame.vue
View file @
27571fa
...
...
@@ -145,10 +145,10 @@ export default {
bsmSlsq
:
this
.
bsmSlsq
,
bsmSldyList
:
item
.
bsmSldy
.
split
(
','
)
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
);
this
.
updateDialog
();
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
...
...
@@ -166,12 +166,13 @@ export default {
width
:
'50%'
,
btnShow
:
true
,
editItem
:
'workflow/components/batchDel'
,
height
:
'500px'
,
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
},
cancel
:
function
()
{
},
//取消事件的回调
confirm
:
function
()
{
confirm
:
function
()
{
that
.
updateDialog
();
},
//确认事件的回调
})
...
...
Please
register
or
sign in
to post a comment