Browse Source

feat: 客户意见反馈

zhengxy 1 year ago
parent
commit
f9be902f58

+ 20 - 0
project/src/components/document/feedback.js

1
+const img1 = require('./img/feedback1.jpg')
2
+const img2 = require('./img/feedback2.jpg')
3
+const img3 = require('./img/feedback3.jpg')
4
+const img4 = require('./img/feedback4.jpg')
5
+const img5 = require('./img/feedback5.jpg')
6
+const img6 = require('./img/feedback6.png')
7
+
8
+export default `
9
+  <h1 style="padding-top:0">意见反馈</h1>
10
+  <h4 style="margin-top:0">如何配置意见反馈链接</h4>
11
+  <p>1、企微管理员在企微微信后台开启对外信息显示,配置展示内容</p>
12
+  <img src="${img1}" style="width: 375px;" />
13
+  <img src="${img2}" style="width: 375px;" />
14
+  <img src="${img3}" style="width: 375px;" />
15
+  <img src="${img4}" style="width: 375px;" />
16
+  <p class="p_margin">2.客服从猎羽系统中获取各自的链接内容</p>
17
+  <img src="${img6}"/>
18
+  <p class="p_margin">3.将复制好的链接配置到各自客服(每个企微下的每个客服的链接均不相同,确认好后再使用)</p>
19
+  <img src="${img5}" style="width: 375px;" />
20
+`

BIN
project/src/components/document/img/feedback1.jpg


BIN
project/src/components/document/img/feedback2.jpg


BIN
project/src/components/document/img/feedback3.jpg


BIN
project/src/components/document/img/feedback4.jpg


BIN
project/src/components/document/img/feedback5.jpg


BIN
project/src/components/document/img/feedback6.png


+ 4 - 1
project/src/components/document/index.js

14
 import welcomeMsg from './welcomeMsg'
14
 import welcomeMsg from './welcomeMsg'
15
 import dataAnnotations from './dataAnnotations'
15
 import dataAnnotations from './dataAnnotations'
16
 import dataBindingRelationship from './dataBindingRelationship'
16
 import dataBindingRelationship from './dataBindingRelationship'
17
+import feedback from './feedback'
18
+
17
 export default {
19
 export default {
18
   home,
20
   home,
19
   customManage,
21
   customManage,
30
   employee_bulk_messaging_log,
32
   employee_bulk_messaging_log,
31
   welcomeMsg,
33
   welcomeMsg,
32
   dataAnnotations,
34
   dataAnnotations,
33
-  dataBindingRelationship
35
+  dataBindingRelationship,
36
+  feedback,
34
 }
37
 }

+ 10 - 0
project/src/components/document/index.vue

153
             ]
153
             ]
154
           },
154
           },
155
           {
155
           {
156
+            title: '系统管理',
157
+            icon: 'iconfont icon-xitongguanli_icon',
158
+            children: [
159
+              {
160
+                name: '意见反馈',
161
+                path: 'feedback'
162
+              },
163
+            ]
164
+          },
165
+          {
156
             title: '数据看版',
166
             title: '数据看版',
157
             icon: 'iconfont icon-kanban_icon',
167
             icon: 'iconfont icon-kanban_icon',
158
             children: [
168
             children: [

+ 2 - 1
project/src/components/feedback/detailDialog.vue

28
         <div class="image-wrap" v-if="detail.attachments && detail.attachments.length">
28
         <div class="image-wrap" v-if="detail.attachments && detail.attachments.length">
29
           <el-image
29
           <el-image
30
             class="image"
30
             class="image"
31
-            v-for="imageUrl in detail.attachments"
31
+            v-for="(imageUrl, idx) in detail.attachments"
32
             v-lazy="imageUrl"
32
             v-lazy="imageUrl"
33
+            :key="idx"
33
             :src="imageUrl"
34
             :src="imageUrl"
34
             :preview-src-list="detail.attachments">
35
             :preview-src-list="detail.attachments">
35
           </el-image>
36
           </el-image>

+ 2 - 4
project/src/components/feedback/getUserLinkDialog.vue

76
     },
76
     },
77
 
77
 
78
     onChangeCorpUserList({ res_format_1, res_format_2 }) {
78
     onChangeCorpUserList({ res_format_1, res_format_2 }) {
79
-      console.log('res_format_1 => ', res_format_1)
80
-      console.log('res_format_2 => ', res_format_2)
81
       if (res_format_1 && res_format_1.length) {
79
       if (res_format_1 && res_format_1.length) {
82
         this.userList = [...res_format_1]
80
         this.userList = [...res_format_1]
83
         this.handleGetUserLink()
81
         this.handleGetUserLink()
156
       }
154
       }
157
       .tips {
155
       .tips {
158
         margin-left: 10px;
156
         margin-left: 10px;
159
-        font-size: 12px;
160
-        color: #666;
157
+        font-size: 13px;
158
+        color:#f9a527;
161
       }
159
       }
162
     }
160
     }
163
   }
161
   }

+ 2 - 8
project/src/components/feedback/index.vue

1
 <template>
1
 <template>
2
   <div v-loading="loading" class="feedback-wrap">
2
   <div v-loading="loading" class="feedback-wrap">
3
-    <div class="self-hint">
4
-      <i class="el-icon-message-solid" />
5
-      <div>
6
-        <p>意见反馈使用说明1mock</p>
7
-        <p>意见反馈使用说明22mock</p>
8
-        <p>意见反馈使用说明333mock</p>
9
-      </div>
10
-    </div>
11
     <div class="screenBox">
3
     <div class="screenBox">
12
       <div class="filter-wrap">
4
       <div class="filter-wrap">
13
         <!-- 客服 -->
5
         <!-- 客服 -->
14
         <customerServiceCorpV2 title="客服" @customerDefine="onChangeMultiCorpUsers" />
6
         <customerServiceCorpV2 title="客服" @customerDefine="onChangeMultiCorpUsers" />
15
       </div>
7
       </div>
16
       <el-button type="primary" size="mini" @click="onClickGetUserLink">获取反馈链接</el-button>
8
       <el-button type="primary" size="mini" @click="onClickGetUserLink">获取反馈链接</el-button>
9
+      <!-- 使用说明 -->
10
+      <instructions doc="feedback" style="margin-left:20px;"></instructions>
17
     </div>
11
     </div>
18
     <el-table :height="height" :data="list" tooltip-effect="dark" style="width: 100%;margin-top:10px">
12
     <el-table :height="height" :data="list" tooltip-effect="dark" style="width: 100%;margin-top:10px">
19
       <el-table-column label="客服" prop="user_name" min-width="160" align="center" fixed="left" />
13
       <el-table-column label="客服" prop="user_name" min-width="160" align="center" fixed="left" />