| | |
| | | <!-- |
| | | Description: 检索电子样板List |
| | | Author: 作者 liuyh |
| | | Date: 2025-02-27 |
| | | --> |
| | | <template> |
| | | <a-modal width="75%" :title="title" :visible="visible" @cancel="visible=false" :maskClosable="false" centered |
| | | @ok="handleAssignDocumentToDevice"> |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="4" :sm="4"> |
| | | <a-col :md="2" :sm="2"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | @change="handleTableChange" |
| | | :scroll="{y:456}" :size="size" rowKey="docId"> |
| | | |
| | | <!-- 字符串超长截取省略号显示--> |
| | | <span slot="docName" slot-scope="text"> |
| | | <j-ellipsis :value="text"/> |
| | | </span> |
| | | </a-table> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | |
| | | dataIndex: 'docName', |
| | | key: 'docName', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'docName' }, |
| | | width: 200, |
| | | sorter: true |
| | | }, |
| | |
| | | ] |
| | | }, |
| | | { |
| | | title: '状 态', |
| | | title: '状 态', |
| | | dataIndex: 'docDispatchStatus_dictText', |
| | | key: 'docDispatchStatus', |
| | | align: 'center', |
| | | width: 60, |
| | | width: 80, |
| | | filters: [ |
| | | { text: '编制', value: 1 }, |
| | | { text: '校对', value: 2 }, |
| | |
| | | this.filters = {} |
| | | this.isorter = Object.assign({}, this.defaultSorter) |
| | | }, |
| | | |
| | | handleDelete() { |
| | | // 此处函数为屏蔽mixins中的同名函数,通用函数写在父级中 |
| | | }, |
| | | |
| | | triggerCorrespondingMethod({ methodName, modalTitle }) { |
| | | if (this[methodName]) { |
| | | this[methodName]() |
| | |
| | | |
| | | <style scoped lang="less"> |
| | | /deep/ .ant-modal { |
| | | .ant-modal-body{ |
| | | padding: 0 24px 12px; |
| | | } |
| | | |
| | | .tabs-container { |
| | | display: flex; |
| | | justify-content: space-between; |