Kaynağa Gözat

权限修改

zouling 4 ay önce
ebeveyn
işleme
a01d438ce6
3 değiştirilmiş dosya ile 6 ekleme ve 4 silme
  1. 2 2
      manifest.json
  2. 1 1
      pages/index/index.vue
  3. 3 1
      work/pages/record/detail.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "智慧园区",
     "appid" : "__UNI__9ACE566",
     "description" : "",
-    "versionName" : "1.0.9",
-    "versionCode" : 109,
+    "versionName" : "1.1.0",
+    "versionCode" : 110,
     "transformPx" : false,
     "app-plus" : {
         "usingComponents" : true,

+ 1 - 1
pages/index/index.vue

@@ -89,7 +89,7 @@
 							<view class="aimg"><image :src="htablimg" class="imgk"></image></view>
 							<view class="atit">考勤记录</view>
 						</view>
-						<view class="yqcba" @click="getClockcontFn" v-if="checkPermi(['system/clock/all/month'])">
+						<view class="yqcba" @click="getClockcontFn" v-if="checkPermi(['system:clock:all:month'])">
 							<view class="aimg"><image :src="htablimg" class="imgk"></image></view>
 							<view class="atit">考勤统计</view>
 						</view>

+ 3 - 1
work/pages/record/detail.vue

@@ -243,7 +243,9 @@
 				var time=y + '-' + m + '-' + '01'
 				this.changetime=time
 				this.getCalendarList(time)
-				this.getClockCountper()
+				if(checkPermi(['system:clock:personage:month'])){
+					this.getClockCountper()
+				}
 				// if(y==this.year&&m==this.month){
 				// 	this.getCalendarList()
 				// 	this.changetime='';