|
|
@@ -28,14 +28,16 @@
|
|
|
</template>
|
|
|
<!-- 操作列 -->
|
|
|
<template v-slot:action="{ row }">
|
|
|
- <el-link
|
|
|
- v-if="row.orderStatus === 3"
|
|
|
+ <!-- <el-link
|
|
|
+
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
@click="handleExport(row)"
|
|
|
>
|
|
|
预览打印
|
|
|
- </el-link>
|
|
|
+ </el-link> -->
|
|
|
+ <jimureportBrowse v-if="row.orderStatus === 3" :businessId="row.id" businessCode="qmsprint"></jimureportBrowse>
|
|
|
+
|
|
|
<el-link
|
|
|
v-if="row.orderStatus !== 3 && row.orderStatus !== 4"
|
|
|
type="primary"
|
|
|
@@ -94,17 +96,17 @@
|
|
|
import signingUpWork from '@/views/maintenance/components/signingUpWork.vue';
|
|
|
import { getWordOrderDetail } from '@/api/maintenance/patrol_maintenance';
|
|
|
|
|
|
+ import jimureportBrowse from '@/components/jimureport/browseModal.vue';
|
|
|
import printWorkOrder from './components/printWorkOrder.vue';
|
|
|
|
|
|
import { getToken } from '@/utils/token-util';
|
|
|
-
|
|
|
export default {
|
|
|
components: {
|
|
|
WorkSearch,
|
|
|
redeployOther,
|
|
|
signingUpWork,
|
|
|
edit,
|
|
|
- printWorkOrder
|
|
|
+ printWorkOrder,jimureportBrowse
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -289,12 +291,7 @@
|
|
|
handlePrint(row, val) {
|
|
|
this.$refs.printRef11.open(row.id, val);
|
|
|
},
|
|
|
- handleExport(row) {
|
|
|
- const url = `http://192.168.120.128:8085/jmreport/view/1059771706421719040?token=${getToken()}&id=${
|
|
|
- row.id
|
|
|
- }`;
|
|
|
- window.open(url, '_blank');
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
};
|
|
|
</script>
|