Bläddra i källkod

调整 用户分配列表

yumeng 6 år sedan
förälder
incheckning
a356cf757e
1 ändrade filer med 28 tillägg och 37 borttagningar
  1. 28 37
      src/views/modules/advertiser/UserAllocationList.vue

+ 28 - 37
src/views/modules/advertiser/UserAllocationList.vue

@@ -6,41 +6,31 @@
       <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.userId"></a-input>
-            </a-form-item>
-          </a-col>
-          <a-col :md="6" :sm="8">
-            <a-form-item label="账户id --授权">
-              <a-input placeholder="请输入账户id --授权" v-model="queryParam.accountId"></a-input>
-            </a-form-item>
-          </a-col>
-          <template v-if="toggleSearchStatus">
+
+          <template>
             <a-col :md="6" :sm="8">
               <a-form-item label="广告主ID">
                 <a-input placeholder="请输入广告主ID" v-model="queryParam.advertiserId"></a-input>
               </a-form-item>
             </a-col>
+
+
             <a-col :md="6" :sm="8">
-              <a-form-item label="指定分配人">
-                <a-input placeholder="请输入指定分配人" v-model="queryParam.distributionName"></a-input>
-              </a-form-item>
-            </a-col>
-            <a-col :md="6" :sm="8">
-              <a-form-item label="部门id">
-                <a-input placeholder="请输入部门id" v-model="queryParam.departmentId"></a-input>
+              <a-form-item label="广告主名称">
+                <a-input placeholder="请输入广告主名称" v-model="queryParam.advertiserName"></a-input>
               </a-form-item>
             </a-col>
+
+
           </template>
           <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 @click="handleToggleSearch" style="margin-left: 8px">
-                {{ toggleSearchStatus ? '收起' : '展开' }}
-                <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
-              </a>
+              <!-- <a @click="handleToggleSearch" style="margin-left: 8px">
+                 {{ toggleSearchStatus ? '收起' : '展开' }}
+                 <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
+               </a>-->
             </span>
           </a-col>
 
@@ -105,6 +95,12 @@
           </a-dropdown>
         </span>
 
+
+        <div
+          slot="mediaIdShow"
+          slot-scope="text, record"
+        >{{typeArr[record.mediaId]}}</div>
+
       </a-table>
     </div>
     <!-- table区域-end -->
@@ -126,6 +122,8 @@
     },
     data() {
       return {
+        typeArr: ['', '头条', '快手'],
+
         description: '用户分配管理页面',
         // 表头
         columns: [
@@ -141,29 +139,18 @@
           },
 
           {
-            title: '账户id',
-            align: "center",
-            dataIndex: 'accountId'
-          },
-
-          {
             title: '指定分配人',
             align: "center",
             dataIndex: 'distributionName'
           },
 
           {
-            title: '管理员名称',
-            align: "center",
-            dataIndex: 'adminName'
-          },
-          {
             title: '广告主名称',
             align: "center",
             dataIndex: 'advertiserName'
           },
           {
-            title: '输入账号',
+            title: '登录账号',
             align: "center",
             dataIndex: 'accountName'
           },
@@ -172,15 +159,19 @@
             align: "center",
             dataIndex: 'operationName'
           },
+
           {
-            title: '授权称',
+            title: '授权账户昵称',
             align: "center",
             dataIndex: 'authName'
           },
+
           {
             title: '平台类型',
-            align: "center",
-            dataIndex: 'mediaId'
+            align: 'center',
+            dataIndex: 'mediaIdShow',
+            scopedSlots: { customRender: 'mediaIdShow' },
+           // dataIndex: 'mediaId'
           },
           {
             title: '操作',