浏览代码

userId上传

zhuxinbo 5 年之前
父节点
当前提交
bbac43e111
共有 2 个文件被更改,包括 12 次插入14 次删除
  1. 10 12
      src/views/modules/advertiser/AdvertiserList.vue
  2. 2 2
      vue.config.js

+ 10 - 12
src/views/modules/advertiser/AdvertiserList.vue

@@ -27,7 +27,7 @@
           <a-col :md="6" :sm="8">
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
-              <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
+              <a-button type="primary" @click="searchRe" icon="reload" style="margin-left: 8px">重置</a-button>
             </span>
           </a-col>
 
@@ -287,11 +287,16 @@
         return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
       }
     },
+    created(){
+        this.queryParam.userId = this.userInfo().id
+    },
     methods: {
       ...mapGetters(["nickname", "avatar", "userInfo"]),
-
-
-
+      searchRe() {
+        this.queryParam.name = ''
+        this.queryParam.industryId = ''
+        this.loadData()
+      },
       handleSubmit() {
         /*postAction(this.url.getLoginInfo).then((res) => {
           if (res.success) {
@@ -378,14 +383,7 @@
       },
     },
 
-    handleOk(e) {
-      console.log(e);
-      this.visible = false
-    },
-    handleCancel(e) {
-      console.log(e);
-      this.visible = false
-    }
+
 
 
   }

+ 2 - 2
vue.config.js

@@ -66,8 +66,8 @@ module.exports = {
       '/jeecg-boot': {
         // target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
         // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
-        // target: 'http://192.168.2.130:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
-        target: 'http://192.168.2.133:8080', //请求本地 需要jeecg-boot后台项目  英豪
+        target: 'http://192.168.2.130:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
+        // target: 'http://192.168.2.133:8080', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
         ws: false,
         changeOrigin: true