ETM设备绩效管理->绩效评估结果,二次样式修改

This commit is contained in:
LiWeiJie 2023-12-19 15:06:27 +08:00
parent cee47f0b68
commit ed19c47b3d

View File

@ -41,10 +41,10 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="历史考核分数" prop="historicalTestScore">
<el-form-item label="考核时间" prop="historicalTestScore">
<el-input
v-model="queryParams.historicalTestScore"
placeholder="请输入历史考核分数"
placeholder="请输入考核时间"
clearable
@keyup.enter.native="handleQuery"
/>
@ -121,11 +121,11 @@
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" /> -->
<el-table-column label="类型" align="center" prop="type" />
<el-table-column label="考核周期" align="center" prop="assessmentCycle" >
<!-- <el-table-column label="考核周期" align="center" prop="assessmentCycle" >
<template slot-scope="scope">
<el-tag type="warning">{{scope.row.assessmentCycle}}</el-tag>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="名称" align="center" prop="name" />
<el-table-column label="考核周期" align="center" prop="assessmentCycle" >
@ -133,20 +133,25 @@
<el-tag type="success">{{scope.row.assessmentCycle}}</el-tag>
</template>
</el-table-column>
<el-table-column label="考核时间" align="center" prop="historicalTestScore" />
<el-table-column label="衡量标准" align="center" prop="measuringStandard" />
<el-table-column label="绩效得分" align="center" prop="performanceScore" />
<el-table-column label="历史考核分数" align="center" prop="historicalTestScore" />
<el-table-column label="附件类型" align="center" prop="attachmentType" >
<template slot-scope="scope">
<el-tag>{{scope.row.attachmentType}}</el-tag>
<el-tag v-if="scope.row.attachmentType === '员工绩效考核表' ">{{scope.row.attachmentType}}</el-tag>
<el-tag type="success" v-else-if="scope.row.attachmentType === '部门考核等级表' ">{{scope.row.attachmentType}}</el-tag>
<el-tag type="danger" v-else>{{scope.row.attachmentType}}</el-tag>
</template>
</el-table-column>
<el-table-column label="附件" align="center" prop="attachments" />
<el-table-column label="绩效等级" align="center" prop="performanceLevel" >
<template slot-scope="scope">
<el-tag type="danger">{{scope.row.performanceLevel}}</el-tag>
<el-tag v-if="scope.row.performanceLevel === 'A' ">{{scope.row.performanceLevel}}</el-tag>
<el-tag type="success" v-else-if="scope.row.performanceLevel === 'B' ">{{scope.row.performanceLevel}}</el-tag>
<el-tag type="info" v-else-if="scope.row.performanceLevel === 'C' ">{{scope.row.performanceLevel}}</el-tag>
<el-tag type="warning" v-else-if="scope.row.performanceLevel === 'D' ">{{scope.row.performanceLevel}}</el-tag>
<el-tag type="danger" v-else>{{scope.row.performanceLevel}}</el-tag>
</template>
</el-table-column>
@ -197,8 +202,8 @@
<el-form-item label="绩效得分" prop="performanceScore">
<el-input v-model="form.performanceScore" placeholder="请输入绩效得分" />
</el-form-item>
<el-form-item label="历史考核分数" prop="historicalTestScore">
<el-input v-model="form.historicalTestScore" placeholder="请输入历史考核分数" />
<el-form-item label="考核时间" prop="historicalTestScore">
<el-input v-model="form.historicalTestScore" placeholder="请输入考核时间" />
</el-form-item>
<el-form-item label="附件类型" prop="attachmentType">
<el-input v-model="form.attachmentType" placeholder="请输入附件类型" />