增加 定时任务 信息

master
3y 3 years ago
parent f36a5f45e6
commit 14982308a6

@ -1,14 +1,6 @@
{
"type": "page",
"title": "修改当前模板",
"toolbar": [
{
"type": "button",
"actionType": "link",
"link": "/crud/list",
"label": "返回列表"
}
],
"body": [
{
"type": "form",
@ -49,6 +41,7 @@
"proposer": "${proposer}",
"sendChannel": "${sendChannel}",
"sendAccount": "${sendAccount}",
"cronCrowdId": "${cronCrowdId}",
"msgContent": "{\"content\":\"${content}\",\"url\":\"${url}\",\"title\":\"${title}\"}"
}
},
@ -64,6 +57,14 @@
"size": "md",
"required": true
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"size": "md",
"mode": "",
"description": ""
},
{
"type": "radios",
"label": "接收者Id类型",
@ -136,15 +137,20 @@
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true
"required": true,
"description": "1、<font color=\"#008252\">生成cron表达式页面<a href=\"https://www.matools.com/cron\" target=\"_blank\">https://www.matools.com/cron</a></font></br>\n2、<font color=\"#008252\">需要【立即发送】时填0</font>",
"placeholder": "需要【立即发送】时填0"
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"label": "人群Id",
"name": "cronCrowdId",
"size": "md",
"mode": "",
"description": ""
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true,
"placeholder": "目前只填写需要接收消息者的ID"
}
],
"className": "Collapse--lg",
@ -225,6 +231,25 @@
"clearValueOnHidden": false,
"placeholder": "可用占位符{$url}"
},
{
"type": "select",
"label": "邮件账号",
"name": "sendAccount",
"options": [
{
"label": "QQ邮箱",
"value": "10"
},
{
"label": "163邮箱",
"value": "20"
}
],
"visibleOn": "this.sendChannel == 40",
"clearValueOnHidden": false,
"required": true,
"size": "lg"
},
{
"type": "input-text",
"label": "邮件标题",
@ -254,9 +279,15 @@
"bodyClassName": "text-lg"
}
],
"messages": {
},
"style": {
},
"toolbar": [
{
"type": "button",
"actionType": "link",
"link": "/crud/list",
"label": "返回列表"
}
],
"messages": {},
"style": {},
"bodyClassName": "p-lg p-t-lg p-r-lg p-b-lg p-l-lg m-none m-l-lg m-b-lg m-r-lg m-t-lg m-lg b-5x b-dark r-3x text-dark bg-white w-full font-bold text-lg"
}

@ -1,23 +1,12 @@
{
"type": "page",
"title": "列表管理",
"remark": null,
"name": "page-demo",
"toolbar": [
{
"type": "button",
"actionType": "link",
"link": "/crud/new",
"icon": "fa fa-plus",
"label": "新增",
"primary": true
}
],
"body": [
{
"type": "crud",
"name": "sample",
"api": "http://localhost:8080/messageTemplate/list",
"bodyClassName": "panel-default",
"name": "sample",
"filter": {
"title": "",
"mode": "inline",
@ -126,7 +115,7 @@
"title": "测试一条消息",
"body": {
"type": "form",
"api":{
"api": {
"url": "http://localhost:8080/messageTemplate/test",
"method": "post",
"data": {
@ -195,6 +184,24 @@
"actionType": "link",
"link": "/crud/${id}/edit"
},
{
"type": "button",
"label": "启动",
"level": "success",
"actionType": "ajax",
"confirmText": "您确认要启动吗?",
"api": "post:http://localhost:8080/messageTemplate/start/$id",
"visibleOn": "this.templateType==10 && this.msgStatus!=30"
},
{
"type": "button",
"label": "停止",
"level": "success",
"actionType": "ajax",
"confirmText": "您确认要暂停吗?",
"api": "post:http://localhost:8080/messageTemplate/stop/$id",
"visibleOn": "this.templateType==10 && this.msgStatus==30"
},
{
"type": "button",
"label": "复制",
@ -225,8 +232,19 @@
"headerClassName": "crud-table-header",
"footerClassName": "crud-table-footer",
"toolbarClassName": "crud-table-toolbar",
"combineNum": 0,
"bodyClassName": "panel-default"
"combineNum": 0
}
],
"toolbar": [
{
"type": "button",
"actionType": "link",
"link": "/crud/new",
"label": "新增",
"icon": "fa fa-plus",
"primary": true
}
]
],
"remark": null,
"name": "page-demo"
}

@ -20,6 +20,7 @@
"proposer": "${proposer}",
"sendChannel": "${sendChannel}",
"sendAccount": "${sendAccount}",
"cronCrowdId": "${cronCrowdId}",
"msgContent": "{\"content\":\"${content}\",\"url\":\"${url}\",\"title\":\"${title}\"}"
}
},
@ -42,6 +43,14 @@
"size": "md",
"required": true
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"size": "md",
"mode": "",
"description": ""
},
{
"type": "radios",
"label": "接收者Id类型",
@ -114,15 +123,20 @@
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true
"required": true,
"description": "1、<font color=\"#008252\">生成cron表达式页面<a href=\"https://www.matools.com/cron\" target=\"_blank\">https://www.matools.com/cron</a></font></br>\n2、<font color=\"#008252\">需要【立即发送】时填0</font>",
"placeholder": "需要【立即发送】时填0"
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"label": "人群Id",
"name": "cronCrowdId",
"size": "md",
"mode": "",
"description": ""
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true,
"placeholder": "目前只填写需要接收消息者的ID"
}
],
"className": "Collapse--lg",

@ -29,6 +29,14 @@
"size": "md",
"required": true
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"size": "md",
"mode": "",
"description": ""
},
{
"type": "radios",
"label": "接收者Id类型",
@ -101,15 +109,20 @@
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true
"required": true,
"description": "1、<font color=\"#008252\">生成cron表达式页面<a href=\"https://www.matools.com/cron\" target=\"_blank\">https://www.matools.com/cron</a></font></br>\n2、<font color=\"#008252\">需要【立即发送】时填0</font>",
"placeholder": "需要【立即发送】时填0"
},
{
"type": "input-text",
"label": "模板业务方",
"name": "proposer",
"label": "人群Id",
"name": "cronCrowdId",
"size": "md",
"mode": "",
"description": ""
"visibleOn": "this.templateType == 10",
"clearValueOnHidden": false,
"visible": "",
"required": true,
"placeholder": "目前只填写需要接收消息者的ID"
}
],
"className": "Collapse--lg",
@ -178,7 +191,8 @@
"visibleOn": "this.sendChannel == 30",
"mode": "",
"size": "lg",
"clearValueOnHidden": false
"clearValueOnHidden": false,
"placeholder": "可用占位符{$content}"
},
{
"type": "input-text",
@ -186,7 +200,27 @@
"name": "url",
"visibleOn": "this.sendChannel == 30",
"size": "lg",
"clearValueOnHidden": false
"clearValueOnHidden": false,
"placeholder": "可用占位符{$url}"
},
{
"type": "select",
"label": "邮件账号",
"name": "sendAccount",
"options": [
{
"label": "QQ邮箱",
"value": "10"
},
{
"label": "163邮箱",
"value": "20"
}
],
"visibleOn": "this.sendChannel == 40",
"clearValueOnHidden": false,
"required": true,
"size": "lg"
},
{
"type": "input-text",
@ -195,7 +229,8 @@
"required": true,
"visibleOn": "this.sendChannel == 40",
"size": "lg",
"clearValueOnHidden": false
"clearValueOnHidden": false,
"placeholder": "可用占位符{$title}"
},
{
"type": "input-text",
@ -205,7 +240,7 @@
"visibleOn": "this.sendChannel == 40",
"size": "lg",
"clearValueOnHidden": false,
"placeholder": "可用占位符{$var}可输入HTML"
"placeholder": "可用占位符{$content}可输入HTML"
}
],
"className": "Collapse--lg",

Loading…
Cancel
Save