From 0e5532446b5f73eb47b484001a84b78b26d17558 Mon Sep 17 00:00:00 2001 From: 3y Date: Mon, 28 Nov 2022 19:22:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=9C=8D=E5=8A=A1=E5=8F=B7?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=8E=A5=E5=85=A5(=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=92=8C=E6=A8=A1=E6=9D=BF=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/account-new.json | 2 +- pages/crud-new.json | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/pages/account-new.json b/pages/account-new.json index 1fd90d5..52d13c4 100644 --- a/pages/account-new.json +++ b/pages/account-new.json @@ -130,7 +130,7 @@ "visibleOn": "this.sendChannel ==50", "mode": "normal", "inline": true, - "label": "服务号账号样例:" + "label": "服务号账号样例:{\"appId\":\"wx27f83ca10e06b325\",\"secret\":\"203299484df873a18621d076db46fa99\"}" }, { "type": "static", diff --git a/pages/crud-new.json b/pages/crud-new.json index ee2bdd0..30c49d7 100644 --- a/pages/crud-new.json +++ b/pages/crud-new.json @@ -309,6 +309,33 @@ "clearValueOnHidden": false, "placeholder": "可用占位符{$url}" }, + { + "type": "select", + "label": "服务号账号", + "name": "sendAccount", + "source": "http://localhost:8080/account/queryByChannelType?channelType=50", + "visibleOn": "this.sendChannel == 50", + "clearValueOnHidden": false, + "required": true, + "size": "lg" + }, + { + "type": "select", + "label": "选择模板", + "name": "templateId", + "source": "http://localhost:8080/officialAccount/template/list?id=${sendAccount}", + "visibleOn": "this.sendChannel == 50", + "clearValueOnHidden": false, + "required": true, + "size": "lg", + "initFetchOn": "data.sendAccount" + }, + { + "type": "service", + "className": "m-t", + "initFetchSchemaOn": "data.templateId", + "schemaApi": "http://localhost:8080/officialAccount/template/detailTemplate?id=${sendAccount}&wxTemplateId=${templateId}" + }, { "type": "select", "label": "邮件账号",