IT-KIMI_SHI\SINOIT.KIMI
2018-12-07 50eb1d766c470dc6ff927199eaee934f972a8b70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="/resources/include.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>Infovis-Designer</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap Core CSS -->
    <link href="resources/js/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="resources/js/lib/bootstrap/css/bootstrap.vertical-tabs.css" rel="stylesheet">
    <!-- Animate -->
    <link href="resources/js/lib/bootstrap/css/animate.css" rel="stylesheet">
    <!--flat admin-->
    <link rel="stylesheet" type="text/css" href="resources/js/lib/flatadmin/css/style.css">
    <link rel="stylesheet" type="text/css" href="resources/js/lib/flatadmin/css/themes/flat-blue.css">
    <link rel="stylesheet" type="text/css" href="resources/js/lib/flatadmin/lib/css/bootstrap-switch.min.css">
    <!-- checkbox -->
    <link rel="stylesheet" type="text/css" href="resources/js/lib/flatadmin/lib/css/checkbox3.min.css">
    <!-- Font Icons -->
    <link href="resources/js/lib/bootstrap/css/font-awesome.css" rel="stylesheet">
    <!--ztree-->
    <link href="resources/js/lib/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <!--mCustomScrollbar-->
    <link href="resources/js/lib/mCustomScrollbar/jquery.mCustomScrollbar.min.css" rel="stylesheet">
    <!--custome CSS-->
    <link href="resources/css/dataAnalysis.css" rel="stylesheet">
 
    <link href="resources/css/customZtreeStyle.css" rel="stylesheet">
    <!--jRange CSS-->
    <link href="resources/js/lib/jRange/jquery.range.css" rel="stylesheet">
    <!--bootstrapDatePicker CSS-->
    <link href="resources/js/lib/bootstrapTimePicker/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <![endif]-->
 
    <!--table CSS-->
    <link href="resources/css/svgTable.css" rel="stylesheet">
    <!-- toolTip CSS -->
    <link href="resources/css/tooltipster.bundle.min.css" rel="stylesheet">
    <!--jquery-confirm css-->
    <link href="resources/css/jquery-confirm.min.css" rel="stylesheet">
    <!--jquery-loading css-->
    <link href="resources/js/lib/jqueryLoading/jquery.loading.css" rel="stylesheet">
    <style>
        [v-cloak] {
            display: none;
        }
 
        .form-control {
            display: inline-block;
            width: 70%;
        }
 
        tr:first-child {
            display: none;
        }
    </style>
</head>
 
<body class="flat-blue" style="overflow: auto">
<div class="app-container" id="app" style="height: 100%">
    <div class="row content-container" style="height: 100%">
        <nav class="navbar navbar-inverse navbar-static-top">
            <div class="container-fluid">
                <ul class="nav navbar-nav navbar-left">
                    <a class="navbar-brand" href="#" style="color: #ffffff"><i class="glyphicon glyphicon-equalizer" aria-hidden="true"></i> 数据分析</a>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown" v-bind:class="{danger: dangerIndex == 3}" @mouseenter="topMenuMouseEnter(3)" >
                        <a href="#"  role="button" data-toggle="modal" data-target="#setAuthorityModal"><i class="icon fa fa-cogs"></i>&nbsp;&nbsp;权限设置</a>
                    </li>
                    <li class="dropdown" v-bind:class="{danger: dangerIndex == 0}" @mouseenter="topMenuMouseEnter(0)" >
                        <a href="query.page" role="button"><i class="glyphicon glyphicon-folder-close"></i>&nbsp;&nbsp;我的作品</a>
                    </li>
                    <li class="dropdown" v-bind:class="{danger: dangerIndex == 1}" @mouseenter="topMenuMouseEnter(1)" >
                        <a href="sqlClient.page"  role="button"><i class="icon fa fa-database"></i>&nbsp;&nbsp;数据源</a>
                    </li>
                    <li class="dropdown profile" v-bind:class="{danger: dangerIndex == 2}" @mouseenter="topMenuMouseEnter(2)">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><shiro:principal property="userName"/><span class="caret"></span></a>
                        <ul class="dropdown-menu animated fadeInDown">
                            <li class="profile-img">
                                <img src="resources/js/lib/flatadmin/img/profile/picjumbo.com_HNCK4153_resize.jpg" class="profile-img">
                            </li>
                            <li>
                                <div class="profile-info">
                                    <h4 class="username"><shiro:principal property="userName"/></h4>
                                    <p><shiro:principal property="descride"/></p>
                                    <div class="btn-group margin-bottom-2x" role="group">
                                        <button type="button" class="btn btn-default">
                                            <shiro:hasRole name="consumer">
                                                普通用户
                                            </shiro:hasRole>
                                            <shiro:hasRole name="admin">
                                                超级用户
                                            </shiro:hasRole>
                                        </button>
                                        <a href="authority/logout"><button type="button" class="btn btn-default"><i class="fa fa-sign-out"></i> 登出</button></a>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
        <div class="navbar-default sidebar scrollable" role="navigation" style="height: 90%;">
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="heading">
                    <h4 class="panel-title">
                            <span class="glyphicon glyphicon-indent-left" aria-hidden="true"></span> 数据集
                    </h4>
                </div>
                <div id="collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading">
                    <div class="panel-body leftScrollPanel" style="overflow: auto;height: 120px;background-color: #f9f9f9">
                        <div id="dataListTree" class="ztree"></div>
                    </div>
                </div>
            </div>
            <div class="sidebar-nav  navbar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="active">
                        <a href="#"><i class="fa fa-sitemap fa-fw"></i>请选择数据集<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li class="active">
                                <a href="#"><b>维度</b> <span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    <li v-cloak v-for="item in dimension">
                                        <a href="javascript:void(0)">
                                            <i class="glyphicon glyphicon-text-color leftBarLiIcon"></i>
                                            <span style="display:inline-block;max-width: 120px;overflow: hidden;vertical-align:bottom">
                                                {{ item }}
                                            </span>
                                            <i class="glyphicon glyphicon-download leftBarLiIcon pull-right" title="转换为度量" @click="changeTagType('text',item)" ></i>
                                        </a>
                                    </li>
                                </ul>
                                <!-- /.nav-third-level -->
                            </li>
                            <li class="active">
                                <a href="#"><b>度量</b> <span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    <li v-cloak v-for="item in measure">
                                        <a href="javascript:void(0)">
                                            <i class="fa fa-sort-numeric-asc leftBarLiIcon"></i>
                                            <span style="display:inline-block;max-width: 120px;overflow: hidden;vertical-align:bottom">
                                                {{ item }}
                                            </span>
                                            <i class="glyphicon glyphicon-upload leftBarLiIcon pull-right" title="转换为维度" @click="changeTagType('number',item)" ></i>
                                        </a>
                                    </li>
                                </ul>
                                <!-- /.nav-third-level -->
                            </li>
                        </ul>
                        <!-- /.nav-second-level -->
                    </li>
                </ul>
            </div>
        </div>
        <!-- Main Content -->
        <div id="page-wrapper">
            <div>
                <div class="col-lg-11 backUp">
                    <a v-bind:href="'showPanel.page?exportId=' + exportId" role="button">
                        <button class="btn btn-info">
                            <span class="glyphicon glyphicon-menu-left"></span> 返回
                        </button>
                    </a>
                </div>
                <div class="col-lg-1">
                    <a href="#" data-toggle="modal" data-target="#addChartModal"><button class="btn btn-info saveChartInfo" type="submit"><span class="glyphicon glyphicon-floppy-saved"></span> 保存</button></a>
                </div>
            </div>
            <div class="row content-container">
                <div class="col-lg-12 container-fluid">
                    <form class="form-horizontal make-model-region">
                        <div class="form-group">
                            <div class="col-lg-6">
                                <label class="col-sm-1 control-label">列</label>
                                <div class="col-sm-11 labelDiv trigger-column xAxis" style="overflow: hidden;">
                                    <div v-for="item in xAxis" v-cloak class="trigger-column-tag trigger-column-tag-text">
                                        <a>
                                            <i class="glyphicon glyphicon-text-color" style="display: none;"></i>
                                            <span class="dragName" @click="groupTable(item)">
                                                {{ item }}
                                                <i class="fa fa-group" v-show="'table' === chartType && groupFactor.indexOf(item) !== -1"></i>
                                            </span>
                                            <button type="button" class="close trigger-column-tag-close" @click="tagRemove('xAxis',item)" >&times;</button>
                                        </a>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <label class="col-sm-1 control-label">行</label>
                                <div class="col-sm-11 labelDiv trigger-column yAxis" style="overflow: hidden;">
                                    <div v-for="item in yAxis" v-cloak class="trigger-column-tag trigger-column-tag-number">
                                        <a>
                                            <i class="fa fa-sort-numeric-asc" style="display: none;"></i>
                                            <span class="dragName">
                                                {{ item }}
                                            </span>
                                            <button type="button" class="close trigger-column-tag-close" @click="tagRemove('yAxis',item)" >&times;</button>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-6">
                                <label class="col-sm-1 control-label">标记</label>
                                <div class="col-sm-11 labelDiv mark-down-column">
                                    <div class="mark-item col-sm-4 mark-item-color">
                                        <i class="fa fa-tachometer" v-show="color.length == 0">颜色</i>
                                        <span v-for="item in color" v-cloak>
                                            <span style="width:100px;display: inline-block; overflow: hidden;">
                                                <i v-bind:class="item.iclass" style="display: inline;"></i>&nbsp;
                                                {{ item.targetNodeText }}
                                            </span>
                                            <button type="button" class="close mark-item-close" @click="tagRemove('color')">&times;</button>
                                        </span>
                                    </div>
                                    <div class="mark-item col-sm-4 mark-item-corner">
                                        <i class="fa fa-clock-o" v-show="corner.length == 0">角度</i>
                                        <span v-for="item in corner" v-cloak>
                                            <span style="width:100px;display: inline-block; overflow: hidden;">
                                                <i v-bind:class="item.iclass" style="display: inline;"></i>&nbsp;
                                                {{ item.targetNodeText }}
                                            </span>
                                            <button type="button" class="close mark-item-close" @click="tagRemove('corner')">&times;</button>
                                        </span>
                                    </div>
                                    <div class="mark-item-right col-sm-4 mark-item-tag">
                                        <i class="fa fa-tags" v-show="tag.length == 0">标签</i>
                                        <span v-for="item in tag" v-cloak>
                                            <span style="width:100px;display: inline-block; overflow: hidden;">
                                                <i v-bind:class="item.iclass" style="display: inline;"></i>&nbsp;
                                                {{ item.targetNodeText }}
                                            </span>
                                            <button type="button" class="close mark-item-close" @click="tagRemove('tag')">&times;</button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <label class="col-sm-1 control-label">筛选</label>
                                <div class="col-sm-11 labelDiv column-filter" style="overflow: hidden;z-index:0">
 
                                    <div v-for="(item,index) in filter" v-if="item.dragDataType === 'text'" v-cloak class="trigger-column-tag trigger-column-tag-text" @click="showFilterContent(index,'text')">
                                        <a>
                                            <i class="glyphicon glyphicon-text-color" style="display: none;"></i>
                                            <span class="dragName">
                                                {{ item.targetNodeText }}
                                            </span>
                                            <button type="button" class="close trigger-column-tag-close" @click.stop="tagRemove('filter',item)" >&times;</button>
                                        </a>
                                    </div>
                                    <div v-for="(item,index) in filter" v-if="item.dragDataType === 'number'" v-cloak class="trigger-column-tag trigger-column-tag-number" @click="showFilterContent(index,'number')">
                                        <a>
                                            <i class="fa fa-sort-numeric-asc" style="display: none;"></i>
                                            <span class="dragName">
                                                {{ item.targetNodeText }}
                                            </span>
                                            <button type="button" class="close trigger-column-tag-close" @click.stop="tagRemove('filter',item)" >&times;</button>
                                        </a>
                                    </div>
 
                                </div>
                                <div class="panel fresh-color panel-info col-sm-11" style="position: absolute;right:0px;z-index: 9999999" v-for="(item, index) in filterContent" v-bind:style="{top: filterHeight}" v-show="showFilterIndex === index" v-cloak @mousedown.stop>
                                    <div class="panel-heading">{{ item.tagText }}</div>
                                    <div class="panel-body">
                                        <div v-if="'text' === item.tagType">
                                            <div class="alert fresh-color alert-info" role="alert" style="text-align: center;font-size: 15px;">
                                                <strong>列选项</strong>
                                            </div>
                                            <div class="row textContainer" style="margin-left:30px;height: 100px;overflow: auto">
                                                <div class="checkbox3 checkbox-inline checkbox-check checkbox-light" v-for="(subItem,subIndex) in item.result">
                                                    <input type="checkbox" v-bind:id="'checkbox-fa-light-'+subIndex+subItem" v-bind:value="subItem" v-model="checkedNames[item.tagText]">
                                                    <label v-bind:for="'checkbox-fa-light-'+subIndex+subItem" style="padding-left: 30px;line-height: 25px;">
                                                        {{ subItem }}
                                                    </label>
                                                </div>
                                            </div>
                                        </div>
                                        <div v-if="'number' === item.tagType">
                                            <div class="alert fresh-color alert-info" role="alert" style="text-align: center;font-size: 15px;">
                                                <strong>值范围</strong>
                                            </div>
                                            <div class="numberContainer" style="margin-bottom: 20px;text-align: center">
                                                <div>
                                                    <input type="number" placeholder="左边界" v-model="item.rangeMin" style="display: inline-block;float: left">
                                                    <input type="number" placeholder="右边界" v-model="item.rangeMax" style="display: inline-block;float: right">
                                                </div>
                                                <div style="clear: both"></div>
                                            </div>
                                        </div>
                                    </div>
                                    <button type="button" class="btn btn-info col-md-offset-10 doFilter" @click="doFilter">确认</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="row row-editArea" style="height: 70%">
                <div class="col-lg-12 col-xs-12 col-sm-12" style="height: 100%">
                    <div class="col-lg-10 col-xs-10" style="height: 100%">
                        <div id="editArea" style="overflow: auto">
                            <h3>
                                <p><i class="glyphicon glyphicon-info-sign"></i>  请选择数据集</p>
                                <p>将维度、度量拖入工作区(行、列、标记)</p>
                            </h3>
                        </div>
                    </div>
                    <div class="col-lg-2 col-xs-2 col-sm-2">
                        <div class="panel fresh-color panel-default chart-type-select-panel" style="width:100px;top:300px;position: fixed">
                            <div class="panel-heading">图表类型</div>
                            <div class="chart-type">
                                <span class="table" @click="chartTypeSelect('table')" v-bind:class="{ active: 'table' === chartType }">
                                    <img src="resources/img/table_chart.svg">
                                </span>
                                <span class="bar" @click="chartTypeSelect('bar')" v-bind:class="{ active: 'bar' === chartType }">
                                    <img src="resources/img/bar_chart.png">
                                </span>
                                <span class="line" @click="chartTypeSelect('line')" v-bind:class="{ active: 'line' === chartType }">
                                    <img src="resources/img/line_chart.png">
                                </span>
                                <span class="pie" @click="chartTypeSelect('pie')" v-bind:class="{ active: 'pie' === chartType }">
                                    <img src="resources/img/pie_chart.png">
                                </span>
                            </div>
                            <div class="drag-tips">
                                <div class="tips-table" v-cloak v-show= " chartType == 'table' "  >
                                    <p><b>二维表</b></p>
                                    <p><b>维度</b> 拖入列</p>
                                    <p><b>度量</b> 拖入行</p>
                                    <p>*点击列标签为表格内容分组</p>
                                </div>
                                <div class="tips-bar" v-cloak v-show= " chartType == 'bar' "  >
                                    <p><b>标准柱状图</b></p>
                                    <p><b>维度</b> 拖入列</p>
                                    <p><b>度量</b> 拖入行</p>
                                </div>
                                <div class="tips-line" v-cloak v-show= " chartType == 'line' ">
                                    <p><b>折线图</b></p>
                                    <p><b>维度</b> 拖入列</p>
                                    <p><b>度量</b> 拖入行</p>
                                </div>
                                <div class="tips-pie" v-cloak v-show= " chartType == 'pie' ">
                                    <p><b>饼图</b></p>
                                    <p><b>维度</b> 拖入颜色</p>
                                    <p><b>度量</b> 拖入角度</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Modal -->
    <div class="modal fade modal-success" id="addChartModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">保存图表</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="addChartForm" method="post">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">图表名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control chartName" name="chartName" v-model="chartName" >
                            </div>
                        </div>
                        <div v-show="chartType != 'table'">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">数据模式</label>
                                <div class="col-sm-10">
                                    <div class="radio3 radio-check radio-inline">
                                        <input type="radio" id="radio4" name="radio2" value="0" v-model="dataSourcePicked" >
                                        <label for="radio4">
                                            镜像
                                        </label>
                                    </div>
                                    <div class="radio3 radio-check radio-success radio-inline">
                                        <input type="radio" id="radio5" name="radio2" value="1" v-model="dataSourcePicked">
                                        <label for="radio5">
                                            实时
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group" v-show="isShowUpdateCheck" v-cloak >
                                <label class="col-sm-2 control-label">定时更新</label>
                                <div class="col-sm-10">
                                    <div class="bootstrap-switch bootstrap-switch-wrapper bootstrap-switch-small bootstrap-switch-animate bootstrap-switch-off" style="width: 89.3333px;">
                                        <div class="bootstrap-switch-container" style="width: 132px; margin-left: 0px;">
                                            <input type="checkbox" class="toggle-checkbox" name="my-checkbox" checked="">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group" v-show="isShowJobSetting" v-cloak >
                                <label class="col-sm-2 control-label">触发间隔</label>
                                <div class="col-sm-10">
                                    <div>
                                        <select class="form-control" v-model="selectedPeriod">
                                            <option value="day" >每天</option>
                                            <option value="week" >每周</option>
                                            <option value="month" >每月</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group" v-show="isShowJobSetting" v-cloak >
                                <label class="col-sm-2 control-label">触发时间</label>
                                <div class="col-sm-10">
                                    <div>
                                        <div class="input-group date form_datetime" data-link-field="dtp_input1">
                                            <input class="form-control" size="16" type="text" name="triggerName" v-model="startTime" readonly>
                                            <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                            <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
                                        </div>
                                        <input type="hidden" id="dtp_input1" value="" /><br/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-success" @click="saveChart" >确认</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade modal-success" id="setAuthorityModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">权限设置</h4>
                </div>
                <div class="modal-body">
                    <table style="width: 100%;text-align: center">
                        <tr>
                            <td>作者</td><td colspan="2"><shiro:principal property="userName"/></td>
                        </tr>
                        <tr style="font: normal 14px Verdana, Helvetica, Arial, sans-serif">
                            <td>用户权限</td>
                            <td style="height: 70px;">
                                普通用户:
                                <select class="form-control" v-model="authorityForConsumer">
                                    <option value="none">不可见</option>
                                    <option value="read">可读权限</option>
                                    <option value="write">可写权限</option>
                                </select>
                            </td>
                            <td>
                                超级用户:
                                <select class="form-control" v-model="authorityForAdmin">
                                    <option value="write">可写权限</option>
                                </select>
                            </td>
                        </tr>
                        <tr style="font: normal 14px Verdana, Helvetica, Arial, sans-serif">
                            <td rowspan="2">用户组权限</td>
                            <td>
                                <div style="height: 150px;overflow: auto;margin-left: 10px" class="row">
                                    <div v-for="(item,index) in allGroups" class="checkbox3 checkbox-danger checkbox-inline checkbox-check  checkbox-circle checkbox-light" style="float: left">
                                        <input type="checkbox" v-bind:id="'checkbox-fa-light-1'+index" v-bind:value="item.groupId" v-model="groupForRead">
                                        <label v-bind:for="'checkbox-fa-light-1'+index">
                                            {{ item.groupName }}
                                        </label>
                                    </div>
                                </div>
                            </td>
                            <td>
                                可读权限
                            </td>
                        </tr>
                        <tr style="font: normal 14px Verdana, Helvetica, Arial, sans-serif">
                            <td>
                                <div style="height: 150px;overflow: auto;margin-left: 10px" class="row">
                                    <div v-for="(item,index) in allGroups" class="checkbox3 checkbox-danger checkbox-inline checkbox-check  checkbox-circle checkbox-light" style="float: left">
                                        <input type="checkbox" v-bind:id="'checkbox-fa-light-2'+index" v-bind:value="item.groupId" v-model="groupForWrite">
                                        <label v-bind:for="'checkbox-fa-light-2'+index">
                                            {{ item.groupName }}
                                        </label>
                                    </div>
                                </div>
                            </td>
                            <td>
                                可写权限
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="resources/js/lib/require.js" defer async="true" data-main="resources/js/app/dataAnalysis"></script>
</body>
</html>