|
@@ -10,22 +10,14 @@
|
|
|
>{{item.name}}</li>
|
|
|
</ul>
|
|
|
<div>
|
|
|
- <el-button
|
|
|
- v-if="activeNav==='DetailTable'"
|
|
|
- type="primary"
|
|
|
- plain
|
|
|
- v-permission="permissionBtn.dataSourcePermission.dataSource_detailTable_refresh"
|
|
|
- >一键刷新</el-button>
|
|
|
- <el-button
|
|
|
- v-if="activeNav==='DetailTable'"
|
|
|
- type="primary"
|
|
|
- @click="handleShowSetRefreshTime"
|
|
|
- v-permission="permissionBtn.dataSourcePermission.dataSource_detailTable_setRefreshTime"
|
|
|
- >设置刷新时间</el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- @click="handleShowSetTableCol"
|
|
|
- >自定义列</el-button>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="time"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择日期"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ style="width:200px"
|
|
|
+ v-if="activeNav!='DelEDBTable'"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="main-box">
|
|
@@ -41,15 +33,6 @@ import EDBInfoChangeTable from './components/EDBInfoChangeTable.vue'
|
|
|
import StatisticTable from './components/StatisticTable.vue'
|
|
|
export default {
|
|
|
components:{DelEDBTable,DetailTable,EDBInfoChangeTable,StatisticTable},
|
|
|
- computed: {
|
|
|
- showFilterDate(){
|
|
|
- if(this.activeNav==='DelEDBTable') return false
|
|
|
- if(this.activeNav==='DetailTable'&&this.permissionBtn.checkPermissionBtn(this.permissionBtn.dataSourcePermission.dataSource_detailTable_filterDate)) return true
|
|
|
- if(this.activeNav==='StatisticTable'&&this.permissionBtn.checkPermissionBtn(this.permissionBtn.dataSourcePermission.dataSource_statisticTable_filterDate)) return true
|
|
|
- if(this.activeNav==='EDBInfoChangeTable'&&this.permissionBtn.checkPermissionBtn(this.permissionBtn.dataSourcePermission.dataSource_edbInfoTable_filterDate)) return true
|
|
|
- return false
|
|
|
- }
|
|
|
- },
|
|
|
data() {
|
|
|
return {
|
|
|
navOpt:[
|
|
@@ -59,12 +42,10 @@ export default {
|
|
|
{name:'指标信息变更表',key:'EDBInfoChangeTable'}
|
|
|
],
|
|
|
activeNav:'DetailTable',
|
|
|
+ time:''
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- handleShowSetRefreshTime(){
|
|
|
- this.$refs.comIns.handleShowSetRefreshTime()
|
|
|
- },
|
|
|
handleShowSetTableCol(){
|
|
|
this.$refs.comIns.handleShowSetTableCol()
|
|
|
}
|