| | |
| | | "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 |
| | | } |
| | | ] |
| | | } |
| | |
| | | "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" |
| | |
| | | } |
| | | }, |
| | | "id": "u:38a6f5402e72", |
| | | "level": "link", |
| | | "actionType": "ajax" |
| | | "level": "link" |
| | | }, |
| | | { |
| | | "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": "-", |
| | |
| | | "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", |
| | |
| | | "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" |
| | | }, |
| | | { |
| | | "type": "button", |
| | |
| | | "valueField": "id" |
| | | } |
| | | ], |
| | | "messages": {}, |
| | | "messages": { |
| | | }, |
| | | "loadingConfig": { |
| | | "show": true |
| | | }, |
| | | "api": { |
| | | "url": "/tStudent/giftSelect", |
| | | "method": "post", |
| | | "messages": {}, |
| | | "messages": { |
| | | }, |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "dataType": "form-data", |
| | |
| | | "method": "post", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "messages": {}, |
| | | "messages": { |
| | | }, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [] |
| | | "actions": [ |
| | | ], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:88517068101f", |
| | | "actionType": "reload", |
| | | "args": { |
| | | "resetPage": true |
| | | }, |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "id": "u:59d68a32f7fd", |
| | | "type": "container", |
| | | "body": [], |
| | | "body": [ |
| | | ], |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block" |
| | |
| | | "showLoading": true, |
| | | "className": "app-popover", |
| | | "id": "u:552bd1b3464d", |
| | | "actions": [], |
| | | "actions": [ |
| | | ], |
| | | "canAccessSuperData": false |
| | | } |
| | | } |
| | |
| | | } |
| | | }, |
| | | "id": "u:ae1e6e73beb9", |
| | | "level": "link" |
| | | "level": "link", |
| | | "disabledOn": "this.laveClassHours === 0" |
| | | }, |
| | | { |
| | | "type": "button", |
| | |
| | | "id": "u:dd3110deaf9d", |
| | | "level": "link" |
| | | } |
| | | |
| | | ] |
| | | } |
| | | ], |
| | |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "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": [ |
| | |
| | | "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", |