Commit e16923c3 authored by wangxl's avatar wangxl

555

parent 89a83302
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</a-form-item> </a-form-item>
</a-form> </a-form>
<a-divider style="height: 1px; background-color: #e8e8e8;" /> <a-divider style="height: 1px; background-color: #e8e8e8;" />
<a-table :dataSource="tableData" :columns="columns" rowKey="id" :pagination="false" :loading="loading"> <a-table :dataSource="tableData" :columns="columns" rowKey="id" :scroll="{ x: 'max-content' }" :pagination="false" :loading="loading">
<template slot="personName" slot-scope="record"> <template slot="personName" slot-scope="record">
<a-tag :color="'#2db7f5'" v-if="record.expertType==1">{{record.personName}}</a-tag> <a-tag :color="'#2db7f5'" v-if="record.expertType==1">{{record.personName}}</a-tag>
<a-tag :color="'#87d068'" v-if="record.expertType==2">{{record.personName}}</a-tag> <a-tag :color="'#87d068'" v-if="record.expertType==2">{{record.personName}}</a-tag>
...@@ -31,6 +31,13 @@ ...@@ -31,6 +31,13 @@
<template slot="spec" slot-scope="record"> <template slot="spec" slot-scope="record">
<span v-for="data in record.specList" :key="data.id" :color="'green'">{{data.specName+' '}}</span> <span v-for="data in record.specList" :key="data.id" :color="'green'">{{data.specName+' '}}</span>
</template> </template>
<template slot="supportState" slot-scope="record">
<a-tag :color="'#87d068'" v-if="record.supportState==1"></a-tag>
<a-tag :color="'#f50'" v-if="record.supportState==0"></a-tag>
</template>
<template slot="noSupportReason" slot-scope="record">
<span v-if="record.supportState==0">{{record.noSupportReason}}</span>
</template>
<template slot="evaluationType" slot-scope="record"> <template slot="evaluationType" slot-scope="record">
<a-tag :color="'#87d068'" v-if="record.evaluationType==1">{{ evaluationTypeA }}</a-tag> <a-tag :color="'#87d068'" v-if="record.evaluationType==1">{{ evaluationTypeA }}</a-tag>
<a-tag :color="'#2db7f5'" v-if="record.evaluationType==2">{{ evaluationTypeB }}</a-tag> <a-tag :color="'#2db7f5'" v-if="record.evaluationType==2">{{ evaluationTypeB }}</a-tag>
...@@ -76,6 +83,8 @@ export default { ...@@ -76,6 +83,8 @@ export default {
{ title: "专家单位", dataIndex: "workUnit", align: 'center' }, { title: "专家单位", dataIndex: "workUnit", align: 'center' },
{ title: "评审意见", dataIndex: "remark", align: 'center' }, { title: "评审意见", dataIndex: "remark", align: 'center' },
{ title: '评分', dataIndex: 'totalScore', align: 'center' }, { title: '评分', dataIndex: 'totalScore', align: 'center' },
{ title: '是否推荐立项', scopedSlots: { customRender: 'supportState' }, align: 'center' },
{ title: '不推荐原因', scopedSlots: { customRender: 'noSupportReason' }, align: 'center' },
{ title: '评审结果', scopedSlots: { customRender: 'evaluationType' }, align: 'center' }, { title: '评审结果', scopedSlots: { customRender: 'evaluationType' }, align: 'center' },
// { title: '评审状态', scopedSlots: { customRender: 'expertEvaluation' }, align: 'center' }, // { title: '评审状态', scopedSlots: { customRender: 'expertEvaluation' }, align: 'center' },
{ title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, }, { title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, },
......
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