瀏覽代碼

添加业主功能

wuxw 6 年之前
父節點
當前提交
dc92e4a4f2

+ 5 - 7
WebService/src/main/resources/components/ownerPackage/list-owner/listOwner.html

@@ -1,4 +1,4 @@
-<div id="component" >
+<div id="component">
     <div class="row">
         <div class="col-lg-12">
             <div class="ibox">
@@ -22,7 +22,6 @@
                             <th data-hide="phone">年龄</th>
                             <th data-hide="phone">联系方式</th>
                             <th data-hide="phone">创建员工</th>
-                            <th data-hide="phone">备注</th>
                             <th class="text-right">操作</th>
 
                         </tr>
@@ -48,15 +47,14 @@
                             <td>
                                 {{owner.userName}}
                             </td>
-                            <td>
-                                {{owner.remark}}
-                            </td>
                             <td class="text-right">
                                 <div class="btn-group">
-                                    <button class="btn-white btn btn-xs" v-on:click="_openEditOwnerModel(owner)">修改</button>
+                                    <button class="btn-white btn btn-xs" v-on:click="_openEditOwnerModel(owner)">修改
+                                    </button>
                                 </div>
                                 <div class="btn-group">
-                                    <button class="btn-white btn btn-xs" v-on:click="_openDelOwnerModel(owner)">删除</button>
+                                    <button class="btn-white btn btn-xs" v-on:click="_openDelOwnerModel(owner)">删除
+                                    </button>
                                 </div>
                             </td>
                         </tr>

+ 14 - 14
java110-code-generator/src/main/resources/relationship/template_1.json

