| | |
| | | <div class="body" :style="{height:mainHeight+'px'}"> |
| | | <div class="bodyTopButtonGroup" style="justify-content: space-between"> |
| | | <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | <!-- <el-button icon="el-icon-download" @click="upload">导入</el-button>--> |
| | | <el-button icon="el-icon-download" @click="upload">导入</el-button> |
| | | </div> |
| | | |
| | | <div class="bodyTopFormGroup"> |
| | |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.cycle==='Y'">年</div> |
| | | <div v-if="row.cycle==='S'">季</div> |
| | | <div v-if="row.cycle==='M'">月</div> |
| | | <div v-if="row.cycle==='W'">周</div> |
| | | <div v-if="row.cycle==='D'">日</div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | { code: 'N', name: '否' } |
| | | ], |
| | | cycleArr: [ |
| | | { code: 'Y', name: '年' }, |
| | | { code: 'S', name: '季' }, |
| | | { code: 'M', name: '月' }, |
| | | { code: 'W', name: '周' }, |
| | | { code: 'D', name: '日' } |
| | | ], |
| | | |