<!--
 * @Author: ysh
 * @Date: 2024-01-15 16:36:09
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-01-18 15:14:27
-->
<template>
  <div>
    <table class="table">
      <tr>
        <td>姓名</td>
        <td></td>
        <td>考核年度</td>
        <td></td>
        <td colspan="3">负责人考核意见</td>
        <td colspan="3">分管领导考核意见</td>
      </tr>
      <tr>
        <td>所在部门</td>
        <td colspan="3"></td>
        <td colspan="3">
          <el-radio-group v-model="radio1">
            <el-radio v-for="dict in dict.type.cmc_accessment" :key="dict.value" :label="dict.value">
              {{ dict.label }}
            </el-radio>
          </el-radio-group>
        </td>
        <td colspan="3">
          <el-radio-group v-model="radio2">
            <el-radio v-for="dict in dict.type.cmc_accessment" :key="dict.value" :label="dict.value">
              {{ dict.label }}
            </el-radio>
          </el-radio-group>
        </td>
      </tr>
      <tr>
        <td>部门职务</td>
        <td colspan="3"></td>
        <td colspan="3" rowspan="5">
          <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="textarea1">
          </el-input>
          <el-row justify="center">
            <el-col :span="12">考核人：</el-col>
            <el-col :span="12">日期：</el-col>
          </el-row>
        </td>
        <td colspan="3" rowspan="5">
          <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="textarea2">
          </el-input>
          <el-row justify="center">
            <el-col :span="12">考核人：</el-col>
            <el-col :span="12">日期：</el-col>
          </el-row>
        </td>
      </tr>
      <tr>
        <td>项目经理</td>
        <td colspan="3"></td>
      </tr>
      <tr>
        <td>技术职称</td>
        <td colspan="3"></td>
      </tr>
      <tr>
        <td>作业类别</td>
        <td colspan="3"></td>
      </tr>
      <tr>
        <td>入职年月</td>
        <td></td>
        <td>年龄</td>
        <td></td>
      </tr>
      <tr>
        <td rowspan="2">考核内容</td>
        <td colspan="6">被考核人填写</td>
        <td colspan="3">负责人考核</td>
      </tr>
      <tr>
        <td>等级、比例尺等</td>
        <td>单位</td>
        <td>工作量</td>
        <td>熟练程度</td>
        <td>承担角色</td>
        <td>备注</td>
        <td>产品质量</td>
        <td>技能掌握</td>
        <td>考核建议</td>
      </tr>
      <tr v-for="item in data">
        
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  dicts: ['cmc_accessment', 'sys_notice_type'],
  computed: {
    // user: this.$state.GetInfo
  },
  data() {
    return {
      radio1: "",
      radio2: "",
      textarea1: "",
      textarea2: "",
      data:[
        {
          content_id:'f0101',
          role:'0',
          workload:'1',
          familiar:'0',
        },{
          content_id:'f0102',
          role:'0',
          workload:'3',
          familiar:'0',
        },{
          content_id:'f0103',
          role:'0',
          workload:'3',
          familiar:'0',
        },{
          content_id:'f0104',
          role:'0',
          workload:'3',
          familiar:'0',
        },{
          content_id:'f0105',
          role:'0',
          workload:'3',
          familiar:'0',
        },
      ],
      tyee:{
        f01:'项目负责',
        f0101:"项目负责",
        f0102:"外业负责",
        f0103:"内业负责",
        f0104:"技术设计",
        f0105:"资料整编"
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.table {
  border-collapse: collapse;
  width: 100%;
}
.table,
th,
td {
  border: 1px solid black;
  text-align: center;
}
</style>