|
|
|
@ -162,7 +162,6 @@
|
|
|
|
|
"label": "发送渠道",
|
|
|
|
|
"type": "radios",
|
|
|
|
|
"options": [
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"label": "PUSH通知栏",
|
|
|
|
|
"value": "20"
|
|
|
|
@ -184,9 +183,13 @@
|
|
|
|
|
"value": "60"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "企业微信",
|
|
|
|
|
"label": "企业微信(应用消息)",
|
|
|
|
|
"value": "70"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "企业微信(机器人)",
|
|
|
|
|
"value": "100"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "钉钉群机器人",
|
|
|
|
|
"value": "80"
|
|
|
|
@ -195,10 +198,6 @@
|
|
|
|
|
"label": "钉钉应用消息",
|
|
|
|
|
"value": "90"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "企业微信机器人",
|
|
|
|
|
"value": "100"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "飞书机器人",
|
|
|
|
|
"value": "110"
|
|
|
|
@ -246,6 +245,126 @@
|
|
|
|
|
"required": true,
|
|
|
|
|
"size": "lg"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"label": "企业微信应用",
|
|
|
|
|
"name": "sendAccount",
|
|
|
|
|
"source": "${ls:backend_url}/account/queryByChannelType?channelType=100&creator=${ls:openId}",
|
|
|
|
|
"visibleOn": "this.sendChannel == 100",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"required": true,
|
|
|
|
|
"size": "lg"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "sendType",
|
|
|
|
|
"label": "发送类型",
|
|
|
|
|
"type": "radios",
|
|
|
|
|
"options": [
|
|
|
|
|
{
|
|
|
|
|
"label": "文本",
|
|
|
|
|
"value": "10"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "图文",
|
|
|
|
|
"value": "40"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "文件",
|
|
|
|
|
"value": "60"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "markdown类型",
|
|
|
|
|
"value": "80"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "图片",
|
|
|
|
|
"value": "100"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 ",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"required": true,
|
|
|
|
|
"size": "lg"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "发送内容",
|
|
|
|
|
"name": "content",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && this.sendType == 10",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "markdown",
|
|
|
|
|
"name": "content",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && this.sendType == 80",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "图片base64",
|
|
|
|
|
"name": "base64",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && this.sendType == 100",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "图片内容的base64编码"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "图片内容md5",
|
|
|
|
|
"name": "md5",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && this.sendType == 100",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "在base64编码前的md5"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "文件Id",
|
|
|
|
|
"name": "mediaId",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && this.sendType == 60",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"placeholder": "可用占位符{$mediaId}",
|
|
|
|
|
"clearValueOnHidden": false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-table",
|
|
|
|
|
"name": "articles",
|
|
|
|
|
"addable": true,
|
|
|
|
|
"editable": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 100 && ( this.sendType == 40)",
|
|
|
|
|
"columns": [
|
|
|
|
|
{
|
|
|
|
|
"name": "title",
|
|
|
|
|
"label": "标题",
|
|
|
|
|
"placeholder": "可用占位符{$title}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "description",
|
|
|
|
|
"label": "描述",
|
|
|
|
|
"placeholder": "可用占位符{$description}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "url",
|
|
|
|
|
"label": "跳转链接",
|
|
|
|
|
"placeholder": "可用占位符{$url}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "picurl",
|
|
|
|
|
"label": "图片链接",
|
|
|
|
|
"placeholder": "可用占位符{$picurlURL}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"label": "选择模板",
|
|
|
|
@ -351,7 +470,6 @@
|
|
|
|
|
"visibleOn": "this.sendChannel == 60",
|
|
|
|
|
"description": "<font color=\"#990000\">请点击【新增】填入文案</font>"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"label": "飞书机器人",
|
|
|
|
@ -371,7 +489,6 @@
|
|
|
|
|
"label": "文本",
|
|
|
|
|
"value": "10"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"label": "图片",
|
|
|
|
|
"value": "100"
|
|
|
|
@ -445,7 +562,6 @@
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content}"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "推送链接",
|
|
|
|
@ -485,12 +601,12 @@
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content},可输入HTML"
|
|
|
|
|
}, {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"label": "企业微信应用",
|
|
|
|
|
"name": "sendAccount",
|
|
|
|
|
"source": "${ls:backend_url}/account/queryByChannelType?channelType=70&creator=${ls:openId}",
|
|
|
|
|
|
|
|
|
|
"visibleOn": "this.sendChannel == 70",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"required": true,
|
|
|
|
|