Commit f43c0579 authored by zhengke's avatar zhengke

修改

parent 4316c6c8
......@@ -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-pr-lg q-pb-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-pr-lg q-pb-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-pr-lg q-pb-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;
}
})
}
......
......@@ -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);
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment