|
|
|
@ -247,7 +247,7 @@
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"label": "企业微信应用",
|
|
|
|
|
"label": "企业微信(机器人)",
|
|
|
|
|
"name": "sendAccount",
|
|
|
|
|
"source": "${ls:backend_url}/account/queryByChannelType?channelType=100&creator=${ls:openId}",
|
|
|
|
|
"visibleOn": "this.sendChannel == 100",
|
|
|
|
@ -488,22 +488,6 @@
|
|
|
|
|
{
|
|
|
|
|
"label": "文本",
|
|
|
|
|
"value": "10"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "图片",
|
|
|
|
|
"value": "100"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "跳转卡片",
|
|
|
|
|
"value": "120"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "富文本",
|
|
|
|
|
"value": "150"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "群卡片",
|
|
|
|
|
"value": "160"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"visibleOn": "this.sendChannel == 110",
|
|
|
|
@ -661,25 +645,13 @@
|
|
|
|
|
"label": "文件",
|
|
|
|
|
"value": "60"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "小程序通知",
|
|
|
|
|
"value": "70"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "markdown类型",
|
|
|
|
|
"value": "80"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "模板卡片",
|
|
|
|
|
"value": "90"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "图片",
|
|
|
|
|
"value": "100"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "链接消息",
|
|
|
|
|
"value": "110"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 ",
|
|
|
|
@ -771,6 +743,115 @@
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "图片Id",
|
|
|
|
|
"name": "mediaId",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 100",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$mediaId}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "语音Id",
|
|
|
|
|
"name": "mediaId",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 20",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$mediaId}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "视频Id",
|
|
|
|
|
"name": "mediaId",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 30",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$mediaId}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "文件Id",
|
|
|
|
|
"name": "mediaId",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 60",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$mediaId}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "标题",
|
|
|
|
|
"name": "title",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 50",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$title}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "描述详情",
|
|
|
|
|
"name": "description",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 50",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$description}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "跳转链接",
|
|
|
|
|
"name": "url",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 50",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$url}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-table",
|
|
|
|
|
"name": "articles",
|
|
|
|
|
"addable": true,
|
|
|
|
|
"editable": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && ( 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": "input-text",
|
|
|
|
|
"label": "markdown",
|
|
|
|
|
"name": "content",
|
|
|
|
|
"required": true,
|
|
|
|
|
"visibleOn": "this.sendChannel == 70 && this.sendType == 80",
|
|
|
|
|
"size": "lg",
|
|
|
|
|
"clearValueOnHidden": false,
|
|
|
|
|
"placeholder": "可用占位符{$content}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "input-text",
|
|
|
|
|
"label": "钉钉标题",
|
|
|
|
|