Commit d223220e authored by 徐俊's avatar 徐俊

xujun

parent 2a6add17
...@@ -38,6 +38,9 @@ ...@@ -38,6 +38,9 @@
{{ record }} {{ record }}
</span> </span>
</template> </template>
<template slot="projClassInfo" slot-scope="record">
{{ record.projClass == 1 ? "一般项目" : "重点项目" }}
</template>
<template slot="option" slot-scope="record"> <template slot="option" slot-scope="record">
<a-button type="link" size="small" @click="recordClick(record, 'view')">查看</a-button> <a-button type="link" size="small" @click="recordClick(record, 'view')">查看</a-button>
<a-button type="link" size="small" v-if="record.auditResult == 1" @click="recordClick(record, 'audit')">审核</a-button> <a-button type="link" size="small" v-if="record.auditResult == 1" @click="recordClick(record, 'audit')">审核</a-button>
...@@ -104,12 +107,13 @@ export default { ...@@ -104,12 +107,13 @@ export default {
itemCount: [0, 0, 0, 0, 0], itemCount: [0, 0, 0, 0, 0],
tableData: [], tableData: [],
columns: [ columns: [
{ title: "项目名称", scopedSlots: { customRender: 'projName' } }, { title: "项目名称", scopedSlots: { customRender: 'projName' }, ellipsis: true, width: 300, },
//{ title: "项目编号", dataIndex: "projNo", align: 'center' }, //{ title: "项目编号", dataIndex: "projNo", align: 'center' },
{ title: '申请编号', dataIndex: 'appNo', align: 'center' }, { title: '申请编号', dataIndex: 'appNo', align: 'center' },
{ title: "开始时间", dataIndex: "startDate", align: 'center' }, { title: "开始时间", dataIndex: "startDate", align: 'center' },
{ title: "结束时间", dataIndex: "endDate", align: 'center' }, { title: "结束时间", dataIndex: "endDate", align: 'center' },
{ title: "申报年度", dataIndex: "reportYear", align: 'center' }, { title: "申报年度", dataIndex: "reportYear", align: 'center' },
{ title: "项目类别", scopedSlots: { customRender: 'projClassInfo' }, align: 'center', width: 80 },
{ title: '申报单位', dataIndex: 'appUnitName', align: 'center' }, { title: '申报单位', dataIndex: 'appUnitName', align: 'center' },
{ title: '申报学科', dataIndex: 'knowledgeName', align: 'center' }, { title: '申报学科', dataIndex: 'knowledgeName', align: 'center' },
{ title: '申报人', dataIndex: 'appPersonName', align: 'center' }, { title: '申报人', dataIndex: 'appPersonName', align: 'center' },
......
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