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
abf73539
authored
2022-10-14 11:22:58 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
b39f612f
535c7358
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
92 additions
and
33 deletions
src/api/ywbl.js
src/components/tanchuang/index.vue
src/layout/components/TagsView/index.vue
src/utils/request.js
src/views/workflow/components/batchDel.vue
src/views/workflow/workFrame.vue
src/api/ywbl.js
View file @
abf7353
...
...
@@ -155,8 +155,9 @@ export function choiceBdcdy (data) {
// 申请列表删除
export
function
deleteBdcdy
(
data
)
{
return
request
({
url
:
'business/workFlow/deleteBdcdy?sldybsm='
+
data
,
method
:
'get'
,
url
:
'business/workFlow/deleteBdcdy'
,
method
:
'post'
,
data
,
showLoading
:
true
})
}
\ No newline at end of file
...
...
src/components/tanchuang/index.vue
View file @
abf7353
...
...
@@ -59,9 +59,15 @@ export default {
if
(
this
.
btnShow
)
{
//判断按钮的显影来决定是否需要计算高度
if
(
this
.
height
==
'auto'
)
{
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
-
100
)
+
'px'
}
else
{
this
.
contentHeight
=
this
.
height
}
}
else
{
this
.
contentHeight
=
(
parseInt
(
this
.
height
)
-
parseInt
(
'100px'
))
+
'px'
;
if
(
this
.
height
==
'auto'
){
this
.
contentHeight
=
this
.
$refs
.
contentRef
.
offsetHeight
}
else
{
this
.
contentHeight
=
this
.
height
}
}
},
500
)
},
...
...
@@ -139,23 +145,23 @@ export default {
}
.ls-mask-footer
{
height
:
50px
;
display
:
flex
;
justify-content
:
center
;
width
:
100%
;
box-shadow
:
0px
0px
2px
0px
;
border-radius
:
0
0
10px
10px
;
position
:
absolute
;
bottom
:
0
;
background
:
#ffffff
;
height
:
50px
;
display
:
flex
;
justify-content
:
center
;
width
:
100%
;
box-shadow
:
0px
0px
2px
0px
;
border-radius
:
0
0
10px
10px
;
position
:
absolute
;
bottom
:
0
;
background
:
#ffffff
;
}
/
deep
/
.closeStyle
{
position
:
absolute
;
top
:
1
7
px
;
right
:
12
px
;
font-size
:
2
0
px
;
top
:
1
3
px
;
right
:
26
px
;
font-size
:
2
4
px
;
cursor
:
pointer
;
color
:
#409EFF
;
}
...
...
src/layout/components/TagsView/index.vue
View file @
abf7353
...
...
@@ -202,7 +202,7 @@ export default {
height
:
48px
;
line-height
:
48px
;
width
:
100%
;
background
:
#
fff
;
background
:
#
EDF1F7
;
border-bottom
:
1px
solid
#E4EBF4
;
box-shadow
:
0
1px
3px
0
rgba
(
147
,
173
,
209
,
0.12
);
...
...
@@ -216,6 +216,8 @@ export default {
top
:
8px
;
height
:
33px
;
z-index
:
1
;
background
:
#EDF1F7
!important
;
}
.pane-mask-left
{
...
...
@@ -237,14 +239,12 @@ export default {
cursor
:
pointer
;
height
:
31px
;
line-height
:
29px
;
border
:
1px
solid
#e4ebf4
;
color
:
#686666
;
background
:
#
fff
;
padding
:
0
10px
0
1
0px
;
background
:
#
D8DFE6
;
padding
:
0
20px
0
2
0px
;
font-size
:
16px
;
margin-top
:
5px
;
border-radius
:
4px
;
border-radius
:
8px
8px
0
0
;
&:first-of-type
{
margin-left
:
15px
;
}
...
...
@@ -254,8 +254,8 @@ export default {
}
&
.active
{
border-
color
:
#0f93f6
;
color
:
#4a4a4a
;
color
:
#0f93f6
;
background
:
#ffffff
;
//
&::before
{
//
content
:
''
;
//
background
:
#0F93F6
;
...
...
@@ -267,6 +267,7 @@ export default {
//
margin-right
:
2px
;
//
}
}
}
}
...
...
src/utils/request.js
View file @
abf7353
...
...
@@ -16,6 +16,7 @@ const service = axios.create({
//admin:bearer AT-16-oqkOHiUSsDdFA-eAZ49k2rJQDTzQpClO
//renc:bearer AT-30-KHB4LXc8-CZXwBEyaFJa9lRmMTc5sHVI
//tianh:bearer AT-33-3zFTGkhQ4eUv4nXvzAmbgN5RPZppzEY6
//zhangh:bearer AT-7-Tx8dlZH0LNRc33UjD1CX1xwa-1D7kQmQ
},
timeout
:
15000
})
...
...
src/views/workflow/components/batchDel.vue
View file @
abf7353
...
...
@@ -4,12 +4,12 @@
-->
<
template
>
<div
class=
'batchDel'
>
<lb-table
:column=
"columns"
:data=
"
dataList"
:heightNum=
"500"
:pagination=
"fals
e"
>
<lb-table
:column=
"columns"
:data=
"
formData.dataList"
:heightNum=
"500"
:pagination=
"false"
@
selection-change=
"handleSelectionChang
e"
>
</lb-table>
</div>
</
template
>
<
script
>
import
{
deleteBdcdy
}
from
"@/api/ywbl.js"
export
default
{
components
:
{},
props
:
{
...
...
@@ -31,11 +31,36 @@ export default {
width
:
'50'
,
},
{
prop
:
"status"
,
label
:
"状态"
,
prop
:
"bdcdyh"
,
label
:
"不动产单元号"
,
},
{
prop
:
"zl"
,
label
:
"坐落"
,
},
],
dataList
:
[]
dataList
:
[],
selectBdcdy
:
[],
}
},
methods
:{
childFn
(){
deleteBdcdy
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
bsmSldyList
:
this
.
selectBdcdy
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
$message
.
success
(
"删除成功"
);
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
},
handleSelectionChange
(
e
)
{
this
.
selectBdcdy
=
[];
e
.
forEach
((
item
,
index
)
=>
{
this
.
selectBdcdy
.
push
(
item
.
bsmSldy
)
})
}
}
}
...
...
src/views/workflow/workFrame.vue
View file @
abf7353
...
...
@@ -23,7 +23,7 @@
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
<div
v-if=
"this.isShowdrawer"
>
<div
class=
"title"
>
申请单元列表(
{{
unitData
.
length
}}
)
<el-button
type=
"text"
class=
"batchDel"
@
click=
"handleBatchDel"
>
批量删除
</el-button>
<el-button
type=
"text"
class=
"batchDel"
@
click=
"handleBatchDel"
v-if=
"unitData.length>1"
>
批量删除
</el-button>
</div>
<el-menu
:default-active=
"activeIndex"
@
select=
"unitClick"
>
<el-menu-item
v-for=
"(item, index) in unitData"
:index=
"index.toString()"
:key=
"index"
>
...
...
@@ -136,19 +136,44 @@ export default {
},
// 删除左侧列表
handleDel
(
item
)
{
deleteBdcdy
(
item
.
sldybsm
).
then
(
res
=>
{
this
.
$confirm
(
'确定要删除吗, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
deleteBdcdy
({
bsmSlsq
:
this
.
bsmSlsq
,
bsmSldyList
:
item
.
bsmSldy
.
split
(
','
)
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
$message
.
success
(
"删除成功"
);
this
.
updateDialog
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
})
})
},
handleBatchDel
()
{
let
that
=
this
;
this
.
$popup
({
title
:
'批量删除'
,
width
:
'50%'
,
btnShow
:
true
,
editItem
:
'workflow/components/batchDel'
,
formData
:
{},
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
},
cancel
:
function
()
{
},
//取消事件的回调
confirm
:
function
()
{
},
//确认事件的回调
confirm
:
function
()
{
that
.
updateDialog
();
},
//确认事件的回调
})
},
//加载流程初始参数
...
...
Please
register
or
sign in
to post a comment