Browse Source

fix: 地图路由跳转调整

master_tdsql
易浩轩 1 year ago
parent
commit
e252a6a689
  1. 7
      src/views/runManage/engineering/patrolRouteSettings/components/Drawer.vue
  2. 3
      src/views/runManage/engineering/patrolRouteSettings/index.vue

7
src/views/runManage/engineering/patrolRouteSettings/components/Drawer.vue

@ -67,7 +67,8 @@ export default {
<span>巡查记录</span>
</div>
<div class="center-table">
<el-table :data="tableData" height="636" border style="width: 100%" :span-method="handleSpanMethod">
<el-table :data="tableData" height="636" style="width: 100%" :span-method="handleSpanMethod"
header-cell-class-name="table-header-cell">
<el-table-column align="center" class="first-column" label="工程部位" width="264">
<template slot-scope="scope">
<div v-if="scope.$index == 0">
@ -406,4 +407,8 @@ export default {
max-height: 70px !important;
overflow: auto;
}
/deep/.table-header-cell {
background-color: #fff !important;
}
</style>

3
src/views/runManage/engineering/patrolRouteSettings/index.vue

@ -17,8 +17,7 @@ export default {
},
watch: {
selectTab(newVal, oldVal) {
console.log('selectTab 值发生变化:', newVal, oldVal);
this.$router.push('/inspectionPlan')
this.$router.push(this.$route.query.editor ? '/inspectionPlan' : '/inspectionRecords')
}
},
}

Loading…
Cancel
Save