duanshenglang преди 2 дни
родител
ревизия
e88bbb714a

+ 2 - 2
lottery/WeCom.html

@@ -200,7 +200,7 @@
     color: #222222;
     line-height: 17px;
     padding-top: 10px;
-    width: 228px; /* 必须设置宽度 */
+    width: 240px;
     overflow: hidden;
     white-space: nowrap;
     text-overflow: ellipsis;
@@ -755,7 +755,7 @@
                       <div class="task_item_left_bottom" v-else>{{item.taskDesc}}</div>
                     </div>
                     <div class="task_item_line"></div>
-                    <div class="task_item_right" @click="handleTaskDetail(item)">{{item.type === 'MONITORED_MESSAGE' ? '回复' : '查看'}}</div>
+                    <div class="task_item_right" @click="handleTaskDetail(item)">{{item.type === 'MONITORED_MESSAGE' ? '回复' : '查看'}}</div>
                   </div>
                 </div>
                 <div class="notask_tip" v-else>暂无需要完成的任务</div>

+ 2 - 2
lottery/qw/clientGroupMass.html

@@ -966,8 +966,8 @@
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>
             </van-radio>
-            <van-radio :name="2">
-              定时
+            <van-radio :name="2" @click="handleRadioType(2)">
+              定时
               <template #icon="props">
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>

+ 1 - 1
lottery/qw/clientGroupMassDetail.html

@@ -423,7 +423,7 @@
         <van-tabs v-model="activeTab" ref="tabs" color="#1677FF" line-width="16px" line-height="3px"
           @change="handleChange">
           <van-tab title="群发内容" name="群发内容"></van-tab>
-          <van-tab title="成员详情" name="成员详情"></van-tab>
+          <van-tab title="群发详情" name="群发详情"></van-tab>
         </van-tabs>
         <div class="send_centent" v-if="activeTab === '群发内容'">
           <div class="send_text">文本:</div>

+ 1 - 1
lottery/qw/clientGroupMassList.html

@@ -6,7 +6,7 @@
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport"
     content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no, viewport-fit=cover" />
-  <title>群发列表</title>
+  <title>客户群群发列表</title>
   <!-- 引入样式文件 -->
   <link rel="stylesheet"
     href="https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1758012584633/vant.css" />

+ 3 - 3
lottery/qw/clientMass.html

@@ -839,7 +839,7 @@
           <img class="close_icon" src="../img/qw/close_icon.png" alt="" @click="showClientBag = false">
         </div>
         <div class="search_box">
-          <van-search class="search_input" placeholder="搜索客户昵称/客户群昵称" v-model="clientBagKeyword" :clearable="false" left-icon=""
+          <van-search class="search_input" placeholder="搜索客群包" v-model="clientBagKeyword" :clearable="false" left-icon=""
             @search="handleAddClientBag">
             <!-- 自定义右侧图标 -->
             <template v-slot:right-icon>
@@ -1028,8 +1028,8 @@
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>
             </van-radio>
-            <van-radio :name="2">
-              定时
+            <van-radio :name="2" @click="handleRadioType(2)">
+              定时
               <template #icon="props">
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>

+ 3 - 3
lottery/qw/clientMassList.html

@@ -6,7 +6,7 @@
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport"
     content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no, viewport-fit=cover" />
-  <title>群发列表</title>
+  <title>客户群发列表</title>
   <!-- 引入样式文件 -->
   <link rel="stylesheet"
     href="https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1758012584633/vant.css" />
@@ -197,7 +197,7 @@
 <body>
   <div id="box" class="box">
     <div class="page5">
-      <div v-if="tableData.length">
+      <div>
         <div class="client_top">
           <div class="client_top_box">
             <van-search class="search_input" placeholder="搜索群发名称" v-model="keyword" :clearable="false" left-icon="" @search="initData">
@@ -208,7 +208,7 @@
             </van-search>
           </div>
         </div>
-        <div class="task_list">
+        <div class="task_list" v-if="tableData.length">
           <div class="task_content">
             <div class="task_item" v-for="item in tableData" :key="item.id" @click="handleClientMassDetail(item)">
               <div class="task_item_title">

+ 51 - 48
lottery/qw/material.html

@@ -395,7 +395,7 @@
       </van-popup>
       <div class="page_top">
         <div class="client_top_box">
