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
f43c0579
Commit
f43c0579
authored
Mar 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4316c6c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
11 deletions
+41
-11
eduinfo-form.vue
src/components/sale/eduinfo-form.vue
+40
-9
contractManage.vue
src/pages/sale/contractManage.vue
+1
-2
No files found.
src/components/sale/eduinfo-form.vue
View file @
f43c0579
...
...
@@ -7,24 +7,41 @@
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
基本资料
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6 q-pb-lg"
>
性别:
<q-radio
v-model=
"objOption.Sex"
val=
"1"
label=
"男"
/>
<q-radio
v-model=
"objOption.Sex"
val=
"2"
label=
"女"
/>
</div>
<q-input
clearable
filled
class=
"col-6 q-pb-lg"
v-model=
"objOption.IDCard"
label=
"身份证"
/>
<q-input
clearable
filled
class=
"col-6 q-pb-lg q-pr-lg"
v-model=
"objOption.Domicile"
label=
"身份证居住地"
/>
<q-input
clearable
filled
class=
"col-6 q-pb-lg"
v-model=
"objOption.ContactAddress"
label=
"联系地址"
/>
<q-input
clearable
filled
class=
"col-6 q-pb-lg q-pr-lg"
v-model=
"objOption.ContactMobile"
label=
"联系电话"
/>
<q-input
clearable
filled
class=
"col-6 q-pb-lg"
v-model=
"objOption.EmergencyContact"
label=
"紧急联系人"
/>
<q-input
clearable
filled
class=
"col-6 q-pb-lg q-pr-lg"
v-model=
"objOption.EmergencyMobile"
label=
"紧急联系电话"
/>
<q-select
filled
stack-label
v-if=
"objOption.Id==0"
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.CType"
ref=
"CType"
:options=
"CTypeList"
label=
"类型"
:dense=
"false"
class=
"col-6 q-p
r-lg q-p
b-lg"
emit-value
map-options
:options=
"CTypeList"
label=
"类型"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
:rules=
"[val => !!val || '请选择所属校区']"
/>
<q-select
v-else
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.CType"
ref=
"CType"
:options=
"CTypeList"
label=
"类型"
:dense=
"false"
disable
class=
"col-6 q-p
r-lg q-p
b-lg"
emit-value
map-options
:options=
"CTypeList"
label=
"类型"
:dense=
"false"
disable
class=
"col-6 q-pb-lg"
emit-value
map-options
:rules=
"[val => !!val || '请选择所属校区']"
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.StudentName"
ref=
"StudentName"
class=
"col-6 q-pb-lg"
label=
"学生姓名"
:rules=
"[val => !!val || '请填写学生姓名']"
/>
class=
"col-6 q-pb-lg
q-pr-lg
"
label=
"学生姓名"
:rules=
"[val => !!val || '请填写学生姓名']"
/>
<!--
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.SchoolName"
ref=
"SchoolName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学校名称"
:rules=
"[val => !!val || '请填写学校名称']"
/>
-->
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.CourseName"
ref=
"CourseName"
class=
"col-6 q-p
r-lg q-p
b-lg"
label=
"课程名称"
:rules=
"[val => !!val || '请填写课程名称']"
/>
class=
"col-6 q-pb-lg"
label=
"课程名称"
:rules=
"[val => !!val || '请填写课程名称']"
/>
<q-input
filled
stack-label
maxlength=
"300"
:dense=
"false"
v-model=
"objOption.CourseContent"
ref=
"CourseContent"
class=
"col-6 q-pb-lg"
label=
"课程内容"
:rules=
"[val => !!val || '请填写课程内容']"
/>
ref=
"CourseContent"
class=
"col-6 q-pb-lg
q-pr-lg
"
label=
"课程内容"
:rules=
"[val => !!val || '请填写课程内容']"
/>
<q-input
filled
stack-label
:dense=
"false"
@
keyup
.
native=
"checkPrice(objOption,'Money')"
v-model=
"objOption.Money"
ref=
"Money"
class=
"col-6 q-pb-lg
q-pr-lg
"
label=
"金额"
v-model=
"objOption.Money"
ref=
"Money"
class=
"col-6 q-pb-lg"
label=
"金额"
:rules=
"[val => !!val || '请填写金额']"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"objOption.Exam"
ref=
"Exam"
class=
"col-6 q-pb-lg"
<q-input
filled
stack-label
:dense=
"false"
v-model=
"objOption.Exam"
ref=
"Exam"
class=
"col-6 q-pb-lg
q-pr-lg
"
label=
"乙方当前选择考试"
/>
</div>
</q-card-section>
...
...
@@ -57,12 +74,19 @@
Id
:
0
,
CType
:
1
,
//类型1培训 2留学
StudentName
:
''
,
//学生姓名,
SchoolName
:
''
,
//学校名称
SchoolName
:
'
1
'
,
//学校名称
CourseName
:
''
,
//课程名称
CourseContent
:
''
,
//课程内容
CNYCaps
:
''
,
//人民币大写
Money
:
''
,
//金额
Exam
:
''
//乙方当前选择考试
Exam
:
''
,
//乙方当前选择考试
Sex
:
1
,
IDCard
:
''
,
Domicile
:
''
,
ContactAddress
:
''
,
ContactMobile
:
''
,
EmergencyContact
:
''
,
EmergencyMobile
:
''
},
//类型下拉
CTypeList
:
[{
...
...
@@ -120,6 +144,13 @@
this
.
objOption
.
CNYCaps
=
tempObj
.
CNYCaps
;
this
.
objOption
.
Money
=
tempObj
.
Money
;
this
.
objOption
.
Exam
=
tempObj
.
Exam
;
this
.
objOption
.
Sex
=
tempObj
.
Sex
;
this
.
objOption
.
IDCard
=
tempObj
.
IDCard
;
this
.
objOption
.
Domicile
=
tempObj
.
Domicile
;
this
.
objOption
.
ContactAddress
=
tempObj
.
ContactAddress
;
this
.
objOption
.
ContactMobile
=
tempObj
.
ContactMobile
;
this
.
objOption
.
EmergencyContact
=
tempObj
.
EmergencyContact
;
this
.
objOption
.
EmergencyMobile
=
tempObj
.
EmergencyMobile
;
}
})
}
...
...
src/pages/sale/contractManage.vue
View file @
f43c0579
...
...
@@ -333,8 +333,7 @@
}
GetDownLoadEducationContract
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
res
,
'数据'
);
let
sign
=
'123.pdf'
;
let
sign
=
item
.
ContractNo
;
downloadLocalFile
(
sign
,
res
.
Data
);
}
})
...
...
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