@@ -1,27 +1,27 @@
 {
-  "templateName":"开发服务提供",
-  "templateCode":"devServiceProvide",
-  "templateKey":"id",
-  "templateKeyName":"提供ID",
-  "package": "serviceProvidePackage",
-  "successUrl": "/flow/devServiceProvideFlow",
+  "templateName":"添加业主",
+  "templateCode":"addOwner",
+  "templateKey":"ownerId",
+  "templateKeyName":"业主ID",
+  "package": "ownerPackage",
+  "successUrl": "/flow/ownerFlow",
   "needAffirm": false,
   "flows":[
     {
       "index": 0,
-      "code":"service",
-      "flowKey": "serviceId",
-      "cnCode":"选择服务",
-      "vcName":"viewServiceInfo",
-      "businessName": "businessService",
+      "code":"floor",
+      "flowKey": "floorId",
+      "cnCode":"选择楼栋",
+      "vcName":"viewFloorInfo",
+      "businessName": "businessFloor",
       "businessType": "BUSINESS_TYPE_SAVE_SERVICE_INFO",
       "existsComponent": true
     },
     {
       "index": 1,
-      "code":"devServiceProvide",
-      "flowKey": "devId",
-      "cnCode":"开发服务实现",
+      "code":"room",
+      "flowKey": "roomId",
+      "cnCode":"选择房屋",
       "vcName":"devServiceProvideView",
       "businessName": "businessDev",
       "businessType": "BUSINESS_TYPE_SAVE_DEV_INFO",

+ 148 - 0
java110-code-generator/src/main/resources/relationship/template_devService.json

@@ -0,0 +1,148 @@
+{
+  "templateName":"开发服务提供",
+  "templateCode":"devServiceProvide",
+  "templateKey":"id",
+  "templateKeyName":"提供ID",
+  "package": "serviceProvidePackage",
+  "successUrl": "/flow/devServiceProvideFlow",
+  "needAffirm": false,
+  "flows":[
+    {
+      "index": 0,
+      "code":"service",
+      "flowKey": "serviceId",
+      "cnCode":"选择服务",
+      "vcName":"viewServiceInfo",
+      "businessName": "businessService",
+      "businessType": "BUSINESS_TYPE_SAVE_SERVICE_INFO",
+      "existsComponent": true
+    },
+    {
+      "index": 1,
+      "code":"devServiceProvide",
+      "flowKey": "devId",
+      "cnCode":"开发服务实现",
+      "vcName":"devServiceProvideView",
+      "businessName": "businessDev",
+      "businessType": "BUSINESS_TYPE_SAVE_DEV_INFO",
+      "existsComponent": false
+    },
+    {
+      "index": 2,
+      "code":"serviceProvideRemark",
+      "flowKey": "remarkId",
+      "cnCode":"备注信息",
+      "vcName":"serviceProvideRemarkView",
+      "businessName": "businessServiceProvideRemark",
+      "businessType": "BUSINESS_TYPE_SAVE_REMARK_INFO",
+      "existsComponent": false
+    }
+  ],
+  "components": {
+      "devServiceProvideView": {
+        "templateName":"开发服务实现",
+        "templateCode":"devServiceProvide",
+        "package": "serviceProvidePackage",
+        "columns":[
+          {
+            "code":"queryModel",
+            "cnCode":"实现方式",
+            "desc":"必填,请选择是否显示菜单",
+            "required":true,
+            "hasDefaultValue":false,
+            "inputType":"select",
+            "selectValue":"1,3,2",
+            "selectValueName":"sql方式,java方式,存储过程方式",
+            "limit":"maxin",
+            "limitParam":"1,12",
+            "limitErrInfo":"实现方式错误",
+            "show": true
+          },
+          {
+            "code":"params",
+            "cnCode":"参数",
+            "desc":"必填,请填写参数",
+            "required":true,
+            "hasDefaultValue":false,
+            "inputType":"input",
+            "limit":"maxLength",
+            "limitParam":"500",
+            "limitErrInfo":"参数内容不能超过200",
+            "show": true
+          },
+          {
+            "code":"sql",
+            "cnCode":"sql",
+            "desc":"可填,请填写sql",
+            "required":false,
+            "hasDefaultValue":false,
+            "defaultValue":"",
+            "inputType":"textarea",
+            "limit":"maxLength",
+            "limitParam":"2000",
+            "limitErrInfo":"sql不能超过2000",
+            "show": false
+          },
+          {
+            "code":"template",
+            "cnCode":"输出模板",
+            "desc":"可填,请填写输出模板",
+            "required":false,
+            "hasDefaultValue":false,
+            "defaultValue":"",
+            "inputType":"textarea",
+            "limit":"maxLength",
+            "limitParam":"2000",
+            "limitErrInfo":"输出模板不能超过2000",
+            "show": false
+          },
+          {
+            "code":"proc",
+            "cnCode":"存储过程",
+            "desc":"可填,请填写存储过程",
+            "required":false,
+            "hasDefaultValue":false,
+            "defaultValue":"",
+            "inputType":"textarea",
+            "limit":"maxLength",
+            "limitParam":"200",
+            "limitErrInfo":"存储过程不能超过200",
+            "show": false
+          },
+          {
+            "code":"javaScript",
+            "cnCode":"java",
+            "desc":"可填,请填写java语句",
+            "required":false,
+            "hasDefaultValue":false,
+            "defaultValue":"",
+            "inputType":"textarea",
+            "limit":"maxLength",
+            "limitParam":"2000",
+            "limitErrInfo":"java不能超过2000",
+            "show": false
+          }
+        ]
+      },
+    "serviceProvideRemarkView": {
+      "templateName":"备注信息",
+      "templateCode":"serviceProvideRemark",
+      "package": "serviceProvidePackage",
+      "columns":[
+        {
+          "code":"description",
+          "cnCode":"描述",
+          "desc":"可填,请填写描述",
+          "required":false,
+          "hasDefaultValue":false,
+          "defaultValue":"",
+          "inputType":"textarea",
+          "limit":"maxLength",
+          "limitParam":"200",
+          "limitErrInfo":"备注内容不能超过200",
+          "show": false
+        }
+      ]
+    }
+  }
+}