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
5d58e4ef
authored
2023-09-01 15:12:28 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:打印申请书
1 parent
55e3b5f5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
src/api/workFlow.js
src/views/djbworkflow/mixin/index.js
src/views/workflow/mixin/index.js
src/api/workFlow.js
View file @
5d58e4e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-09 14:32:38
* @LastEditTime: 2023-0
9-01 15:10:55
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
@@ -166,16 +166,16 @@ export function judgeUserTaskPermission (params) {
})
}
/**
* @description:
获取申请书数据
* @description:
打印申请书
* @param {*} data
* @author: renchao
*/
export
function
getPrintApplication
Info
(
data
)
{
export
function
getPrintApplication
Form
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/business/workFlow/getPrintApplicationInfo'
,
method
:
'post'
,
data
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/print/getPrintApplicationForm?bsmSldy='
+
bsmSldy
,
method
:
'get'
})
}
...
...
src/views/djbworkflow/mixin/index.js
View file @
5d58e4e
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-0
8-30 15:52:0
1
* @LastEditTime: 2023-0
9-01 15:10:2
1
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
getQllxByBdcdyid
}
from
"@/api/djbDetail.js"
;
...
...
@@ -14,7 +14,7 @@ import {
completeTask
,
getNextLinkInfo
,
getWorkFlowImage
,
getPrintApplication
Info
,
getPrintApplication
Form
,
unClaimTask
}
from
"@/api/workFlow.js"
;
import
{
mapGetters
}
from
'vuex'
...
...
@@ -147,7 +147,7 @@ export default {
//根据编号获取对应信息
getPrintTemplateByCode
({
tmpno
:
'dysqs'
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getPrintApplication
Info
(
this
.
currentSelectProps
).
then
(
infoRes
=>
{
getPrintApplication
Form
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
==
200
)
{
//打开模板设计
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
...
...
src/views/workflow/mixin/index.js
View file @
5d58e4e
...
...
@@ -12,7 +12,7 @@ import {
completeTask
,
getNextLinkInfo
,
getWorkFlowImage
,
getPrintApplication
Info
,
getPrintApplication
Form
,
deleteFlow
,
unClaimTask
,
getZdInfo
...
...
@@ -131,7 +131,7 @@ export default {
//根据编号获取对应信息
getPrintTemplateByCode
({
tmpno
:
'dysqs'
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getPrintApplication
Info
(
this
.
currentSelectProps
).
then
(
infoRes
=>
{
getPrintApplication
Form
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
==
200
)
{
//打开模板设计
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
...
...
Please
register
or
sign in
to post a comment