|
@@ -1,5 +1,11 @@
|
|
|
<template>
|
|
|
<HcTable ui="no-border" is-new :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false">
|
|
|
+ <template #integrality="{ row }">
|
|
|
+ <div v-if="row.isEdit" class="table-score-input-box">
|
|
|
+ <el-input v-model="row.integrality" placeholder="" />
|
|
|
+ </div>
|
|
|
+ <span v-else>{{ row.integrality || '-' }}</span>
|
|
|
+ </template>
|
|
|
<template #integralityDeduction="{ row }">
|
|
|
<div v-if="row.isEdit" class="table-score-input-box">
|
|
|
<el-input v-model="row.integralityDeduction" placeholder="" />
|
|
@@ -12,6 +18,12 @@
|
|
|
</div>
|
|
|
<span v-else>{{ row.normativeDeduction || '-' }}</span>
|
|
|
</template>
|
|
|
+ <template #normative="{ row }">
|
|
|
+ <div v-if="row.isEdit" class="table-score-input-box">
|
|
|
+ <el-input v-model="row.normative" placeholder="" />
|
|
|
+ </div>
|
|
|
+ <span v-else>{{ row.normative || '-' }}</span>
|
|
|
+ </template>
|
|
|
<template #action="{ row }">
|
|
|
<el-button v-if="row.isEdit" type="success" size="small" @click="saveClick(row)">
|
|
|
保存
|