Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6666abf0
authored
Jun 30, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合同优化需求
1 parent
01e416ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
src/views/ContractManager/components/changeContractDialog/index.vue
src/views/ContractManager/components/changeContractDialog/index.vue
View file @
6666abf
<
template
>
<div>
<GLDialog
bigTitle=
"选择合同"
mode=
"big"
:visible
.
sync=
"changeContractObj.visible"
...
...
@@ -25,13 +26,17 @@
</span>
</GLTable>
</GLDialog>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
</div>
</
template
>
<
script
>
import
url
from
'@/assets/empty.png'
import
pdfDialog
from
'@/views/beforeSale/pdfDialog'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
export
default
{
name
:
'changeContract'
,
components
:
{
pdfDialog
,
glsxCombiForm
},
props
:
{
...
...
@@ -43,6 +48,8 @@
data
()
{
return
{
size
:
'small'
,
isPdfVisible
:
false
,
pdfUrl
:
''
,
curId
:
''
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
getListApi
:
this
.
$apis
.
contractManager
.
getContractListApi
,
...
...
@@ -98,6 +105,24 @@
mounted
()
{
},
methods
:
{
handlePdfClose
()
{
this
.
isPdfVisible
=
!
this
.
isPdfVisible
},
// 打印
handlePdf
(
row
)
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
contractManager
.
printContractApi
({
packageCode
:
row
.
packageCode
,
merchantId
:
row
.
merchantId
}).
then
(
res
=>
{
this
.
pdfUrl
=
res
this
.
handlePdfClose
()
loading
.
close
()
})
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
resolve
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment