瀏覽代碼

Merge remote-tracking branch 'origin/gzb' into wzl

gzb
wangzhonglu 8 月之前
父節點
當前提交
5be3825fe5

+ 3
- 5
src/views/platformSection/regionManage/regionManage.vue 查看文件

@@ -206,11 +206,9 @@
206 206
       <Form :label-width="65">
207 207
         <FormItem label="区域码">{{ viewInfo.regionCode }}</FormItem>
208 208
       </Form>
209
-      <Table
210
-        style="border: 1px solid #e8eaec; border-bottom: none"
211
-        :columns="viewInfo.columns"
212
-        :data="viewInfo.list"
213
-      ></Table>
209
+      <div class="table_wrap">
210
+        <Table :columns="viewInfo.columns" :data="viewInfo.list"></Table>
211
+      </div>
214 212
       <div slot="footer" style="text-align: center">
215 213
         <Button @click="viewInfo.show = false">关闭</Button>
216 214
       </div>

+ 2
- 2
src/views/regionSection/applicationManage/applicationManage.vue 查看文件

@@ -185,8 +185,8 @@
185 185
         >
186 186
           <FormItem label="应用名称" prop="appName" style="width: 100%">
187 187
             <Input
188
-                v-model="wallpaperInfo.appName"
189
-                placeholder="上传应用自动识别"
188
+              v-model="wallpaperInfo.appName"
189
+              placeholder="上传应用自动识别"
190 190
             ></Input>
191 191
           </FormItem>
192 192
           <FormItem label="分组" style="width: 100%" class="require">

+ 0
- 1
src/views/regionSection/regionManage/adminManage.vue 查看文件

@@ -680,7 +680,6 @@ export default {
680 680
             form.adminid = this.adminInfo.adminid;
681 681
             form.rversion = this.adminInfo.rversion;
682 682
           }
683
-          console.log(form);
684 683
           this.showLoading = true;
