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
f271537a
Commit
f271537a
authored
Dec 27, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
11c0bede
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
18 deletions
+24
-18
teacherindex.js
business/pages/classservice/teacherindex.js
+2
-0
teacherindex.wxml
business/pages/classservice/teacherindex.wxml
+17
-15
index.js
business/pages/exchangebusiness/index.js
+1
-0
info.js
business/pages/organizationalmgt/info.js
+2
-1
info.wxml
business/pages/organizationalmgt/info.wxml
+1
-1
landpage.wxml
src/pages/myschedule/landpage.wxml
+1
-1
No files found.
business/pages/classservice/teacherindex.js
View file @
f271537a
...
...
@@ -12,6 +12,7 @@ import {
classrecentlyrecordsGet
,
behaviorlogPost
,
}
from
'../../../service/business/classservice.js'
import
permissionUtils
from
'../../../utilities/permission.js'
;
var
app
=
getApp
();
Page
({
data
:
{
...
...
@@ -53,6 +54,7 @@ Page({
from
,
guideDailogShow
:
from
&&
from
==
'onekeydeployment'
?
true
:
false
,
})
permissionUtils
.
myMenulistGet
(
sid
)
},
onShow
:
function
()
{
...
...
business/pages/classservice/teacherindex.wxml
View file @
f271537a
...
...
@@ -107,23 +107,25 @@
</view>
</view>
</view>
<view class="recently-class" style="{{emptyPage ? 'min-height: 450rpx;' : ''}}">
<view class="title">
<view class="left"><image class="recently-clock" src="{{imageRoot}}2b/classservice/recently-clock.png?{{imageRoot}}" mode="aspectFit|aspectFill|widthFix" />最近关注的班级</view>
<view class="right" bindtap="goclasslist" data-btnname="goclasslist2">更多班级 <image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"/></view>
</view>
<view class="content-box" wx:if="{{!emptyPage}}">
<view class="class-item" wx:for="{{classrecentlyList}}" wx:key="{{index}}" data-item="{{item}}" bindtap="goClassDetail">
<view class="icon"></view>
<view class="name">{{item.class.title}}</view>
<permission-box cinfigid="3">
<view class="recently-class" style="{{emptyPage ? 'min-height: 450rpx;' : ''}}" slot="menubtn">
<view class="title">
<view class="left"><image class="recently-clock" src="{{imageRoot}}2b/classservice/recently-clock.png?{{imageRoot}}" mode="aspectFit|aspectFill|widthFix" />最近关注的班级</view>
<view class="right" bindtap="goclasslist" data-btnname="goclasslist2">更多班级 <image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"/></view>
</view>
<view class="content-box" wx:if="{{!emptyPage}}">
<view class="class-item" wx:for="{{classrecentlyList}}" wx:key="{{index}}" data-item="{{item}}" bindtap="goClassDetail">
<view class="icon"></view>
<view class="name">{{item.class.title}}</view>
</view>
</view>
<empty-content text="暂无数据~" emptyimg="" wx:if="{{emptyPage}}"></empty-content>
<view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view>
</view>
<empty-content text="暂无数据~" emptyimg="" wx:if="{{emptyPage}}"></empty-content>
<view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view>
<permission-box cinfigid="3">
<view class="wanted-btn" bindtap="gotodolist" slot="menubtn">我要点名</view>
</permission-box>
</view>
</permission-box>
<permission-box cinfigid="3">
<view class="wanted-btn" bindtap="gotodolist" slot="menubtn">我要点名</view>
</permission-box>
</view>
<view class="modal {{modelHideClass? 'hide': ''}}" hidden="{{!modalshow}}">
<view class="mask" bindtap="hidemodal"></view>
...
...
business/pages/exchangebusiness/index.js
View file @
f271537a
...
...
@@ -132,6 +132,7 @@ Page({
LocalStorage
.
removeItem
(
'dakarole'
);
LocalStorage
.
removeItem
(
'user'
);
LocalStorage
.
removeItem
(
'teacher'
);
LocalStorage
.
removeItem
(
'permission'
);
},
goShopedit
(){
wx
.
navigateTo
({
...
...
business/pages/organizationalmgt/info.js
View file @
f271537a
...
...
@@ -32,7 +32,7 @@ import {
imagify
,
LocalStorage
}
from
'../../../utilities/index.js'
;
import
permissionUtils
from
'../../../utilities/permission.js'
;
var
app
=
getApp
();
Page
({
data
:
{
...
...
@@ -540,6 +540,7 @@ Page({
if
(
res
.
code
==
200
)
{
// 成功的操作
if
(
this
.
data
.
sid
==
0
)
{
// 新增的操作
LocalStorage
.
setItem
(
'dakarole'
,
1
);
permissionUtils
.
myMenulistGet
(
res
.
data
.
id
)
wx
.
reLaunch
({
url
:
`/business/pages/classmgt/index?sid=
${
res
.
data
.
id
}
&newcreate=1`
,
})
...
...
business/pages/organizationalmgt/info.wxml
View file @
f271537a
...
...
@@ -20,7 +20,7 @@
</view>
</view>
</view>
<block wx:if="{{dakarole!=2}}">
<block wx:if="{{dakarole!=2
|| sid==0
}}">
<view class="box">
<view class="box-title">
<view class="title">完善机构信息</view>
...
...
src/pages/myschedule/landpage.wxml
View file @
f271537a
...
...
@@ -47,7 +47,7 @@
</view>
<view class="bottom-box">
<view class="btn-group">
<view class="btn btn-primary {{(courseDetail.my_leave && (courseDetail.my_leave.status==1 || courseDetail.my_leave.status==3)) || courseDetail.call_time || (courseDetail.schedule_remind && courseDetail.schedule_remind.confirm_status==2)?'btn-disabled':''}}" bindtap="bindArriveStatus" wx:if="{{courseDetail.my_leave.status!=
3
}}">{{courseDetail.schedule_remind && courseDetail.schedule_remind.confirm_status==2?'已确认':'我会准时到课'}}</view>
<view class="btn btn-primary {{(courseDetail.my_leave && (courseDetail.my_leave.status==1 || courseDetail.my_leave.status==3)) || courseDetail.call_time || (courseDetail.schedule_remind && courseDetail.schedule_remind.confirm_status==2)?'btn-disabled':''}}" bindtap="bindArriveStatus" wx:if="{{courseDetail.my_leave.status!=
1
}}">{{courseDetail.schedule_remind && courseDetail.schedule_remind.confirm_status==2?'已确认':'我会准时到课'}}</view>
<view class="btn" bindtap="bindShowModalLeave" wx:if="{{!courseDetail.my_leave || (courseDetail.my_leave.status!=1 && courseDetail.my_leave.status!=3)}}">我要请假</view>
<view class="btn" bindtap="bindBackLeave" wx:if="{{courseDetail.my_leave.status && courseDetail.my_leave.status==1}}">撤销请假</view>
...
...
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