modified: src/views/plan/productionschedul/index.vue
| | |
| | | <basic-container> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <div style="height:80vh;"> |
| | | <div style="height:80vh"> |
| | | <avue-crud :data="tableData" ref="crud" :option="option" :span-method="spanMethod" |
| | | @refresh-change="getData" |
| | | :page="page" |
| | |
| | | v-for="(item, index) in scheduleList" |
| | | :key="index" |
| | | :timestamp="item.planTime"> |
| | | <el-card style="width:95%;margin: 0;padding: 0px 0px;"> |
| | | <el-card style="width:95%;margin: 0;padding: 0px 10px;"> |
| | | <p style="font-weight: bold;">{{item.title}}</p> |
| | | <p>实际时间: {{ item.actualTime }}</p> |
| | | </el-card> |
| | |
| | | pageSize: 10 |
| | | }, |
| | | option: { |
| | | height: 'auto', |
| | | height: 400, |
| | | selection: true, |
| | | columnBtn: false, |
| | | index: true, |
| | |
| | | TableForm, |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['permissions']) |
| | | ...mapGetters(['permissions']), |
| | | }, |
| | | created(){ |
| | | this.loading = true |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | <style> |
| | | .basic-template-table .el-table__body .el-table__row td:first-child .cell { |
| | | padding-left: 0px; |
| | | padding-right: 0px; |
| | |
| | | content: '\E63E'; |
| | | font-size: 14px; |
| | | visibility: hidden; |
| | | } |
| | | .avue-main .el-card__body{ |
| | | padding: 0px 20px; |
| | | } |
| | | </style> |