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
bee6edb8
authored
2023-06-01 17:46:47 +0800
by
单帅旗
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增:批量房屋首次登记
1 parent
c30c2bea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
312 additions
and
267 deletions
src/api/workflow/fwsyqFlow.js
src/views/workflow/components/leftmenu/ordinaryMenu.vue
src/views/workflow/flowform.js
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
src/api/workflow/fwsyqFlow.js
View file @
bee6edb
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:30:58
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* 国有建设用地使用权/房屋所有权-批量房屋初始化
* @param data
* @author ssq 2023年5月26日14点29分
*/
export
function
BatchInit
(
data
){
let
apiUrl
=
""
;
switch
(
data
.
get
(
"djlx"
))
{
case
"100"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/fristBatchInit"
;
break
;
case
"200"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/transferInit"
;
break
;
case
"300"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/changeInit"
;
break
;
case
"400"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/logoutBatchSave"
;
break
;
case
"500"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/replaceInit"
;
break
;
}
return
request
({
url
:
apiUrl
,
method
:
'post'
,
data
})
}
/**
* @description: 初始化内容
* @param {*} data
* @author: renchao
*/
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
switch
(
data
.
get
(
"djlx"
))
{
case
"100"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/fristInit"
;
break
;
case
"200"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/transferInit"
;
break
;
case
"300"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/changeInit"
;
break
;
case
"400"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/logoutInit"
;
break
;
case
"500"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/replaceInit"
;
break
;
}
return
request
({
url
:
apiUrl
,
method
:
'post'
,
data
})
let
apiUrl
=
""
;
switch
(
data
.
get
(
"djlx"
))
{
case
"100"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/fristInit"
;
break
;
case
"200"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/transferInit"
;
break
;
case
"300"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/changeInit"
;
break
;
case
"400"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/logoutInit"
;
break
;
case
"500"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/replaceInit"
;
break
;
}
return
request
({
url
:
apiUrl
,
method
:
'post'
,
data
})
}
/**
* @description: 首次登记提交
...
...
@@ -47,11 +84,11 @@ export function Init (data) {
* @author: renchao
*/
export
function
saveBatchData
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveBatchData"
,
method
:
'post'
,
data
})
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveBatchData"
,
method
:
'post'
,
data
})
}
/**
...
...
@@ -60,10 +97,10 @@ export function saveBatchData (data) {
* @author: renchao
*/
export
function
saveData
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveData"
,
method
:
'post'
,
data
})
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveData"
,
method
:
'post'
,
data
})
}
...
...
src/views/workflow/components/leftmenu/ordinaryMenu.vue
View file @
bee6edb
...
...
@@ -39,151 +39,156 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
{
leftMenu
}
from
"@/api/fqsq.js"
import
{
deleteSlbdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
data
()
{
return
{
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 默认选中
activeIndex
:
'0'
,
// 折叠
isShowdrawer
:
true
,
// 批量操作
showBatch
:
false
,
//批量操作按钮名称
batchButtonName
:
''
,
//左侧菜单数据集合
unitData
:
[],
// 设置表单传递数据
currentSelectProps
:
{}
}
},
mounted
()
{
this
.
loadBdcdylist
();
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
import
{
mapGetters
}
from
'vuex'
import
{
leftMenu
}
from
"@/api/fqsq.js"
import
{
deleteSlbdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
data
()
{
return
{
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 默认选中
activeIndex
:
'0'
,
// 折叠
isShowdrawer
:
true
,
// 批量操作
showBatch
:
false
,
//批量操作按钮名称
batchButtonName
:
''
,
//左侧菜单数据集合
unitData
:
[],
// 设置表单传递数据
currentSelectProps
:
{}
}
},
mounted
()
{
this
.
loadBdcdylist
();
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
loadBdcdylist
()
},
immediate
:
true
}
},
methods
:
{
//读取申请单元信息
loadBdcdylist
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
leftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
unitData
=
res
.
result
;
this
.
currentSelectProps
=
res
.
result
[
0
];
this
.
$emit
(
'getCurrentSelectProps'
,
this
.
currentSelectProps
);
this
.
judgeBatchShow
();
if
(
this
.
showBatch
)
{
//满足批量查封/批量抵押按钮出现 即先展示批量表单
this
.
batchUnitClick
();
}
else
{
//默认选择单元列表第一个
this
.
unitClick
(
0
);
}
}
})
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
loadBdcdylist
()
},
immediate
:
true
//批量按钮判断
judgeBatchShow
()
{
this
.
showBatch
=
false
;
if
(
this
.
unitData
.
length
>
1
)
{
let
qllx
=
this
.
$route
.
query
?.
sqywbm
?.
substring
(
0
,
3
);
switch
(
qllx
)
{
case
'A04'
:
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量单元信息'
;
break
;
case
'B39'
:
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量查封清单信息'
;
break
;
case
'A37'
:
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量抵押'
;
break
;
default
:
this
.
batchButtonName
=
'批量操作'
;
}
}
},
methods
:
{
//读取申请单元信息
loadBdcdylist
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
leftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
unitData
=
res
.
result
;
this
.
currentSelectProps
=
res
.
result
[
0
];
this
.
$emit
(
'getCurrentSelectProps'
,
this
.
currentSelectProps
);
this
.
judgeBatchShow
();
if
(
this
.
showBatch
)
{
//满足批量查封/批量抵押按钮出现 即先展示批量表单
this
.
batchUnitClick
();
/**
* @description: 删除左侧列表
* @param {*} item
* @author: renchao
*/
handleDel
(
item
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldyList"
,
item
.
bsmSldy
.
split
(
","
));
// formdata.append("bsmSlsq", this.bsmSlsq);
deleteSlbdcdy
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
);
/**
* @description: 更新列表
* @author: miaofang
*/
this
.
loadBdcdylist
()
// this.$parent.updateDialog();
}
else
{
//默认选择单元列表第一个
this
.
unitClick
(
0
);
this
.
$message
.
error
(
res
.
message
);
}
}
})
},
//批量按钮判断
judgeBatchShow
()
{
this
.
showBatch
=
false
;
if
(
this
.
unitData
.
length
>
1
)
{
let
qllx
=
this
.
$route
.
query
?.
sqywbm
?.
substring
(
0
,
3
);
switch
(
qllx
)
{
case
'B39'
:
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量查封清单信息'
;
break
;
case
'A37'
:
this
.
showBatch
=
true
;
this
.
batchButtonName
=
'批量抵押'
;
break
;
default
:
this
.
batchButtonName
=
'批量操作'
;
}
}
},
/**
* @description: 删除左侧列表
* @param {*} item
* @author: renchao
*/
handleDel
(
item
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
});
})
.
then
(()
=>
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldyList"
,
item
.
bsmSldy
.
split
(
","
));
// formdata.append("bsmSlsq", this.bsmSlsq);
deleteSlbdcdy
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
);
/**
* @description: 更新列表
* @author: miaofang
*/
this
.
loadBdcdylist
()
// this.$parent.updateDialog();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
},
//批量按钮点击事件
batchUnitClick
()
{
this
.
currentSelectProps
.
batchOperation
=
true
;
this
.
activeIndex
=
"-1"
;
this
.
$parent
.
stepForm
();
},
//批量操作
handleBatchDel
()
{
this
.
$popupDialog
(
"批量删除"
,
"workflow/components/batchDel"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
'50%'
,
true
)
},
//申请单元点击事件
unitClick
(
index
)
{
this
.
currentSelectProps
=
this
.
unitData
[
index
];
this
.
currentSelectProps
.
batchOperation
=
false
;
this
.
activeIndex
=
index
.
toString
();
//选中表单传递数据
this
.
$emit
(
'getCurrentSelectProps'
,
this
.
currentSelectProps
);
this
.
$parent
.
stepForm
(
index
);
this
.
$store
.
dispatch
(
'user/refreshPage'
,
false
);
}
});
},
//批量按钮点击事件
batchUnitClick
()
{
this
.
currentSelectProps
.
batchOperation
=
true
;
this
.
activeIndex
=
"-1"
;
this
.
$parent
.
stepForm
();
},
//批量操作
handleBatchDel
()
{
this
.
$popupDialog
(
"批量删除"
,
"workflow/components/batchDel"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
'50%'
,
true
)
},
//申请单元点击事件
unitClick
(
index
)
{
this
.
currentSelectProps
=
this
.
unitData
[
index
];
this
.
currentSelectProps
.
batchOperation
=
false
;
this
.
activeIndex
=
index
.
toString
();
//选中表单传递数据
this
.
$emit
(
'getCurrentSelectProps'
,
this
.
currentSelectProps
);
this
.
$parent
.
stepForm
(
index
);
this
.
$store
.
dispatch
(
'user/refreshPage'
,
false
);
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/mixin.scss"
;
@import
"../../workFrame.scss"
;
.leftmenu
ul
{
height
:
calc
(
100vh
-
120px
);
}
@import
"~@/styles/mixin.scss"
;
@import
"../../workFrame.scss"
;
.leftmenu
ul
{
height
:
calc
(
100vh
-
120px
);
}
</
style
>
...
...
src/views/workflow/flowform.js
View file @
bee6edb
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-29 14:39:11
*/
//流程环节操作按钮
export
function
getForm
(
tabName
,
djywbm
)
{
let
form
;
switch
(
tabName
)
{
case
"jsydsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/jsydsyq/slxx.vue"
);
break
;
case
"jsydsyqslxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"
);
break
;
case
"fwsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxx.vue"
);
break
;
case
"fwsyqslxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxx300.vue"
);
break
;
case
"nydsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/nydsyq/slxx.vue"
);
break
;
case
"nydsyqslxx200"
:
form
=
require
(
"@/views/ywbl/slsqxx/nydsyq/slxx200.vue"
);
break
;
case
"tdslxxCfdj"
:
form
=
require
(
"@/views/ywbl/slsqxx/cfdj/tdslxx.vue"
);
break
;
case
"plslxxCfdj"
:
form
=
require
(
"@/views/ywbl/slsqxx/cfdj/plcfslxx.vue"
);
break
;
case
"diyaqSlxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx.vue"
);
break
;
case
"diyaqSlxx200"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx200.vue"
);
break
;
case
"diyaqSlxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx200.vue"
);
break
;
case
"clxx"
:
form
=
require
(
"@/views/workflow/components/clxxUnify.vue"
);
break
;
case
"spyj"
:
form
=
require
(
"@/views/workflow/components/spyj.vue"
);
break
;
case
"zdjbxx"
:
form
=
require
(
"@/views/registerBook/zdjbxx.vue"
);
break
;
case
"ygmm100"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdj/slxx.vue"
);
break
;
case
"ygmm300"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdj/slxx300.vue"
);
break
;
case
"ygdy100"
:
case
"ygdy300"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdy/slxx.vue"
);
break
;
case
"zjgcdyqSlxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/zjgcdy/slxx.vue"
);
break
;
case
"cfdjxx"
:
form
=
require
(
"@/views/registerBook/cfdj.vue"
);
break
;
case
"jsydsyqQlxx"
:
form
=
require
(
"@/views/registerBook/jsydsyq.vue"
);
break
;
case
"nydsyqQlxx"
:
form
=
require
(
"@/views/registerBook/nydsyq.vue"
);
break
;
case
"fdcq2Qlxx"
:
form
=
require
(
"@/views/registerBook/fdcq2.vue"
);
break
;
case
"diyaqQlxx"
:
form
=
require
(
"@/views/registerBook/diyaq.vue"
);
break
;
case
"ygdjQlxx"
:
form
=
require
(
"@/views/registerBook/ygdj.vue"
);
break
;
case
"szxx"
:
form
=
require
(
"@/views/workflow/components/szxx.vue"
);
break
;
case
"fzxx"
:
form
=
require
(
"@/views/workflow/components/fzxx.vue"
);
break
;
case
"zdt"
:
form
=
require
(
"@/views/workflow/components/zdt.vue"
);
break
;
default
:
form
=
require
(
"@/views/error-page/404.vue"
);
break
;
}
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
form
));
export
function
getForm
(
tabName
,
djywbm
)
{
let
form
;
switch
(
tabName
)
{
case
"jsydsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/jsydsyq/slxx.vue"
);
break
;
case
"jsydsyqslxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"
);
break
;
case
"fwsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxx.vue"
);
break
;
case
"fwsyqslxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxx300.vue"
);
break
;
case
"nydsyqslxx100"
:
form
=
require
(
"@/views/ywbl/slsqxx/nydsyq/slxx.vue"
);
break
;
case
"plfdcq2"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"
);
break
;
case
"nydsyqslxx200"
:
form
=
require
(
"@/views/ywbl/slsqxx/nydsyq/slxx200.vue"
);
break
;
case
"tdslxxCfdj"
:
form
=
require
(
"@/views/ywbl/slsqxx/cfdj/tdslxx.vue"
);
break
;
case
"plslxxCfdj"
:
form
=
require
(
"@/views/ywbl/slsqxx/cfdj/plcfslxx.vue"
);
break
;
case
"diyaqSlxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx.vue"
);
break
;
case
"diyaqSlxx200"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx200.vue"
);
break
;
case
"diyaqSlxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/diyaq/slxx200.vue"
);
break
;
case
"clxx"
:
form
=
require
(
"@/views/workflow/components/clxxUnify.vue"
);
break
;
case
"spyj"
:
form
=
require
(
"@/views/workflow/components/spyj.vue"
);
break
;
case
"zdjbxx"
:
form
=
require
(
"@/views/registerBook/zdjbxx.vue"
);
break
;
case
"ygmm100"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdj/slxx.vue"
);
break
;
case
"ygmm300"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdj/slxx300.vue"
);
break
;
case
"ygdy100"
:
case
"ygdy300"
:
form
=
require
(
"@/views/ywbl/slsqxx/ygdy/slxx.vue"
);
break
;
case
"zjgcdyqSlxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/zjgcdy/slxx.vue"
);
break
;
case
"cfdjxx"
:
form
=
require
(
"@/views/registerBook/cfdj.vue"
);
break
;
case
"jsydsyqQlxx"
:
form
=
require
(
"@/views/registerBook/jsydsyq.vue"
);
break
;
case
"nydsyqQlxx"
:
form
=
require
(
"@/views/registerBook/nydsyq.vue"
);
break
;
case
"fdcq2Qlxx"
:
form
=
require
(
"@/views/registerBook/fdcq2.vue"
);
break
;
case
"diyaqQlxx"
:
form
=
require
(
"@/views/registerBook/diyaq.vue"
);
break
;
case
"ygdjQlxx"
:
form
=
require
(
"@/views/registerBook/ygdj.vue"
);
break
;
case
"szxx"
:
form
=
require
(
"@/views/workflow/components/szxx.vue"
);
break
;
case
"fzxx"
:
form
=
require
(
"@/views/workflow/components/fzxx.vue"
);
break
;
case
"zdt"
:
form
=
require
(
"@/views/workflow/components/zdt.vue"
);
break
;
default
:
form
=
require
(
"@/views/error-page/404.vue"
);
break
;
}
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
form
));
}
...
...
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
0 → 100644
View file @
bee6edb
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment