|
@@ -12,7 +12,7 @@
|
|
|
</div>
|
|
|
<div slot="header" class="clearfix" id="clearfix" style="padding-left: 255px;">
|
|
|
<span v-for="(item,index) in allDate" :id="'day'+index" class="date_item"
|
|
|
- @click="choseDate(index, item)" :key="index" :style="'padding:0 6px;display: inline-block;width: 55px;text-align: center;' + (canClick(index,item) == false && user.timeType.fillAhead == 0 ? 'color:#c0c0c0;cursor:not-allowed;' : '') ">
|
|
|
+ @click="choseDate(index, item)" :key="index" :style="'padding:0 6px;display: inline-block;width: 55px;text-align: center;' + (canClick(index,item) == false && user.timeType.fillAhead == 0 && user.roleName != '超级管理员'? 'color:#c0c0c0;cursor:not-allowed;' : '') ">
|
|
|
<div :style="'display:inline-block;text-align: center;'+(item.state == null?'':'')" >
|
|
|
<div style="text-align:center;"><span :class="statusStyle[item.state]">{{item.showDate}}</span>
|
|
|
<br>
|
|
@@ -4140,7 +4140,7 @@
|
|
|
// 选择日期
|
|
|
choseDate(i, item) {
|
|
|
|
|
|
- if(this.canClick(i,item) == false && this.user.timeType.fillAhead == 0){
|
|
|
+ if(this.canClick(i,item) == false && this.user.timeType.fillAhead == 0 && this.user.roleName != '超级管理员' ){
|
|
|
return
|
|
|
}
|
|
|
// console.log(nowDateYear,nowDateMonth,nowDateDay,'..',itemYear,itemMonth,itemDay);
|