Commit 7cf7879a authored by 黄奎's avatar 黄奎

页面修改

parent 39768cd8
......@@ -310,7 +310,7 @@
@click.stop="getClicked(props.row,item)"></q-btn>
</template>
<template v-else>
<q-btn v-if="props.row.IsEndDate" flat size="xs" icon="edit" color="accent" style="font-weight:400"
<q-btn v-if="props.row.IsCanSign" flat size="xs" icon="edit" color="accent" style="font-weight:400"
label="签到" @click.stop="getClicked(props.row,item)"></q-btn>
</template>
</div>
......@@ -397,7 +397,7 @@
</q-banner>
</q-popup-proxy>
</q-btn>
<template v-if="!props.row.IsEndDate">
<template v-if="props.row.IsCanEdit">
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click.stop="delInfo(props.row)"></q-btn>
</template>
......@@ -416,7 +416,7 @@
<div class="calendarTop">
<div>{{item.RoomName}}</div>
<div>
<i v-if="!item.IsEndDate&&isShowBtn" class="iconfont icon-edit Lessicon_Edit" style="display:none;"
<i v-if="item.IsCanEdit&&isShowBtn" class="iconfont icon-edit Lessicon_Edit" style="display:none;"
@click.stop="getInfo(item)">
<q-popup-proxy>
<q-banner v-if="isShowEditForm">
......@@ -497,7 +497,7 @@
</q-banner>
</q-popup-proxy>
</i>
<i v-if="!item.IsEndDate&&isShowBtn" class="iconfont icon-guanbi Less_Close"
<i v-if="item.IsCanEdit&&isShowBtn" class="iconfont icon-guanbi Less_Close"
style="margin-left:5px;" @click.stop="delInfo(item)"></i>
</div>
</div>
......@@ -798,7 +798,7 @@
//是否显示编辑按钮
isShowEdit(item) {
var flag = true;
if (item.IsEndDate) {
if (!item.IsCanEdit) {
if (this.currentUser.Id == 1) {
flag = true;
} else {
......
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