如果提交了当前报表则不显示报表列表
This commit is contained in:
parent
855cc6b36e
commit
f4d0117c6a
|
@ -5,7 +5,7 @@
|
|||
</style>
|
||||
|
||||
<div id="reportMain">
|
||||
<ul class="nav nav-tabs">
|
||||
<ul class="nav nav-tabs" v-if="showReportList">
|
||||
<li class="nav-item" v-for="m in reportList">
|
||||
<a class="nav-link" href="#" v-on:click="cli(m)">{{m}}</a>
|
||||
</li>
|
||||
|
@ -19,6 +19,7 @@
|
|||
reportList: [],
|
||||
url: myjs.urls.files,
|
||||
fileContentUrl: myjs.urls.fileContentUrl,
|
||||
showReportList: true,
|
||||
},
|
||||
created() {
|
||||
$.get(this.url, function (d) {
|
||||
|
@ -26,6 +27,7 @@
|
|||
var initReport = $.cookie("_initReport");
|
||||
if (vm.reportList.indexOf(initReport) >= 0) {
|
||||
vm.cli(initReport);
|
||||
vm.showReportList = false;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user