Commit 57c2e42d authored by 黄奎's avatar 黄奎

页面修改

parent bb9cbb09
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<q-radio v-model="addMsg.Sex" val="2" label="女" /> <q-radio v-model="addMsg.Sex" val="2" label="女" />
</div> </div>
<q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.Age" label="年龄" <q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.Age" label="年龄"
:rules="[val => !!val || '年龄']" /> :rules="[val => !!val || '年龄']" @keyup.native="checkInteger(addMsg,'Age')" />
<q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Mobile" label="电话" <q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Mobile" label="电话"
:rules="[val => !!val || '电话']" type="number" /> :rules="[val => !!val || '电话']" type="number" />
<q-select class="col-6 q-pb-lg" option-value="Name" standout="bg-primary text-white" option-label="Name" <q-select class="col-6 q-pb-lg" option-value="Name" standout="bg-primary text-white" option-label="Name"
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<q-radio v-model="addMsg.Sex" val="2" label="女" /> <q-radio v-model="addMsg.Sex" val="2" label="女" />
</div> </div>
<q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Age" label="年龄" <q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Age" label="年龄"
:rules="[val => !!val || '年龄']" /> :rules="[val => !!val || '年龄']" @keyup.native="checkInteger(addMsg,'Age')" />
<q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.Mobile" label="电话" <q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.Mobile" label="电话"
:rules="[val => !!val || '电话']" type="number" /> :rules="[val => !!val || '电话']" type="number" />
<q-select class="col-6 q-pb-lg q-pr-lg" option-value="Name" standout="bg-primary text-white" <q-select class="col-6 q-pb-lg q-pr-lg" option-value="Name" standout="bg-primary text-white"
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.GraduatedSchool" label="毕业院校" /> <q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.GraduatedSchool" label="毕业院校" />
<q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.GraduatedMajor" label="毕业专业" /> <q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.GraduatedMajor" label="毕业专业" />
<q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.VolunteerMajor" label="志愿专业" /> <q-input clearable filled class="col-6 q-pb-lg" v-model="addMsg.VolunteerMajor" label="志愿专业" />
<q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Price" label="价格" /> <q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.Price" label="价格" @keyup.native="checkPrice(addMsg,'Price')" />
</div> </div>
</q-card-section> </q-card-section>
<div class="text-caption q-mb-lg q-px-md text-grey-6" v-if="msg.ClassId>0">附加信息</div> <div class="text-caption q-mb-lg q-px-md text-grey-6" v-if="msg.ClassId>0">附加信息</div>
...@@ -277,13 +277,15 @@ ...@@ -277,13 +277,15 @@
} else { } else {
this.isShowBtn = false; this.isShowBtn = false;
} }
if(this.msg.ClassId>0) if (this.msg.ClassId > 0) {
{ this.visibleColumns = ['GuestName', 'Profession', 'Sex', 'Age', 'Mobile', 'Basics', 'GuestSourceName',
this.visibleColumns=['GuestName','Profession','Sex','Age','Mobile','Basics','GuestSourceName','LearningGoalsName','Contact','ContactMobile']; 'LearningGoalsName', 'Contact', 'ContactMobile'
];
} }
if(this.msg.SourceId>0) if (this.msg.SourceId > 0) {
{ this.visibleColumns = ['GuestName', 'Sex', 'Age', 'Mobile', 'Basics', 'GraduatedSchool', 'GraduatedMajor',
this.visibleColumns=['GuestName', 'Sex','Age','Mobile','Basics', 'GraduatedSchool','GraduatedMajor','VolunteerMajor','Price']; 'VolunteerMajor', 'Price'
];
} }
this.visibleColumns.push('optioned'); this.visibleColumns.push('optioned');
this.getGuestBasics() this.getGuestBasics()
......
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