|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
- <div class="schedule-list">
|
|
|
+ <div class="schedule-list" :class="className">
|
|
|
<el-col align="right" class="add-schedule"><span @click="addSchedule()"><i class="el-icon-circle-plus-outline" />添加排期</span></el-col>
|
|
|
<el-table
|
|
|
:id="'schedule-'+id"
|
|
|
:data="scheduleList"
|
|
|
- :header-cell-style="{ backgroundColor: 'rgba(232,232,232,0.4)',color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500', textAlign: 'center'}"
|
|
|
+ :header-cell-style="{ backgroundColor: 'rgba(232,232,232,0.4)', color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500', textAlign: 'center' }"
|
|
|
:row-style="{'background-color': 'transparent'}"
|
|
|
style="width: 100%"
|
|
|
show-overflow-tooltip="true"
|
|
@@ -120,6 +120,11 @@ export default {
|
|
|
type: Array,
|
|
|
default: () => [],
|
|
|
required: false
|
|
|
+ },
|
|
|
+ className: {
|
|
|
+ type: String,
|
|
|
+ default: '',
|
|
|
+ required: false
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -242,6 +247,15 @@ export default {
|
|
|
>>>.el-table, .el-table__expanded-cell{
|
|
|
background:rgba(248,248,248,0.6);
|
|
|
}
|
|
|
+.white {
|
|
|
+ background: #ffffff;
|
|
|
+ .add-schedule {
|
|
|
+ padding: 0 0 20px 0;
|
|
|
+ }
|
|
|
+ /deep/.el-table{
|
|
|
+ background: #ffffff !important;
|
|
|
+ }
|
|
|
+}
|
|
|
.bottom-detail {
|
|
|
font-size: 14px;
|
|
|
width: calc(100% - 40px);
|