<!-- 模型压缩详情 -->
<template>
  <div>
      <el-card class="box-card">
          <el-descriptions title="基本信息">
              <el-descriptions-item label="任务名称：">{{item.taskName}}</el-descriptions-item>
              <el-descriptions-item label="任务描述：">{{item.taskDescribe}}</el-descriptions-item>
          </el-descriptions>
      </el-card>
      <el-card class="box-card">
          <el-descriptions title="压缩配置">
            <el-descriptions-item label="源模型：">{{item.sourceVersionId}}</el-descriptions-item>
            <el-descriptions-item label="压缩后模型：">{{item.targetVersionId}}</el-descriptions-item>
            <el-descriptions-item label="压缩策略：">INT8</el-descriptions-item>
          </el-descriptions>
      </el-card>
      <!-- <el-card class="box-card">
          <el-descriptions title="任务日志">
            <el-descriptions-item >
              <div class="logBox">
                
              </div>
            </el-descriptions-item>
    
          </el-descriptions>
      </el-card> -->
  </div>
</template>

<script>

// import { MyModel } from '@/api/gptController.js';

export default {
  data () {
    return {

    };
  },
  props: ['item'],
  components: {},

  computed: {

  },

  mounted () {
    console.log(this.item);
  },

  methods: {

  }
};
</script>
<style scoped>
div /deep/ .el-descriptions__title{
font-size: 18px;
}
div /deep/.el-descriptions__table{
  width: 100%;
  line-height: 30px;
}
div /deep/ .el-card{
  margin-bottom: 20px;
}
.logBox{
  height: 500px;
  background-color: #eee;
  margin-top: 10px;
  overflow-y: auto;
  width: 100%;
}
</style>
