rkljw 1 주 전
부모
커밋
5449d85e22
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      src/views/router/routerList.vue

+ 7 - 7
src/views/router/routerList.vue

@@ -1,5 +1,5 @@
 <template>
-    <!-- 广告位管理 -->
+    <!-- 路由白名单位管理 -->
     <div>
         <!-- 头部搜索框部分 -->
         <div class="title">
@@ -34,7 +34,7 @@
         <!--表格内容 start------------------------------------------------------------>
         <div class="layerBox">
             <tableTitle :name="tableDivTitle" />
-            <button class="btn" @click="addWebsite">添加路由</button>
+            <button class="btn" @click="addWhiteRouter">添加路由</button>
             <el-row>
                 <template>
                     <el-table class="my-table" v-loading="loading" :data="tableData" style="width: 100%">
@@ -158,8 +158,8 @@ export default {
             id:"", //当前编辑的id
             ruleForm: {
                 website_id: '', //网站名称
-                function_name: '', //广告位名称
-                router_url: '', //广告位标识
+                function_name: '', //路由白名单位名称
+                router_url: '', //路由白名单位标识
                 
             },
             rules: {
@@ -177,7 +177,7 @@ export default {
                     page: this.page,
                     pageSize: this.pageSize,
                     name: this.function_name,
-                    website_id: this.webSiteName_id, //广告位名称 id
+                    website_id: this.webSiteName_id, //路由白名单位名称 id
                 }).then(data => {
                     this.loading=false;
                     console.log("返回数据",data);
@@ -239,7 +239,7 @@ export default {
                 page: this.page,
                 pageSize: this.pageSize,
                 function_name: this.function_name,
-                website_id: this.webSiteName_id, //广告位名称 id
+                website_id: this.webSiteName_id, //路由白名单位名称 id
             }).then(data => {
                 console.log(data);
                 this.tableData = data.data.rows
@@ -271,7 +271,7 @@ export default {
         },
 
         //2.0 添加
-        addWebsite() {
+        addWhiteRouter() {
             this.dialogTableVisible = true
             this.dialogName = "添加"