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
81c221ec
authored
2022-10-14 09:53:38 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请单元列表(6)
1 parent
3c988b4f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
136 additions
and
19 deletions
src/api/ywbl.js
src/components/tanchuang/index.vue
src/views/workflow/components/batchDel.vue
src/views/workflow/workFrame.scss
src/views/workflow/workFrame.vue
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/slectBdc.vue
src/api/ywbl.js
View file @
81c221e
...
...
@@ -142,3 +142,21 @@ export function deleteCollectBiz (bsmSqyw) {
method
:
'post'
})
}
// 国有建设用地使用权/房屋使用权 -选择不动产单元
export
function
choiceBdcdy
(
data
)
{
return
request
({
url
:
'business/workFlow/choiceBdcdy'
,
method
:
'post'
,
data
,
showLoading
:
true
})
}
// 申请列表删除
export
function
deleteBdcdy
(
data
)
{
return
request
({
url
:
'business/workFlow/deleteBdcdy?sldybsm='
+
data
,
method
:
'get'
,
showLoading
:
true
})
}
\ No newline at end of file
...
...
src/components/tanchuang/index.vue
View file @
81c221e
...
...
@@ -26,7 +26,7 @@ export default {
name
:
'index'
,
data
()
{
return
{
btnShow
:
tru
e
,
btnShow
:
fals
e
,
title
:
'提示'
,
cancelText
:
'取消'
,
confirmText
:
'确认'
,
...
...
@@ -56,17 +56,17 @@ export default {
mounted
()
{
// 计算滚动条高度
setTimeout
(()
=>
{
if
(
this
.
btnShow
)
{
if
(
this
.
height
==
'auto'
)
{
if
(
this
.
btnShow
)
{
if
(
this
.
height
==
'auto'
)
{
this
.
contentHeight
=
(
this
.
$refs
.
contentRef
.
offsetHeight
-
115
)
+
'px'
}
else
{
this
.
contentHeight
=
(
parseInt
(
this
.
height
)
-
parseInt
(
'115px'
))
+
'px'
;
}
else
{
this
.
contentHeight
=
(
parseInt
(
this
.
height
)
-
parseInt
(
'115px'
))
+
'px'
;
}
}
else
{
if
(
this
.
height
==
'auto'
)
{
}
else
{
if
(
this
.
height
==
'auto'
)
{
this
.
contentHeight
=
this
.
$refs
.
contentRef
.
offsetHeight
+
'px'
}
else
{
this
.
contentHeight
=
this
.
height
}
else
{
this
.
contentHeight
=
this
.
height
}
}
...
...
@@ -132,7 +132,7 @@ export default {
.ls-title
{
padding
:
16px
;
color
:
#ffffff
;
background
:
linear-gradient
(
-2deg
,
#409EFF
,
transparent
)
background
:
linear-gradient
(
-2deg
,
#409EFF
,
transparent
)
}
.ls-title
.svg-icon
{
...
...
src/views/workflow/components/batchDel.vue
0 → 100644
View file @
81c221e
<!--
功能:申请单元列表批量删除
作者:calliope
-->
<
template
>
<div
class=
'batchDel'
>
<lb-table
:column=
"columns"
:data=
"dataList"
:heightNum=
"500"
:pagination=
"false"
>
</lb-table>
</div>
</
template
>
<
script
>
export
default
{
components
:
{},
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
},
data
()
{
return
{
columns
:
[
{
type
:
'selection'
,
label
:
'全选'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
},
{
prop
:
"status"
,
label
:
"状态"
,
},
],
dataList
:
[]
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
src/views/workflow/workFrame.scss
View file @
81c221e
...
...
@@ -6,9 +6,15 @@
border
:
1px
solid
#ebeef5
;
z-index
:
100
;
@include
flex
;
/
deep
/
.el-tabs__header
{
margin-bottom
:
0
!
important
;
}
/
deep
/
.el-menu-item
{
display
:
flex
;
align-items
:
center
;
}
}
.leftmenu
{
...
...
@@ -24,6 +30,12 @@
text-align
:
center
;
}
.batchDel
{
float
:
right
;
position
:
relative
;
top
:
3px
;
}
.title-detail
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
@@ -115,8 +127,8 @@
}
.map-drawer
{
width
:
20
px
;
height
:
7
9
px
;
width
:
16
px
;
height
:
7
0
px
;
position
:
absolute
;
top
:
30%
;
z-index
:
99
;
...
...
src/views/workflow/workFrame.vue
View file @
81c221e
...
...
@@ -22,11 +22,16 @@
<!-- 左侧菜单栏 -->
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
<div
v-if=
"this.isShowdrawer"
>
<div
class=
"title"
>
申请单元列表(
{{
unitData
.
length
}}
)
</div>
<div
class=
"title"
>
申请单元列表(
{{
unitData
.
length
}}
)
<el-button
type=
"text"
class=
"batchDel"
@
click=
"handleBatchDel"
>
批量删除
</el-button>
</div>
<el-menu
:default-active=
"activeIndex"
@
select=
"unitClick"
>
<el-menu-item
v-for=
"(item, index) in unitData"
:index=
"index.toString()"
:key=
"index"
>
<div>
<p>
{{
item
.
bdcdyh
}}
</p>
<p
class=
"title-detail"
>
{{
item
.
zl
}}
</p>
</div>
<i
class=
"el-icon-delete"
v-if=
"unitData.length>=1"
@
click
.
stop=
"handleDel(item)"
></i>
</el-menu-item>
</el-menu>
</div>
...
...
@@ -56,7 +61,7 @@
</div>
</div>
</div>
<fqsqDialog
v-model=
"isDialog"
:djywbm=
"$route.query.sqywbm"
:isJump=
"true"
/>
<fqsqDialog
v-model=
"isDialog"
:djywbm=
"$route.query.sqywbm"
:isJump=
"true"
@
updateDialog=
"updateDialog"
/>
</div>
</
template
>
...
...
@@ -72,6 +77,7 @@ import {
getNextLinkInfo
,
completeTask
,
}
from
"@/api/fqsq.js"
import
{
deleteBdcdy
}
from
"@/api/ywbl.js"
import
{
getWorkFlowImage
}
from
"@/api/jsydsyqFlow.js"
import
{
getForm
}
from
"./flowform.js"
import
fqsqDialog
from
"@/views/ywbl/ywsq/slectBdc.vue"
...
...
@@ -124,6 +130,27 @@ export default {
this
.
flowInitParam
();
},
methods
:
{
// 更新列表
updateDialog
()
{
this
.
loadBdcdylist
();
},
// 删除左侧列表
handleDel
(
item
)
{
deleteBdcdy
(
item
.
sldybsm
).
then
(
res
=>
{
})
},
handleBatchDel
()
{
this
.
$popup
({
title
:
'批量删除'
,
width
:
'50%'
,
btnShow
:
true
,
editItem
:
'workflow/components/batchDel'
,
formData
:
{},
cancel
:
function
()
{
},
//取消事件的回调
confirm
:
function
()
{
},
//确认事件的回调
})
},
//加载流程初始参数
flowInitParam
()
{
var
formdata
=
new
FormData
();
...
...
@@ -164,6 +191,7 @@ export default {
this
.
imgSrc
=
URL
.
createObjectURL
(
res
)
this
.
$popup
({
title
:
'流程图'
,
btnShow
:
true
,
editItem
:
'workflow/components/flowChart'
,
formData
:
this
.
imgSrc
})
...
...
src/views/ywbl/dbx/dbx.vue
View file @
81c221e
...
...
@@ -171,7 +171,7 @@ export default {
})
},
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrame?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=1'
);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrame?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=1'
+
'&sqywbm='
+
item
.
djywbm
);
window
.
open
(
href
,
'_blank'
);
}
}
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
81c221e
...
...
@@ -45,7 +45,7 @@ import Cookies from 'js-cookie'
import
{
datas
,
sendThis
}
from
"../javascript/fwsyq.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"@/views/ywbl/ywsq/components/mixin/jump"
;
import
{
selectFwsyq
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
import
{
selectFwsyq
,
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
...
...
@@ -96,6 +96,7 @@ export default {
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
Cookies
.
get
(
"bsmSqyw"
),
bdcdysz
:
this
.
bdcdysz
,
...
...
@@ -108,15 +109,28 @@ export default {
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
}
else
{
this
.
$
emit
(
'updateDialog'
,
true
)
this
.
$
message
.
error
(
res
.
message
);
}
})
}
else
{
choiceBdcdy
({
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
this
.
$emit
(
'updateDialog'
,
true
)
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
...
...
src/views/ywbl/ywsq/slectBdc.vue
View file @
81c221e
...
...
@@ -42,7 +42,7 @@ export default {
},
updateDialog
()
{
this
.
$emit
(
"input"
,
false
)
this
.
key
++
this
.
$emit
(
"updateDialog"
,
true
)
}
}
}
...
...
Please
register
or
sign in
to post a comment