Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
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
wangxuelai
wechatapp.shangjiadao.com
Commits
d01cf30e
Commit
d01cf30e
authored
Mar 24, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33ed3b34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
22 deletions
+12
-22
index.js
business/pages/deskcenter/index.js
+11
-19
index.wxml
business/pages/deskcenter/index.wxml
+1
-3
No files found.
business/pages/deskcenter/index.js
View file @
d01cf30e
// business/pages/deskcenter/index.js
import
{
schoolList
,
loginTime
}
from
'../../../service/business/ucenter.js'
;
import
{
...
...
@@ -11,7 +10,8 @@ import {
commonwaitjobGet
,
analyzeclasshourGet
,
analyzeclasscourseGet
,
analyzeDashboardGet
analyzeDashboardGet
,
schoolDetailGet
}
from
'../../../service/business/common.js'
import
{
...
...
@@ -33,9 +33,7 @@ Page({
localImageRoot
:
'../../../images/'
,
imageRoot
:
app
.
globalData
.
imageRoot
,
imageVersion
:
app
.
globalData
.
imageVersion
,
schoolList
:[],
schoolTotal
:
0
,
selectSchoolData
:{},
schoolTitile
:
''
,
sid
:
0
,
waitJob
:
0
,
memberChange
:
false
,
...
...
@@ -77,7 +75,7 @@ Page({
this
.
analyzeclasshourGet
(
1
);
this
.
analyzeclasshourGet
(
2
);
this
.
analyzeclasscourseGet
();
this
.
getschoolLis
t
();
this
.
schoolDetailGe
t
();
},
onShow
:
function
()
{
this
.
getMemberMeInfo
();
...
...
@@ -125,23 +123,17 @@ Page({
}
})
},
getschoolList
(){
schoolList
({
page
:
1
,
perPage
:
100
,
school_id
:
this
.
data
.
sid
schoolDetailGet
(){
schoolDetailGet
({
id
:
this
.
data
.
sid
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
==
200
)
{
this
.
data
.
schoolTotal
=
data
.
total
;
if
(
code
==
200
){
this
.
setData
({
// schoolList: data.list,
selectSchoolData
:
this
.
data
.
sid
?
data
.
list
.
find
((
item
)
=>
item
.
id
==
this
.
data
.
sid
):
data
.
list
[
0
]
schoolTitile
:
data
.
title
,
})
// this.data.schoolTotal = data.total
}
}).
catch
(()
=>
{
}
})
},
todocallGet
(){
...
...
business/pages/deskcenter/index.wxml
View file @
d01cf30e
...
...
@@ -6,7 +6,7 @@
<view class="red-dot" wx:if="{{waitJob>0}}">{{waitJob>99?'···':waitJob}}</view>
</view> -->
<view class="menu-box">
<view class="title">{{s
electSchoolData.tit
le}}</view>
<view class="title">{{s
choolTiti
le}}</view>
</view>
</view>
</view>
...
...
@@ -94,8 +94,6 @@
<view class="tab-item">课时概况</view>
</view>
<view class="section-wrap" id="get-height5" style="display: none;">
<view class="section column-chart-box">
<view class="section-title">
...
...
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