|
@@ -86,7 +86,7 @@
|
|
|
<!-- 进入瓦斯人工巡检历史详情 -->
|
|
|
<div v-if="deviceType == 'gasDay_normal'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('gasDay_normal')" class="enter-detail" @click.stop="goGasDayReport()">
|
|
|
+ <div v-if="deviceType.startsWith('gasDay_normal')" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
瓦斯人工巡检历史详情
|
|
|
</div>
|
|
@@ -95,7 +95,7 @@
|
|
|
<!-- 进入瓦斯日报历史详情 -->
|
|
|
<div v-if="deviceType == 'gasDayReport'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('gasDayReport')" class="enter-detail" @click.stop="gogasDayReportHis()">
|
|
|
+ <div v-if="deviceType.startsWith('gasDayReport')" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
瓦斯日报历史详情
|
|
|
</div>
|
|
@@ -104,7 +104,7 @@
|
|
|
<!-- 进入粉尘报表分析详情 -->
|
|
|
<div v-if="deviceType == 'dustDayReport'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('dustDayReport')" class="enter-detail" @click.stop="goDustDayReport()">
|
|
|
+ <div v-if="deviceType.startsWith('dustDayReport')" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
粉尘报表分析
|
|
|
</div>
|
|
@@ -112,7 +112,7 @@
|
|
|
</div>
|
|
|
<div v-if="deviceType == 'bundleDayReport'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('bundleDayReport')" class="enter-detail" @click.stop="goBundleDayReport()">
|
|
|
+ <div v-if="deviceType.startsWith('bundleDayReport')" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
束管日报分析
|
|
|
</div>
|
|
@@ -120,7 +120,7 @@
|
|
|
</div>
|
|
|
<div v-if="deviceType == 'bundleSpyDayReport'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('bundleSpyDayReport')" class="enter-detail" @click.stop="goBundleSpyDayReport()">
|
|
|
+ <div v-if="deviceType.startsWith('bundleSpyDayReport')" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
色谱仪报表分析
|
|
|
</div>
|
|
@@ -1144,31 +1144,46 @@ function goDetail(record?) {
|
|
|
} else if (deviceType.value.indexOf('pulping') != -1) {
|
|
|
const newPage = router.resolve({ path: '/grout-home', query: { id: systemID.value } });
|
|
|
window.open(newPage.href, '_blank');
|
|
|
+ } else if (deviceType.value.indexOf('gasDay_normal') != -1) {
|
|
|
+ const newPage = router.resolve({ path: '/gas/gas-report-inspect/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+ } else if (deviceType.value.indexOf('gasDayReport') != -1) {
|
|
|
+ const newPage = router.resolve({ path: '/gas/gasDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+ } else if (deviceType.value.indexOf('dustDayReport') != -1) {
|
|
|
+ const newPage = router.resolve({ path: '/dustDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+ } else if (deviceType.value.indexOf('bundleDayReport') != -1) {
|
|
|
+ const newPage = router.resolve({ path: '/bundleDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+ } else if (deviceType.value.indexOf('bundleSpyDayReport') != -1) {
|
|
|
+ const newPage = router.resolve({ path: '/bundleSpyDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
} else {
|
|
|
message.info('待开发。。。');
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-function goGasDayReport() {
|
|
|
- const newPage = router.resolve({ path: '/gas/gas-report-inspect/home' });
|
|
|
- window.open(newPage.href, '_blank');
|
|
|
-}
|
|
|
-function gogasDayReportHis() {
|
|
|
- const newPage = router.resolve({ path: '/gas/gasDayReport/home' });
|
|
|
- window.open(newPage.href, '_blank');
|
|
|
-}
|
|
|
-function goDustDayReport() {
|
|
|
- const newPage = router.resolve({ path: '/dustDayReport/home' });
|
|
|
- window.open(newPage.href, '_blank');
|
|
|
-}
|
|
|
-function goBundleDayReport() {
|
|
|
- const newPage = router.resolve({ path: '/bundleDayReport/home' });
|
|
|
- window.open(newPage.href, '_blank');
|
|
|
-}
|
|
|
-function goBundleSpyDayReport() {
|
|
|
- const newPage = router.resolve({ path: '/bundleSpyDayReport/home' });
|
|
|
- window.open(newPage.href, '_blank');
|
|
|
-}
|
|
|
+// function goGasDayReport() {
|
|
|
+// const newPage = router.resolve({ path: '/gas/gas-report-inspect/home' });
|
|
|
+// window.open(newPage.href, '_blank');
|
|
|
+// }
|
|
|
+// function gogasDayReportHis() {
|
|
|
+// const newPage = router.resolve({ path: '/gas/gasDayReport/home' });
|
|
|
+// window.open(newPage.href, '_blank');
|
|
|
+// }
|
|
|
+// function goDustDayReport() {
|
|
|
+// const newPage = router.resolve({ path: '/dustDayReport/home' });
|
|
|
+// window.open(newPage.href, '_blank');
|
|
|
+// }
|
|
|
+// function goBundleDayReport() {
|
|
|
+// const newPage = router.resolve({ path: '/bundleDayReport/home' });
|
|
|
+// window.open(newPage.href, '_blank');
|
|
|
+// }
|
|
|
+// function goBundleSpyDayReport() {
|
|
|
+// const newPage = router.resolve({ path: '/bundleSpyDayReport/home' });
|
|
|
+// window.open(newPage.href, '_blank');
|
|
|
+// }
|
|
|
function exportXls() {
|
|
|
handleExportXls('瓦斯巡检记录', getExportUrl, { devicetype: deviceType.value });
|
|
|
}
|