|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
<el-option v-for="item in indexSourceList" :key="item.value" :label="item.label" :value="item.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
<el-input v-model="atomicName" placeholder="原子指标名称" clearable style="width: 200px;margin-left: 16px;" />
|
|
|
|
|
<vxe-grid v-bind="gridOptions" style="margin-top: 10px">
|
|
|
|
|
<vxe-grid v-if="gridOptions.data.length > 0" v-bind="gridOptions" style="margin-top: 10px">
|
|
|
|
|
<template #operate="{row}">
|
|
|
|
|
<div class="btn-item">
|
|
|
|
|
<span>{{ row.record }}</span>
|
|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #detail="{row}">
|
|
|
|
|
<span v-if="row.parentIndexName"><a v-if="!row.isRead" style="text-decoration: underline;" @click="handleDetails(row)">{{ row.indexName }}</a><span style="text-decoration: underline;cursor: pointer;" v-else @click="handleDetails(row)">{{ row.indexName }}</span></span>
|
|
|
|
|
<span v-if="row.parentIndexName"><a v-if="!row.isRead" style="text-decoration: underline;" @click="handleDetails(row)">{{ row.indexName }}</a><span v-else style="text-decoration: underline;cursor: pointer;" @click="handleDetails(row)">{{ row.indexName }}</span></span>
|
|
|
|
|
<span v-else>{{ row.indexName }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template #result="{row}">
|
|
|
|
@ -95,8 +95,8 @@ export default {
|
|
|
|
|
{ title: '序号', type: 'seq', width: '80px' },
|
|
|
|
|
{ title: '分析结果', width: '200px', field: 'indexResult', slots: { default: 'result' }},
|
|
|
|
|
// { title: '笔录结果', width: '200px', slots: { default: 'operate' }, align: 'center' },
|
|
|
|
|
{ title: '指标名称', field: 'indexName',slots: { default: 'detail' }, align: 'left' },
|
|
|
|
|
{ title: '分值', width: '200px', field: 'score' },
|
|
|
|
|
{ title: '指标名称', field: 'indexName', slots: { default: 'detail' }, align: 'left' },
|
|
|
|
|
{ title: '分值', width: '200px', field: 'score' }
|
|
|
|
|
// { title: '数据来源', width: '200px', field: 'indexSource', formatter: ({ cellValue }) => {
|
|
|
|
|
// return cellValue ? this.indexSourceList.find(item => item.value === cellValue).label : ''
|
|
|
|
|
// } }
|
|
|
|
@ -120,7 +120,7 @@ export default {
|
|
|
|
|
isExpand: {
|
|
|
|
|
handler: function(newVal, oldVal) {
|
|
|
|
|
if (newVal !== oldVal) {
|
|
|
|
|
this.tableHeight(this.isExpand ? 570 : 360)
|
|
|
|
|
this.tableHeight(this.isExpand ? 580 : 370)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
immediate: true
|
|
|
|
|