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
77053652
authored
2024-02-21 08:46:42 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
受理凭证
1 parent
39820f70
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
4 deletions
src/api/print.js
src/views/workflow/mixin/index.js
src/views/workflow/workFrame.vue
src/api/print.js
View file @
7705365
/*
* @Description: 模板管理
* @Autor: renchao
* @LastEditTime: 202
3-05-16 16:02:3
2
* @LastEditTime: 202
4-02-20 16:37:1
2
*/
import
request
from
'@/utils/request'
...
...
@@ -71,3 +71,18 @@ export function getPrintTemplateByCode (params) {
params
:
params
})
}
/**
* @description: 获取受理凭证
* @param {*} params
* @author: renchao
*/
export
function
getPrintAcceptance
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintAcceptance'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
\ No newline at end of file
...
...
src/views/workflow/mixin/index.js
View file @
7705365
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-
02 09:06:20
* @LastEditTime: 2024-02-
20 16:37:27
*/
import
Vue
from
'vue'
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
getPrintTemplateByCode
,
getPrintAcceptance
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
;
import
adapter
from
"@/utils/sqs/adapter"
;
...
...
@@ -77,7 +77,7 @@ export default {
*/
operation
(
item
)
{
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
受理凭证 slpz
let
that
=
this
;
switch
(
item
.
value
)
{
case
"B0"
:
...
...
@@ -242,6 +242,38 @@ export default {
case
"B-HLGXSJ"
:
this
.
$popupDialog
(
"互联网数据共享"
,
"sjgx/gbmhlgxsjgx/gbmhlgxsjgx"
,
{},
'90%'
,
true
)
break
;
// slpz 受理凭证
case
"slpz"
:
getPrintTemplateByCode
({
tmpno
:
'bdcdjslpz'
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
getPrintAcceptance
(
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
)
})
}
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/workFrame.vue
View file @
7705365
...
...
@@ -236,6 +236,7 @@
unClaimTask
(
this
.
$route
.
query
.
bsmSlsq
,
this
.
bestepid
?
this
.
bestepid
:
''
)
}
},
getPrintSlpz
()
{},
/**
* @description: 申请单元点击事件
* @param {*} index
...
...
Please
register
or
sign in
to post a comment