+          
             {{item.createTime}}
             
-              
+              
+              
![]()
+
               
+
               
-              
-                
+
+              
-              
![]()
-            
-          
-          
-            
{{item.createTime}}
-            
-              
![]()
-              
-              
-                
![]()
-              
-              
-              
+
+              
+
+              
+
+              
{{item.userName}}{{item.msgSendTime.substring(0, 16)}}撤回了一条消息
+
+              
![]()
+              
             
 
@@ -131,12 +129,12 @@
         msgType: 0,
         msgTypeList: [
           {name: '全部', value: ''},
-          {name: '文本', value: 'text'},
-          {name: '图片', value: 'image'},
+          {name: '图片/视频', value: 'imagevideo'},
           {name: '语音', value: 'voice'},
+          {name: '文件', value: 'file'},
         ],
         searchMsg: '',
-        id: 'LiuYe'
+        id: ''
       }
     },
     computed: {
@@ -148,7 +146,6 @@
         this.id = this.params.id
         this.getList()
       }
-      this.getList()
     },
 
     methods: {
@@ -188,10 +185,11 @@
         this.instance.post(`/app/appsessionarchiveinfo/listByUser`, null, {
           params: {
             userId: this.id,
-            type: this.tabIndex,
+            // type: this.tabIndex,
             size: 20,
             current: this.msgCurrent,
             msgType: this.msgTypeList[this.msgType].value,
+            // msgType: 'file',
             toUserId: this.list[this.leftActiveIndex].type == 1 ? '' : this.list[this.leftActiveIndex].toUserId,
             roomId: this.list[this.leftActiveIndex].type == 1 ? this.list[this.leftActiveIndex].roomId : '',
             type: this.list[this.leftActiveIndex].type,
@@ -201,6 +199,11 @@
           }
         }).then(res => {
           if (res.code === 0) {
+            res.data.records.map((item) => {
+              if(item.msgType == 'file') {
+                item.files = [{url: item.sdkFileUrl, accessUrl: item.sdkFileUrl, name: item.sdkFileName, fileSizeStr: item.fileSizeStr}]
+              }
+            })
             this.msgList = res.data.records
             this.msgTotal = res.data.total || 0
           }
@@ -233,26 +236,6 @@
         this.msgType = index
         this.getMsgListInit()
       },
-
-      onConfirm() {
-        this.$refs.form.validate((valid) => {
-          if (valid) {
-            this.instance.post(`/app/appintegralmerchandiseorder/writeOffOrder`, null, {
-              params: {
-                code: this.form.code,
-                id: this.params.id,
-              }
-            }).then(res => {
-              if (res.code == 0) {
-                this.isShow = false
-                this.getInfo(this.params.id)
-                this.$message.success('核销成功')
-              }
-            })
-          }
-        })
-      },
-
       cancel () {
         this.$emit('change', {
           type: 'List',
@@ -470,6 +453,14 @@
             color: #f46;
             margin-top: 8px;
           }
+          .revoke-text {
+            line-height: 44px;
+            padding: 0 6px;
+            border-radius: 4px;
+            background-color: #EEE;
+            color: #999;
+            margin-top: 4px;
+          }
         }
       }
       .item-left {