|
@@ -5,11 +5,12 @@
|
|
|
:id="'schedule-'+id"
|
|
|
:data="scheduleList"
|
|
|
:header-cell-style="{ backgroundColor: 'rgba(232,232,232,0.4)', color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}"
|
|
|
- :row-style="{'background-color': 'transparent'}"
|
|
|
show-overflow-tooltip="true"
|
|
|
row-key="id"
|
|
|
+ border
|
|
|
+ stripe
|
|
|
>
|
|
|
- <el-table-column v-if="noMove" width="80" align="center">
|
|
|
+ <el-table-column v-if="noMove" width="80">
|
|
|
<template>
|
|
|
<el-tooltip class="item" effect="dark" content="代表移动,鼠标选中区域可以向上移动" placement="bottom">
|
|
|
<div class="sortable-tip">
|
|
@@ -18,17 +19,17 @@
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="type" label="类型" min-width="100" align="center">
|
|
|
+ <el-table-column prop="type" label="类型" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.name }}
|
|
|
<div v-show="showunlock" :class="scope.row.isScheduleLocked === 1 ? 'el-icon-lock' : 'el-icon-unlock'" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="desc" label="描述" min-width="150" align="left" show-overflow-tooltip />
|
|
|
- <el-table-column prop="seperateDaysNoHoliday" label="排期" min-width="200" align="center" show-overflow-tooltip />
|
|
|
- <el-table-column prop="dayLength" label="时长" min-width="50" align="center" />
|
|
|
- <el-table-column prop="peopleList" label="参与人员" min-width="150" align="center" />
|
|
|
- <el-table-column label="操作" width="200" align="center">
|
|
|
+ <el-table-column prop="seperateDaysNoHoliday" label="排期" min-width="200" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="dayLength" label="时长" min-width="50" />
|
|
|
+ <el-table-column prop="peopleList" label="参与人员" min-width="150" />
|
|
|
+ <el-table-column label="操作" width="200">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="showunlock">
|
|
|
<el-button v-if="scope.row.isScheduleLocked === 0" type="text" size="small" @click="editSchedule(scope.row)">编辑</el-button>
|
|
@@ -218,7 +219,6 @@ export default {
|
|
|
.schedule-list {
|
|
|
margin: 0 20px;
|
|
|
padding: 0;
|
|
|
- background:rgba(248,248,248,0.6);
|
|
|
}
|
|
|
>>>.el-table, .el-table__expanded-cell{
|
|
|
background:rgba(248,248,248,0.6);
|