Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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
张伯涛
tea_resources_pc
Commits
764c30aa
Commit
764c30aa
authored
Apr 22, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 提交数据统计
parent
09a9730e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
239 additions
and
95 deletions
+239
-95
_tableDialog.vue
src/views/learningCenter/children/_tableDialog.vue
+8
-4
statistics.vue
src/views/learningCenter/children/statistics.vue
+227
-87
vue.config.js
vue.config.js
+4
-4
No files found.
src/views/learningCenter/children/_tableDialog.vue
View file @
764c30aa
...
@@ -64,6 +64,7 @@ export default {
...
@@ -64,6 +64,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
tableData
:
[],
tableData
:
[],
params
:{},
queryParams
:
{
queryParams
:
{
page
:
1
,
page
:
1
,
rows
:
20
rows
:
20
...
@@ -82,9 +83,7 @@ export default {
...
@@ -82,9 +83,7 @@ export default {
method
:
'get'
,
method
:
'get'
,
params
:
{
params
:
{
...
this
.
queryParams
,
...
this
.
queryParams
,
...{
...
this
.
dialogManager
.
params
courseId
:
this
.
dialogManager
.
groupId
}
},
},
headers
:
{
headers
:
{
// 'Content-Type': 'application/json'
// 'Content-Type': 'application/json'
...
@@ -93,7 +92,12 @@ export default {
...
@@ -93,7 +92,12 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
this
.
tableData
=
res
.
records
if
(
res
.
rows
){
this
.
tableData
=
res
.
rows
}
else
{
this
.
tableData
=
res
.
records
}
console
.
log
(
this
.
tableData
)
console
.
log
(
this
.
tableData
)
console
.
log
(
2333
)
console
.
log
(
2333
)
this
.
total
=
res
.
total
this
.
total
=
res
.
total
...
...
src/views/learningCenter/children/statistics.vue
View file @
764c30aa
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
764c30aa
...
@@ -67,11 +67,11 @@ module.exports = {
...
@@ -67,11 +67,11 @@ module.exports = {
// },
// },
proxy
:
{
proxy
:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://192.168.10.128:8090/`
,
// 奕霖后端
//
target: `http://192.168.10.128:8090/`, // 奕霖后端
// target: `http://192.168.10.219:8090/`,
// target: `http://192.168.10.219:8090/`,
// 章凯后端
// target: `http://192.168.10.135:8090/`,
// target: `http://192.168.10.135:8090/`,
// 新伟后端
//
target: `http://192.168.10.108:8090/`, // 飞龙后端
target
:
`http://192.168.10.108:8090/`
,
// 飞龙后端
// target: `http://49.232.167.247:20024/`,
// target: `http://49.232.167.247:20024/`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
...
...
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