Commit 72be0c2f authored by huai.li's avatar huai.li

对字段

parent 40985d8e
......@@ -19,4 +19,9 @@
.el-dialog__title {
color:white;
}
.is-disabled {
color: #fff!important;
background-color: #999!important;
border-color: #888!important;
}
}
......@@ -12,8 +12,8 @@
<span><img class="user-avatar rounded-circle" :src="item.createdBy.avatar.name">{{ item.createdBy.name }}</span>
</el-col>
<el-col :span="24">
<span><i class="fa fa-connectdevelop" aria-hidden="true"></i>{{ item.department.name }}</span>
<span class="obear-schedule-left__private" :class="[isPublic ? 'colRed' : 'colGreen']">{{ isPublic ? '私人' : '共享' }}</span>
<span><i class="fa fa-sitemap" aria-hidden="true"></i>{{ item.department.name }}</span>
<span class="obear-schedule-left__private colWhite">{{ isPublic ? '私人' : '共享' }}</span>
</el-col>
</el-row>
</el-col>
......@@ -105,6 +105,9 @@ export default {
color: green;
border: 1px solid green;
}
.colWhite {
color: white;
}
.rounded-circle {
border-radius: 50% !important;
}
......@@ -144,18 +147,23 @@ export default {
}
span {
display: inline-block;
padding-left: 5px;
// padding-left: 5px;
}
i {
display:inline-block;
padding-right:5px;
}
img {
display:inline-block;
margin-right:5px;
}
@include e('private') {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
border-radius:5px;
width:40px;
height:20px;
border: 1px solid white;
width:35px;
height:17px;
}
}
@include c('schedule-right') {
......
......@@ -21,9 +21,9 @@
:key="item.id">
<span slot="opearate" class="obear-opearate-button">
<el-button type="primary" size="mini" @click.prevent.stop="leaveMessageSch(item)"><span class="badge" v-if="item.unread">{{ item.unread ? item.unread : '' }}</span><i class="fa fa-commenting"></i>留言</el-button>
<el-button type="primary" size="mini"><i class="fa fa-calendar-check-o"></i>汇报</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="editSch(item)"><i class="fa fa-edit animated"></i>编辑</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="deleteSch(item.id)"><i class="fa fa-trash-o animated-hove"></i>删除</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="editSch(item)" :disabled="!item.can_report"><i class="fa fa-calendar-check-o"></i>汇报</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="editSch(item)" :disabled="!item.can_update"><i class="fa fa-edit animated"></i>编辑</el-button>
<el-button type="primary" size="mini" @click.prevent.stop="deleteSch(item.id)" :disabled="!item.can_delete"><i class="fa fa-trash-o animated-hove"></i>删除</el-button>
</span>
</ScheduleItem>
<Pagenation
......@@ -227,5 +227,9 @@ export default {
vertical-align: baseline;
border-radius: .25rem;
}
i {
display: inline-block;
padding-right: 3px;
}
}
</style>
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