From d09828cdec78a160f4530a8ab245216ed8671c27 Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 20 九月 2023 18:43:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html | 1245 ++++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 899 insertions(+), 346 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html index 0c8b15d..68e832b 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html @@ -36,402 +36,955 @@ let amis = amisRequire('amis/embed'); // 通过替换下面这个配置来生成不同页面 let amisJSON = { - "type": "page", + "type": "form", + "title": "编辑", "body": [ { - "type": "page", - "api": { - "method": "post", - "url": "/api/v1/sys/user/v2/add", - "messages": { + "type": "grid", + "id": "u:747bced162da", + "columns": [ + ] + }, { + "type": "input-text", + "id": "u:32cb99df3eb8", + "label": "id", + "name": "id", + "size": "md", + "mode": "horizontal", + "hidden": true, + "value":`${item.id!}` + }, + { + "type": "input-text", + "id": "u:32cb99df3eb8", + "label": "id", + "name": "id", + "size": "md", + "mode": "horizontal", + "hidden": false + }, + { + "type": "tpl", + "id": "u:2dd6bf52bf62", + "tpl": "学员信息", + "inline": true, + "wrapperComponent": "h2" + }, + { + "type": "input-text", + "label": "所属用户", + "id": "u:b60e636c6098", + "name": "userName", + "size": "md", + "mode": "horizontal", + "required": true, + "disabled": true + }, + { + "type": "input-text", + "label": "       姓名", + "id": "u:0b2463bbffe8", + "name": "name", + "size": "md", + "mode": "horizontal", + "required": true + }, + { + "type": "input-date", + "label": "       生日", + "name": "birthday", + "id": "u:9fe564fc31fc", + "size": "md", + "mode": "horizontal", + "embed": false, + "format": "YYYY-MM-DD hh:mm:ss", + "inputFormat": "YYYY-MM-DD", + "required": true + }, + { + "type": "select", + "label": "       性别", + "name": "sex", + "id": "u:196a32204b25", + "size": "md", + "mode": "horizontal", + "options": [ + { + "label": "男", + "value": "1" + }, + { + "label": "女", + "value": "2" } + ], + "multiple": false, + "required": true + }, + { + "type": "input-text", + "label": "联系电话", + "name": "phone", + "id": "u:e7cf50e4f755", + "size": "md", + "mode": "horizontal", + "required": true, + "validationErrors": { + "isPhoneNumber": "请输入正确的手机号" }, + "validateOnChange": true, + "validations": { + "isPhoneNumber": true + } + }, + { + "type": "input-text", + "label": "       身高", + "name": "height", + "id": "u:c69b5e6ae298", + "size": "md", + "mode": "horizontal", + "required": true, + "validationErrors": { + "maximum": "请输入正确的身高", + "isNumeric": "请输入数字" + }, + "validateOnChange": true, + "validations": { + "maximum": 250, + "isNumeric": true + }, + "addOn": { + "label": "cm", + "type": "text" + } + }, + { + "type": "input-text", + "label": "       体重", + "name": "weight", + "id": "u:e1e5d1a95e71", + "size": "md", + "mode": "horizontal", + "required": true, + "addOn": { + "label": "kg", + "type": "text" + }, + "validationErrors": { + "maximum": "请输入正确的身高", + "isNumeric": "请输入数字" + }, + "validateOnChange": true, + "validations": { + "maximum": 250, + "isNumeric": true + } + }, + { + "type": "input-text", + "id": "u:75a1f3f0c491", + "label": "身份证号", + "name": "idCard", + "size": "md", + "mode": "horizontal", + "required": true, + "validationErrors": { + "isId": "请输入正确的身份证号" + }, + "validateOnChange": true, + "validations": { + "isId": true + } + }, + { + "type": "tpl", + "tpl": "        体测表:", + "inline": true, + "wrapperComponent": "", + "id": "u:8224ab367da8" + }, + { + "type": "input-image", + "id": "u:53e0d6a37b69", + "label": "", + "name": "image1", + "autoUpload": true, + "proxy": true, + "uploadType": "fileReceptor", + "imageClassName": "r w-full", + "receiver": { + "url": "/mgr/uploadImg", + "method": "post" + }, + "accept": ".jpeg, .jpg, .png, .gif", + "multiple": false, + "hideUploadButton": false, + "fixedSize": false, + "mode": "inline" + }, + { + "type": "input-image", + "id": "u:53e0d6a37b69", + "label": "", + "name": "image2", + "autoUpload": true, + "proxy": true, + "uploadType": "fileReceptor", + "imageClassName": "r w-full", + "receiver": { + "url": "/mgr/uploadImg", + "method": "post" + }, + "accept": ".jpeg, .jpg, .png, .gif", + "multiple": false, + "hideUploadButton": false, + "fixedSize": false, + "mode": "inline" + }, + { + "type": "input-image", + "id": "u:53e0d6a37b69", + "label": "", + "name": "image3", + "autoUpload": true, + "proxy": true, + "uploadType": "fileReceptor", + "imageClassName": "r w-full", + "receiver": { + "url": "/mgr/uploadImg", + "method": "post" + }, + "accept": ".jpeg, .jpg, .png, .gif", + "multiple": false, + "hideUploadButton": false, + "fixedSize": false, + "mode": "inline" + }, + { + "type": "container", "body": [ { - "type": "grid", - "id": "u:747bced162da", - "columns": [ - ] - }, - { "type": "tpl", - "tpl": "学员信息", + "id": "u:8224ab367da8", + "tpl": "                                                                          ", "inline": true, - "wrapperComponent": "h2", - "id": "u:2dd6bf52bf62" - - }, - { - "type": "input-text", - "label": "所属用户", - "name": "userName", - "id": "u:b60e636c6098", - "size": "md", - "mode": "horizontal", - "value" :`${item.userName}` - }, - { - "type": "input-text", - "label": "姓名", - "name": "name", - "id": "u:0b2463bbffe8", - "size": "md", - "mode": "horizontal", - "value" :`${item.name}` - }, - { - "type": "input-date", - "label": "生日", - "name": "birthday", - "id": "u:9fe564fc31fc", - "embed": false, - "size": "md", - "mode": "horizontal", - "value" :`${item.birthday}` - }, - { - "type": "select", - "label": "性别", - "name": "sex", - "options": [ - { - "label": "男", - "value": "1" - }, - { - "label": "女", - "value": "2" - } - ], - "id": "u:196a32204b25", - "multiple": false, - "size": "md", - "mode": "horizontal", - "value" :`${item.sex}` - }, - { - "type": "input-text", - "label": "联系电话", - "name": "phone", - "id": "u:e7cf50e4f755", - "size": "md", - "mode": "horizontal", - "value" :`${item.phone}` - }, - { - "type": "input-text", - "label": "身高", - "name": "height", - "id": "u:c69b5e6ae298", - "size": "md", - "mode": "horizontal", - "value" :`${item.height}` - }, - { - "type": "input-text", - "label": "体重", - "name": "weight", - "id": "u:e1e5d1a95e71", - "size": "md", - "mode": "horizontal", - "value" :`${item.weight}` - }, - { - "type": "input-text", - "label": "身份证号", - "name": "idCard", - "id": "u:75a1f3f0c491", - "size": "md", - "mode": "horizontal", - "value" :`${item.idCard}` - }, - { - "type": "grid", - "columns": [ - ], - "id": "u:c54439aa7c6f" - }, - { - "type": "tpl", - "tpl": "体测表:", - "inline": true, - "wrapperComponent": "", - "id": "u:8224ab367da8" - }, - { - "type": "image", - "id": "u:9b276f60fd0f", - "src" :`${item.lateralSurface}` - }, - { - "type": "divider", - "id": "u:c8ddd15c688d" - }, - { - "type": "tpl", - "id": "u:2dd6bf52bf62", - "tpl": "学员信息", - "inline": true, - "wrapperComponent": "h2" - }, - { - "type": "input-date", - "label": "入学时间", - "name": "birthday", - "id": "u:9fe564fc31fc", - "embed": false, - "mode": "horizontal", - "size": "md" - }, - { - "type": "input-date", - "label": "课时有效期", - "name": "birthday", - "id": "u:fe7e8d2223a3", - "embed": false, - "mode": "inline", - "size": "md" + "wrapperComponent": "" }, { "type": "button", - "label": "按钮", + "id": "u:783ce71739db", + "label": "保存", "onEvent": { "click": { "actions": [ { - "args": {}, + "componentId": "u:7c5f75a3b7b5", + "args": { + }, + "outputVar": "responseResult", + "actionType": "submit" + }, + { + "args": { + }, + "script": "parent.layer.close(window.parent.TStudent.layerIndex);\n\n window.parent.TStudent.table.refresh();", + "actionType": "custom" + } + ] + } + }, + "level": "info" + }, + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "   ", + "inline": true, + "wrapperComponent": "" + }, + { + "type": "button", + "id": "u:008bc32396cc", + "label": "取消", + "onEvent": { + "click": { + "actions": [ + { + "args": { + }, "script": "parent.layer.close(window.parent.TStudent.layerIndex);\nconsole.log(\"===关闭\")", "actionType": "custom" } ] } }, - "id": "u:e4351e254501", - "block": false, - "size": "sm" + "block": false + } + ], + "style": { + "position": "static", + "display": "block" + }, + "id": "u:59d68a32f7fd" + }, + { + "type": "divider", + "id": "u:c8ddd15c688d" + }, + { + "type": "tpl", + "id": "u:2dd6bf52bf62", + "tpl": "学员信息", + "inline": true, + "wrapperComponent": "h2" + }, + { + "type": "input-date", + "id": "u:9fe564fc31fc", + "label": "        入学时间:", + "name": "birthday", + "embed": false, + "mode": "inline", + "size": "md", + "value":`${studentClassInfo.inDate}` + }, + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "  ", + "inline": true, + "wrapperComponent": "" + }, + { + "type": "service", + "id": "u:59d68a32f7fd", + "body": [ + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "       ", + "inline": true, + "wrapperComponent": "", + "style": { + "paddingBottom": "100", + "marginBottom": "100" + } }, { - "type": "button", - "label": "按钮", - "id":"ttt", - "onEvent": { - "click": { - "actions": [ - ] - } - }, - "id": "u:301c5568d984", - "block": false, - "size": "sm" + "type": "tpl", + "id": "u:6653713899d6", + "tpl": "课时有效期:", + "inline": true, + "wrapperComponent": "", + "style": { + "paddingBottom": "100", + "marginBottom": "100" + } }, { - "type": "input-text", - "label": "总课时数", - "name": "idCard", - "id": "u:75a1f3f0c491", - "mode": "horizontal", - "size": "md" - }, - { - "type": "input-text", - "label": "已学课时数", - "name": "idCard", - "id": "u:885bcd604fdd", - "mode": "horizontal", - "size": "md" - }, - { - "type": "input-text", - "label": "剩余课时数", - "name": "idCard", - "id": "u:0b490e767715", - "mode": "horizontal", - "size": "md" - }, - { - "type": "input-text", - "label": "赠送课时数", - "name": "idCard", - "id": "u:9c67ae2b5106", - "mode": "horizontal", - "size": "md" + "type": "date", + "id": "u:5126d1e417f2", + "valueFormat": "YYYY-MM-DD", + "format": "YYYY-MM-DD", + "name":"useTime" }, { "type": "tpl", "id": "u:8224ab367da8", - "tpl": "已报名课程:", + "tpl": "        ", + "inline": true, + "wrapperComponent": "" + }, + { + "type": "button", + "id": "u:eb0bf26b811c", + "label": "更改有效期", + "onEvent": { + "click": { + "actions": [ + { + "actionType": "dialog", + "dialog": { + "type": "form", + "title": "", + "body": [ + { + "type": "form", + "title": "", + "body": [ + { + "type": "tpl", + "id": "u:ad3ad29f909f", + "tpl": "                                             更改有效期", + "inline": true, + "wrapperComponent": "h3" + }, + { + "type": "input-text", + "label": "id", + "name": "id", + "id": "u:eb67fad3f986", + "hidden": true + }, + { + "type": "input-date", + "label": "请选择时间:", + "name": "date", + "id": "u:b987087f666d", + "description": "", + "placeholder": "请选择时间", + "format": "YYYY-MM-DD", + "inputFormat": "YYYY-MM-DD" + }, + { + "type": "input-image", + "label": "上传申请凭证:", + "name": "pleasePic", + "autoUpload": true, + "proxy": true, + "uploadType": "fileReceptor", + "imageClassName": "r w-full", + "id": "u:301ea2de9546", + "accept": ".jpeg, .jpg, .png, .gif", + "multiple": false, + "hideUploadButton": false, + "receiver": { + "url": "/mgr/uploadImg", + "method": "post" + }, + "value": "https://we-park-life.oss-cn-beijing.aliyuncs.com/img/99325878956443d68bb835145a8dca49.png" + }, + { + "type": "input-image", + "id": "u:8ead1783a724", + "label": "上传申请凭证:", + "name": "passPic", + "autoUpload": true, + "proxy": true, + "uploadType": "fileReceptor", + "imageClassName": "r w-full", + "accept": ".jpeg, .jpg, .png, .gif", + "multiple": false, + "hideUploadButton": false, + "receiver": { + "url": "/mgr/uploadImg", + "method": "post" + }, + "value": "https://we-park-life.oss-cn-beijing.aliyuncs.com/img/99325878956443d68bb835145a8dca49.png" + }, + { + "type": "container", + "id": "u:59d68a32f7fd", + "body": [ + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "                                                 ", + "inline": true, + "wrapperComponent": "" + }, + { + "type": "button", + "id": "u:783ce71739db", + "label": "保存", + "onEvent": { + "click": { + "actions": [ + { + "componentId": "u:044fac037276", + "actionType": "submit" + }, + { + "actionType": "reload", + "componentId": "u:59d68a32f7fd", + "dataMergeMode": "merge" + } + ] + } + }, + "level": "info" + }, + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "   ", + "inline": true, + "wrapperComponent": "" + }, + { + "type": "button", + "id": "u:008bc32396cc", + "label": "取消", + "onEvent": { + "click": { + "actions": [ + { + "actionType": "closeDialog" + } + ] + } + }, + "block": false + } + ], + "style": { + "position": "static", + "display": "block" + } + } + ], + "id": "u:c2157dea4513", + "api": { + "url": "/tStudent/updateClassTime", + "method": "post", + "requestAdaptor": "", + "adaptor": "", + "messages": { + }, + "dataType": "form-data" + } + } + ], + "showCloseButton": true, + "showErrorMsg": true, + "showLoading": true, + "className": "app-popover", + "id": "u:044fac037276", + "closeOnEsc": false + } + } + ] + } + }, + "block": false, + "size": "xs", + "level": "info" + }, + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "        ", "inline": true, "wrapperComponent": "" }, { "type": "button", "id": "u:e4351e254501", - "label": "按钮", + "label": "变更记录", "onEvent": { "click": { "actions": [ - ] - } - }, - "block": false, - "size": "sm" - }, - { - "type": "button", - "id": "u:ea5e20546af6", - "label": "按钮", - "onEvent": { - "click": { - "actions": [ - ] - } - }, - "block": false, - "size": "sm" - }, - { - "type": "crud", - "id": "u:109d99e159cd", - "syncLocation": false, - "api": { - "method": "get", - "url": "" - }, - "columns": [ - { - "name": "id", - "label": "ID", - "type": "text", - "id": "u:21721a4d89f6" - }, - { - "type": "text", - "label": "课程名称", - "id": "u:7f42dca56223" - }, - { - "type": "text", - "label": "课程类型", - "id": "u:3448716fbf69" - }, - { - "type": "date", - "label": "报名时间", - "id": "u:fabf6836f645" - }, - { - "type": "text", - "label": "总课时数", - "id": "u:29594df9f5ac" - }, - { - "type": "text", - "label": "已上课时数", - "id": "u:d5c9d7549565" - }, - { - "type": "text", - "label": "剩余课时数", - "id": "u:57f34a127f19" - }, - { - "type": "operation", - "label": "操作", - "buttons": [ { - "type": "button", - "label": "删除", - "actionType": "ajax", - "level": "link", - "className": "text-danger", - "confirmText": "确定要删除?", - "api": { - "method": "post", - "url": "" - }, - "id": "u:0102419e28c2" - }, - { - "label": "查看", - "type": "button", "actionType": "dialog", - "level": "link", "dialog": { - "title": "查看详情", - "body": { - "type": "form", - "api": "xxx/update", - "body": [ - { - "name": "id", - "label": "ID", - "type": "static" + "type": "form", + "title": "弹框标题", + "body": [ + { + "type": "input-text", + "label": "id", + "name": "id", + "id": "u:0a5bc6f58ee8" + }, + { + "type": "crud", + "syncLocation": false, + "api": { + "method": "get", + "url": "/tStudent/getHisory/$id" }, - { - "name": "engine", - "label": "渲染引擎", - "type": "static" + "columns": [ + { + "name": "insertTime", + "label": "操作时间", + "type": "date", + "id": "u:b652786dc9df" + }, + { + "type": "text", + "label": "操作人", + "name": "createBy", + "id": "u:88bf448f69b0" + }, + { + "type": "image", + "label": "申请凭证", + "name": "picPlease", + "id": "u:b22cfb737009" + }, + { + "type": "image", + "label": "同意凭证", + "name": "picPass", + "id": "u:2a9071d0bda1" + } + ], + "bulkActions": [ + ], + "itemActions": [ + ], + "id": "u:bfea49b7b171", + "perPageAvailable": [ + 10 + ], + "messages": { } - ] - } - }, - "id": "u:e2e4d6c5e962" - }, - { - "label": "编辑", - "type": "button", - "actionType": "dialog", - "level": "link", - "dialog": { - "title": "编辑", - "body": { - "type": "form", - "api": "xxx/update", - "body": [ - { - "name": "id", - "label": "ID", - "type": "input-text" - }, - { - "name": "engine", - "label": "渲染引擎", - "type": "input-text" - } - ] - } - }, - "id": "u:5ea94f031686" + } + ], + "showCloseButton": true, + "showErrorMsg": true, + "showLoading": true, + "className": "app-popover", + "id": "u:c4e97065bccb" + } } - ], - "id": "u:13c653566505" + ] } - ], - "bulkActions": [ - ], - "itemActions": [ - ], - "features": [ - "delete", - "view", - "update" + }, + "block": false, + "size": "xs", + "level": "info" + }, + { + "type": "tpl", + "id": "u:8224ab367da8", + "tpl": "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ", + "inline": true, + "wrapperComponent": "" + } + ], + "style": { + "position": "static", + "display": "inline-block" + }, + "isFixedHeight": false, + "isFixedWidth": false, + "wrapperComponent": "div", + "messages": { + }, + "api": { + "url": "/tStudent/getUseTime/$id", + "method": "get" + } + }, + { + "type": "input-text", + "id": "u:8c717c6b4700", + "label": "总课时数:", + "name": "idCard0", + "mode": "horizontal", + "size": "md", + "themeCss": { + "labelClassName": { + "padding-and-margin:default": { + "marginTop": "", + "marginRight": "", + "marginBottom": "", + "marginLeft": "" + } + } + }, + "labelClassName": "labelClassName-49dd1bda82f4", + "value":`${studentClassInfo.totalHours}` + }, + { + "type": "input-text", + "id": "u:885bcd604fdd", + "label": "已学课时数:", + "name": "idCard1", + "mode": "horizontal", + "size": "md", + "value":`${studentClassInfo.hasHours}` + }, + { + "type": "input-text", + "id": "u:0b490e767715", + "label": "剩余课时数", + "name": "idCard2", + "mode": "horizontal", + "size": "md", + "value":`${studentClassInfo.restHours}` + }, + { + "type": "input-text", + "id": "u:9c67ae2b5106", + "label": "赠送课时数", + "name": "idCard3", + "mode": "horizontal", + "size": "md", + "value":`${studentClassInfo.giftHours}` + }, + { + "type": "crud", + "syncLocation": false, + "api": { + "method": "get", + "url": "/tStudent/classList/$id" + }, + "columns": [ + { + "name": "className", + "label": "课程名称", + "type": "text", + "id": "u:eff92c911684" + }, + { + "type": "mapping", + "label": "课程类型", + "name": "classType", + "id": "u:2f1091a380a8", + "map": { + "*": "通配值" + } + }, + { + "type": "date", + "label": "报名时间", + "name": "reportDate", + "id": "u:36ab5e408a48" + }, + { + "type": "text", + "label": "总课时数", + "name": "totalTime", + "id": "u:fba93556fb2e" + }, + { + "type": "text", + "label": "已上课时数", + "name": "haveTime", + "id": "u:b55a5ac7f49d" + }, + { + "type": "text", + "label": "剩余课时数", + "name": "restTime", + "id": "u:abb78021df40" + }, + { + "type": "operation", + "id": "u:bbd866281f8f", + "buttons": [ + { + "type": "button", + "label": "转移", + "onEvent": { + "click": { + "actions": [ + { + "actionType": "dialog", + "dialog": { + "type": "form", + "title": "弹框标题", + "body": [ + { + "type": "select", + "label": "请选择被转移学员", + "name": "select", + "id": "u:80a2266885a3", + "multiple": false, + "mode": "horizontal", + "size": "lg", + "horizontal": { + "leftFixed": "lg" + }, + "source": { + "url": "/tStudent/getUserSlect/$id", + "method": "get" + }, + "labelField": "value", + "valueField": "id" + }, + { + "type": "input-text", + "label": "id", + "name": "id", + "id": "u:1e2c394fa299" + }, + { + "type": "tpl", + "tpl": "对,你刚刚点击了", + "wrapperComponent": "", + "inline": false, + "id": "u:7c4a5a6b60d0" + } + ], + "showCloseButton": true, + "showErrorMsg": true, + "showLoading": true, + "className": "app-popover", + "id": "u:a612413d932d" + } + } + ] + } + }, + "id": "u:fcd7f36c5f88", + "level": "link" + }, + { + "type": "button", + "label": "赠课", + "onEvent": { + "click": { + "actions": [ + { + "actionType": "dialog", + "dialog": { + "type": "form", + "title": "弹框标题", + "body": [ + { + "type": "input-text", + "label": "用户姓名:", + "name": "text", + "id": "u:c260d6dbc161", + "mode": "horizontal" + }, + { + "type": "input-text", + "label": "用户电话", + "name": "phone", + "id": "u:c00d1204430d", + "mode": "horizontal" + }, + { + "type": "service", + "id": "u:f6ab941852f1", + "body": [ + { + "type": "select", + "id": "u:a7766815916b", + "label": "选择学员", + "name": "select", + "multiple": false, + "mode": "horizontal", + "size": "lg", + "value": "" + } + ] + }, + { + "type": "button", + "label": "按钮", + "onEvent": { + "click": { + "actions": [ + ] + } + }, + "id": "u:5fcf1222f6ea" + }, + { + "type": "input-text", + "label": "id", + "name": "id", + "id": "u:fe0979ee23df" + }, + { + "type": "tpl", + "tpl": "对,你刚刚点击了", + "wrapperComponent": "", + "inline": false, + "id": "u:5fe4b4c9e423" + } + ], + "showCloseButton": true, + "showErrorMsg": true, + "showLoading": true, + "className": "app-popover", + "id": "u:552bd1b3464d" + } + } + ] + } + }, + "id": "u:ae1e6e73beb9", + "level": "link" + } ] } ], - "id": "u:7c5f75a3b7b5", - "actions": [ - ] + "bulkActions": [ + { + "type": "tpl", + "id": "u:8224ab367da8", + "inline": true, + "tpl": "        已报名课程:", + "wrapperComponent": "" + }, + { + "label": "ajax请求", + "type": "button", + "actionType": "ajax", + "api": { + "method": "get", + "url": "/ttt", + "data": { + "item": "$items" + }, + "id": "u:f706584d4a0c" + }, + "id": "u:38a6f5402e72" + }, + { + "label": "退费", + "type": "button", + "id": "u:4b1f37ea569c" + }, + { + "label": "退费", + "type": "button", + "id": "u:6997f0c17d7b" + } + ], + "itemActions": [ + ], + "features": [ + "update", + "view", + "bulkUpdate", + "delete" + ], + "id": "u:88517068101f", + "perPageAvailable": [ + 10 + ], + "messages": { + }, + "headerToolbar": [ + { + "type": "bulk-actions", + "align": "left" + } + ], + "columnsTogglable": false, + "affixHeader": true, + "source": "" + }, + { + "type": "container", + "body": [ + ], + "style": { + "position": "static", + "display": "block" + }, + "id": "u:1afed7a178d1" } ], - "id": "u:2cb85ab1ec8c", - "showCloseButton": true, - "closeOnEsc": true, - "showErrorMsg": true, - "showLoading": true, - "dataMapSwitch": false, - "size": "md", - "aside": [ - ] + "id": "u:7c5f75a3b7b5", + "api": { + "method": "post", + "url": "/tStudent/update", + "messages": { + } + }, + "actions": [ + ], + "mode": "normal", + "validateOnChange": true }; let amisScoped = amis.embed('#root', amisJSON); -- Gitblit v1.7.1