瀏覽代碼

update views/company/index.vue

wudebin 5 月之前
父節點
當前提交
03284000d5
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Strides-Admin/src/views/company/index.vue

+ 3 - 3
Strides-Admin/src/views/company/index.vue

@@ -117,7 +117,7 @@
           Eligible Sites<br/><span style="white-space: nowrap;">(w Basic Discount)</span>
         </template>
         <template slot-scope="{row}">
-          {{getEligibleCount(row.eligibleSiteCount)}}
+          <span class="link-type" @click="assignSites(row)">{{getEligibleCount(row.eligibleSiteCount)}}</span>
         </template>
       </el-table-column>
       <el-table-column
@@ -284,7 +284,7 @@ export default {
       } else {
         this.assign.item = {};
         this.assign.visible = false;
-        this.getGroupPages();
+        this.getTableData();
       }
     },
     onClickEditButton(row) {
@@ -301,7 +301,7 @@ export default {
             type: 'success',
             message: 'Delete success!'
           })
-          this.getGroupPages()
+          this.getTableData()
         }
       }).catch(error => {
         this.$message({