Browse Source

modify dialog tabledata clear

haojianlong 5 years ago
parent
commit
4b1a6e2ab6

+ 1 - 0
src/components/ledger/cenote/dialog/addCenoteDialog.vue

@@ -97,6 +97,7 @@ export default {
     showDialog() {
       this.dialogVisible = true
       this.page.pageNumber = 1
+      this.tableData = []
       this.getTableData()
     },
     getTableData() {

+ 1 - 0
src/components/ledger/cenote/dialog/addEquipDialog.vue

@@ -91,6 +91,7 @@ export default {
     showDialog() {
       this.dialogVisible = true
       this.page.pageNumber = 1
+      this.tableData = []
       this.getTableData()
     },
     getTableData() {

+ 1 - 0
src/components/ledger/cenote/dialog/addSystemDialog.vue

@@ -73,6 +73,7 @@ export default {
     showDialog() {
       this.dialogVisible = true
       this.page.pageNumber = 1
+      this.tableData = []
       this.getTableData()
     },
     getTableData() {

+ 3 - 3
src/views/data_admin/buildAssets/index.vue

@@ -145,9 +145,9 @@ export default {
         background:#fff;
         margin-bottom: 10px;
     }
+    /deep/ .el-tabs__nav{
+        margin-left: 10px;
+    }
 }
 </style>
-<style>
-.box .el-tabs__nav {margin-left: 10px;}
-</style>