zhuxinbo 5 vuotta sitten
vanhempi
commit
324f2ce7a4
3 muutettua tiedostoa jossa 142 lisäystä ja 137 poistoa
  1. 1 1
      src/mixins/JeecgListMixin.js
  2. 138 133
      src/views/modules/agent/KuaishouAgentAccountList.vue
  3. 3 3
      vue.config.js

+ 1 - 1
src/mixins/JeecgListMixin.js

@@ -148,7 +148,7 @@ export const JeecgListMixin = {
         this.queryParam.createTime = this.editDate(this.queryParam.createTime)
       }
       var param = Object.assign(sqp, this.queryParam, this.isorter, this.filters);
-      param.field = this.getQueryField();
+    //   param.field = this.getQueryField();
       param.pageNo = this.ipagination.current;
       param.pageSize = this.ipagination.pageSize;
       return filterObj(param);

+ 138 - 133
src/views/modules/agent/KuaishouAgentAccountList.vue

@@ -1,11 +1,9 @@
 <template>
   <a-card :bordered="false">
-
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline">
         <a-row :gutter="24">
-
           <a-col :md="6" :sm="8">
             <a-form-item label="广告主ID">
               <a-input placeholder="请输入广告主ID" v-model="queryParam.accountId"></a-input>
@@ -21,7 +19,16 @@
               <a-input placeholder="请输入公司名称" v-model="queryParam.corporationName"></a-input>
             </a-form-item>
           </a-col>
-          <a-col :md="6" :sm="8" >
+          <a-col :md="6" :sm="8">
+            <a-form-item label="审核状态">
+              <a-select v-model="queryParam.reviewStatus">
+                <a-select-option :value="1">审核中</a-select-option>
+                <a-select-option :value="2">审核通过</a-select-option>
+                <a-select-option :value="3">审核拒绝</a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col>
+          <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>
@@ -38,7 +45,6 @@
 
     <!-- table区域-begin -->
     <div>
-
       <a-table
         ref="table"
         size="middle"
@@ -48,8 +54,8 @@
         :dataSource="dataSource"
         :pagination="ipagination"
         :loading="loading"
-        @change="handleTableChange">
-
+        @change="handleTableChange"
+      >
       </a-table>
     </div>
     <!-- table区域-end -->
@@ -57,138 +63,137 @@
 </template>
 
 <script>
-  import KuaishouAgentAccountModal from './modules/KuaishouAgentAccountModal'
-  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+import KuaishouAgentAccountModal from './modules/KuaishouAgentAccountModal'
+import { JeecgListMixin } from '@/mixins/JeecgListMixin'
 
