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
2ea7a41a
authored
2022-12-05 11:51:06 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
批量操作
1 parent
77398a35
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
46 additions
and
37 deletions
src/views/workflow/components/batchDel.vue
src/views/workflow/mixin/index.js
src/views/workflow/mixin/public.js
src/views/workflow/workFrame1.vue
src/views/ywbl/cfdj/plcfslxx.vue
src/views/ywbl/cfdj/tdslxx.vue
src/views/ywbl/ywsq/components/mixin/jump.js
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/workflow/components/batchDel.vue
View file @
2ea7a41
<!--
功能:申请单元列表批量删除
作者:calliope
-->
<
template
>
<div
class=
'batchDel'
>
<lb-table
:column=
"columns"
:data=
"formData.dataList"
:maxHeight=
"460"
:heightNumSetting=
"true"
:pagination=
"false"
...
...
src/views/workflow/mixin/index.js
View file @
2ea7a41
...
...
@@ -42,7 +42,7 @@ export default {
this
.
judgeBatchShow
();
if
(
this
.
showBatch
)
{
//满足批量查封/批量抵押按钮出现 即先展示批量表单
this
.
unitClick
(
-
1
);
this
.
batchUnitClick
(
);
}
else
{
//默认选择单元列表第一个
this
.
unitClick
(
0
);
...
...
@@ -54,8 +54,8 @@ export default {
//批量按钮判断
judgeBatchShow
()
{
this
.
showBatch
=
false
;
let
qllx
=
this
.
$route
.
query
.
sqywbm
.
substring
(
0
,
3
);
if
(
this
.
unitData
.
length
>
1
)
{
let
qllx
=
this
.
$route
.
query
.
sqywbm
.
substring
(
0
,
3
);
switch
(
qllx
)
{
case
'B39'
:
this
.
showBatch
=
true
;
...
...
@@ -65,6 +65,8 @@ export default {
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量抵押'
;
break
;
default
:
this
.
batchButtonName
=
'批量操作'
;
}
}
},
...
...
@@ -279,6 +281,22 @@ export default {
message
:
"action: "
+
action
})
})
},
//批量操作
handleBatchDel
()
{
let
that
=
this
;
this
.
$popup
(
"批量删除"
,
"workflow/components/batchDel"
,
{
width
:
"50%"
,
btnShow
:
true
,
height
:
"600px"
,
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
confirm
:
function
()
{
that
.
loadBdcdylist
();
}
})
},
}
}
...
...
src/views/workflow/mixin/public.js
View file @
2ea7a41
...
...
@@ -20,15 +20,13 @@ export default {
},
//切换选项卡内容组件
getFromRouter
(
tabname
)
{
//根据tabname获取选中的表单
//根据tabname获取选中的表单
此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
for
(
let
item
of
this
.
tabList
){
if
(
item
.
value
===
tabname
){
this
.
currentSelectTab
=
item
break
;
}
}
console
.
log
(
this
.
currentSelectTab
);
this
.
componentTag
=
getForm
(
tabname
,
this
.
$route
.
query
.
sqywbm
);
}
}
...
...
src/views/workflow/workFrame1.vue
View file @
2ea7a41
...
...
@@ -22,7 +22,7 @@
<div
class=
"containerFrame"
>
<!-- 左侧菜单栏 -->
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
<div
class=
"title"
@
click=
"
unitClick(-1)
"
>
{{
batchButtonName
}}
</div>
<div
class=
"title"
@
click=
"
batchUnitClick"
v-if=
"showBatch
"
>
{{
batchButtonName
}}
</div>
<div
v-if=
"this.isShowdrawer"
>
<div
class=
"title"
>
申请单元列表(
{{
unitData
.
length
}}
)
...
...
@@ -115,7 +115,11 @@ export default {
//材料信息选项卡对象
clxxTab
:
{},
//页面监听时间
_beforeUnload_time
:
""
_beforeUnload_time
:
""
,
//批量操作
showBatch
:
false
,
//批量操作按钮名称
batchButtonName
:
''
,
}
},
mounted
()
{
...
...
@@ -176,29 +180,8 @@ export default {
});
});
},
handleBatchDel
()
{
let
that
=
this
;
this
.
$popup
(
"批量删除"
,
"workflow/components/batchDel"
,
{
width
:
"50%"
,
btnShow
:
true
,
height
:
"600px"
,
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
confirm
:
function
()
{
that
.
loadBdcdylist
();
}
})
},
//申请单元点击事件
unitClick
(
index
)
{
if
(
index
>=
0
)
{
this
.
currentSelectProps
=
this
.
unitData
[
index
];
this
.
currentSelectProps
.
batchOperation
=
false
;
}
else
{
this
.
currentSelectProps
.
batchOperation
=
true
;
}
stepForm
(
index
)
{
getStepFormInfo
(
this
.
currentSelectProps
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
fresh
++
;
...
...
@@ -206,6 +189,8 @@ export default {
this
.
tabList
=
res
.
result
;
//默认加载第一个表单信息
this
.
tabName
=
res
.
result
[
0
].
value
;
//批量操作无分屏按钮
if
(
index
!=
null
){
//处理分屏材料信息
let
that
=
this
;
this
.
tabList
.
forEach
(
function
(
item
,
index
)
{
...
...
@@ -216,7 +201,19 @@ export default {
}
})
}
}
})
},
//申请单元点击事件
unitClick
(
index
)
{
this
.
currentSelectProps
=
this
.
unitData
[
index
];
this
.
currentSelectProps
.
batchOperation
=
false
;
this
.
stepForm
(
index
);
},
//批量按钮点击事件
batchUnitClick
(){
this
.
currentSelectProps
.
batchOperation
=
true
;
this
.
stepForm
();
}
}
}
...
...
src/views/ywbl/cfdj/plcfslxx.vue
View file @
2ea7a41
...
...
@@ -81,7 +81,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"查封起始时间:"
prop=
"cfdj.cfqssj"
>
<el-date-picker
v-model=
"ruleForm.cfdj.cfqssj"
class=
"width100"
disabled
type=
"date"
placeholder=
"选择日期"
<el-date-picker
v-model=
"ruleForm.cfdj.cfqssj"
class=
"width100"
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
...
...
src/views/ywbl/cfdj/tdslxx.vue
View file @
2ea7a41
...
...
@@ -126,7 +126,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"查封起始时间:"
prop=
"cfdj.cfqssj"
>
<el-date-picker
v-model=
"ruleForm.cfdj.cfqssj"
class=
"width100"
disabled
type=
"date"
placeholder=
"选择日期"
<el-date-picker
v-model=
"ruleForm.cfdj.cfqssj"
class=
"width100"
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
...
...
src/views/ywbl/ywsq/components/mixin/jump.js
View file @
2ea7a41
...
...
@@ -3,7 +3,7 @@ export default {
jump
(
data
,
type
)
{
this
.
$emit
(
"closeDialog"
);
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrame?bsmSlsq="
+
"/workFrame
cs
?bsmSlsq="
+
data
.
bsmSlsq
+
"&bestepid="
+
data
.
bestepid
+
'&bsmBusiness='
+
'&sqywbm='
+
type
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
2ea7a41
...
...
@@ -165,7 +165,7 @@ export default {
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
);
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
this
.
$emit
(
"updateDialog"
,
true
);
}
...
...
Please
register
or
sign in
to post a comment