|
|
@@ -8,7 +8,7 @@
|
|
|
<button @click="handleGoToPage(record, '/basicInfo/accessStatistics')" class="action-btn">
|
|
|
<SvgIcon name="info" />
|
|
|
</button>
|
|
|
- <button @click="handleGoToPage(record, '/warningAnalysis/connectAnalysis')" class="action-btn">
|
|
|
+ <button @click="handleGoToPageQuery(record, '/warningAnalysis/connectAnalysis')" class="action-btn">
|
|
|
<SvgIcon name="chart" />
|
|
|
</button>
|
|
|
</template>
|
|
|
@@ -124,6 +124,14 @@
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ function handleGoToPageQuery(record: any, path: string) {
|
|
|
+ const mineCode = record.mineCode
|
|
|
+ router.push({
|
|
|
+ path,
|
|
|
+ query: { mineCode : mineCode},
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
// ========== 初始化 ==========
|
|
|
onMounted(async () => {
|
|
|
// 先获取生产状态字典,再加载表格
|