From 02fb8cddb6c0ec60b6ba6d08beb673214d9b6959 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期一, 25 九月 2023 17:26:21 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tStudent/tStudentEdit.html | 285 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 147 insertions(+), 138 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 ced5d12..229b1df 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 @@ -343,7 +343,7 @@ "id": "u:5126d1e417f2", "valueFormat": "YYYY-MM-DD", "format": "YYYY-MM-DD", - "name":"useTime" + "name": "useTime" }, { "type": "tpl", @@ -408,7 +408,8 @@ "receiver": { "url": "/mgr/uploadImgAmis", "method": "post" - } + }, + "required": true }, { "type": "input-image", @@ -425,7 +426,8 @@ "receiver": { "url": "/mgr/uploadImgAmis", "method": "post" - } + }, + "required": true }, { "type": "container", @@ -494,10 +496,24 @@ "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, @@ -506,13 +522,9 @@ "className": "app-popover", "id": "u:044fac037276", "closeOnEsc": false, - "actions": [] + "actions": [ + ] } - }, - { - "componentId": "u:59d68a32f7fd", - "actionType": "reload", - "data": null } ] } @@ -773,9 +785,8 @@ "actionType": "dialog", "dialog": { "type": "dialog", - "title": "弹框标题", + "title": "退费列表", "body": [ - { "type": "input-text", "id": "u:895313026d71", @@ -786,7 +797,7 @@ { "type": "crud", "syncLocation": false, - "name":"crud", + "name": "crud", "api": { "method": "get", "url": "/tStudent/getBackList/$id" @@ -836,16 +847,14 @@ } }, "id": "u:38a6f5402e72", - "level": "link", - "actionType": "ajax" + "level": "link" }, { "type": "button", "label": "同意", "onEvent": { "click": { - "actions": [ - ], + "actions": [], "weight": 0 } }, @@ -857,7 +866,26 @@ "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": "-", @@ -871,13 +899,39 @@ "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": [] } } ] @@ -887,12 +941,15 @@ }, { "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", @@ -952,7 +1009,7 @@ "actionType": "dialog", "dialog": { "type": "form", - "title": "弹框标题", + "title": "", "body": [ { "type": "form", @@ -1048,6 +1105,21 @@ "messages": { }, "dataType": "form-data" + }, + "onEvent": { + "submitSucc": { + "weight": 0, + "actions": [ + { + "componentId": "u:88517068101f", + "actionType": "reload", + "args": { + "resetPage": true + }, + "dataMergeMode": "merge" + } + ] + } } } ], @@ -1063,14 +1135,30 @@ } }, "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", @@ -1140,14 +1228,16 @@ "valueField": "id" } ], - "messages": {}, + "messages": { + }, "loadingConfig": { "show": true }, "api": { "url": "/tStudent/giftSelect", "method": "post", - "messages": {}, + "messages": { + }, "requestAdaptor": "", "adaptor": "", "dataType": "form-data", @@ -1226,15 +1316,33 @@ "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" @@ -1246,7 +1354,8 @@ "showLoading": true, "className": "app-popover", "id": "u:552bd1b3464d", - "actions": [], + "actions": [ + ], "canAccessSuperData": false } } @@ -1254,7 +1363,8 @@ } }, "id": "u:ae1e6e73beb9", - "level": "link" + "level": "link", + "disabledOn": "this.laveClassHours === 0" }, { "type": "button", @@ -1505,7 +1615,6 @@ "id": "u:dd3110deaf9d", "level": "link" } - ] } ], @@ -1539,104 +1648,6 @@ ] } } - }, - { - "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": [ @@ -1647,12 +1658,9 @@ "bulkUpdate", "delete" ], - "id": "u:88517068101f", "perPageAvailable": [ 10 ], - "messages": { - }, "headerToolbar": [ { "type": "bulk-actions", @@ -1661,7 +1669,8 @@ ], "columnsTogglable": false, "affixHeader": true, - "source": "" + "source": "", + "itemCheckableOn": "this.classType === 1 &&this.laveClassHours > 0" }, { "type": "container", -- Gitblit v1.7.1