| | |
| | | v-model="queryParam.maintenanceStatus"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="3" :lg="4" :md="8" :sm="24"> |
| | | <a-form-item label="抽检标记"> |
| | | <j-dict-select-tag placeholder="请选择抽检标记" dict-code="yn" |
| | | v-model="queryParam.randomInspectionFlag"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="3" :lg="4" :md="8" :sm="24"> |
| | | <template v-if="toggleSearchStatus"> |
| | | <a-col :xl="4" :lg="4" :md="8" :sm="24"> |
| | | <a-form-item label="初验收抽检"> |
| | | <j-dict-select-tag placeholder="请选择抽检标记" dict-code="yn" |
| | | v-model="queryParam.randomInspectionFlag"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="4" :lg="4" :md="8" :sm="24"> |
| | | <a-form-item label="终验收抽检"> |
| | | <j-dict-select-tag placeholder="请选择抽检标记" dict-code="yn" |
| | | v-model="queryParam.finalRandomInspectionFlag"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | </template> |
| | | <a-col :xl="4" :lg="4" :md="8" :sm="24"> |
| | | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="info" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
| | | <a @click="handleToggleSearch" style="margin-left: 8px"> |
| | | {{ toggleSearchStatus ? '收起' : '展开' }} |
| | | <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> |
| | | </a> |
| | | </span> |
| | | </a-col> |
| | | |
| | |
| | | :scroll="{x:'max-content'}" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="randomInspectionFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否"/> |
| | | </span> |
| | | <span slot="finalRandomInspectionFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否"/> |
| | | </span> |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE' && isShowAuth('eam:weekMaintenance:edit')"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'"> |
| | | <a @click="handleEdit(record)" v-if="isShowAuth('eam:weekMaintenance:edit')">编辑</a> |
| | | |
| | | <a-divider type="vertical"/> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:edit')"/> |
| | | |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)"> |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:weekMaintenance:collect')"> |
| | | <a>领取</a> |
| | | </a-popconfirm> |
| | | |
| | | <a-divider type="vertical"/> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:collect')"/> |
| | | |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down"/></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a-menu-item v-if="isShowAuth('eam:weekMaintenance:abolish')"> |
| | | <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)"> |
| | | <a>作废</a> |
| | | </a-popconfirm> |
| | |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '安装位置', |
| | | align: 'center', |
| | | dataIndex: 'installationPosition' |
| | | }, |
| | | { |
| | | title: '标准名称', |
| | | align: 'center', |
| | | dataIndex: 'standardId_dictText', |
| | |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '初验收抽检', |
| | | align: 'center', |
| | | dataIndex: 'randomInspectionFlag', |
| | | width: 60, |
| | | scopedSlots: { customRender: 'randomInspectionFlag' } |
| | | }, |
| | | { |
| | | title: '终验收人', |
| | | align: 'center', |
| | | dataIndex: 'finalAcceptanceUser_dictText', |
| | |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '终验收抽检', |
| | | align: 'center', |
| | | dataIndex: 'finalRandomInspectionFlag', |
| | | width: 60, |
| | | scopedSlots: { customRender: 'finalRandomInspectionFlag' } |
| | | }, |
| | | { |
| | | title: '备注', |
| | | align: 'center', |
| | | dataIndex: 'remark', |