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
8837671c
authored
2024-02-29 14:20:21 +0800
by
“miaofang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
1e7fbdd1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
202 additions
and
11 deletions
src/api/print.js
src/views/workflow/mixin/index.js
src/views/workflow/top/bcclml/index.vue → src/views/workflow/top/bccltzs/index.vue
src/api/print.js
View file @
8837671
...
...
@@ -4,6 +4,14 @@
* @LastEditTime: 2024-02-23 10:45:18
*/
/*
* 不动产登记受理凭证(首环节)getPrintAcceptance
* 不动产登记补充材料通知书 getPrintSupplementalMaterials
* 不动产登记补充材料接收凭证 getPrintReceiveSupplementalMaterials
* 不予登记告知书 getPrintRejectForms
* 不动产登记申请材料退回通知书 getPrintSendBackMaterials
* 不动产更正登记通知书(依职权更正首环节)getPrintRiviseForms
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
@@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) {
})
}
/**
* @description: 获取不予登记告知书
* @param {*} bsmSldy
* @author: renchao
*/
export
function
getPrintRejectForms
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintRejectForms'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
/**
* @description: 获取更正登记通知书
* @param {*} bsmSldy
* @author: renchao
*/
export
function
getPrintRiviseForms
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintRiviseForms'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
/**
* @description: 获取申请材料退回通知书
* @param {*} bsmSldy
* @author: renchao
*/
export
function
getPrintSendBackMaterials
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintSendBackMaterials'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
/**
* @description: 获取补充材料接收凭证
* @param {*} bsmSldy
* @author: renchao
*/
export
function
getPrintReceiveSupplementalMaterials
(
bsmSldy
)
{
export
function
getPrintReceiveSupplementalMaterials
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintReceiveSupplementalMaterials'
,
method
:
'get'
,
...
...
src/views/workflow/mixin/index.js
View file @
8837671
...
...
@@ -4,9 +4,10 @@
* @LastEditTime: 2024-02-23 16:27:17
*/
import
Vue
from
'vue'
import
{
getPrintTemplateByCode
,
getPrintAcceptance
,
getPrintReceiveSupplementalMaterials
}
from
"@/api/print"
;
import
{
getPrintTemplateByCode
,
getPrintAcceptance
,
getPrintReceiveSupplementalMaterials
,
getPrintRejectForms
,
getPrintSendBackMaterials
,
getPrintRiviseForms
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
;
import
{
getNewDate
}
from
'@/utils/util'
import
adapter
from
"@/utils/sqs/adapter"
;
import
{
stepExpandInfo
,
...
...
@@ -40,7 +41,8 @@ export default {
batchButtonName
:
''
,
// 受理申请信息
slsq
:
{},
dqhj
:
""
dqhj
:
""
,
newDate
:
getNewDate
()
}
},
mounted
()
{
...
...
@@ -253,8 +255,12 @@ export default {
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
// this.$set(infoRes.result, "file" + key + 'xs', it.)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
...
...
@@ -279,25 +285,29 @@ export default {
}
})
break
;
// 补充材料通知书
// 补充材料通知书
case
"bccltzs"
:
this
.
$popupDialog
(
"补充材料通知书"
,
"workflow/top/bccl
ml
/index"
,
{
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
},
this
.
$popupDialog
(
"补充材料通知书"
,
"workflow/top/bccl
tzs
/index"
,
{
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
,
type
:
"bccltzs"
},
'70%'
,
true
)
break
;
// 获取补充材料接收凭证
case
"
sl
pz"
:
getPrintTemplateByCode
({
tmpno
:
'bdcdj
sl
pz'
}).
then
(
res
=>
{
// 补充材料接收凭证
case
"
bccljs
pz"
:
getPrintTemplateByCode
({
tmpno
:
'bdcdj
bccljs
pz'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
getPrint
Acceptance
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
getPrint
ReceiveSupplementalMaterials
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
===
200
)
{
if
(
infoRes
.
result
.
fileList
&&
infoRes
.
result
.
fileList
.
length
>
0
)
{
infoRes
.
result
.
fileList
.
forEach
((
it
,
index
)
=>
{
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'lx'
,
it
.
sjlx
==
1
?
"原件"
:
"复印件"
)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
...
...
@@ -322,6 +332,129 @@ export default {
}
})
break
;
// 不予登记告知书
case
"bydjgzs"
:
getPrintTemplateByCode
({
tmpno
:
'bydjgzs'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
getPrintRejectForms
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
===
200
)
{
if
(
infoRes
.
result
.
fileList
&&
infoRes
.
result
.
fileList
.
length
>
0
)
{
infoRes
.
result
.
fileList
.
forEach
((
it
,
index
)
=>
{
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
infoRes
.
result
.
sqri
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
2
]
console
.
log
(
infoRes
.
result
)
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
// 装载第一个模板并设置数据
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
res
.
result
.
tmpcontent
);
for
(
let
key
in
infoRes
.
result
)
{
LODOP
.
SET_PRINT_STYLEA
(
key
,
"CONTENT"
,
infoRes
.
result
[
key
]);
}
// 进行预览
LODOP
.
PREVIEW
();
}
else
{
this
.
$message
.
error
(
infoRes
.
message
);
}
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
break
;
// 申请材料退回通知书
case
"sqclthtzs"
:
getPrintTemplateByCode
({
tmpno
:
'bdcdjsqclthtzs'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
getPrintSendBackMaterials
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
===
200
)
{
if
(
infoRes
.
result
.
fileList
&&
infoRes
.
result
.
fileList
.
length
>
0
)
{
infoRes
.
result
.
fileList
.
forEach
((
it
,
index
)
=>
{
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
infoRes
.
result
.
sqri
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
2
]
console
.
log
(
infoRes
.
result
)
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
// 装载第一个模板并设置数据
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
res
.
result
.
tmpcontent
);
for
(
let
key
in
infoRes
.
result
)
{
LODOP
.
SET_PRINT_STYLEA
(
key
,
"CONTENT"
,
infoRes
.
result
[
key
]);
}
// 进行预览
LODOP
.
PREVIEW
();
}
else
{
this
.
$message
.
error
(
infoRes
.
message
);
}
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
break
;
// 不动产更正登记通知书
case
"gzdjtzs"
:
getPrintTemplateByCode
({
tmpno
:
'bdcgzdjtzs'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
getPrintRiviseForms
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
===
200
)
{
if
(
infoRes
.
result
.
fileList
&&
infoRes
.
result
.
fileList
.
length
>
0
)
{
infoRes
.
result
.
fileList
.
forEach
((
it
,
index
)
=>
{
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
infoRes
.
result
.
sqri
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
2
]
console
.
log
(
infoRes
.
result
)
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
// 装载第一个模板并设置数据
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
res
.
result
.
tmpcontent
);
for
(
let
key
in
infoRes
.
result
)
{
LODOP
.
SET_PRINT_STYLEA
(
key
,
"CONTENT"
,
infoRes
.
result
[
key
]);
}
// 进行预览
LODOP
.
PREVIEW
();
}
else
{
this
.
$message
.
error
(
infoRes
.
message
);
}
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
break
;
}
},
/**
...
...
src/views/workflow/top/bccl
ml
/index.vue
→
src/views/workflow/top/bccl
tzs
/index.vue
View file @
8837671
<!--
* @Description:
* @Description:
补充材料通知书
* @Autor: renchao
* @LastEditTime: 2024-02-26 09:04:04
-->
...
...
@@ -20,6 +20,7 @@
import
{
ywPopupCacel
}
from
"@/utils/popup.js"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
;
import
{
updateClml
,
InitClml
}
from
"@/api/clxx.js"
;
import
{
getNewDate
}
from
'@/utils/util'
import
{
getPrintTemplateByCode
,
getPrintSupplementalMaterials
}
from
"@/api/print"
;
export
default
{
props
:
{
...
...
@@ -35,6 +36,7 @@
selectList
:
[],
loading
:
false
,
sortable
:
null
,
newDate
:
getNewDate
(),
column
:
[
{
type
:
'selection'
,
...
...
@@ -131,16 +133,22 @@
}
getPrintTemplateByCode
({
tmpno
:
'bdcdjbccltts'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"this.selectListssssssssss"
,
this
.
selectList
);
getPrintSupplementalMaterials
(
this
.
formData
.
bsmSldy
,
this
.
selectList
).
then
(
infoRes
=>
{
this
.
loading
=
false
if
(
infoRes
.
code
===
200
)
{
console
.
log
(
"infoRes.resultsssssssssss"
,
infoRes
.
result
);
if
(
infoRes
.
result
.
fileList
&&
infoRes
.
result
.
fileList
.
length
>
0
)
{
infoRes
.
result
.
fileList
.
forEach
((
it
,
index
)
=>
{
let
key
=
index
+
1
this
.
$set
(
infoRes
.
result
,
"file"
+
key
,
it
.
sjmc
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'lx'
,
it
.
sjlx
==
1
?
"原件"
:
"复印件"
)
})
}
infoRes
.
result
.
nownian
=
this
.
newDate
.
split
(
' '
)[
0
].
split
(
'年'
)[
0
]
infoRes
.
result
.
nowyue
=
this
.
newDate
.
slice
(
5
,
7
)
infoRes
.
result
.
nowri
=
this
.
newDate
.
slice
(
8
,
10
)
let
date
=
infoRes
.
result
.
sqrq
infoRes
.
result
.
sqnian
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
0
]
infoRes
.
result
.
sqyue
=
date
.
split
(
' '
)[
0
].
split
(
'-'
)[
1
]
...
...
Please
register
or
sign in
to post a comment