Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
Details
Activity
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
徐来柯
tianjin
Commits
73305085
Commit
73305085
authored
Jan 18, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
39498e6e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
Pagination.vue
src/views/education/component/Pagination.vue
+3
-0
SearchForm.vue
src/views/education/component/SearchForm.vue
+1
-0
baseTable.vue
src/views/education/component/baseTable.vue
+5
-0
schedulingStatistics.vue
src/views/education/schedulingStatistics.vue
+5
-1
No files found.
src/views/education/component/Pagination.vue
View file @
73305085
...
...
@@ -20,14 +20,17 @@
<
script
>
export
default
{
props
:
{
// 总条数
totalCount
:
{
type
:
Number
,
default
:
0
,
},
// 当前页
pageIndex
:
{
type
:
Number
,
default
:
1
,
},
//总页数
totalPage
:
{
type
:
Number
,
default
:
1
,
...
...
src/views/education/component/SearchForm.vue
View file @
73305085
...
...
@@ -75,6 +75,7 @@ export default {
return
{}
}
},
// 查询条件options内容
searchList
:
{
type
:
Array
,
default
()
{
...
...
src/views/education/component/baseTable.vue
View file @
73305085
<
template
>
<div
class=
"baseTable"
>
<el-table
v-loading=
"loading"
border
height=
"635"
class=
"conterFool_middle"
...
...
@@ -78,6 +79,10 @@ export default {
return
[]
}
},
loading
:
{
type
:
Boolean
,
default
:
false
},
tableData
:
{
type
:
Array
,
default
()
{
...
...
src/views/education/schedulingStatistics.vue
View file @
73305085
...
...
@@ -2,7 +2,7 @@
<div
class=
"box-container"
>
<div
class=
"wrap"
>
<search-form
:formList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
searchData=
"searchData"
/>
<baseTable
:tableHead=
"tableHead"
:tableData=
"tableData"
:rowClassName=
"tableRowClassName"
/>
<baseTable
:tableHead=
"tableHead"
:tableData=
"tableData"
:
loading=
"loading"
:
rowClassName=
"tableRowClassName"
/>
<Pagination
ref=
"page"
:totalCount=
"totalCount"
:totalPage=
"totalPage"
@
pageFun=
"pageFun"
/>
</div>
...
...
@@ -121,6 +121,7 @@ export default {
width
:
180
,
},
],
loading
:
false
,
deletetext
:
''
,
deleteShow
:
false
,
typeV
:
''
,
...
...
@@ -143,10 +144,12 @@ export default {
searchData
()
{
var
$this
=
this
var
postData
=
this
.
resetData
()
$this
.
loading
=
true
this
.
$axios
({
method
:
"post"
,
url
:
`/api/TJStatistics/Statistics_Query?argKeyWord=
${
postData
.
argKeyWord
}
&argWhere=
${
postData
.
argWhere
}
&Stime=
${
postData
.
Stime
}
&Etime=
${
postData
.
Etime
}
`
,
}).
then
((
res
)
=>
{
$this
.
loading
=
false
if
(
res
.
data
.
data
.
length
!=
0
){
$this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
...
...
@@ -171,6 +174,7 @@ export default {
$this
.
totalPage
=
1
}
}).
catch
(
function
(
err
){
$this
.
loading
=
false
console
.
log
(
'err'
,
err
)
})
},
...
...
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