685 684
           api(form).then((data) => {
686 685
             this.showLoading = false;

+ 105
- 73
src/views/regionSection/regionManage/regionManage.vue 查看文件

@@ -209,11 +209,9 @@
209 209
       title="查看"
210 210
     >
211 211
       <div class="view_title">{{ viewInfo.regionName }}</div>
212
-      <Table
213
-        style="border: 1px solid #e8eaec; border-bottom: none"
214
-        :columns="viewInfo.columns"
215
-        :data="viewInfo.list"
216
-      ></Table>
212
+      <div class="table_wrap">
213
+        <Table :columns="viewInfo.columns" :data="viewInfo.list"></Table>
214
+      </div>
217 215
       <div slot="footer" style="text-align: center">
218 216
         <Button @click="viewInfo.show = false">关闭</Button>
219 217
       </div>
@@ -264,21 +262,21 @@
264 262
               </RadioGroup>
265 263
             </FormItem>
266 264
             <FormItem label="请求说明">
267
-              <Table
268
-                style="border: 1px solid #e8eaec; border-bottom: none"
269
-                :columns="columns1"
270
-                :data="request_list"
271
-              ></Table>
265
+              <div class="table_wrap" style="margin: 0">
266
+                <Table :columns="columns1" :data="request_list"></Table>
267
+              </div>
272 268
             </FormItem>
273 269
             <FormItem label="返回说明">
274 270
               <div style="line-height: 36px; margin-bottom: 10px">
275 271
                 以json格式返回数据
276 272
               </div>
277
-              <Table
278
-                style="border: 1px solid #e8eaec; border-bottom: none"
279
-                :columns="columns1"
280
-                :data="response_list"
281
-              ></Table>
273
+              <div class="table_wrap" style="margin: 0">
274
+                <Table
275
+                  row-key="id"
276
+                  :columns="columns1"
277
+                  :data="response_list"
278
+                ></Table>
279
+              </div>
282 280
             </FormItem>
283 281
           </div>
284 282
         </Form>
@@ -506,7 +504,8 @@ export default {
506 504
           title: "参数",
507 505
           key: "data",
508 506
           align: "center",
509
-          width: 180
507
+          width: 180,
508
+          tree: true
510 509
         },
511 510
         {
512 511
           title: "类型",
@@ -527,6 +526,18 @@ export default {
527 526
         }
528 527
       ],
529 528
       request_list: [
529
+        {
530
+          data: "authKey",
531
+          type: "string",
532
+          Required: "是",
533
+          comm: "认证秘钥"
534
+        },
535
+        {
536
+          data: "authType",
537
+          type: "int",
538
+          Required: "是",
539
+          comm: "认证类型:1账号2学号3手机号码4身份证号"
540
+        },
530 541
         {
531 542
           data: "loginname",
532 543
           type: "string",
@@ -542,76 +553,97 @@ export default {
542 553
       ],
543 554
       response_list: [
544 555
         {
556
+          id: 1,
545 557
           data: "code",
546 558
           type: "int",
547 559
           Required: "是",
548 560
           comm: "0正常,1错误"
549 561
         },
550 562
         {
563
+          id: 2,
551 564
           data: "msg",
552 565
           type: "string",
553 566
           Required: "是",
554 567
           comm: "成功/失败(有失败信息)"
555 568
         },
556 569
         {
557
-          data: "schoolid",
558
-          type: "int",
559
-          Required: "是",
560
-          comm: "学校ID"
561
-        },
562
-        {
563
-          data: "schoolname",
564
-          type: "string",
565
-          Required: "是",
566
-          comm: "学校名称"
567
-        },
568
-        {
569
-          data: "classid",
570
-          type: "int",
571
-          Required: "是",
572
-          comm: "班级ID"
573
-        },
574
-        {
575
-          data: "classname",
576
-          type: "string",
577
-          Required: "是",
578
-          comm: "班级名称"
579
-        },
580
-        {
581
-          data: "userid",
582
-          type: "int",
583
-          Required: "是",
584
-          comm: "用户ID"
585
-        },
586
-        {
587
-          data: "usename",
588
-          type: "string",
570
+          id: 3,
571
+          data: "obj",
572
+          type: "object",
589 573
           Required: "是",
590
-          comm: "用户姓名"
591
-        },
592
-        {
593
-          data: "userphone",
594
-          type: "string",
595
-          Required: "是",
596
-          comm: "手机号码"
597
-        },
598
-        {
599
-          data: "studentno",
600
-          type: "string",
601
-          Required: "是",
602
-          comm: "学号"
603
-        },
604
-        {
605
-          data: "loginname",
606
-          type: "string",
607
-          Required: "是",
608
-          comm: "账号"
609
-        },
610
-        {
611
-          data: "cardid",
612
-          type: "string",
613
-          Required: "是",
614
-          comm: "身份证号"
574
+          comm: "用户信息",
575
+          children: [
576
+            {
577
+              id: 4,
578
+              data: "schoolid",
579
+              type: "int",
580
+              Required: "是",
581
+              comm: "学校ID"
582
+            },
583
+            {
584
+              id: 5,
585
+              data: "schoolName",
586
+              type: "string",
587
+              Required: "是",
588
+              comm: "学校名称"
589
+            },
590
+            {
591
+              id: 6,
592
+              data: "classid",
593
+              type: "int",
594
+              Required: "是",
595
+              comm: "班级ID"
596
+            },
597
+            {
598
+              id: 7,
599
+              data: "classname",
600
+              type: "string",
601
+              Required: "是",
602
+              comm: "班级名称"
603
+            },
604
+            {
605
+              id: 8,
606
+              data: "userid",
607
+              type: "int",
608
+              Required: "是",
609
+              comm: "用户ID"
610
+            },
611
+            {
612
+              id: 9,
613
+              data: "usename",
614
+              type: "string",
615
+              Required: "是",
616
+              comm: "用户姓名"
617
+            },
618
+            {
619
+              id: 10,
620
+              data: "userphone",
621
+              type: "string",
622
+              Required: "是",
623
+              comm: "手机号码"
624
+            },
625
+            {
626
+              id: 11,
627
+              data: "studentno",
628
+              type: "string",
629
+              Required: "是",
630
+              comm: "学号"
631
+            },
632
+            {
633
+              id: 12,
634
+              data: "loginname",
635
+              type: "string",
636
+              Required: "是",
637
+              comm: "账号"
638
+            },
639
+            {
640
+              id: 13,
641
+              data: "cardid",
642
+              type: "string",
643
+              Required: "是",
644
+              comm: "身份证号"
645
+            }
646
+          ]
615 647
         }
616 648
       ]
617 649
     };

+ 0
- 1
src/views/schoolSection/applicationManage/applicationList.vue 查看文件

@@ -1341,7 +1341,6 @@ export default {
1341 1341
         if (res.code === 0) {
1342 1342
           this.searchForm.list = res.obj.data;
1343 1343
           this.searchForm.total = res.obj.total;
1344
-          console.log(this.searchForm.list);
1345 1344
           if (document.querySelector(".section_main")) {
1346 1345
             document.querySelector(".section_main").scrollTop = 0;
1347 1346
           }

Loading…
取消
儲存