Commit 1c32aa44 authored by 徐俊's avatar 徐俊

xujun

parent ad5021da
......@@ -23,7 +23,7 @@
</a-form>
<a-divider style="height: 1px; background-color: #e8e8e8;" />
<a-table :dataSource="tableData" :columns="columns" :scroll="{ x: 'max-content' }" rowKey="id" :pagination="false" :loading="loading" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange, type: 'radio' }">
<a-table :dataSource="tableData" :columns="columns" :scroll="{ x: 'max-content' }" rowKey="id" :pagination="false" :loading="loading" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
<template slot="projName" slot-scope="record">
<a @click="recordClick(record, 'view')">{{record.projName}}</a>
</template>
......@@ -57,9 +57,9 @@ export default {
searchForm: { appNo: null, projNo: null, projName: null, reportYear: null, projState: null },
tableData: [],
columns: [
{ title: '申请编号', dataIndex: 'appNo', align: 'center' },
{ title: '项目编号', dataIndex: 'projNo', align: 'center' },
{ title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 200, ellipsis: true },
{ title: '申请编号', dataIndex: 'appNo', align: 'center', with:150 },
{ title: '项目编号', dataIndex: 'projNo', align: 'center', with:150 },
{ title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 400, ellipsis: true },
{ title: "文件名称", dataIndex: 'fileName', align: 'center', width: 200, ellipsis: true },
{ title: "扩展名", dataIndex: 'extension', align: 'center' },
{ title: '文件位置', dataIndex: 'downloadUrl', align: 'center', width: 200, ellipsis: true },
......
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