feat: add qyweixin message
This commit is contained in:
+16
-1
@@ -29,7 +29,6 @@ const CONSTANT = {
|
||||
taskInsInputs: [
|
||||
{ value: '', col: 'to_account', desc: "目的邮箱账号(发给谁)" },
|
||||
// { value: '', col: 'title', desc: "邮箱标题" },
|
||||
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -50,6 +49,22 @@ const CONSTANT = {
|
||||
taskInsInputs: [
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'QyWeiXin',
|
||||
label: '企业微信',
|
||||
inputs: [
|
||||
{ subLabel: 'token', value: '', col: 'access_token', desc: "企业微信webhook中的token" },
|
||||
{ subLabel: '渠道名', value: '', col: 'name', desc: "想要设置的渠道名字" },
|
||||
],
|
||||
tips: {
|
||||
},
|
||||
taskInsRadios: [
|
||||
{ subLabel: 'text', content: 'text' },
|
||||
{ subLabel: 'markdown', content: 'markdown' },
|
||||
],
|
||||
taskInsInputs: [
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'Custom',
|
||||
label: '自定义',
|
||||
|
||||
@@ -205,6 +205,7 @@ export default defineComponent({
|
||||
const getFinalData = () => {
|
||||
let postData = {
|
||||
id: uuidv4(),
|
||||
enable: 1,
|
||||
task_id: state.currTaskInput.taskId,
|
||||
way_id: state.currWayTmp.id,
|
||||
way_type: state.currWayTmp.type,
|
||||
|
||||
Reference in New Issue
Block a user