| | |
| | | "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", |
| | | "value":`${pic1!}`, |
| | | "disabled": true, |
| | | "type": "images", |
| | | "id": "u:76216a114f2c", |
| | | "name": "images", |
| | | "value":`${images!}`, |
| | | "delimiter":";" |
| | | }, |
| | | { |
| | | "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", |
| | | "value":`${pic2!}`, |
| | | "disabled": true, |
| | | }, |
| | | { |
| | | "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", |
| | | "value":`${pic3!}`, |
| | | "disabled": true, |
| | | }, |
| | | // { |
| | | // "type": "input-image", |
| | | // "id": "u:53e0d6a37b69", |
| | | // "label": "", |
| | | // "name": "image1", |
| | | // "autoUpload": true, |
| | | // "proxy": true, |
| | | // "uploadType": "fileReceptor", |
| | | // "imageClassName": "r w-full", |
| | | // "receiver": { |
| | | // "url": "/mgr/uploadImgAmis", |
| | | // "method": "post" |
| | | // }, |
| | | // "accept": ".jpeg, .jpg, .png, .gif", |
| | | // "multiple": false, |
| | | // "hideUploadButton": false, |
| | | // "fixedSize": false, |
| | | // "mode": "inline", |
| | | // "value":`${pic1!}`, |
| | | // "disabled": true, |
| | | // }, |
| | | // { |
| | | // "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", |
| | | // "value":`${pic2!}`, |
| | | // "disabled": true, |
| | | // }, |
| | | // { |
| | | // "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", |
| | | // "value":`${pic3!}`, |
| | | // "disabled": true, |
| | | // }, |
| | | { |
| | | "type": "divider", |
| | | "id": "u:c8ddd15c688d" |
| | |
| | | "type": "input-date", |
| | | "id": "u:9fe564fc31fc", |
| | | "label": "        入学时间:", |
| | | "name": "birthday", |
| | | "embed": false, |
| | | "mode": "inline", |
| | | "size": "md", |
| | | "value":`${studentClassInfo.inDate}`, |
| | | "value":`${item.time}`, |
| | | "disabled": true, |
| | | }, |
| | | { |
| | |
| | | "id": "u:5126d1e417f2", |
| | | "valueFormat": "YYYY-MM-DD", |
| | | "format": "YYYY-MM-DD", |
| | | "name":"useTime" |
| | | "name": "useTime" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | } |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | } |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "container", |
| | |
| | | "method": "post", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "messages": {}, |
| | | "messages": { |
| | | }, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [] |
| | | "actions": [ |
| | | ], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:59d68a32f7fd", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ], |
| | | "showCloseButton": true, |
| | |
| | | "className": "app-popover", |
| | | "id": "u:044fac037276", |
| | | "closeOnEsc": false, |
| | | "actions": [] |
| | | "actions": [ |
| | | ] |
| | | } |
| | | }, |
| | | { |
| | | "componentId": "u:59d68a32f7fd", |
| | | "actionType": "reload", |
| | | "data": null |
| | | } |
| | | ] |
| | | } |
| | |
| | | "id": "u:e6a3e106fac0", |
| | | "tpl": "退费申请:", |
| | | "inline": true, |
| | | |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "paddingBottom": "100", |
| | |
| | | "actionType": "dialog", |
| | | "dialog": { |
| | | "type": "dialog", |
| | | "title": "弹框标题", |
| | | "title": "退费列表", |
| | | "body": [ |
| | | |
| | | { |
| | | "type": "input-text", |
| | | "id": "u:895313026d71", |
| | |
| | | { |
| | | "type": "crud", |
| | | "syncLocation": false, |
| | | "name":"crud", |
| | | "name": "crud", |
| | | "api": { |
| | | "method": "get", |
| | | "url": "/tStudent/getBackList/$id" |
| | |
| | | "url": "/tStudent/backmoney", |
| | | "params": { |
| | | "ids": "$ids", |
| | | "id": "$id" |
| | | "id": "$studentId" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | }, |
| | | "id": "u:38a6f5402e72", |
| | | "level": "link", |
| | | "actionType": "ajax" |
| | | "level": "link" |
| | | }, |
| | | { |
| | | @if(shiro.hasPermission("/backpass")){ |
| | | |
| | | { |
| | | "type": "button", |
| | | "label": "同意", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | ], |
| | | "actions": [], |
| | | "weight": 0 |
| | | } |
| | | }, |
| | |
| | | "method": "post", |
| | | "url": "/tStudent/changeStatus/$id" |
| | | }, |
| | | "reload": "pay" |
| | | "reload": "pay,crud" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "拒绝", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [], |
| | | "weight": 0 |
| | | } |
| | | }, |
| | | "id": "u:4450de076e9f", |
| | | "level": "link", |
| | | "actionType": "ajax", |
| | | "hiddenOn": "this.status === 1 || this.status === 2", |
| | | "api": { |
| | | "method": "post", |
| | | "url": "/tStudent/noStatus/$id" |
| | | }, |
| | | "reload": "pay,crud" |
| | | } |
| | | @} |
| | | |
| | | ], |
| | | "placeholder": "-", |
| | | "label": "操作" |
| | |
| | | "delete" |
| | | ], |
| | | "id": "u:a4ce7e3ae181" |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "button", |
| | | "id": "u:2cb16767ded5", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "closeDialog" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "enhance" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "relative" |
| | | }, |
| | | "id": "u:a0b6e9312424" |
| | | } |
| | | ], |
| | | "showCloseButton": true, |
| | | "showErrorMsg": true, |
| | | "showLoading": true, |
| | | "className": "app-popover", |
| | | "id": "u:b91085026056" |
| | | "id": "u:b91085026056", |
| | | "actions": [] |
| | | } |
| | | } |
| | | ] |
| | |
| | | }, |
| | | { |
| | | "type": "crud", |
| | | "name":"pay", |
| | | "syncLocation": false, |
| | | "api": { |
| | | "method": "get", |
| | | "url": "/tStudent/classList/$id" |
| | | "id": "u:88517068101f", |
| | | "messages": { |
| | | }, |
| | | "api": { |
| | | "url": "/tStudent/classList/$id", |
| | | "method": "get" |
| | | }, |
| | | "name": "pay", |
| | | "syncLocation": false, |
| | | "columns": [ |
| | | { |
| | | "name": "className", |
| | |
| | | "label": "已上课时数", |
| | | "name": "hasClassHours", |
| | | "id": "u:b55a5ac7f49d", |
| | | "value": "$totalClassHours-$totalClassHours" |
| | | }, |
| | | { |
| | | "type": "text", |
| | |
| | | "actionType": "dialog", |
| | | "dialog": { |
| | | "type": "form", |
| | | "title": "弹框标题", |
| | | "title": "", |
| | | "body": [ |
| | | { |
| | | "type": "form", |
| | |
| | | "messages": { |
| | | }, |
| | | "dataType": "form-data" |
| | | }, |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:88517068101f", |
| | | "actionType": "reload", |
| | | "args": { |
| | | "resetPage": true |
| | | }, |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | }, |
| | | "actions": [ |
| | | ] |
| | | ], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:88517068101f", |
| | | "actionType": "reload", |
| | | "args": { |
| | | "resetPage": true |
| | | }, |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:fcd7f36c5f88", |
| | | "level": "link" |
| | | "level": "link", |
| | | "disabledOn": "this.laveClassHours === 0 || this.classType===2", |
| | | "hiddenOn": "this.classType===2" |
| | | }, |
| | | { |
| | | "type": "button", |
| | |
| | | ], |
| | | "messages": {}, |
| | | "loadingConfig": { |
| | | "show": true |
| | | "show": false |
| | | }, |
| | | "api": { |
| | | "url": "/tStudent/giftSelect", |
| | |
| | | "phone": "$phone", |
| | | "id": "$id" |
| | | } |
| | | } |
| | | }, |
| | | "initFetch": false |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "messages": {}, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [] |
| | | "actions": [], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:88517068101f", |
| | | "actionType": "reload", |
| | | "args": { |
| | | "resetPage": true |
| | | }, |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "id": "u:59d68a32f7fd", |
| | |
| | | } |
| | | }, |
| | | "id": "u:ae1e6e73beb9", |
| | | "level": "link" |
| | | "level": "link", |
| | | "disabledOn": "this.laveClassHours === 0 || this.classType===2", |
| | | "hiddenOn": "this.classType===2" |
| | | }, |
| | | { |
| | | "type": "button", |
| | |
| | | "actionType": "dialog", |
| | | "dialog": { |
| | | "type": "dialog", |
| | | "title": "弹框标题", |
| | | "title": "课时变更记录", |
| | | "body": [ |
| | | { |
| | | "type": "form", |
| | |
| | | "api": { |
| | | "url": "/tStudent/changelist/$id", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "messages": {}, |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "dataType": "form" |
| | |
| | | "name": "changeType", |
| | | "label": "变更类型", |
| | | "type": "mapping", |
| | | "id": "u:e2b292dd63d0" |
| | | "id": "u:e2b292dd63d0", |
| | | "map": { |
| | | "0": "减少", |
| | | "1": "增加" |
| | | } |
| | | }, |
| | | { |
| | | "type": "text", |
| | |
| | | "id": "u:8ba95bfd5e56" |
| | | } |
| | | ], |
| | | "bulkActions": [ |
| | | ], |
| | | "itemActions": [ |
| | | ], |
| | | "bulkActions": [], |
| | | "itemActions": [], |
| | | "features": [ |
| | | "filter" |
| | | ], |
| | |
| | | { |
| | | "type": "input-date-range", |
| | | "name": "start", |
| | | "label": "上传时间", |
| | | "label": "时间", |
| | | "id": "u:b2fb064aa9ac", |
| | | "inputFormat": "YYYY-MM-DD HH:mm", |
| | | "format": "YYYY-MM-DD HH:mm", |
| | |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "是否启用", |
| | | "label": "变更类型", |
| | | "name": "changeType", |
| | | "options": [ |
| | | { |
| | |
| | | "perPageAvailable": [ |
| | | 10 |
| | | ], |
| | | "messages": { |
| | | }, |
| | | "messages": {}, |
| | | "perPageField": "size" |
| | | }, |
| | | { |
| | |
| | | "method": "post", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "messages": { |
| | | }, |
| | | "messages": {}, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [ |
| | | ] |
| | | "actions": [] |
| | | } |
| | | ], |
| | | "showCloseButton": true, |
| | |
| | | "showLoading": true, |
| | | "className": "", |
| | | "id": "u:f66fa4de8251", |
| | | "actions": [ |
| | | ], |
| | | "actions": [], |
| | | "canAccessSuperData": false, |
| | | "wrapWithPanel": false, |
| | | "size": "xl", |
| | |
| | | } |
| | | }, |
| | | "id": "u:dd3110deaf9d", |
| | | "level": "link" |
| | | "level": "link", |
| | | "disabledOn": "this.classType===2", |
| | | "hiddenOn": "this.classType===2" |
| | | } |
| | | |
| | | ] |
| | | } |
| | | ], |
| | |
| | | "tpl": "        已报名课程:", |
| | | "wrapperComponent": "" |
| | | }, |
| | | { |
| | | @if(shiro.hasPermission("/bback")){ |
| | | |
| | | { |
| | | "type": "button", |
| | | "label": "退费", |
| | | "visible": true, |
| | | "actionType": "ajax", |
| | | "id": "u:38a6f5402e72", |
| | | "onEvent": { |
| | |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "退费申请", |
| | | "id": "u:4b1f37ea569c", |
| | | "level": "info", |
| | | "onEvent": { |
| | | "click": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "actionType": "dialog", |
| | | "dialog": { |
| | | "type": "dialog", |
| | | "title": "弹框标题", |
| | | "body": [ |
| | | { |
| | | "type": "tpl", |
| | | "tpl": "对,你刚刚点击了", |
| | | "wrapperComponent": "", |
| | | "inline": false, |
| | | "id": "u:d72b44ae6de4" |
| | | }, |
| | | { |
| | | "type": "crud", |
| | | "syncLocation": false, |
| | | "api": { |
| | | "method": "get", |
| | | "url": "/tStudent/getBackList/$id" |
| | | }, |
| | | "columns": [ |
| | | { |
| | | "name": "inserTtime", |
| | | "label": "申请时间", |
| | | "type": "date", |
| | | "id": "u:6948dfe01afd" |
| | | }, |
| | | { |
| | | "name": "status", |
| | | "label": "审核状态", |
| | | "type": "mapping", |
| | | "id": "u:1f2a09737a98" |
| | | }, |
| | | { |
| | | "type": "operation", |
| | | "id": "u:b0e34eccd864", |
| | | "buttons": [ |
| | | { |
| | | "type": "button", |
| | | "label": "退费", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "url", |
| | | "args": { |
| | | "url": "/tStudent/backmoney", |
| | | "params": { |
| | | "ids": "$ids", |
| | | "id": "$id" |
| | | } |
| | | } |
| | | } |
| | | ], |
| | | "weight": 0 |
| | | } |
| | | }, |
| | | "id": "u:38a6f5402e72", |
| | | "actionType": "ajax", |
| | | "level": "info" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "bulkActions": [], |
| | | "itemActions": [], |
| | | "features": [ |
| | | "view", |
| | | "delete" |
| | | ], |
| | | "id": "u:a4ce7e3ae181" |
| | | } |
| | | ], |
| | | "showCloseButton": true, |
| | | "showErrorMsg": true, |
| | | "showLoading": true, |
| | | "className": "app-popover", |
| | | "id": "u:b91085026056" |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "label": "退费", |
| | | "type": "button", |
| | | "id": "u:6997f0c17d7b" |
| | | } |
| | | ], |
| | | @} |
| | | |
| | | ], |
| | | "itemActions": [ |
| | | ], |
| | | "features": [ |
| | |
| | | "bulkUpdate", |
| | | "delete" |
| | | ], |
| | | "id": "u:88517068101f", |
| | | "perPageAvailable": [ |
| | | 10 |
| | | ], |
| | | "messages": { |
| | | }, |
| | | "headerToolbar": [ |
| | | { |
| | | "type": "bulk-actions", |
| | |
| | | ], |
| | | "columnsTogglable": false, |
| | | "affixHeader": true, |
| | | "source": "" |
| | | "source": "", |
| | | "itemCheckableOn": "this.classType === 1 &&this.laveClassHours > 0" |
| | | }, |
| | | { |
| | | "type": "container", |