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
c9bfeaad
Commit
c9bfeaad
authored
Dec 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e95a4d59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
course-form.vue
src/components/course/course-form.vue
+8
-0
contractPay.vue
src/pages/contractPay.vue
+10
-3
contractSign.vue
src/pages/contractSign.vue
+1
-1
No files found.
src/components/course/course-form.vue
View file @
c9bfeaad
...
...
@@ -127,6 +127,11 @@
style=
"display:none"
/>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-12 q-pr-lg q-pb-lg"
>
<q-input
v-model=
"objOption.ContractInfo"
filled
type=
"textarea"
placeholder=
"合同补充协议"
/>
</div>
</div>
<div
class=
"text-caption q-my-md q-px-xs text-grey-6"
>
课程介绍
</div>
<ext-editor
:defaultMsg=
"objOption.CourseIntro"
classStr=
"col-12"
@
getEditValue=
"getEditValue"
></ext-editor>
<div
class=
"row wrap"
>
...
...
@@ -218,6 +223,7 @@
B2BIcon
:
''
,
//图标
B2BBackground
:
''
,
//背景
CourseEmphasis
:
[],
//课程重点 多选 英文逗号分隔
ContractInfo
:
''
//合同补充协议
},
CourseEmphasis
:
[],
//数据临时存放
optionTitle
:
""
,
...
...
@@ -446,6 +452,7 @@
this
.
objOption
.
CourseSubject
=
res
.
Data
.
CourseSubject
;
this
.
objOption
.
B2BIcon
=
res
.
Data
.
B2BIcon
;
this
.
objOption
.
B2BBackground
=
res
.
Data
.
B2BBackground
;
this
.
objOption
.
ContractInfo
=
res
.
Data
.
ContractInfo
;
this
.
CourseEmphasis
=
[]
setTimeout
(()
=>
{
//Todo 暂时不知道什么原因 偶尔会出现2个 所以加了一个延迟
if
(
res
.
Data
.
CourseEmphasis
&&
res
.
Data
.
CourseEmphasis
!=
''
)
{
...
...
@@ -498,6 +505,7 @@
this
.
objOption
.
Saleplat
=
""
;
this
.
objOption
.
IsKCourse
=
0
;
this
.
objOption
.
CourseRate
=
""
;
this
.
objOption
.
ContractInfo
=
''
;
this
.
getCategorytree
();
}
},
...
...
src/pages/contractPay.vue
View file @
c9bfeaad
...
...
@@ -79,6 +79,10 @@
GenerateOrder
}
from
'../api/sale/contract'
import
QRCode
from
'qrcodejs2'
import
{
Encrypt
,
Decrypt
}
from
'../utils/encrypt'
export
default
{
data
()
{
...
...
@@ -94,8 +98,9 @@
},
mounted
()
{
if
(
this
.
$route
.
query
.
contractId
)
{
this
.
msg
.
contractId
=
this
.
$route
.
query
.
contractId
;
if
(
this
.
$route
.
query
.
a
)
{
let
ContractId
=
Decrypt
(
decodeURIComponent
(
this
.
$route
.
query
.
a
));
this
.
msg
.
ContractId
=
ContractId
;
this
.
getList
();
}
if
(
this
.
$route
.
query
.
Money
){
...
...
@@ -127,7 +132,9 @@
this
.
$router
.
push
({
path
:
'contractConfirm'
,
query
:
{
ContractId
:
this
.
msg
.
contractId
query
:
{
a
:
encodeURIComponent
(
Encrypt
(
this
.
msg
.
ContractId
.
toString
())),
}
}
});
}
...
...
src/pages/contractSign.vue
View file @
c9bfeaad
...
...
@@ -297,7 +297,7 @@
this
.
$router
.
push
({
path
:
'/contractPay'
,
query
:
{
contractId
:
this
.
msg
.
ContractId
,
a
:
encodeURIComponent
(
Encrypt
(
this
.
msg
.
ContractId
.
toString
()))
,
Money
:
this
.
Money
}
});
...
...
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