src/views/eam/maintenance/EamInspectionOrderList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/eam/maintenance/EamThirdMaintenanceOrderList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/eam/maintenance/EamInspectionOrderList.vue
@@ -1,33 +1,91 @@ <template> <a-card :bordered="false"> <!-- 查询区域 --> <div class="table-page-search-wrapper" v-if="isDisplayOperation"> <a-form layout="inline" @keyup.enter.native="searchQuery"> <div class="table-page-search-wrapper" v-if="isDisplayOperation" > <a-form layout="inline" @keyup.enter.native="searchQuery" > <a-row :gutter="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="工单号"> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum"></a-input> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum" ></a-input> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="设备编号"> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId"></lx-search-equipment-select> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId" ></lx-search-equipment-select> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24" > <a-form-item label="计划点检日期"> <a-range-picker v-model="queryParam.inspectionDateRange" @change="onInspectionDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> <a-range-picker v-model="queryParam.inspectionDateRange" @change="onInspectionDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="点检状态"> <j-dict-select-tag placeholder="请选择点检状态" dict-code="inspection_status" v-model="queryParam.inspectionStatus" /> <j-dict-select-tag placeholder="请选择点检状态" dict-code="inspection_status" v-model="queryParam.inspectionStatus" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :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-col :xl="4" :lg="7" :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> </span> </a-col> </a-row> @@ -36,15 +94,31 @@ <!-- 查询区域-END --> <!-- 操作按钮区域 --> <div class="table-operator" v-if="isDisplayOperation"> <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:inspection:add')">新增</a-button> <div class="table-operator" v-if="isDisplayOperation" > <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:inspection:add')" >新增</a-button> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-menu slot="overlay"> <a-menu-item key="1" v-if="isShowAuth('eam:inspection:abolish')" @click="batchZf('ABOLISH')"> <a-menu-item key="1" v-if="isShowAuth('eam:inspection:abolish')" @click="batchZf('ABOLISH')" > <a-icon type="snippets"/> 作废 </a-menu-item> <a-menu-item key="2" v-if="isShowAuth('eam:inspection:collect')" @click="batchLq('UNDER_INSPECTION')"> <a-menu-item key="2" v-if="isShowAuth('eam:inspection:collect')" @click="batchLq('UNDER_INSPECTION')" > <a-icon type="form"/> 领取 </a-menu-item> @@ -57,10 +131,17 @@ <!-- table区域-begin --> <div> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation"> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation" > <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 <a style="margin-left: 24px" @click="onClearSelected">清空</a> <a style="margin-left: 24px" @click="onClearSelected" >清空</a> </div> <a-table @@ -75,19 +156,35 @@ :loading="loading" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap" @change="handleTableChange"> @change="handleTableChange" > <span slot="action" slot-scope="text, record"> <a @click="handleEdit(record)" v-if="isShowAuth('eam:inspection:edit') && record.inspectionStatus === 'WAIT_INSPECTION'" >编辑</a> <span slot="action" slot-scope="text, record" > <a @click="handleEdit(record)" v-if="isShowAuth('eam:inspection:edit') && record.inspectionStatus === 'WAIT_INSPECTION'" >编辑</a> <a-divider type="vertical" v-if="isShowAuth('eam:inspection:edit') && record.inspectionStatus === 'WAIT_INSPECTION'" /> <a-divider type="vertical" v-if="isShowAuth('eam:inspection:edit') && record.inspectionStatus === 'WAIT_INSPECTION'" /> <a-popconfirm title="确定领取吗?" v-if="isShowAuth('eam:inspection:collect') && record.inspectionStatus === 'WAIT_INSPECTION'" @confirm="() => handleInspection(record.id)"> <a-popconfirm title="确定领取吗?" v-if="isShowAuth('eam:inspection:collect') && record.inspectionStatus === 'WAIT_INSPECTION'" @confirm="() => handleInspection(record.id)" > <a>领取</a> </a-popconfirm> <a-divider type="vertical" v-if="isShowAuth('eam:inspection:collect') && record.inspectionStatus === 'WAIT_INSPECTION'" /> <a-divider type="vertical" v-if="isShowAuth('eam:inspection:collect') && record.inspectionStatus === 'WAIT_INSPECTION'" /> <a-dropdown> <a class="ant-dropdown-link">更多 <a-icon type="down"/></a> @@ -96,19 +193,37 @@ <a @click="handleDetail(record)">详情</a> </a-menu-item> <a-menu-item v-if="isShowAuth('eam:inspection:abolish') && record.inspectionStatus === 'WAIT_INSPECTION'"> <a-popconfirm title="确定作废吗?" @confirm="() => handleOrReceive(record.id)"> <a-popconfirm title="确定作废吗?" @confirm="() => handleOrReceive(record.id)" > <a>作废</a> </a-popconfirm> </a-menu-item> </a-menu> </a-dropdown> <a-divider v-if="record.inspectionStatus === 'COMPLETE'" type="vertical" /> <a v-if="record.inspectionStatus === 'COMPLETE'" @click="handlePrint(record)" >打印</a> </span> </a-table> </div> <eam-inspection-order-modal ref="modalForm" @ok="modalFormOk"></eam-inspection-order-modal> <eam-inspection-order-modal ref="modalForm" @ok="modalFormOk" ></eam-inspection-order-modal> <inspection-order-handle ref="modalFormXq" :selectShenpiData="selectInspectionOrderXqData"/> <inspection-order-handle ref="modalFormXq" :selectShenpiData="selectInspectionOrderXqData" /> </a-card> </template> @@ -396,6 +511,11 @@ this.queryParam.inspectionDateBegin = dateString[0] this.queryParam.inspectionDateEnd = dateString[1] }, handlePrint(record) { let href = `${window._CONFIG['domianURL']}/jmreport/view/1094871242505912320?id=` + record.id + `&equipmentId=` + record.equipmentId + `&inspectionDate=` + record.inspectionDate; //网站链接 window.open(href, "_blank"); }, } } </script> src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue
@@ -2,36 +2,91 @@ <a-card :bordered="false"> <!-- 查询区域 --> <div class="table-page-search-wrapper" v-if="isDisplayOperation"> <a-form layout="inline" @keyup.enter.native="searchQuery"> <div class="table-page-search-wrapper" v-if="isDisplayOperation" > <a-form layout="inline" @keyup.enter.native="searchQuery" > <a-row :gutter="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="工单号"> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum"></a-input> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum" ></a-input> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="设备编号"> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId"></lx-search-equipment-select> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId" ></lx-search-equipment-select> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24" > <a-form-item label="计划保养日期"> <a-range-picker v-model="queryParam.maintenanceDateRange" @change="onMaintenanceDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> <a-range-picker v-model="queryParam.maintenanceDateRange" @change="onMaintenanceDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="保养状态"> <j-dict-select-tag placeholder="请选择保养状态" dict-code="second_maintenance_status" v-model="queryParam.maintenanceStatus" /> <j-dict-select-tag placeholder="请选择保养状态" dict-code="second_maintenance_status" v-model="queryParam.maintenanceStatus" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :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-col :xl="4" :lg="7" :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> </span> </a-col> @@ -40,16 +95,32 @@ </div> <!-- 操作按钮区域 --> <div class="table-operator" v-if="isDisplayOperation"> <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:secondMaintenance:add')">新增 <div class="table-operator" v-if="isDisplayOperation" > <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:secondMaintenance:add')" >新增 </a-button> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-menu slot="overlay"> <a-menu-item key="1" @click="handlerBatchAbolish" v-if="isShowAuth('eam:secondMaintenance:abolish')"> <a-menu-item key="1" @click="handlerBatchAbolish" v-if="isShowAuth('eam:secondMaintenance:abolish')" > <a-icon type="delete" /> 作废 </a-menu-item> <a-menu-item key="2" @click="handlerBatchCollect" v-if="isShowAuth('eam:secondMaintenance:collect')"> <a-menu-item key="2" @click="handlerBatchCollect" v-if="isShowAuth('eam:secondMaintenance:collect')" > <a-icon type="form" /> 领取 </a-menu-item> @@ -62,10 +133,16 @@ <!-- table区域-begin --> <div> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation"> <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 <a style="margin-left: 24px" @click="onClearSelected">清空</a> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation" > <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 <a style="margin-left: 24px" @click="onClearSelected" >清空</a> </div> <a-table @@ -80,25 +157,45 @@ class="j-table-force-nowrap" :scroll="{x:'max-content'}" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> @change="handleTableChange" > <span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record" > <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'"> <a @click="handleEdit(record)" v-if="isShowAuth('eam:secondMaintenance:edit')">编辑</a> <a @click="handleEdit(record)" v-if="isShowAuth('eam:secondMaintenance:edit')" >编辑</a> <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:edit')" /> <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:edit')" /> <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:secondMaintenance:collect')"> <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:secondMaintenance:collect')" > <a>领取</a> </a-popconfirm> <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:collect')" /> <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:collect')" /> <a-dropdown> <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> <a-menu slot="overlay"> <a-menu-item v-if="isShowAuth('eam:secondMaintenance:abolish')"> <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)" > <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)" > <a>作废</a> </a-popconfirm> </a-menu-item> @@ -111,7 +208,10 @@ <template v-else> <a @click="handleDetail(record)">详情</a> <a-divider type="vertical" /> <a @click="handlePrint(record)">打印</a> </template> </span> </a-table> @@ -119,9 +219,15 @@ <!-- table区域-end --> <!-- 表单区域 --> <eamSecondMaintenanceOrder-modal ref="modalForm" @ok="modalFormOk"></eamSecondMaintenanceOrder-modal> <eamSecondMaintenanceOrder-modal ref="modalForm" @ok="modalFormOk" ></eamSecondMaintenanceOrder-modal> <second-maintenance-approval-modal ref="secondMaintenanceApprovalModal" :selectShenpiData="selectSecondMaintenanceData" /> <second-maintenance-approval-modal ref="secondMaintenanceApprovalModal" :selectShenpiData="selectSecondMaintenanceData" /> </a-card> </template> @@ -451,7 +557,13 @@ this.$refs.secondMaintenanceApprovalModal.recordDetail(record) this.$refs.secondMaintenanceApprovalModal.title = '详情' this.$refs.secondMaintenanceApprovalModal.disableSubmit = true } }, handlePrint(record) { // let href = `${window._CONFIG['domianURL']}/jmreport/view/1094871242505912320`; //网站链接 let href = `${window._CONFIG['domianURL']}/jmreport/view/1094834721929232384?id=` + record.id; //网站链接 window.open(href, "_blank"); }, } } </script> src/views/eam/maintenance/EamThirdMaintenanceOrderList.vue
@@ -2,36 +2,91 @@ <a-card :bordered="false"> <!-- 查询区域 --> <div class="table-page-search-wrapper" v-if="isDisplayOperation"> <a-form layout="inline" @keyup.enter.native="searchQuery"> <div class="table-page-search-wrapper" v-if="isDisplayOperation" > <a-form layout="inline" @keyup.enter.native="searchQuery" > <a-row :gutter="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="工单号"> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum"></a-input> <a-input placeholder="请输入工单号" v-model="queryParam.orderNum" ></a-input> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="设备编号"> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId"></lx-search-equipment-select> <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId" ></lx-search-equipment-select> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24" > <a-form-item label="计划保养日期"> <a-range-picker v-model="queryParam.maintenanceDateRange" @change="onMaintenanceDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> <a-range-picker v-model="queryParam.maintenanceDateRange" @change="onMaintenanceDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :md="8" :sm="24"> <a-col :xl="4" :lg="7" :md="8" :sm="24" > <a-form-item label="保养状态"> <j-dict-select-tag placeholder="请选择保养状态" dict-code="second_maintenance_status" v-model="queryParam.maintenanceStatus" /> <j-dict-select-tag placeholder="请选择保养状态" dict-code="second_maintenance_status" v-model="queryParam.maintenanceStatus" /> </a-form-item> </a-col> <a-col :xl="4" :lg="7" :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-col :xl="4" :lg="7" :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> </span> </a-col> @@ -40,16 +95,32 @@ </div> <!-- 操作按钮区域 --> <div class="table-operator" v-if="isDisplayOperation"> <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:secondMaintenance:add')">新增 <div class="table-operator" v-if="isDisplayOperation" > <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:secondMaintenance:add')" >新增 </a-button> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-menu slot="overlay"> <a-menu-item key="1" @click="handlerBatchAbolish" v-if="isShowAuth('eam:secondMaintenance:abolish')"> <a-menu-item key="1" @click="handlerBatchAbolish" v-if="isShowAuth('eam:secondMaintenance:abolish')" > <a-icon type="delete" /> 作废 </a-menu-item> <a-menu-item key="2" @click="handlerBatchCollect" v-if="isShowAuth('eam:secondMaintenance:collect')"> <a-menu-item key="2" @click="handlerBatchCollect" v-if="isShowAuth('eam:secondMaintenance:collect')" > <a-icon type="form" /> 领取 </a-menu-item> @@ -62,10 +133,16 @@ <!-- table区域-begin --> <div> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation"> <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 <a style="margin-left: 24px" @click="onClearSelected">清空</a> <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;" v-if="isDisplayOperation" > <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 <a style="margin-left: 24px" @click="onClearSelected" >清空</a> </div> <a-table @@ -80,25 +157,45 @@ class="j-table-force-nowrap" :scroll="{x:'max-content'}" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> @change="handleTableChange" > <span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record" > <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'"> <a @click="handleEdit(record)" v-if="isShowAuth('eam:thirdMaintenance:edit')">编辑</a> <a @click="handleEdit(record)" v-if="isShowAuth('eam:thirdMaintenance:edit')" >编辑</a> <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:edit')" /> <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:edit')" /> <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:thirdMaintenance:collect')"> <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:thirdMaintenance:collect')" > <a>领取</a> </a-popconfirm> <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:collect')" /> <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:collect')" /> <a-dropdown> <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> <a-menu slot="overlay"> <a-menu-item v-if="isShowAuth('eam:thirdMaintenance:abolish')"> <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)"> <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)" > <a>作废</a> </a-popconfirm> </a-menu-item> @@ -112,6 +209,15 @@ <template v-else> <a @click="handleDetail(record)">详情</a> </template> <a-divider v-if="record.maintenanceStatus === 'COMPLETE'" type="vertical" /> <a v-if="record.maintenanceStatus === 'COMPLETE'" @click="handlePrint(record)" >打印</a> </span> </a-table> @@ -119,9 +225,15 @@ <!-- table区域-end --> <!-- 表单区域 --> <eamThirdMaintenanceOrder-modal ref="modalForm" @ok="modalFormOk"></eamThirdMaintenanceOrder-modal> <eamThirdMaintenanceOrder-modal ref="modalForm" @ok="modalFormOk" ></eamThirdMaintenanceOrder-modal> <third-maintenance-approval-modal ref="thirdMaintenanceApprovalModal" :selectShenpiData="selectThirdMaintenanceData" /> <third-maintenance-approval-modal ref="thirdMaintenanceApprovalModal" :selectShenpiData="selectThirdMaintenanceData" /> </a-card> </template> @@ -461,7 +573,13 @@ this.$refs.thirdMaintenanceApprovalModal.recordDetail(record) this.$refs.thirdMaintenanceApprovalModal.title = '详情' this.$refs.thirdMaintenanceApprovalModal.disableSubmit = true } }, handlePrint(record) { let href = `${window._CONFIG['domianURL']}/jmreport/view/1094880052100399104?id=` + record.id; // + `&orderId=` + record.id; //网站链接 window.open(href, "_blank"); }, } } </script>