From 014d7a35addafbc63689cda7c20bae61951f7852 Mon Sep 17 00:00:00 2001
From: luo <2855143437@qq.com>
Date: 星期一, 09 十月 2023 18:25:19 +0800
Subject: [PATCH] 10.9

---
 cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html |  192 +++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 175 insertions(+), 17 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html
index 8eef478..caf096a 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html
@@ -42,15 +42,24 @@
         {
           "type": "form",
           "id": "u:24af29be25d2",
-          "title": "111",
+          "title": "",
           "body": [
             {
-              "label": "所属运营商:",
+              "type": "tpl",
+              "id": "u:587781d5d181",
+              "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*所属运营商:",
+              "inline": true,
+              "wrapperComponent": "",
+              "style": {
+                "marginLeft": "0"
+              }
+            },{
               "type": "select",
-              "name": "operator",
-              "id": "u:970f68a2c4ee",
-              "mode": "horizontal",
-              "size": "lg",
+              "label": "",
+              "name": "operationId",
+              "id": "u:c037c33c2c81",
+              "mode": "inline",
+              "size": "md",
               "multiple": false,
               "showInvalidMatch": false,
               "searchable": true,
@@ -58,12 +67,38 @@
               "horizontal": {
                 "leftFixed": "lg"
               },
-              "options": [
-                {
-                  "label": "等待沟通中",
-                  "value": "等待沟通中"
+              "disabledOn": "is!=0",
+              "required": true,
+              "source": {
+                "url": "/ball/yunying",
+                "method": "post",
+                "messages": {
                 }
-              ]
+              },
+              "labelField": "value",
+              "valueField": "id"
+            },{
+              "type": "checkbox",
+              "option": "平台",
+              "name": "is",
+              "id": "u:88f23ebcf4f7",
+              "onEvent": {
+                "change": {
+                  "weight": 0,
+                  "actions": [
+                    {
+                      "componentId": "u:c037c33c2c81",
+                      "args": {
+                        "value": "$event.data.value"
+                      },
+                      "actionType": "setValue"
+                    }
+                  ]
+                }
+              },
+              "trueValue": "平台",
+              "falseValue": 0,
+              "mode": "inline"
             },
             {
               "type": "select",
@@ -214,6 +249,7 @@
               },
               "value": "",
               "required": true
+
             },
             {
               "type": "input-text",
@@ -224,6 +260,7 @@
               "clearValueOnHidden": false,
               "hidden": false,
               "required": true
+
             },
             {
               "type": "button",
@@ -301,6 +338,16 @@
                           "mode": "inline",
                           "labelClassName": "text-dark m-b",
                           "value": "14"
+                        },
+                        {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
                         },
                         {
                           "type": "input-text",
@@ -385,6 +432,16 @@
                           "value": "16"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "input-text",
                           "label": "玩派币",
                           "name": "shequCoin",
@@ -466,6 +523,16 @@
                           "value": "13"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "input-text",
                           "label": "玩派币",
                           "name": "shemenCoin",
@@ -544,10 +611,20 @@
                           "value": "玩湃熊之力-速度"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "hidden",
                           "label": "",
                           "name": "suduId",
-                          "id": "u:f0f7e6028e17",
+                          "id": "u:ca5a1fd9c191",
                           "mode": "inline",
                           "labelClassName": "text-dark m-b",
                           "value": "15"
@@ -635,6 +712,16 @@
                           "value": "1"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "input-text",
                           "label": "玩派币",
                           "name": "fangkuaiCoin",
@@ -714,6 +801,16 @@
                           "mode": "inline",
                           "labelClassName": "text-dark m-b",
                           "value": "7"
+                        },
+                        {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
                         },
                         {
                           "type": "input-text",
@@ -803,6 +900,16 @@
                           "value": "8"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "input-text",
                           "label": "玩派币",
                           "name": "sqCoin",
@@ -883,6 +990,16 @@
                           "mode": "inline",
                           "labelClassName": "text-dark m-b",
                           "value": "10"
+                        },
+                        {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
                         },
                         {
                           "type": "input-text",
@@ -966,6 +1083,16 @@
                           "value": "11"
                         },
                         {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
+                        },
+                        {
                           "type": "input-text",
                           "label": "玩派币",
                           "name": "zs2Coin",
@@ -1036,7 +1163,7 @@
                         },
                         {
                           "type": "hidden",
-                          "label": "游戏名称",
+                          "label": "",
                           "name": "ly",
                           "id": "u:c4a543b6cda0",
                           "mode": "inline",
@@ -1045,12 +1172,22 @@
                         },
                         {
                           "type": "hidden",
-                          "label": "游戏id",
+                          "label": "",
                           "name": "lyId",
                           "id": "u:90d5f2fa406a",
                           "mode": "inline",
                           "labelClassName": "text-dark m-b",
                           "value": "5"
+                        },
+                        {
+                          "type": "tpl",
+                          "id": "u:587781d5d181",
+                          "tpl": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp",
+                          "inline": true,
+                          "wrapperComponent": "",
+                          "style": {
+                            "marginLeft": "0"
+                          }
                         },
                         {
                           "type": "input-text",
@@ -1137,10 +1274,18 @@
                               "actions": [
                                 {
                                   "componentId": "u:24af29be25d2",
+                                  "actionType": "submit"
+                                },
+                                {
                                   "args": {
                                   },
-                                  "outputVar": "responseResult",
-                                  "actionType": "submit"
+                                  "script": "window.parent.TStudent.table.refresh();",
+                                  "actionType": "custom"
+                                },
+                                {
+                                  "args": {},
+                                  "script": "parent.layer.close(window.parent.TStudent.layerIndex);",
+                                  "actionType": "custom"
                                 }
                               ]
                             }
@@ -1166,7 +1311,20 @@
             "dataType": "form-data"
           },
           "actions": [
-          ]
+          ],
+          "onEvent": {
+            "submitSucc": {
+              "weight": 0,
+              "actions": [
+                {
+                  "args": {
+                  },
+                  "script": "parent.layer.close(window.parent.TStudent.layerIndex);",
+                  "actionType": "custom"
+                }
+              ]
+            }
+          }
         }
       ]
     };

--
Gitblit v1.7.1