| | |
| | | :md='8' |
| | | :sm='24'> |
| | | <a-form-item |
| | | label="统一编号群" |
| | | label="统一编码群" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | |
| | | v-has="'equipmentAccount:add&delete&import&Edit'" |
| | | >质保期变更</a-button> |
| | | <a-button |
| | | :disabled="selectedRowKeys.length==0" |
| | | @click="batchDel" |
| | | type="danger" |
| | | icon="delete" |
| | | v-has="'equipmentAccount:add&delete&import&Edit'" |
| | | >批量删除</a-button> |
| | | <a-button |
| | | @click="handleUpdateKeyEquipment" |
| | | type="primary" |
| | | icon="calendar" |
| | |
| | | :length="8" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoInspectionStandard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance2Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance3Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | |
| | | <template |
| | | slot="num" |
| | |
| | | |
| | | <a-tabs defaultActiveKey="1"> |
| | | <a-tab-pane |
| | | tab="工艺参数" |
| | | tab="设备文档" |
| | | key="1" |
| | | forceRender |
| | | > |
| | | <EquipmentDocumentList :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="工艺参数" |
| | | key="2" |
| | | v-if="isOpenProcess" |
| | | > |
| | | <EquipmentProcessParametersList |
| | | :mainId="selectedMainId" |
| | |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="设备精度" |
| | | key="2" |
| | | forceRender |
| | | key="3" |
| | | v-if="isOpenPrecision" |
| | | > |
| | | <EquipmentPrecisionParametersList |
| | | :isOpen="isOpenPrecision" |
| | | :mainId="precisionParametersTemplateId" |
| | | /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="设备文档" |
| | | key="3" |
| | | forceRender |
| | | > |
| | | <EquipmentDocumentList :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="备件" |
| | |
| | | <equipment-update-warranty-list :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="日保标准" |
| | | tab="点检标准" |
| | | key="7" |
| | | forceRender |
| | | > |
| | | <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | tab="二保标准" |
| | | key="8" |
| | |
| | | forceRender |
| | | > |
| | | <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="点检工单" |
| | | key="10" |
| | | forceRender |
| | | > |
| | | <daily-inspection-order-list-component :mainId="selectedMainId"></daily-inspection-order-list-component> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="二保工单" |
| | | key="11" |
| | | forceRender |
| | | > |
| | | <daily-maintenance-order-list-component :mainId="selectedMainId"></daily-maintenance-order-list-component> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | <equipment-modal |
| | |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import JEllipsis from '@/components/jeecg/JEllipsis' |
| | | import EquipmentModal from './modules/equipmentNew/EquipmentModal' |
| | | import { getAction, downFile } from '@/api/manage' |
| | | import { getAction, downFile, deleteAction } from '@/api/manage' |
| | | import EquipmentProcessParametersList from './modules/equipmentNew/EquipmentProcessParametersList' |
| | | import EquipmentDocumentList from './modules/equipmentNew/EquipmentDocumentList' |
| | | import EquipmentPrecisionParametersList from './modules/equipmentNew/EquipmentPrecisionParametersList' |
| | |
| | | import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' |
| | | import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' |
| | | import KeyEquipmentUpdateModel from './modules/equipmentNew/edit/KeyEquipmentUpdateModel.vue' |
| | | import DailyInspectionOrderListComponent from './modules/equipmentNew/DailyInspectionOrderListComponent.vue' |
| | | import DailyMaintenanceOrderListComponent from './modules/equipmentNew/DailyMaintenanceOrderListComponent.vue' |
| | | |
| | | export default { |
| | | name: "EquipmentList", |
| | |
| | | ThirdMaintenanceList, |
| | | KeyEquipmentUpdateModel, |
| | | JEllipsis, |
| | | DailyInspectionOrderListComponent, |
| | | DailyMaintenanceOrderListComponent, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | align: "center", |
| | | dataIndex: 'precisionParametersTemplateId_dictText', |
| | | }, |
| | | { |
| | | title: '有无点检标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoInspectionStandard', |
| | | scopedSlots: { customRender: 'yseNoInspectionStandard' } |
| | | }, |
| | | { |
| | | title: '有无二保标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance2Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance2Standard' } |
| | | }, |
| | | { |
| | | title: '有无三保标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance3Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance3Standard' } |
| | | }, |
| | | // { |
| | | // title: '备注', |
| | | // align: "center", |
| | |
| | | this.selectedMainId = '' |
| | | }, |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if (selectedRowKeys.length == 1) { |
| | | if (selectedRowKeys.length >= 1) { |
| | | this.selectedMainId = selectedRowKeys[0] |
| | | this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId; |
| | | this.isOpenProcess = selectionRows[0].processParameters == 1; |
| | |
| | | }, |
| | | |
| | | handleDownload() { |
| | | debugger; |
| | | var params = {}//查询条件 |
| | | params.type = "equipment" |
| | | params.pageNo = 1 |