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

页面修改

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