Commit 1ca1a3d8 authored by wangxl's avatar wangxl

22

parent 5dea21b5
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<!-- <span style="margin:6px;display: block;color:red;">评分为 总分/平均分,最终得分=技术专家平均分X80% + 财务专家X20%</span> --> <!-- <span style="margin:6px;display: block;color:red;">评分为 总分/平均分,最终得分=技术专家平均分X80% + 财务专家X20%</span> -->
<a-table :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :dataSource="tableData" :columns="columns" rowKey="id" :scroll="{ x: 'max-content' }" :pagination="false" :loading="loading"> <a-table :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :dataSource="tableData" :columns="columns" rowKey="id" :scroll="{ x: 'max-content' }" :pagination="false" :loading="loading">
<template slot="projName" slot-scope="record"> <template slot="projName" slot-scope="record">
<a @click="recordClick(record, 'view')">{{record.projName}}</a> <a @click="recordClick(record, 'view')" :style="{'color': record.isFinalReturned==1?'red':'#1890ff'}">{{record.projName}}</a>
</template> </template>
<template slot="defenseTechnologyInfo" slot-scope="record"> <template slot="defenseTechnologyInfo" slot-scope="record">
<editable-cell :text="record.defenseTechnologyScore" @change="onCellChange(record.id, 'defenseTechnologyScore', $event)" /> <editable-cell :text="record.defenseTechnologyScore" @change="onCellChange(record.id, 'defenseTechnologyScore', $event)" />
...@@ -181,10 +181,10 @@ export default { ...@@ -181,10 +181,10 @@ export default {
columns: [ columns: [
{ title: "项目编号", dataIndex: "projNo", align: 'center' }, { title: "项目编号", dataIndex: "projNo", align: 'center' },
{ title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 300 }, { title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 300 },
{ title: "答辩技术专家评分", scopedSlots: { customRender: 'defenseTechnologyInfo' }, align: 'center'}, { title: "答辩技术专家评分", scopedSlots: { customRender: 'defenseTechnologyInfo' }, align: 'center' },
{ title: "答辩账务专家评分", scopedSlots: { customRender: 'defenseEconomyInfo' }, align: 'center'}, { title: "答辩账务专家评分", scopedSlots: { customRender: 'defenseEconomyInfo' }, align: 'center' },
{ title: "答辩分数", dataIndex: 'defenseScore', align: 'center'}, { title: "答辩分数", dataIndex: 'defenseScore', align: 'center' },
{ title: "项目类别", dataIndex: 'projClassName' , align: 'center' }, { title: "项目类别", dataIndex: 'projClassName', align: 'center' },
{ title: "总预算数", dataIndex: 'totalFunding', align: 'center' }, { title: "总预算数", dataIndex: 'totalFunding', align: 'center' },
{ title: "省级财政资金", dataIndex: 'govFunding', align: 'center' }, { title: "省级财政资金", dataIndex: 'govFunding', align: 'center' },
{ title: "自筹资金", dataIndex: 'selfFunding', align: 'center' }, { title: "自筹资金", dataIndex: 'selfFunding', align: 'center' },
...@@ -482,6 +482,7 @@ export default { ...@@ -482,6 +482,7 @@ export default {
.editable-cell-icon-check { .editable-cell-icon-check {
line-height: 28px; line-height: 28px;
color: inherit;
} }
.editable-cell:hover .editable-cell-icon { .editable-cell:hover .editable-cell-icon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment