| | |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange" |
| | | :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" |
| | | > |
| | | <!-- :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" --> |
| | | <!--字符串超长截取省略号显示--> |
| | | <span |
| | | slot="num" |
| | |
| | | :length="15" |
| | | /> |
| | | </span> |
| | | <!-- <span |
| | | slot="status" |
| | | slot-scope="text,record" |
| | | > |
| | | <a-badge |
| | | v-if="record.status==1" |
| | | status="success" |
| | | /> |
| | | <span |
| | | v-if="record.status==1" |
| | | class="success" |
| | | >启用</span> |
| | | <a-badge |
| | | v-if="record.status==0" |
| | | status="error" |
| | | /> |
| | | <span |
| | | v-if="record.status==0" |
| | | class="error" |
| | | >禁用</span> |
| | | </span> --> |
| | | |
| | | <span |
| | | slot="action" |
| | | slot-scope="text, record" |
| | |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> |
| | | <!-- <a-menu-item v-else> |
| | | <a-popconfirm title="当前信息已被引用,请先删除关联信息后再执行删除操作"> |
| | | <a class="frozenRowClass">删除</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> --> |
| | | |
| | | <!-- <a-menu-item v-if="record.status==1"> |
| | | <a-popconfirm |
| | | title="确定禁用吗?" |
| | | @confirm="() => handleActive(record.id)" |
| | | > |
| | | <a>禁用</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> --> |
| | | <!-- <a-menu-item v-if="record.status==0"> |
| | | <a-popconfirm |
| | | title="确定启用吗?" |
| | | @confirm="() => handleActive(record.id)" |
| | | > |
| | | <a>启用</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> --> |
| | | </a-menu> |
| | | </a-dropdown> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | <!-- table区域-end --> |
| | | |
| | | <maintenance-project-model |
| | | ref="modalForm" |
| | |
| | | align: 'center', |
| | | dataIndex: 'standard', |
| | | }, |
| | | { |
| | | title: '保养项目分类', |
| | | align: 'center', |
| | | dataIndex: 'maintenanceProjectCategoryNumName', |
| | | scopedSlots: { |
| | | customRender: 'maintenanceProjectCategoryNumName' |
| | | }, |
| | | }, |
| | | // { |
| | | // title: '保养项目分类', |
| | | // align: 'center', |
| | | // dataIndex: 'maintenanceProjectCategoryNumName', |
| | | // scopedSlots: { |
| | | // customRender: 'maintenanceProjectCategoryNumName' |
| | | // }, |
| | | // }, |
| | | // { |
| | | // title: '维保类型', |
| | | // align: 'center', |
| | |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceSpecialtyId_dictText', |
| | | // }, |
| | | { |
| | | title: '安全要求', |
| | | align: "center", |
| | | dataIndex: 'maintenanceRequire', |
| | | }, |
| | | { |
| | | title: '维保方法', |
| | | align: "center", |
| | | dataIndex: 'maintenanceMethod_dictText', |
| | | }, |
| | | { |
| | | title: '维保工具', |
| | | align: "center", |
| | | dataIndex: 'maintenanceTool', |
| | | }, |
| | | // { |
| | | // title: '安全要求', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceRequire', |
| | | // }, |
| | | // { |
| | | // title: '维保方法', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceMethod_dictText', |
| | | // }, |
| | | // { |
| | | // title: '维保工具', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceTool', |
| | | // }, |
| | | { |
| | | title: '保养部位', |
| | | align: "center", |
| | |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | }, |
| | | { |
| | | title: '修改人', |
| | | align: "center", |
| | | dataIndex: 'updateBy', |
| | | }, |
| | | { |
| | | title: '修改时间', |
| | | align: "center", |
| | | dataIndex: 'updateTime', |
| | | }, |
| | | // { |
| | | // title: '修改人', |
| | | // align: "center", |
| | | // dataIndex: 'updateBy', |
| | | // }, |
| | | // { |
| | | // title: '修改时间', |
| | | // align: "center", |
| | | // dataIndex: 'updateTime', |
| | | // }, |
| | | { |
| | | |
| | | title: '操作', |