fangyuan
2023-01-05 71cfadcd79468058c75fd356faf2d1fb52f79deb
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("操作成功");