<!--
 * @Author: 纪泽龙 jizelong@qq.com
 * @Date: 2024-10-25 15:11:18
 * @LastEditors: 纪泽龙 jizelong@qq.com
 * @LastEditTime: 2024-10-28 11:25:48
 * @FilePath: /zh-baseversion-web/src/views/bigWindow/components/Processes.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <el-timeline>
    <el-timeline-item
      v-for="(record, index) in trackRecordList"
      :key="index"
      :timestamp="record.time"
    >
      <!-- <div v-if="record.processesName == '0'"> -->
        <div>{{record.title}}</div>
        <div style="margin: 15px 0px">{{ record.message }}</div>
      <!-- </div>
      <div v-if="record.processesName == '1'">
        <div>气瓶配送</div>
        <div style="margin: 15px 0px">{{ record.message }}</div>
      </div>
      <div v-if="record.processesName == '2'">
        <div>气瓶回收</div>
        <div style="margin: 15px 0px">{{ record.message }}</div>
      </div> -->
    </el-timeline-item>
  </el-timeline>
</template>

<script>
// import { bottleTrackRecordList } from "@/api/gasBottleTrack/bottleTrackRecord";
export default {
  name: "processes",
  props: {
    trackRecordList: {
      type: Array,
      default: () => {
        return [];
      },
    },
  },
  data() {
    return {
      // trackRecordList: [],
    };
  },
  created() {
    // this.getTrackRecordInfo();
  },
  methods: {
    // getTrackRecordInfo() {
    //   bottleTrackRecordList({ bottleId: this.bottleId }).then((res) => {
    //     if (res.code == 200) {
    //       this.trackRecordList = res.data;
    //     }
    //   });
    // },
  },
};
</script>

<style scoped></style>
