From 3250e7729c2660a1f8951d35d1163b702efd9b4f Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期三, 04 一月 2023 14:01:28 +0800
Subject: [PATCH] fix:消息保存消息发送

---
 src/views/operate/sms/smsIndex/index.vue |   40 +++++++++++++++++-----------------------
 1 files changed, 17 insertions(+), 23 deletions(-)

diff --git a/src/views/operate/sms/smsIndex/index.vue b/src/views/operate/sms/smsIndex/index.vue
index fe62718..f0ddc49 100644
--- a/src/views/operate/sms/smsIndex/index.vue
+++ b/src/views/operate/sms/smsIndex/index.vue
@@ -71,12 +71,7 @@
           </el-table-column>
           <el-table-column prop="targetFrom" label="鍙戦�佽处鍙�" min-width="15">
           </el-table-column>
-          <el-table-column prop="status" label="鍙戝竷鐘舵��" min-width="5">
-            <template slot-scope="scope">
-              <span>{{
-                  statusList.find((item) => item.value === scope.row.status).label
-                }}</span>
-            </template>
+          <el-table-column prop="respondResult" label="鐭俊鍥炴墽" min-width="5">
           </el-table-column>
           <el-table-column prop="operation" label="鎿嶄綔" min-width="15">
             <template slot-scope="scope">
@@ -189,14 +184,14 @@
           label: "鎵归噺鎿嶄綔",
           disabled: true,
         },
-        {
-          value: 1,
-          label: "鎵归噺鍚敤",
-        },
-        {
-          value: 2,
-          label: "鎵归噺绂佺敤",
-        },
+        // {
+        //   value: 1,
+        //   label: "鎵归噺鍚敤",
+        // },
+        // {
+        //   value: 2,
+        //   label: "鎵归噺绂佺敤",
+        // },
         {
           value: 3,
           label: "鎵归噺鍒犻櫎",
@@ -206,18 +201,14 @@
       messageStatus: "鍏ㄩ儴",
       messageKind: "00",
       statusList: [
-        {
-          label: "鍏ㄩ儴",
-          value: 2,
-        },
-        {
+      {
           label: "鍙戦�佸け璐�",
-          value: 0,
+          value: 3,
         },
         {
           label: "鍙戦�佹垚鍔�",
-          value: 1,
-        },
+          value: 2,
+        }
       ],
       kindList: [
         {
@@ -283,9 +274,12 @@
     },
 
     resend(data) {
-      if (data.status === 1) {
+      if (data.status === 2) {
         return;
       }
+      data.createTime='',
+      data.sendTime='',
+      data.createUser=null,
       sendMessage(data)
           .then(() => {
             this.$message.success("鎿嶄綔鎴愬姛");

--
Gitblit v1.8.0