-          <van-search class="search_input" placeholder="搜索客户昵称/客户群昵称" v-model="keyword" :clearable="false" left-icon=""
+          <van-search class="search_input" placeholder="搜索素材名称" v-model="keyword" :clearable="false" left-icon=""
             @search="handleSearch">
             <!-- 自定义右侧图标 -->
             <template v-slot:right-icon>
@@ -650,58 +650,61 @@
       handleFolderClick(item) {
         this.pathList.push(item)
         this.treeData = []
-        this.handleSearch(item)
+        this.getMaterData(item)
       },
-      handleSearch(item) {
-        if (this.keyword === '') {
-          this.getTreeData()
-        } else {
-          this.itemList = []
-          let url = ''
-          if (this.contentType === 0) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageArticle'
-          } else if (this.contentType === 2) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageForm'
-          } else if (this.contentType === 3) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageFile'
-          } else if (this.contentType === 15) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageVideo'
-          } else if (this.contentType === 17) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageImg'
-          } else if (this.contentType === 4) {
-            url = '/scrm/v1/wxcp-chat-tool/p/pageUrl'
+      getMaterData (item) {
+        this.itemList = []
+        let url = ''
+        if (this.contentType === 0) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageArticle'
+        } else if (this.contentType === 2) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageForm'
+        } else if (this.contentType === 3) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageFile'
+        } else if (this.contentType === 15) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageVideo'
+        } else if (this.contentType === 17) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageImg'
+        } else if (this.contentType === 4) {
+          url = '/scrm/v1/wxcp-chat-tool/p/pageUrl'
+        }
+        fetch(this.httpUrl + url, {
+          method: 'post',
+          body: JSON.stringify({
+            groupId: item ? item.id : null,
+            keyword: this.keyword,
+            page: 1,
+            pageCount: 1000,
+          }),
+          headers: {
+            'Content-Type': 'application/json',
+            'tenancyId': this.tenancyId,
           }
-          fetch(this.httpUrl + url, {
-            method: 'post',
-            body: JSON.stringify({
-              groupId: item ? item.id : null,
-              keyword: this.keyword,
-              page: 1,
-              pageCount: 1000,
-            }),
-            headers: {
-              'Content-Type': 'application/json',
-              'tenancyId': this.tenancyId,
+        }).then(res => {
+          return res.json()
+        }).then(result => {
+          let { data, code, msg } = result
+          if (code === 1) {
+            this.itemList = data.records || []
+            if (this.itemList.length > 0) {
+              // 回显已选择的数据
+              this.checkedMaterIds = this.extractSameIds(this.itemList, this.selectedMaters)
             }
-          }).then(res => {
-            return res.json()
-          }).then(result => {
-            let { data, code, msg } = result
-            if (code === 1) {
-              this.itemList = data.records || []
-              if (this.itemList.length > 0) {
-                // 回显已选择的数据
-                this.checkedMaterIds = this.extractSameIds(this.itemList, this.selectedMaters)
-              }
-              if (this.allTreeData.filter(all => all.id === item.id)[0] && this.allTreeData.filter(all => all.id === item.id)[0].children) {
-                this.treeData = this.allTreeData.filter(all => all.id === item.id)[0].children
-              } else {
-                this.treeData = []
-              }
+            if (this.allTreeData.filter(all => all.id === item.id)[0] && this.allTreeData.filter(all => all.id === item.id)[0].children) {
+              this.treeData = this.allTreeData.filter(all => all.id === item.id)[0].children
             } else {
-              vant.Toast.fail(msg)
+              this.treeData = []
             }
-          })
+          } else {
+            vant.Toast.fail(msg)
+          }
+        })
+      },
+      handleSearch() {
+        if (this.keyword === '') {
+          this.getTreeData()
+        } else {
+          this.getMaterData()
         }
       },
       extractSameIds(itemList, selectedMaters) {

+ 2 - 2
lottery/qw/pyqMass.html

@@ -979,8 +979,8 @@
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>
             </van-radio>
-            <van-radio :name="2">
-              定时
+            <van-radio :name="2" @click="handleRadioType(2)">
+              定时
               <template #icon="props">
                 <div :class="props.checked ? 'check_div_active' : 'check_div'"></div>
               </template>

+ 21 - 15
lottery/qw/pyqMassDetail.html

@@ -351,17 +351,20 @@
   }
 
   .send_mem_item {
-    height: 100px;
     display: flex;
-    flex-direction: column;
-    justify-content: space-between;
-    padding: 15px;
+    align-items: center;
+    padding: 10px 15px;
     background: #FAFAFA;
     border-radius: 15px;
     box-sizing: border-box;
     margin-bottom: 10px;
   }
-
+  .send_mem_item img {
+    width: 40px;
+    height: 40px;
+    border-radius: 8px;
+    margin-right: 10px;
+  }
   .send_mem_name {
     font-weight: 500;
     font-size: 14px;
@@ -371,10 +374,10 @@
 
   .send_mem_data {
     display: flex;
-    align-items: center;
+    flex-direction: column;
     font-size: 12px;
     color: #999999;
-    line-height: 17px;
+    line-height: 20px;
   }
 
   .send_mem_time {
@@ -450,9 +453,9 @@
             </div>
           </template>
         </div>
-        <div class="mem_centent" v-if="activeTab === '发送成员详情'">
+        <div class="mem_centent" v-if="activeTab === '成员详情'">
           <div class="filter_list">
-            <span :class="filterIndex === 2 ? 'active' : 'filter_span'" @click="handleFilter('全部')">全部</span>
+            <span :class="filterIndex === 2 ? 'active' : 'filter_span'" @click="handleFilter(2)">全部</span>
             <span :class="filterIndex === 1 ? 'active' : 'filter_span'" @click="handleFilter(1)">已发送</span>
             <span :class="filterIndex === 0 ? 'active' : 'filter_span'" @click="handleFilter(0)">未发送</span>
           </div>
@@ -460,17 +463,20 @@
             全部人员:<span class="color1">{{ sendMemberList ? sendMemberList.length : 0 }}</span>
             已发送人员:<span class="color1">{{formValidate.send}}</span>
             未发送人员:<span class="color3">{{formValidate.unSend}}</span>
+          </div>
+          <div class="send_num_data">
             触达客户数:<span class="color2">{{formValidate.clientNum}}</span>
           </div>
           <div class="send_mem_list">
             <div class="send_mem_item" v-for="(item, index) in sendMemberList" :key="index">
-              <div class="send_mem_name">{{item.groupName}}</div>
+              <img :src="item.avatar ? item.avatar : '../img/qw/mem_icon.png'" alt="">
               <div class="send_mem_data">
-                成员名称:<span class="color1">{{item.name}}</span>
-                发送状态:
-                <span class="color2" v-if="item.status === 0">未发送</span>
-                <span class="color1" v-if="item.status === 1">已发送</span>
-                <span class="color3" v-if="item.status === 2">发送失败</span>
+                <div>成员名称:<span class="color1">{{item.name}}</span></div>
+                <div>发送状态:
+                  <span class="color2" v-if="item.status === 0">未发送</span>
+                  <span class="color1" v-if="item.status === 1">已发送</span>
+                  <span class="color3" v-if="item.status === 2">发送失败</span>
+                </div>
               </div>
             </div>
           </div>

+ 1 - 1
lottery/qw/pyqMassList.html

@@ -6,7 +6,7 @@
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport"
     content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no, viewport-fit=cover" />
-  <title>群发列表</title>
+  <title>朋友圈群发列表</title>
   <!-- 引入样式文件 -->
   <link rel="stylesheet"
     href="https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1758012584633/vant.css" />

+ 1 - 1
lottery/qw/toDoTask.html

@@ -194,7 +194,7 @@
             <div class="task_des" v-else>{{item.taskDesc}}</div>
           </div>
           <div class="task_btn_box" @click="handleTaskDetail(item)">
-            <div class="task_btn" v-if="taskType === 'MONITORED_MESSAGE'">去回复</div>
+            <div :class="item.isRead ? 'task_btn_read' : 'task_btn'" v-if="taskType === 'MONITORED_MESSAGE'">{{item.isRead ? '已读' : '去回复'}}</div>
             <div :class="item.isRead ? 'task_btn_read' : 'task_btn'" v-else>{{item.isRead ? '已读' : '查看详情'}}</div>
           </div>
         </div>