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
b4e7ac55
authored
2024-02-26 09:21:38 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
补充材料通知书
1 parent
613d6c87
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
4 deletions
src/api/print.js
src/views/workflow/mixin/index.js
src/views/workflow/top/bcclml/index.vue
src/api/print.js
View file @
b4e7ac5
...
...
@@ -99,3 +99,17 @@ export function getPrintSupplementalMaterials (bsmSldy, data) {
data
})
}
/**
* @description: 获取补充材料接收凭证
* @param {*} bsmSldy
* @author: renchao
*/
export
function
getPrintReceiveSupplementalMaterials
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/print/applicationForms/getPrintReceiveSupplementalMaterials'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
...
...
src/views/workflow/mixin/index.js
View file @
b4e7ac5
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-23 1
0:25:42
* @LastEditTime: 2024-02-23 1
6:27:17
*/
import
Vue
from
'vue'
import
{
getPrintTemplateByCode
,
getPrintAcceptance
}
from
"@/api/print"
;
import
{
getPrintTemplateByCode
,
getPrintAcceptance
,
getPrintReceiveSupplementalMaterials
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
;
import
adapter
from
"@/utils/sqs/adapter"
;
...
...
@@ -285,6 +285,43 @@ export default {
{
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
},
'70%'
,
true
)
break
;
// 获取补充材料接收凭证
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
)
this
.
$set
(
infoRes
.
result
,
"file"
+
key
+
'ys'
,
it
.
ys
)
})
}
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/bcclml/index.vue
View file @
b4e7ac5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-2
3 10:51:2
4
* @LastEditTime: 2024-02-2
6 09:04:0
4
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -159,7 +159,9 @@
}
else
{
this
.
$message
.
error
(
infoRes
.
message
);
}
});
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
res
.
message
);
...
...
Please
register
or
sign in
to post a comment