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
76421d2f
Commit
76421d2f
authored
Oct 20, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d74e5f09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
20 deletions
+17
-20
student.vue
src/pages/school/student.vue
+17
-20
No files found.
src/pages/school/student.vue
View file @
76421d2f
...
...
@@ -79,10 +79,8 @@
</q-td>
</
template
>
</q-table>
<assistant-form
v-if=
"
persistent"
:save-obj=
"objOption"
@
close=
"closeSaveForm"
@
success=
"addAfterQuery
"
>
<assistant-form
v-if=
"
isShowStuForm"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshPage
"
>
</assistant-form>
<assistant-shenhe
v-if=
"persistentExamine"
:show-obj=
"objOption"
@
close=
"closeSaveForm"
@
success=
"addAfterQuery"
>
</assistant-shenhe>
</div>
</div>
</template>
...
...
@@ -184,17 +182,16 @@
},
schoolTemp
:
""
,
pageCount
:
0
,
persistent
:
false
,
objOption
:
null
,
stuOption
:
null
,
schoolList
:
[],
persistentExamine
:
false
,
isShowStuForm
:
false
,
resetLoading
:
false
}
},
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
this
.
getSchool
()
this
.
get
Assista
nt
()
this
.
get
Stude
nt
()
},
methods
:
{
resetSearch
()
{
...
...
@@ -204,7 +201,7 @@
}
else
{
this
.
msg
.
School_Id
=
0
}
this
.
get
Assista
nt
()
this
.
get
Stude
nt
()
},
resetPw
(
id
)
{
let
that
=
this
...
...
@@ -276,14 +273,14 @@
},
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
get
Assista
nt
();
this
.
get
Stude
nt
();
},
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
this
.
schoolList
=
res
.
Data
;
})
},
get
Assista
nt
()
{
get
Stude
nt
()
{
this
.
loading
=
true
;
getStudentPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
...
...
@@ -294,8 +291,8 @@
this
.
loading
=
false
})
},
addAfterQuery
()
{
if
(
!
this
.
obj
Option
)
{
refreshPage
()
{
if
(
!
this
.
stu
Option
)
{
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
StuName
=
""
;
this
.
msg
.
StuTel
=
""
;
...
...
@@ -306,19 +303,19 @@
},
addObj
(
obj
)
{
if
(
obj
)
{
this
.
obj
Option
=
obj
this
.
stu
Option
=
obj
}
else
{
this
.
obj
Option
=
null
this
.
stu
Option
=
null
}
this
.
persistent
=
tru
e
this
.
isShowStuForm
=
fals
e
},
showExamine
(
obj
)
{
this
.
obj
Option
=
obj
this
.
persistentExamine
=
true
this
.
stu
Option
=
obj
this
.
isShowStuForm
=
true
},
closeS
ave
Form
()
{
this
.
persistent
=
false
this
.
persistentExamine
=
false
closeS
tu
Form
()
{
this
.
isShowStuForm
=
false
}
},
}
...
...
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