| | |
| | | async getColumnList() { |
| | | await this.$axios({ |
| | | method: "get", |
| | | url: "sccg/message_column/getShowColumn", |
| | | url: "sccg/message_column/show ", |
| | | }).then((res) => { |
| | | this.colList = res.data; |
| | | }); |
| | |
| | | |
| | | // 新建/保存消息(1:新建,0保存消息) |
| | | handleSubmit(mystatus) { |
| | | debugger; |
| | | this.role.body = this.$refs.edit.editor.txt.html(); |
| | | this.$refs.user.validate((valid) => { |
| | | if (valid) { |
| | |
| | | ); |
| | | } |
| | | } |
| | | if(mystatus==0){ |
| | | if(mystatus==0){ |
| | | const { body, head, messageType, channelCode } = this.role; |
| | | const params = { |
| | | body, |
| | |
| | | ); |
| | | } |
| | | } |
| | | |
| | | |
| | | } else { |
| | | this.$message.error({ type: "warning", message: "请检查必填项" }); |
| | | } |
| | |
| | | url: "sccg/admin/info?name=" + name, |
| | | }).then((res) => { |
| | | this.role.targetFrom = res.data.userId; |
| | | this.sendUser = res.data.username; |
| | | this.sendUser = res.data.user.username; |
| | | }); |
| | | }, |
| | | |