| | |
| | | <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange" |
| | | :scroll="{y:380}" :size="size" rowKey="docId" style="min-height: 480px"> |
| | | <span slot="docName" slot-scope="text">{{ text }}</span> |
| | | |
| | | |
| | | <!-- 字符串超长截取省略号显示--> |
| | | <span slot="docName" slot-scope="text"> |
| | | <j-ellipsis :value="text"/> |
| | | </span> |
| | | </a-table> |
| | | </a-modal> |
| | | </template> |
| | |
| | | dataIndex: 'docName', |
| | | key: 'docName', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'docName' }, |
| | | width: 300, |
| | | sorter: true |
| | | }, |
| | |
| | | }, |
| | | { |
| | | title: '状 态', |
| | | dataIndex: 'docStatus_dictText', |
| | | key: 'docStatus', |
| | | dataIndex: 'docDispatchStatus_dictText', |
| | | key: 'docDispatchStatus', |
| | | align: 'center', |
| | | filters: [ |
| | | { text: '设计', value: 1 }, |
| | | { text: '发布', value: 2 }, |
| | | { text: '归档', value: 3 } |
| | | { text: '编制', value: 1 }, |
| | | { text: '校对', value: 2 }, |
| | | { text: '批准', value: 3 }, |
| | | { text: '试切', value: 4 }, |
| | | { text: '定型', value: 5 } |
| | | ] |
| | | }, |
| | | { title: '系统指定版本', dataIndex: 'publishVersion', align: 'center', width: 200 }, |
| | |
| | | selectedRowKeys.forEach(key => { |
| | | if (attributionType !== 4) { |
| | | method = dncApi.deleteDocumentApi |
| | | queryParam = key |
| | | queryParam = { docId: key,attrType:attributionType,attrId:attributionId } |
| | | } else { |
| | | method = dncApi.deleteDeviceRelativeDocumentApi |
| | | queryParam = { docId: key, attributionId } |