| | |
| | | <div> |
| | | <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading" |
| | | :scroll="{y:265}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange"> |
| | | |
| | | <!-- 字符串超长截取省略号显示--> |
| | | <span slot="docName" slot-scope="text"> |
| | | <j-ellipsis :value="text"/> |
| | | </span> |
| | | </a-table> |
| | | |
| | | <DocumentModal ref="modalForm" @ok="modalFormOk"/> |
| | | |
| | | <has-received-document-assign-modal :size="size" ref="documentAssignModalRef" |
| | | :currentDocumentInfo="currentRightClickedDocumentInfo"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { getAction } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import DocumentModal from '../../../../common/DocumentModal.vue' |
| | | import HasReceivedDocumentAssignModal from './HasReceivedDocumentAssignModal' |
| | | |
| | | export default { |
| | | name: 'HasReceivedDocumentTableList', |
| | | components: { DocumentModal }, |
| | | components: { HasReceivedDocumentAssignModal, DocumentModal }, |
| | | mixins: [JeecgListMixin], |
| | | props: { |
| | | currentTreeNodeInfo: { |
| | | type: Object |
| | | }, |
| | | currentTypeOfDevice:{ |
| | | type:Number |
| | | currentTypeOfDevice: { |
| | | type: Number |
| | | }, |
| | | size: { |
| | | type: String |
| | |
| | | dataIndex: 'docName', |
| | | key: 'docName', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'docName' }, |
| | | width: 300, |
| | | sorter: true |
| | | }, |
| | | { title: '代码版本', dataIndex: 'docAlias', align: 'center' }, |
| | | { |
| | | title: '出库状态', |
| | | dataIndex: 'pullStatus_dictText', |
| | |
| | | }, |
| | | { |
| | | 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' }, |
| | |
| | | this.$refs.modalForm.title = modalTitle |
| | | }, |
| | | |
| | | handleDocumentAssign(record, modalTitle) { |
| | | /** |
| | | * 控制指派到产品弹窗 |
| | | * @param record 表格行信息 |
| | | * @param modalTitle 弹窗标题 |
| | | */ |
| | | handleDocumentRecAssign(record, modalTitle) { |
| | | this.$refs.documentAssignModalRef.title = modalTitle |
| | | this.$refs.documentAssignModalRef.visible = true |
| | | }, |