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
9dd5a202
Commit
9dd5a202
authored
May 17, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
3d25b8da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
index.js
src/api/school/index.js
+5
-5
MainLayout.vue
src/layouts/MainLayout.vue
+6
-2
No files found.
src/api/school/index.js
View file @
9dd5a202
...
...
@@ -508,11 +508,11 @@ export function queryEmpChangeLog(data) {
}
// 获取用户领用资产的数量(用户教育用户列表 展示资产使用情况)
export
function
getEduEmployeeNumList
(
data
)
{
//
return request_zc({
//
url: '/property/GetEduEmployeeReceiveNumList',
//
method: 'post',
//
data
//
});
return
request_zc
({
url
:
'/property/GetEduEmployeeReceiveNumList'
,
method
:
'post'
,
data
});
}
//获取用户资产列表
export
function
propertyGetPageList
(
data
)
{
...
...
src/layouts/MainLayout.vue
View file @
9dd5a202
...
...
@@ -226,10 +226,14 @@
sendSock
(
SendData
,
this
.
getDataFunc
)
},
getDataFunc
(
e
)
{
console
.
log
(
"socketData"
,
e
);
if
(
e
.
data
)
{
var
newData
=
JSON
.
parse
(
e
.
data
)
this
.
socektArr
=
this
.
socektArr
.
concat
(
newData
)
if
(
newData
.
length
>
0
){
for
(
var
i
=
0
;
i
<
newData
.
length
;
i
++
){
this
.
socektArr
.
unshift
(
newData
[
i
])
}
}
// this.socektArr = this.socektArr.concat(newData)
this
.
showNotification
(
newData
[
0
].
Title
,
newData
[
0
].
Content
,
newData
.
CoverImg
)
}
},
...
...
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