bding 3 місяців тому
батько
коміт
6bb9e242d5

+ 50 - 0
src/views/custom_manage/contacts/compontents/contactsColums.js

@@ -811,6 +811,56 @@ export const organizationTableColums = (type) => {
           // widthsty: 300,
         },
       ]
+    : type === 12
+    ? [
+        {
+          label: "文章标题",
+          key: "Title",
+        },
+        {
+          label: "文章类型",
+          key: "SpecialType",
+          // widthsty: 200,
+        },
+        {
+          label: "标签",
+          key: "IndustryName",
+          // widthsty: 300,
+        },
+        {
+          label: "发布时间",
+          key: "PublishDate",
+          // widthsty: 300,
+        },
+        {
+          label: "收藏时间",
+          key: "CreateTime",
+          // widthsty: 300,
+        },
+      ]
+    : type === 13
+    ? [
+        {
+          label: "专栏名称",
+          key: "Title",
+        },
+        {
+          label: "作者昵称",
+          key: "NickName",
+        },
+        {
+          label: "关注时间",
+          key: "CreateTime",
+        },
+        {
+          label: "已发布文章",
+          key: "ArticleNum",
+        },
+        {
+          label: "粉丝",
+          key: "FansNum",
+        },
+      ]
     : [];
 };
 

+ 3 - 3
src/views/custom_manage/contacts/organizationList.vue

@@ -24,8 +24,8 @@
             <i class="el-icon-info"></i>
           </el-tooltip>
         </div>
-        <div class="dataReport-top">
-          <template v-if="showSelectBox">
+        <div class="dataReport-top"  v-if="showSelectBox">
+          <template>
             <date-picker
               v-model="filterObj.date"
               type="date"
@@ -46,7 +46,7 @@
           <el-input v-if="activeName == 2" placeholder="活动名称" v-model="activityName" style="width: 200px" @input="handleSearchActivity" clearable>
             <i slot="prefix" class="el-input__icon el-icon-search"></i>
           </el-input>
-          <a :href="exportExcel" download v-if="activeName == 1 || activeName == 2">
+          <a :href="exportExcel" download >
             <button class="button-sty act">下载EXCEL</button>
           </a>
         </div>

+ 5 - 5
src/views/custom_manage/contacts/wholeOrganization.vue

@@ -20,8 +20,8 @@
             <i class="el-icon-info"></i>
           </el-tooltip>
         </div>
-        <div class="dataReport-top">
-          <template v-if="showSelectBox">
+        <div class="dataReport-top" v-if="showSelectBox">
+          <template>
             <date-picker
               v-model="filterObj.date"
               type="date"
@@ -52,7 +52,7 @@
           <el-input v-if="activeName == 2" placeholder="活动名称" v-model="activityName" style="width: 200px" @input="handleSearchActivity" clearable>
             <i slot="prefix" class="el-input__icon el-icon-search"></i>
           </el-input>
-          <a :href="exportExcel" download v-if="activeName == 1 || activeName == 2">
+          <a :href="exportExcel" download>
             <button class="button-sty act">下载EXCEL</button>
           </a>
         </div>
@@ -77,7 +77,7 @@
         <template v-if="publicHaveMoveCompany">
           <div v-for="item in chartList" :key="item.UserId">
             <template v-if="item.ListChart">
-              <ChartItem :chartData="item" :companyName="item.CompanyName" :activeTypeName="activeTypeName"/>
+              <ChartItem :chartData="item" :companyName="item.CompanyName" :activeTypeName="activeTypeName" />
             </template>
           </div>
           <el-col :span="24" class="toolbar">
@@ -135,7 +135,7 @@ export default {
         ActivityName: this.activityName,
         AdminId: salesArr.join(","),
         ClassType: this.activeTypeName,
-      };  
+      };
       for (let key in params) {
         paramStr = `${paramStr}&${key}=${params[key]}`;
       }