Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
634eb097
Commit
634eb097
authored
Dec 28, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
into master
parents
62b551bf
dcbe667b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
contractManage.vue
src/pages/sale/contractManage.vue
+30
-1
No files found.
src/pages/sale/contractManage.vue
View file @
634eb097
...
...
@@ -81,7 +81,10 @@
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
合同信息
</div>
<q-space
/>
<div
class=
"page-option"
></div>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"合同样本链接"
@
click=
"CopyYB()"
/>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"合同样本pdf下载"
@
click=
"downloadYb()"
/>
</div>
</
template
>
<
template
v-slot:body-cell-CreateByName=
"props"
>
<q-td
:props=
"props"
>
...
...
@@ -510,6 +513,20 @@ export default {
}
});
},
//下载合同样本
downloadYb
(){
let
msg
=
{
ContractId
:
7
,
CType
:
1
};
GetDownLoadEducationContract
(
msg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
let
sign
=
"吴春"
+
'-'
+
'JH-DZ-CD-0025'
downloadLocalFile
(
sign
,
res
.
Data
);
}
});
},
//复制合同
copyContract
(
item
)
{
let
msg
=
{
...
...
@@ -521,6 +538,18 @@ export default {
}
});
},
//复制合同样本链接
CopyYB
(){
var
oInput
=
document
.
createElement
(
"input"
);
var
url
=
window
.
location
.
host
;
oInput
.
value
=
url
+
"/#/contractConfirm"
;
document
.
body
.
appendChild
(
oInput
);
oInput
.
select
();
// 选择对象
document
.
execCommand
(
"Copy"
);
// 执行浏览器复制命令
oInput
.
className
=
"oInput"
;
oInput
.
style
.
display
=
"none"
;
this
.
Info
(
"复制成功!"
);
},
//复制URL
CopyUrl
(
item
)
{
var
oInput
=
document
.
createElement
(
"input"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment