liyongli 2 年之前
父節點
當前提交
c4fefa653e
共有 2 個文件被更改,包括 20 次插入17 次删除
  1. 9 6
      src/view/allMedia/components/reporting_list.vue
  2. 11 11
      src/view/allMedia/convergence.vue

+ 9 - 6
src/view/allMedia/components/reporting_list.vue

@@ -51,6 +51,7 @@
           </el-button>
           </el-button>
           <el-button
           <el-button
             link
             link
+            v-if="scope.row.replyFlag != 1"
             type="primary"
             type="primary"
             size="small"
             size="small"
             @click="() => replyBL(scope)"
             @click="() => replyBL(scope)"
@@ -93,7 +94,7 @@
       <el-row>
       <el-row>
         <el-col :span="5">报料内容:</el-col>
         <el-col :span="5">报料内容:</el-col>
         <el-col :span="19">
         <el-col :span="19">
-          <div v-text="reportingDetailData.content"></div>
+          <div v-text="reportingDetailData.row.content"></div>
         </el-col>
         </el-col>
       </el-row>
       </el-row>
       <br />
       <br />
@@ -101,7 +102,7 @@
         <el-col :span="5">回复内容:</el-col>
         <el-col :span="5">回复内容:</el-col>
         <el-col :span="19">
         <el-col :span="19">
           <el-input
           <el-input
-            v-model="reportingDetailData.reply"
+            v-model="reportingDetailData.row.reply"
             :rows="2"
             :rows="2"
             type="textarea"
             type="textarea"
             placeholder="请输入回复内容"
             placeholder="请输入回复内容"
@@ -185,23 +186,25 @@ const deleteBL = item => {
 const lookBL = item => {
 const lookBL = item => {
   getreportingDetail({ data: { id: item.row.id } }).then(res => {
   getreportingDetail({ data: { id: item.row.id } }).then(res => {
     reportingDetail.value = true;
     reportingDetail.value = true;
-    reportingDetailData.value = res;
+    reportingDetailData.value.row = res;
   });
   });
 };
 };
 
 
 const replyBL = item => {
 const replyBL = item => {
   reportingReplyStatus.value = true;
   reportingReplyStatus.value = true;
-  reportingDetailData.value = item.row;
+  reportingDetailData.value = item;
 };
 };
 
 
 const replySave = () => {
 const replySave = () => {
   reportingReplyStatus.value = false;
   reportingReplyStatus.value = false;
   reportingReply({
   reportingReply({
     data: {
     data: {
-      clueId: reportingDetailData.value.id,
-      content: reportingDetailData.value.reply || '',
+      clueId: reportingDetailData.value.row.id,
+      content: reportingDetailData.value.row.reply || '',
       userName: reportingReplyStatus.value.author || '',
       userName: reportingReplyStatus.value.author || '',
     },
     },
+  }).then(() => {
+
   });
   });
 };
 };
 
 

+ 11 - 11
src/view/allMedia/convergence.vue

@@ -165,20 +165,15 @@ const condition = ref({
 });
 });
 const activeName = ref('T1');
 const activeName = ref('T1');
 const btns = [
 const btns = [
-  {
-    text: '微信',
-    platform: 'weixin',
-    class: 'icon-weixin',
-  },
   {
   {
     text: '微博',
     text: '微博',
     platform: 'weibo',
     platform: 'weibo',
     class: 'icon-weibo',
     class: 'icon-weibo',
   },
   },
   {
   {
-    text: '快手',
-    platform: 'kuaishou',
-    class: 'icon-kuaishou',
+    text: '微信',
+    platform: 'weixin',
+    class: 'icon-weixin',
   },
   },
   {
   {
     text: '抖音',
     text: '抖音',
@@ -186,15 +181,20 @@ const btns = [
     class: 'icon-douyin',
     class: 'icon-douyin',
   },
   },
   {
   {
-    text: 'B站',
-    platform: 'bzhan',
-    class: 'icon-bzhan',
+    text: '快手',
+    platform: 'kuaishou',
+    class: 'icon-kuaishou',
   },
   },
   {
   {
     text: '头条',
     text: '头条',
     platform: 'jinritoutiao',
     platform: 'jinritoutiao',
     class: 'icon-jinritoutiao',
     class: 'icon-jinritoutiao',
   },
   },
+  {
+    text: 'B站',
+    platform: 'bzhan',
+    class: 'icon-bzhan',
+  },
   //   {
   //   {
   //     text: '闪视频',
   //     text: '闪视频',
   //     platform: 'ssp',
   //     platform: 'ssp',