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
bfd5a0d1
Commit
bfd5a0d1
authored
Oct 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7fbd5d6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
17 deletions
+9
-17
student-form.vue
src/components/school/student/student-form.vue
+1
-1
assistant.vue
src/pages/school/assistant.vue
+1
-1
student.vue
src/pages/school/student.vue
+7
-15
No files found.
src/components/school/student/student-form.vue
View file @
bfd5a0d1
...
...
@@ -11,7 +11,7 @@
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学员名称"
:rules=
"[val => !!val || '请填写学员姓名']"
/>
<q-select
filled
stack-label
option-value=
"value"
option-label=
"label"
v-model=
"objOption.StuSex"
ref=
"StuSex"
:options=
"SexOpts"
label=
"性别"
:dense=
"false"
class=
"col-6 q-pb-lg q-pb-lg"
emit-value
map-options
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.StuBirth"
ref=
"StuBirth"
<q-input
type=
"date"
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.StuBirth"
ref=
"StuBirth"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"出生日期"
:rules=
"[val => !!val || '请填写出生日期']"
/>
<q-input
type=
"tel"
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.StuTel"
ref=
"StuTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
:rules=
"[val => !!val || '请填写学员联系电话']"
/>
...
...
src/pages/school/assistant.vue
View file @
bfd5a0d1
...
...
@@ -47,7 +47,7 @@
<img
:src=
"props.value"
/>
</q-avatar>
<q-avatar
size=
"md"
color=
"teal-10"
text-color=
"white"
v-if=
"!props.value"
>
{{
props
.
row
.
AssistName
.
substring
(
0
,
1
)
}}
</q-avatar>
{{
props
.
row
.
AssistName
}}
</q-avatar>
</q-td>
</
template
>
<
template
v-slot:body-cell-AssistName=
"props"
>
...
...
src/pages/school/student.vue
View file @
bfd5a0d1
...
...
@@ -18,21 +18,7 @@
</div>
</div>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增助教"
@
click=
"EditStudent(null)"
/>
<q-btn-dropdown
outline
color=
"dark"
label=
"更多"
>
<q-list>
<q-item
clickable
v-close-popup
>
<q-item-section>
<q-item-label>
批量导入
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
>
<q-item-section>
<q-item-label>
批量导出
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增学员"
@
click=
"EditStudent(null)"
/>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -127,6 +113,12 @@
field
:
'StuSex'
,
align
:
'left'
},
{
name
:
'StuBirthStr'
,
label
:
'出生日期'
,
field
:
'StuBirthStr'
,
align
:
'left'
},
{
name
:
'StuTel'
,
label
:
'手机号码'
,
...
...
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