Commit 65dad43a authored by chenzj's avatar chenzj

排班日历新增一个时间查询

parent 225a9aa8
......@@ -27,10 +27,7 @@
<el-row v-for="calendarDay in calendarDayList " :key="calendarDay.theDay">
<el-col :span="24" v-if="calendarDay.theDay == data.day && holidayList.indexOf(data.day) ==-1">
<div v-for="(teamShift,index) in calendarDay.calPlanWorkunitList" :key="index" class="grid-content" >
<el-tooltip content="Bottom center" placement="bottom" effect="light" v-if="teamShift.shiftName === '白班'">
<el-button type="primary" v-if="teamShift.shiftName === '白班'" icon="el-icon-sunny">{{ teamShift.workunitName }}</el-button>
</el-tooltip>
<el-button type="primary" v-if="teamShift.shiftName === '白班'" icon="el-icon-sunny">{{ teamShift.workunitName }}</el-button>
<el-button type="success" v-else-if="teamShift.shiftName === '中班'" icon="el-icon-sunrise">{{ teamShift.workunitName }}</el-button>
<el-button type="warning" v-else-if="teamShift.shiftName === '夜班'" icon="el-icon-moon">{{ teamShift.workunitName }}</el-button>
</div>
......
......@@ -38,7 +38,7 @@
<el-row v-for="calendarDay in calendarDayList " :key="calendarDay.theDay" @click.stop.prevent>
<el-col :span="24" v-if="calendarDay.theDay == data.day && holidayList.indexOf(data.day) ==-1">
<div v-for="(teamShift,index) in calendarDay.calPlanWorkunitList" :key="index" class="grid-content">
<el-button type="primary" v-if="teamShift.shiftName === '白班'" icon="el-icon-sunny" :title="teamShift.workunitName">{{ teamShift.workunitName }}</el-button>
<el-button type="primary" v-if="teamShift.shiftName === '白班'" icon="el-icon-sunny" :title="teamShift.workDate">{{ teamShift.workunitName }}</el-button>
<el-button type="success" v-else-if="teamShift.shiftName === '中班'" icon="el-icon-sunrise">{{ teamShift.workunitName }}</el-button>
<el-button type="warning" v-else-if="teamShift.shiftName === '夜班'" icon="el-icon-moon">{{ teamShift.workunitName }}</el-button>
</div>
......
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