-  export default {
-    name: "KuaishouAgentAccountList",
-    mixins:[JeecgListMixin],
-    components: {
-      KuaishouAgentAccountModal
-    },
-    data () {
-      return {
-        description: '快手代理商账户表管理页面',
-        // 表头
-        columns: [
-		   {
-            title: '广告主ID',
-            align:"center",
-            dataIndex: 'accountId',
-          },
-          {
-            title: '用户ID',
-            align:"center",
-            dataIndex: 'userId'
-          },
-		   {
-            title: '广告主名称',
-            align:"center",
-            dataIndex: 'accountName'
-           },
-		   {
-            title: '现金余额',
-            align:"center",
-            dataIndex: 'balance'
-           },
-		   {
-            title: '信用余额',
-            align:"center",
-            dataIndex: 'creditBalance'
-           },
-		   // {
-       //      title: 'extendedBalance',
-       //      align:"center",
-       //      dataIndex: 'extendedBalance'
-       //     },
-		   {
-            title: '返点余额',
-            align:"center",
-            dataIndex: 'rebate'
-           },
-		   // {
-       //      title: 'preRebate',
-       //      align:"center",
-       //      dataIndex: 'preRebate'
-       //     },
-		   {
-            title: '框返余额',
-            align:"center",
-            dataIndex: 'contractRebate'
-           },
-		   {
-            title: '激励余额',
-            align:"center",
-            dataIndex: 'directRebate'
-           },
-		   {
-            title: '总余额',
-            align:"center",
-            dataIndex: 'totalBalance'
-           },
-		   // {
-       //      title: 'kuaibiBalance',
-       //      align:"center",
-       //      dataIndex: 'kuaibiBalance'
-       //     },
-		   // {
-       //      title: 'pushBalance',
-       //      align:"center",
-       //      dataIndex: 'pushBalance'
-       //     },
-		   // {
-       //      title: 'recharged',
-       //      align:"center",
-       //      dataIndex: 'recharged'
-       //     },
-		   {
-            title: '公司名称',
-            align:"center",
-            dataIndex: 'corporationName'
-           },
-		   {
-            title: '审核状态',
-            align:"center",
-            dataIndex: 'reviewStatus',
-             customRender: (text, row, index) => {
-               if (text == 1) { // 前4行数据以a标签的形式被渲染
-                 return '审核中'
-               }else if(text == 2){
-                 return '审核通过'
-               }else if(text == 3){
-                 return '审核拒绝';
-               }
-             }
-           },
-		   // {
-       //      title: 'frozenStatus',
-       //      align:"center",
-       //      dataIndex: 'frozenStatus'
-       //     },
-		   // {
-       //      title: 'transferAccountStatus',
-       //      align:"center",
-       //      dataIndex: 'transferAccountStatus'
-       //     },
-        ],
-		url: {
-          list: "/kuaishou/kuaishouAgentAccount/list",
-          delete: "/kuaishou/kuaishouAgentAccount/delete",
-          deleteBatch: "/kuaishou/kuaishouAgentAccount/deleteBatch",
-          exportXlsUrl: "kuaishou/kuaishouAgentAccount/exportXls",
-       },
+export default {
+  name: 'KuaishouAgentAccountList',
+  mixins: [JeecgListMixin],
+  components: {
+    KuaishouAgentAccountModal
+  },
+  data() {
+    return {
+      description: '快手代理商账户表管理页面',
+      // 表头
+      columns: [
+        {
+          title: '广告主ID',
+          align: 'center',
+          dataIndex: 'accountId'
+        },
+        {
+          title: '用户ID',
+          align: 'center',
+          dataIndex: 'userId'
+        },
+        {
+          title: '广告主名称',
+          align: 'center',
+          dataIndex: 'accountName'
+        },
+        {
+          title: '现金余额',
+          align: 'center',
+          dataIndex: 'balance'
+        },
+        {
+          title: '信用余额',
+          align: 'center',
+          dataIndex: 'creditBalance'
+        },
+        // {
+        //      title: 'extendedBalance',
+        //      align:"center",
+        //      dataIndex: 'extendedBalance'
+        //     },
+        {
+          title: '返点余额',
+          align: 'center',
+          dataIndex: 'rebate'
+        },
+        // {
+        //      title: 'preRebate',
+        //      align:"center",
+        //      dataIndex: 'preRebate'
+        //     },
+        {
+          title: '框返余额',
+          align: 'center',
+          dataIndex: 'contractRebate'
+        },
+        {
+          title: '激励余额',
+          align: 'center',
+          dataIndex: 'directRebate'
+        },
+        {
+          title: '总余额',
+          align: 'center',
+          dataIndex: 'totalBalance'
+        },
+        // {
+        //      title: 'kuaibiBalance',
+        //      align:"center",
+        //      dataIndex: 'kuaibiBalance'
+        //     },
+        // {
+        //      title: 'pushBalance',
+        //      align:"center",
+        //      dataIndex: 'pushBalance'
+        //     },
+        // {
+        //      title: 'recharged',
+        //      align:"center",
+        //      dataIndex: 'recharged'
+        //     },
+        {
+          title: '公司名称',
+          align: 'center',
+          dataIndex: 'corporationName'
+        },
+        {
+          title: '审核状态',
+          align: 'center',
+          dataIndex: 'reviewStatus',
+          customRender: (text, row, index) => {
+            if (text == 1) {
+              // 前4行数据以a标签的形式被渲染
+              return '审核中'
+            } else if (text == 2) {
+              return '审核通过'
+            } else if (text == 3) {
+              return '审核拒绝'
+            }
+          }
+        }
+        // {
+        //      title: 'frozenStatus',
+        //      align:"center",
+        //      dataIndex: 'frozenStatus'
+        //     },
+        // {
+        //      title: 'transferAccountStatus',
+        //      align:"center",
+        //      dataIndex: 'transferAccountStatus'
+        //     },
+      ],
+      url: {
+        list: '/kuaishou/kuaishouAgentAccount/list',
+        delete: '/kuaishou/kuaishouAgentAccount/delete',
+        deleteBatch: '/kuaishou/kuaishouAgentAccount/deleteBatch',
+        exportXlsUrl: 'kuaishou/kuaishouAgentAccount/exportXls'
+      }
     }
   },
   computed: {
-    importExcelUrl: function(){
-      return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+    importExcelUrl: function() {
+      return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`
     }
   },
-    methods: {
-     
-    }
-  }
+  methods: {}
+}
 </script>
 <style scoped>
-  @import '~@assets/less/common.less'
-</style>
+@import '~@assets/less/common.less';
+</style>

+ 3 - 3
vue.config.js

@@ -65,13 +65,13 @@ module.exports = {
        },*/
       '/jeecg-boot': {
         // target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
-        // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
+        target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.143:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
-        target: 'http://192.168.2.110:8080', //请求本地 需要jeecg-boot后台项目  英豪
+        // target: 'http://192.168.2.110:8080', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目  孙震
-        target:'http://127.0.0.1:8080',
+        // target:'http://127.0.0.1:8080',
         ws: false,
         changeOrigin: true
       },