|
@@ -32,7 +32,8 @@
|
|
|
<p class="return-year-month-button inquire-button-one" v-show="yearMonthType===1" @click="returnPresent">回到本月</p>
|
|
|
<p class="flex-p"></p>
|
|
|
<p class="all-button add-button-one-90" @click="allButton">{{allButtonType?'取消全选':'全选'}}</p>
|
|
|
- <p class="add-button inquire-button-one" @click="addButton">+ 新增</p>
|
|
|
+ <p class="add-button inquire-button-one" @click="addButton"
|
|
|
+ v-hasPermi="['laboratory:duty:add']">+ 新增</p>
|
|
|
</div>
|
|
|
<div class="month-max-big-box scrollbar-box" v-if="yearMonthType === 1">
|
|
|
<div class="month-week-box">
|
|
@@ -568,6 +569,10 @@
|
|
|
this.getListYmd();
|
|
|
this.$set(this,'pageType',1)
|
|
|
}else if(type=='info'){
|
|
|
+ if(!this.hasPermiDom(['laboratory:duty:query'])){
|
|
|
+ this.msgError('您没有相关权限,无法查看.')
|
|
|
+ return
|
|
|
+ }
|
|
|
let obj = {
|
|
|
checkTreeId:this.checkTreeId,
|
|
|
time:item.value,
|