| | |
| | | </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"> |
| | |
| | | label: "批量操作", |
| | | disabled: true, |
| | | }, |
| | | { |
| | | value: 1, |
| | | label: "批量启用", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "批量禁用", |
| | | }, |
| | | // { |
| | | // value: 1, |
| | | // label: "批量启用", |
| | | // }, |
| | | // { |
| | | // value: 2, |
| | | // label: "批量禁用", |
| | | // }, |
| | | { |
| | | value: 3, |
| | | label: "批量删除", |
| | |
| | | messageStatus: "全部", |
| | | messageKind: "00", |
| | | statusList: [ |
| | | { |
| | | label: "全部", |
| | | value: 2, |
| | | }, |
| | | { |
| | | { |
| | | label: "发送失败", |
| | | value: 0, |
| | | value: 3, |
| | | }, |
| | | { |
| | | label: "发送成功", |
| | | value: 1, |
| | | }, |
| | | value: 2, |
| | | } |
| | | ], |
| | | kindList: [ |
| | | { |
| | |
| | | }, |
| | | |
| | | resend(data) { |
| | | if (data.status === 1) { |
| | | if (data.status === 2) { |
| | | return; |
| | | } |
| | | data.createTime='', |
| | | data.sendTime='', |
| | | data.createUser=null, |
| | | sendMessage(data) |
| | | .then(() => { |
| | | this.$message.success("操作成功"); |