| | |
| | | <a-form |
| | | layout="inline" |
| | | @keyup.enter.native="searchQuery" |
| | | > <a-row :gutter="24" style="margin-bottom: 1%;"> |
| | | > <a-row |
| | | :gutter="24" |
| | | style="margin-bottom: 1%;" |
| | | > |
| | | <a-col |
| | | :md="24" |
| | | :sm="6" |
| | |
| | | icon="plus" |
| | | v-has="'report:add&edit'" |
| | | >新增</a-button> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('故障报修')">导出</a-button> |
| | | <a-button |
| | | type="primary" |
| | | icon="download" |
| | | @click="handleExportXls('故障报修')" |
| | | >导出</a-button> |
| | | </div> |
| | | |
| | | <div> |
| | |
| | | </a-menu> |
| | | </a-dropdown> --> |
| | | </span> |
| | | <span slot="jell" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="10" /> |
| | | <span |
| | | slot="jell" |
| | | slot-scope="text" |
| | | > |
| | | <j-ellipsis |
| | | :value="text" |
| | | :length="10" |
| | | /> |
| | | </span> |
| | | |
| | | </a-table> |
| | |
| | | class="table-operator" |
| | | style="margin-top: 0px" |
| | | > |
| | | <FaultDescriptionList ref="FaultDescriptionList" @ok="modalFormOk"/> |
| | | <FaultDescriptionList |
| | | ref="FaultDescriptionList" |
| | | @ok="modalFormOk" |
| | | /> |
| | | </div> |
| | | |
| | | </a-tab-pane> |
| | |
| | | } |
| | | }, |
| | | { |
| | | title: '单据号', |
| | | align: "center", |
| | | dataIndex: 'num' |
| | | }, |
| | | { |
| | | title: '状态', |
| | | align: "center", |
| | | dataIndex: 'statusName', |
| | | }, |
| | | { |
| | | title: '单据号', |
| | | title: '类型', |
| | | align: "center", |
| | | dataIndex: 'num' |
| | | dataIndex: 'type', |
| | | customRender: (text) => { |
| | | if (text == '1') { |
| | | return "被动报修"; |
| | | } else if (text == '2') { |
| | | return "主动报修"; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | title: '来源', |
| | | align: "center", |
| | | dataIndex: 'source', |
| | | customRender: (text) => { |
| | | if (text == '1') { |
| | | return "手动创建"; |
| | | } else if (text == '2') { |
| | | return "点检报修"; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | title: '统一编号', |