Commit 23aa16f5 authored by lvtz's avatar lvtz

fix

parent f271537a
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</view> </view>
<view class="opt-btngroup"> <view class="opt-btngroup">
<permission-box cinfigid="70000"> <permission-box cinfigid="30007">
<view class="opt-btnitem" bindtap="bindInvite" slot="menubtn"> <view class="opt-btnitem" bindtap="bindInvite" slot="menubtn">
<image class="icon" src="{{imageRoot}}2b/circleindex/icon_invite.png?{{imageVersion}}"></image> <image class="icon" src="{{imageRoot}}2b/circleindex/icon_invite.png?{{imageVersion}}"></image>
<view class="title">邀请学员</view> <view class="title">邀请学员</view>
......
...@@ -71,6 +71,7 @@ page{ ...@@ -71,6 +71,7 @@ page{
.opt-btngroup{ .opt-btngroup{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
} }
.opt-btngroup .opt-btnitem{ .opt-btngroup .opt-btnitem{
/* flex: 1; */ /* flex: 1; */
...@@ -452,9 +453,11 @@ page{ ...@@ -452,9 +453,11 @@ page{
.modalStudentOpt .opt-tabbox{ .modalStudentOpt .opt-tabbox{
display: flex; display: flex;
padding: 180rpx 0 90rpx; padding: 180rpx 0 90rpx;
justify-content: center;
} }
.modalStudentOpt .opt-tabbox .opt-tabitem{ .modalStudentOpt .opt-tabbox .opt-tabitem{
flex: 1; /* flex: 1; */
width: 187rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
...@@ -499,7 +502,7 @@ page{ ...@@ -499,7 +502,7 @@ page{
align-items: center; align-items: center;
line-height: 45rpx; line-height: 45rpx;
/* padding: 100rpx 0 40rpx; */ /* padding: 100rpx 0 40rpx; */
height: calc(100vh - 450rpx); height: calc(100vh - 600rpx);
} }
.empty-content .empty-img { .empty-content .empty-img {
width: 263rpx; width: 263rpx;
......
...@@ -11,8 +11,8 @@ import { ...@@ -11,8 +11,8 @@ import {
statisticalGet, statisticalGet,
classrecentlyrecordsGet, classrecentlyrecordsGet,
behaviorlogPost, behaviorlogPost,
} from '../../../service/business/classservice.js' } from '../../../service/business/classservice.js';
import permissionUtils from '../../../utilities/permission.js' import permissionUtils from '../../../utilities/permission.js';
var app = getApp(); var app = getApp();
Page({ Page({
data: { data: {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</view> </view>
<view class="container-padding"> <view class="container-padding">
<view class="gray-wrap"> <view class="gray-wrap">
<permission-box cinfigid="3"> <permission-box cinfigid="6">
<view class="section-wrap" id="get-height2" wx:if="{{todocallTotal>0}}" slot="menubtn"> <view class="section-wrap" id="get-height2" wx:if="{{todocallTotal>0}}" slot="menubtn">
<view class="section section-warn" bindtap="gotodolist"> <view class="section section-warn" bindtap="gotodolist">
<view class="title-l"> <view class="title-l">
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<view class="item-title">班级</view> <view class="item-title">班级</view>
</view> </view>
</permission-box> </permission-box>
<permission-box cinfigid="3"> <permission-box cinfigid="1">
<view class="item" bindtap="gorollcalllist" data-page="myschedule" slot="menubtn"> <view class="item" bindtap="gorollcalllist" data-page="myschedule" slot="menubtn">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view> <view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view>
</view> </view>
</permission-box> </permission-box>
<permission-box cinfigid="3"> <permission-box cinfigid="6">
<view class="wanted-btn" bindtap="gotodolist" slot="menubtn">我要点名</view> <view class="wanted-btn" bindtap="gotodolist" slot="menubtn">我要点名</view>
</permission-box> </permission-box>
</view> </view>
......
...@@ -219,8 +219,7 @@ page{ ...@@ -219,8 +219,7 @@ page{
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 87rpx; width: 130rpx;
margin-right: 45rpx;
position: relative; position: relative;
padding: 12rpx 0 9rpx; padding: 12rpx 0 9rpx;
} }
......
...@@ -8,7 +8,7 @@ import { ...@@ -8,7 +8,7 @@ import {
getMemberMe, getMemberMe,
} from '../../service/common.js'; } from '../../service/common.js';
import apis from '../../constants/api.js'; import apis from '../../constants/api.js';
import permissionUtils from '../../utilities/permission.js';
var app = getApp(); var app = getApp();
Component({ Component({
properties: { properties: {
...@@ -79,6 +79,9 @@ Component({ ...@@ -79,6 +79,9 @@ Component({
if(this.data.dakarole==1){ if(this.data.dakarole==1){
this.getMemberMeInfo(this.data.sid) this.getMemberMeInfo(this.data.sid)
} }
if(this.data.dakarole==2){
permissionUtils.myMenulistGet(this.data.sid)
}
let url = ''; let url = '';
switch (dataset.type) { switch (dataset.type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment