zss
2023-12-01 e06313b6dba4774aef0924f342f13e8433f8d6f6
src/views/plan/productionschedul/index.vue
@@ -3,7 +3,7 @@
    <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" 
@@ -23,13 +23,13 @@
                <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
              </div>
              <div style="height:70vh;overflow-y: scroll;">
                <el-timeline reverse>
                <el-timeline>
                    <el-timeline-item
                      placement="top"
                      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>
@@ -66,7 +66,7 @@
        pageSize: 10
      },
      option: {
        height: 'auto',
        height: 400,
        selection: true,
        columnBtn: false,
        index: true,
@@ -199,7 +199,7 @@
    TableForm,
  },
  computed: {
    ...mapGetters(['permissions'])
    ...mapGetters(['permissions']),
  },
  created(){
    this.loading = true
@@ -295,9 +295,9 @@
        this.tableData = res.data.data.records
        this.page.total = res.data.data.total
        this.page.currentPage = res.data.data.records.pages
        this.scheduleList = []
      })
      this.loading = false
    },
    handleCurrentChange(val) {
      this.multipleSelection = val
@@ -379,7 +379,7 @@
  }
}
</script>
<style scoped>
<style>
.basic-template-table .el-table__body .el-table__row td:first-child .cell {
  padding-left: 0px;
  padding-right: 0px;
@@ -417,8 +417,5 @@
  content: '\E63E';
  font-size: 14px;
  visibility: hidden;
}
.avue-main .el-card__body{
  padding: 0px 20px;
}
</style>