forked from besley/FormBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSlickMasterDB-20180426.sql
More file actions
5678 lines (5533 loc) · 922 KB
/
SlickMasterDB-20180426.sql
File metadata and controls
5678 lines (5533 loc) · 922 KB
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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
USE [WfDB]
GO
/****** Object: Table [dbo].[tmpTest] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tmpTest](
[ID] [int] NOT NULL,
[VALUE] [varchar](50) NOT NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[tmpTest] ([ID], [VALUE]) VALUES (1, N'A')
INSERT [dbo].[tmpTest] ([ID], [VALUE]) VALUES (2, N'B')
INSERT [dbo].[tmpTest] ([ID], [VALUE]) VALUES (3, N'C')
/****** Object: Table [dbo].[SysUserResource] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SysUserResource](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[ResourceID] [int] NOT NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[SysUserResource] ON
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (1, 7, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (2, 7, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (3, 7, 4)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (4, 7, 5)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (5, 8, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (6, 8, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (7, 8, 4)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (8, 8, 5)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (9, 11, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (10, 11, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (11, 11, 6)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (12, 12, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (13, 12, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (14, 12, 6)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (15, 9, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (16, 9, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (17, 9, 7)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (18, 10, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (19, 10, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (20, 10, 7)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (21, 13, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (22, 13, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (23, 13, 8)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (24, 14, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (25, 14, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (26, 14, 8)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (27, 15, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (28, 15, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (29, 15, 9)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (30, 15, 10)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (31, 16, 1)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (32, 16, 2)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (33, 16, 9)
INSERT [dbo].[SysUserResource] ([ID], [UserID], [ResourceID]) VALUES (34, 16, 10)
SET IDENTITY_INSERT [dbo].[SysUserResource] OFF
/****** Object: Table [dbo].[SysUser] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SysUser](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [nvarchar](50) NOT NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[SysUser] ON
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (1, N'陈小星')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (2, N'hugfuy')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (3, N'测试')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (4, N'李颖')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (5, N'张恒丰')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (6, N'路天明')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (7, N'陈盖茨')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (8, N'白菲特')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (9, N'张明')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (10, N'李杰')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (11, N'飞羽')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (12, N'雪莉')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (13, N'杰米')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (14, N'旺财')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (15, N'大汉')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (16, N'小威')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (17, N'崔红')
INSERT [dbo].[SysUser] ([ID], [UserName]) VALUES (18, N'金兰')
SET IDENTITY_INSERT [dbo].[SysUser] OFF
/****** Object: Table [dbo].[SysRoleUser] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SysRoleUser](
[ID] [int] IDENTITY(1,1) NOT NULL,
[RoleID] [int] NOT NULL,
[UserID] [int] NOT NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[SysRoleUser] ON
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (1, 8, 1)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (2, 7, 2)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (3, 4, 3)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (4, 3, 4)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (5, 2, 5)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (6, 1, 6)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (7, 9, 7)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (8, 9, 8)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (9, 10, 11)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (10, 10, 12)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (11, 11, 9)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (12, 11, 10)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (13, 12, 13)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (14, 12, 14)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (15, 13, 15)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (16, 13, 16)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (17, 14, 17)
INSERT [dbo].[SysRoleUser] ([ID], [RoleID], [UserID]) VALUES (19, 2, 17)
SET IDENTITY_INSERT [dbo].[SysRoleUser] OFF
/****** Object: Table [dbo].[SysRoleGroupResource] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SysRoleGroupResource](
[ID] [int] NOT NULL,
[RgType] [smallint] NOT NULL,
[RgID] [int] NOT NULL,
[ResourceID] [int] NOT NULL,
[PermissionType] [smallint] NOT NULL
) ON [PRIMARY]
GO
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (1, 1, 9, 1, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (2, 1, 9, 2, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (3, 1, 9, 4, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (4, 1, 9, 5, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (5, 1, 10, 1, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (6, 1, 10, 2, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (7, 1, 10, 6, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (8, 1, 11, 7, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (9, 1, 12, 8, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (10, 1, 13, 9, 1)
INSERT [dbo].[SysRoleGroupResource] ([ID], [RgType], [RgID], [ResourceID], [PermissionType]) VALUES (11, 1, 13, 10, 1)
/****** Object: Table [dbo].[SysRole] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SysRole](
[ID] [int] IDENTITY(1,1) NOT NULL,
[RoleCode] [varchar](50) NOT NULL,
[RoleName] [nvarchar](50) NOT NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[SysRole] ON
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (1, N'employees', N'普通员工')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (2, N'depmanager', N'部门经理')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (3, N'hrmanager', N'人事经理')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (4, N'director', N'主管总监')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (7, N'deputygeneralmanager', N'副总经理')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (8, N'generalmanager', N'总经理')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (9, N'salesmate', N'业务员(Sales)')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (10, N'techmate', N'打样员(Tech)')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (11, N'merchandiser', N'跟单员(Made)')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (12, N'qcmate', N'质检员(QC)')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (13, N'expressmate', N'包装员(Express)')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (14, N'finacemanager', N'财务经理')
INSERT [dbo].[SysRole] ([ID], [RoleCode], [RoleName]) VALUES (21, N'testcode', N'testrole')
SET IDENTITY_INSERT [dbo].[SysRole] OFF
/****** Object: Table [dbo].[SysResource] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SysResource](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ResourceType] [smallint] NOT NULL,
[ParentResourceID] [int] NOT NULL,
[ResourceName] [nvarchar](50) NOT NULL,
[ResourceCode] [varchar](100) NOT NULL,
[OrderNo] [smallint] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[SysResource] ON
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (1, 1, 0, N'生产订单系统', N'SfDemo.Made', 1)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (2, 2, 1, N'生产订单流程', N'SfDemo.Made.POrder', 1)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (4, 5, 2, N'同步订单', N'SfDemo.Made.POrder.SyncOrder', 1)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (5, 5, 2, N'分派订单', N'SfDemo.Made.POrder.Dispatch', 2)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (6, 5, 2, N'打样', N'SfDemo.Made.POrder.Sample', 3)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (7, 5, 2, N'生产', N'SfDemo.Made.POrder.Manufacture', 4)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (8, 5, 2, N'质检', N'SfDemo.Made.POrder.QCCheck', 5)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (9, 5, 2, N'称重', N'SfDemo.Made.POrder.Weight', 6)
INSERT [dbo].[SysResource] ([ID], [ResourceType], [ParentResourceID], [ResourceName], [ResourceCode], [OrderNo]) VALUES (10, 5, 2, N'发货', N'SfDemo.Made.POrder.Delivery', 7)
SET IDENTITY_INSERT [dbo].[SysResource] OFF
/****** Object: Table [dbo].[SysEmployeeManager] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SysEmployeeManager](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EmployeeID] [int] NOT NULL,
[EmpUserID] [int] NOT NULL,
[ManagerID] [int] NOT NULL,
[MgrUserID] [int] NOT NULL,
CONSTRAINT [PK_SysEmployeeManager] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[SysEmployeeManager] ON
INSERT [dbo].[SysEmployeeManager] ([ID], [EmployeeID], [EmpUserID], [ManagerID], [MgrUserID]) VALUES (1, 1, 6, 2, 5)
INSERT [dbo].[SysEmployeeManager] ([ID], [EmployeeID], [EmpUserID], [ManagerID], [MgrUserID]) VALUES (2, 4, 10, 5, 17)
INSERT [dbo].[SysEmployeeManager] ([ID], [EmployeeID], [EmpUserID], [ManagerID], [MgrUserID]) VALUES (4, 6, 9, 3, 5)
INSERT [dbo].[SysEmployeeManager] ([ID], [EmployeeID], [EmpUserID], [ManagerID], [MgrUserID]) VALUES (5, 4, 10, 7, 18)
SET IDENTITY_INSERT [dbo].[SysEmployeeManager] OFF
/****** Object: Table [dbo].[SysEmployee] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SysEmployee](
[ID] [int] IDENTITY(1,1) NOT NULL,
[DeptID] [int] NOT NULL,
[EmpCode] [varchar](50) NOT NULL,
[EmpName] [nvarchar](50) NOT NULL,
[UserID] [int] NULL,
[Mobile] [varchar](20) NULL,
[EMail] [varchar](100) NULL,
[Remark] [nvarchar](500) NULL,
CONSTRAINT [PK_SYSEMPLOYEE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[SysEmployee] ON
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (1, 2, N'0001', N'路天明', 6, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (2, 2, N'0002', N'张经理', 5, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (3, 3, N'0003', N'金经理', 18, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (4, 4, N'0004', N'阿杰', 10, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (5, 4, N'0005', N'崔经理', 17, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (6, 2, N'0010', N'张明', 9, NULL, NULL, NULL)
INSERT [dbo].[SysEmployee] ([ID], [DeptID], [EmpCode], [EmpName], [UserID], [Mobile], [EMail], [Remark]) VALUES (7, 4, N'0030', N'金兰', 18, NULL, NULL, NULL)
SET IDENTITY_INSERT [dbo].[SysEmployee] OFF
/****** Object: Table [dbo].[SysDepartment] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SysDepartment](
[ID] [int] IDENTITY(1,1) NOT NULL,
[DeptCode] [varchar](50) NOT NULL,
[DeptName] [nvarchar](100) NOT NULL,
[ParentID] [int] NOT NULL,
[Description] [nvarchar](500) NULL,
CONSTRAINT [PK_SYSDEPARTMENT] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[SysDepartment] ON
INSERT [dbo].[SysDepartment] ([ID], [DeptCode], [DeptName], [ParentID], [Description]) VALUES (1, N'CP', N'SlickOne科技', 0, NULL)
INSERT [dbo].[SysDepartment] ([ID], [DeptCode], [DeptName], [ParentID], [Description]) VALUES (2, N'TH', N'技术部', 1, NULL)
INSERT [dbo].[SysDepartment] ([ID], [DeptCode], [DeptName], [ParentID], [Description]) VALUES (3, N'HR', N'人事部', 1, NULL)
INSERT [dbo].[SysDepartment] ([ID], [DeptCode], [DeptName], [ParentID], [Description]) VALUES (4, N'FN', N'财务部', 1, NULL)
SET IDENTITY_INSERT [dbo].[SysDepartment] OFF
/****** Object: Table [dbo].[EavEntityFieldInputListValue] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[EavEntityFieldInputListValue](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityID] [int] NULL,
[Name] [nvarchar](100) NULL,
[Value] [nvarchar](100) NULL,
CONSTRAINT [PK_EAVENTITYFIELDINPUTLISTVALU] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[EavEntityDef] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[EavEntityDef](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityTitle] [nvarchar](100) NOT NULL,
[EntityName] [nvarchar](100) NOT NULL,
[EntityCode] [varchar](100) NULL,
[TemplateContent] [nvarchar](max) NULL,
[HTMLContent] [nvarchar](max) NULL,
[Description] [nvarchar](1000) NULL,
[CreatedDate] [datetime] NOT NULL,
[LastUpdatedDate] [datetime] NULL,
CONSTRAINT [PK_EAVENTITYDEF] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[EavEntityDef] ON
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (1, N'请假申请', N'员工请假表单', N'ApplyLeaveForm', NULL, NULL, N'填写请假信息,填写审核意见。', CAST(0x0000A53800000000 AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (2, N'报销申请', N'财务报销表单', N'ApplyExpenseAccountForm', NULL, NULL, NULL, CAST(0x0000A53D00B89504 AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (8, N'title', N'name', N'code', NULL, NULL, N'description', CAST(0x0000A53F015D5B5E AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (12, N'titel2', N'name2', N'code2', N'<div style="z-index: 44;" class="span12 ui-sortable" id="selected-content">
<div style="z-index: 45;" class="row-fluid" id="form-title-div">
<input value="titel2" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text">
</div>
<div style="z-index: 46;" class="row-fluid">
<div style="z-index: 47;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1001" style="z-index: 7;" class="droppedField">
<label class="control-label">姓名</label>
<input name="txtname" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"EntityDefID":12,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"姓名","AttrCode":"txtname","AttrDataType":"1","FieldInputType":1,"IsMandatory":false}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 48;" class="span6 well droppedFields ui-droppable"></div>
</div>
<div style="z-index: 49;" class="row-fluid">
<div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 50;"></div>
</div>
</div>', N'', N'desc', CAST(0x0000A53F016142DA AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (32, N'差旅报销单', N'差旅报销表单', N'CLBXBCA80', N'<div style="z-index: 84;" class="span12 ui-sortable" id="selected-content">
<div style="z-index: 85;" class="row-fluid" id="form-title-div">
<input value="差旅报销单" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text">
</div>
<div style="z-index: 86;" class="row-fluid">
<div style="z-index: 87;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1001" style="z-index: 83;" class="droppedField">
<label class="control-label">出差说明</label>
<input name="CCSMU12" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":88,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"出差说明","AttrCode":"CCSMU12","AttrDataType":1,"FieldInputType":1,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 88;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1002" style="z-index: 82;" class="date droppedField">
<label class="control-label">开始日期</label>
<input name="KSRJQ51" class="ctrl-date form_datetime" size="16" value="2015-06-15 14:45" readonly="" type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":89,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"开始日期","AttrCode":"KSRJQ51","AttrDataType":4,"FieldInputType":7,"Format":"YYYY/MM/DD","IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div>
<div style="z-index: 79;" class="row-fluid"><div style="z-index: 80;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1003" style="z-index: 78;" class="droppedField">
<label class="control-label">类别</label>
<select name="LBX85" class="ctrl-combobox"><option>火车</option><option>飞机</option><option>轮船</option><option></option></select>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":90,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1003","AttrName":"类别","AttrCode":"LBX85","AttrDataType":1,"FieldInputType":3,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 81;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1004" style="z-index: 76;" class="droppedField">
<label class="control-label" style="vertical-align:top">金额范围</label>
<div class="ctrl-radiogroup" style="display: inline-block; z-index: 77;"><span style="display:block;"><input name="JEFWB35" value="1000以内" type="radio">1000以内</span><span style="display:block;"><input name="JEFWB35" value="5000以内" type="radio">5000以内</span><span style="display:block;"><input name="JEFWB35" value="超过5000" type="radio">超过5000</span></div>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":91,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1004","AttrName":"金额范围","AttrCode":"JEFWB35","AttrDataType":1,"FieldInputType":5,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div><div style="z-index: 73;" class="row-fluid"><div style="z-index: 74;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1005" style="z-index: 71;" class="droppedField">
<label class="control-label" style="vertical-align:top">备注</label>
<div class="ctrl-checkboxgroup" style="display: inline-block; z-index: 72;"><span style="display:block;"><input name="BZT14" value="三次以内出差" type="checkbox">三次以内出差</span><span style="display:block;"><input name="BZT14" value="员工旅游奖励" type="checkbox">员工旅游奖励</span><span style="display:block;"><input name="BZT14" value="客户拜访" type="checkbox">客户拜访</span></div>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":93,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1005","AttrName":"备注","AttrCode":"BZT14","AttrDataType":1,"FieldInputType":4,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 75;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1006" style="z-index: 70;" class="droppedField">
<label class="control-label">金额</label>
<input name="JEJ41" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":94,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1006","AttrName":"金额","AttrCode":"JEJ41","AttrDataType":2,"FieldInputType":1,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div><div class="row-fluid" style="z-index: 51;"><div class="span12 well droppedFields ui-droppable" style="z-index: 52;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1009">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 962px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 962px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="ID" style="width: 50px; left: 0px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">ID</span> </div></div><div class="ag-header-cell" colid="CCSMU12" style="width: 100px; left: 50px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">出差说明</span> </div></div><div class="ag-header-cell" colid="KSRJQ51" style="width: 100px; left: 150px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">开始日期</span> </div></div><div class="ag-header-cell" colid="LBX85" style="width: 100px; left: 250px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">类别</span> </div></div><div class="ag-header-cell" colid="JEFWB35" style="width: 100px; left: 350px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额范围</span> </div></div><div class="ag-header-cell" colid="BZT14" style="width: 100px; left: 450px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">备注</span> </div></div><div class="ag-header-cell" colid="JEJ41" style="width: 100px; left: 550px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额</span> </div></div><div class="ag-header-cell" colid="CYANR63" style="width: 100px; left: 650px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">常用按钮</span> </div></div><div class="ag-header-cell" colid="WJSCB15" style="width: 100px; left: 750px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">文件上传</span> </div></div><div class="ag-header-cell" colid="DataTableO80" style="width: 100px; left: 850px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">DataTable</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 950px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 950px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 950px;"></div></div></div><div class="ag-full-width-viewport"><div class="ag-full-width-container" style="height: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":121,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1009","AttrName":"DataTable","AttrCode":"DataTableO80","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":32,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div>
</div><div style="z-index: 89;" class="row-fluid">
<div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 90;"><div class="droppedField" style="z-index: 69;" id="CTRL-DIV-1007">
<button class="btn btn-primary ctrl-btn" name="CYANR63" data-onclick="function funcCYANR63(){a.show();}"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":113,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1007","AttrName":"常用按钮","AttrCode":"CYANR63","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"a.show();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 68;" id="CTRL-DIV-1008">
<button class="btn btn-info ctrl-btn" name="WJSCB15" data-onclick="function funcWJSCB15(){kcommon.upload();}"><i class="icon-trash icon-white"></i> 文件上传</button>
<input class="hiddenAttributeEntity" value="{"ID":114,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1008","AttrName":"文件上传","AttrCode":"WJSCB15","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"kcommon.upload();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div>
</div></div>', N'
<div style="z-index: 86;" class="row-fluid">
<div style="z-index: 87;" class="span6 droppedFields"><div id="CTRL-DIV-1001" style="z-index: 83;" class="droppedField">
<label class="control-label">出差说明</label>
<input name="CCSMU12" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":88,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"出差说明","AttrCode":"CCSMU12","AttrDataType":1,"FieldInputType":1,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 88;" class="span6 droppedFields"><div id="CTRL-DIV-1002" style="z-index: 82;" class="date droppedField">
<label class="control-label">开始日期</label>
<input name="KSRJQ51" class="ctrl-date form_datetime" size="16" value="2015-06-15 14:45" readonly="" type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":89,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"开始日期","AttrCode":"KSRJQ51","AttrDataType":4,"FieldInputType":7,"Format":"YYYY/MM/DD","IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div>
<div style="z-index: 79;" class="row-fluid"><div style="z-index: 80;" class="span6 droppedFields"><div id="CTRL-DIV-1003" style="z-index: 78;" class="droppedField">
<label class="control-label">类别</label>
<select name="LBX85" class="ctrl-combobox"><option>火车</option><option>飞机</option><option>轮船</option><option></option></select>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":90,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1003","AttrName":"类别","AttrCode":"LBX85","AttrDataType":1,"FieldInputType":3,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 81;" class="span6 droppedFields"><div id="CTRL-DIV-1004" style="z-index: 76;" class="droppedField">
<label class="control-label" style="vertical-align:top">金额范围</label>
<div class="ctrl-radiogroup" style="display: inline-block; z-index: 77;"><span style="display:block;"><input name="JEFWB35" value="1000以内" type="radio">1000以内</span><span style="display:block;"><input name="JEFWB35" value="5000以内" type="radio">5000以内</span><span style="display:block;"><input name="JEFWB35" value="超过5000" type="radio">超过5000</span></div>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":91,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1004","AttrName":"金额范围","AttrCode":"JEFWB35","AttrDataType":1,"FieldInputType":5,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div><div style="z-index: 73;" class="row-fluid"><div style="z-index: 74;" class="span6 droppedFields"><div id="CTRL-DIV-1005" style="z-index: 71;" class="droppedField">
<label class="control-label" style="vertical-align:top">备注</label>
<div class="ctrl-checkboxgroup" style="display: inline-block; z-index: 72;"><span style="display:block;"><input name="BZT14" value="三次以内出差" type="checkbox">三次以内出差</span><span style="display:block;"><input name="BZT14" value="员工旅游奖励" type="checkbox">员工旅游奖励</span><span style="display:block;"><input name="BZT14" value="客户拜访" type="checkbox">客户拜访</span></div>
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":93,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1005","AttrName":"备注","AttrCode":"BZT14","AttrDataType":1,"FieldInputType":4,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 75;" class="span6 droppedFields"><div id="CTRL-DIV-1006" style="z-index: 70;" class="droppedField">
<label class="control-label">金额</label>
<input name="JEJ41" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":94,"EntityDefID":32,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1006","AttrName":"金额","AttrCode":"JEJ41","AttrDataType":2,"FieldInputType":1,"Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
</div><div class="row-fluid" style="z-index: 51;"><div class="span12 droppedFields" style="z-index: 52;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1009">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 962px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 962px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="ID" style="width: 50px; left: 0px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">ID</span> </div></div><div class="ag-header-cell" colid="CCSMU12" style="width: 100px; left: 50px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">出差说明</span> </div></div><div class="ag-header-cell" colid="KSRJQ51" style="width: 100px; left: 150px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">开始日期</span> </div></div><div class="ag-header-cell" colid="LBX85" style="width: 100px; left: 250px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">类别</span> </div></div><div class="ag-header-cell" colid="JEFWB35" style="width: 100px; left: 350px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额范围</span> </div></div><div class="ag-header-cell" colid="BZT14" style="width: 100px; left: 450px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">备注</span> </div></div><div class="ag-header-cell" colid="JEJ41" style="width: 100px; left: 550px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额</span> </div></div><div class="ag-header-cell" colid="CYANR63" style="width: 100px; left: 650px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">常用按钮</span> </div></div><div class="ag-header-cell" colid="WJSCB15" style="width: 100px; left: 750px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">文件上传</span> </div></div><div class="ag-header-cell" colid="DataTableO80" style="width: 100px; left: 850px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">DataTable</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 950px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 950px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 950px;"></div></div></div><div class="ag-full-width-viewport"><div class="ag-full-width-container" style="height: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":121,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1009","AttrName":"DataTable","AttrCode":"DataTableO80","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":32,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div>
</div><div style="z-index: 89;" class="row-fluid">
<div class="span12 action-bar droppedFields" style="min-height: 80px; z-index: 90;"><div class="droppedField" style="z-index: 69;" id="CTRL-DIV-1007">
<button class="btn btn-primary ctrl-btn" name="CYANR63" data-onclick="function funcCYANR63(){a.show();}"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":113,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1007","AttrName":"常用按钮","AttrCode":"CYANR63","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"a.show();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 68;" id="CTRL-DIV-1008">
<button class="btn btn-info ctrl-btn" name="WJSCB15" data-onclick="function funcWJSCB15(){kcommon.upload();}"><i class="icon-trash icon-white"></i> 文件上传</button>
<input class="hiddenAttributeEntity" value="{"ID":114,"EntityDefID":32,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1008","AttrName":"文件上传","AttrCode":"WJSCB15","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"kcommon.upload();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div>
</div>', N'dafspojh', CAST(0x0000A55701280A97 AS DateTime), CAST(0x0000A56A00B0E7CE AS DateTime))
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (33, N'test8', N'form8', N'form8P62', N'<div style="z-index: 64;" class="span12 ui-sortable" id="selected-content"><div style="z-index: 65;" class="row-fluid" id="form-title-div"><input value="test8" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div style="z-index: 66;" class="row-fluid"><div style="z-index: 67;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1001" style="z-index: 63;" class="droppedField">
<label class="control-label">文本框</label>
<input name="WBKQ64" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":97,"EntityDefID":33,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"文本框","AttrCode":"WBKQ64","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div><div style="z-index: 68;" class="span6 well droppedFields ui-droppable"></div></div><div style="z-index: 1;" class="row-fluid"><div style="z-index: 2;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1002" style="z-index: 13;" class="droppedField">
<label class="control-label">文本框</label>
<input name="WBKZ89" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":98,"EntityDefID":33,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"文本框","AttrCode":"WBKZ89","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 3;" class="span6 well droppedFields ui-droppable"></div>
</div></div>', N'<div style="z-index: 66;" class="row-fluid"><div style="z-index: 67;" class="span6 droppedFields"><div id="CTRL-DIV-1001" style="z-index: 63;" class="droppedField">
<label class="control-label">文本框</label>
<input name="WBKQ64" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":97,"EntityDefID":33,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"文本框","AttrCode":"WBKQ64","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div><div style="z-index: 68;" class="span6 droppedFields"></div></div><div style="z-index: 1;" class="row-fluid"><div style="z-index: 2;" class="span6 droppedFields"><div id="CTRL-DIV-1002" style="z-index: 13;" class="droppedField">
<label class="control-label">文本框</label>
<input name="WBKZ89" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":98,"EntityDefID":33,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"文本框","AttrCode":"WBKZ89","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div>
<div style="z-index: 3;" class="span6 droppedFields"></div>
</div>', N'dsafsadf', CAST(0x0000A564010E410B AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (34, N'title354', N'form325', N'form325P62', N'<div style="z-index: 44;" class="span12 ui-sortable" id="selected-content"><div style="z-index: 45;" class="row-fluid" id="form-title-div"><input value="title354" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div style="z-index: 46;" class="row-fluid"><div style="z-index: 47;" class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1001" style="z-index: 7;" class="droppedField">
<label class="control-label">etrewtr</label>
<input name="etrewtrC66" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":95,"EntityDefID":34,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"etrewtr","AttrCode":"etrewtrC66","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div><div style="z-index: 48;" class="span6 well droppedFields ui-droppable"></div></div><div style="z-index: 49;" class="row-fluid"><div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 50;"></div></div></div>', N'<div class="row-fluid"><div class="span6 droppedFields"></div><div class="span6 droppedFields"></div></div><div class="row-fluid"><div class="span12 action-bar droppedFields" style="min-height:80px;"></div></div>', N'fdsa', CAST(0x0000A56A00ADF4F8 AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (35, N'sac', N'dsaf', N'dsafY28', N'<div class="span12 ui-sortable" id="selected-content" style="z-index: 51;"><div class="row-fluid" id="form-title-div" style="z-index: 52;"><input value="sac" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div class="row-fluid" style="z-index: 53;"><div class="span6 well droppedFields ui-droppable" style="z-index: 54;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1001">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="ID" style="width: 50px; left: 0px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">ID</span> </div></div><div class="ag-header-cell" colid="DataTableR55" style="width: 100px; left: 50px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">DataTable</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 150px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 150px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 150px;"></div></div></div><div class="ag-full-width-viewport"><div class="ag-full-width-container" style="height: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":122,"EntityDefID":35,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"DataTable","AttrCode":"DataTableR55","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":35,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 well droppedFields ui-droppable" style="z-index: 55;"></div></div><div class="row-fluid" style="z-index: 56;"><div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 57;"></div></div></div>', N'<div class="row-fluid" style="z-index: 53;"><div class="span6 droppedFields" style="z-index: 54;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1001">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="ID" style="width: 50px; left: 0px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">ID</span> </div></div><div class="ag-header-cell" colid="DataTableR55" style="width: 100px; left: 50px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">DataTable</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 150px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 150px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 150px;"></div></div></div><div class="ag-full-width-viewport"><div class="ag-full-width-container" style="height: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":122,"EntityDefID":35,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"DataTable","AttrCode":"DataTableR55","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":35,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 droppedFields" style="z-index: 55;"></div></div><div class="row-fluid" style="z-index: 56;"><div class="span12 action-bar droppedFields" style="min-height: 80px; z-index: 57;"></div></div>', N'dsaf', CAST(0x0000A56A00AFE197 AS DateTime), CAST(0x0000A56A00AFF30A AS DateTime))
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (36, N'324324', N'sfdsaf', N'sfdsafP60', N'<div class="span12 ui-sortable" id="selected-content"><div class="row-fluid" id="form-title-div"><input value="324324" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div class="row-fluid"><div class="span6 well droppedFields ui-droppable"><div id="CTRL-DIV-1001" style="z-index: 7;" class="droppedField">
<label class="control-label">sadfdsaf</label>
<input name="sadfdsafQ23" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":99,"EntityDefID":36,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"sadfdsaf","AttrCode":"sadfdsafQ23","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div><div class="span6 well droppedFields ui-droppable"></div></div><div class="row-fluid"><div class="span12 well action-bar droppedFields ui-droppable" style="min-height:80px;"></div></div></div>', N'<div class="row-fluid"><div class="span6 droppedFields"><div id="CTRL-DIV-1001" style="z-index: 7;" class="droppedField">
<label class="control-label">sadfdsaf</label>
<input name="sadfdsafQ23" class="ctrl-textbox" placeholder="请输入你的文字..." type="text">
<input value="false" class="hiddenMandatory" type="hidden">
<input value="{"ID":99,"EntityDefID":36,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"sadfdsaf","AttrCode":"sadfdsafQ23","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" class="hiddenAttributeEntity" type="hidden">
</div></div><div class="span6 droppedFields"></div></div><div class="row-fluid"><div class="span12 action-bar droppedFields" style="min-height:80px;"></div></div>', N'dsafdsaf', CAST(0x0000A56B01119079 AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (37, N'11111', N'saf', N'safJ73', N'<div class="span12 ui-sortable" id="selected-content" style="z-index: 43;"><div class="row-fluid" id="form-title-div" style="z-index: 44;"><input value="11111" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div class="row-fluid" style="z-index: 45;"><div class="span6 well droppedFields ui-droppable" style="z-index: 46;"><div class="droppedField" style="z-index: 8;" id="CTRL-DIV-1001">
<label class="control-label">aaaa</label>
<input class="ctrl-textbox" placeholder="请输入你的文字..." name="aaaaW85" type="text">
<input class="hiddenMandatory" value="false" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":100,"EntityDefID":37,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"aaaa","AttrCode":"aaaaW85","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 well droppedFields ui-droppable" style="z-index: 47;"><div class="droppedField" style="z-index: 36;" id="CTRL-DIV-1002">
<button class="btn btn-primary ctrl-btn" name="CYANK42"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":101,"EntityDefID":37,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"常用按钮","AttrCode":"CYANK42","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div><div class="row-fluid" style="z-index: 48;"><div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 49;"></div></div></div>', N'<div class="row-fluid" style="z-index: 45;"><div class="span6 droppedFields" style="z-index: 46;"><div class="droppedField" style="z-index: 8;" id="CTRL-DIV-1001">
<label class="control-label">aaaa</label>
<input class="ctrl-textbox" placeholder="请输入你的文字..." name="aaaaW85" type="text">
<input class="hiddenMandatory" value="false" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":100,"EntityDefID":37,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1001","AttrName":"aaaa","AttrCode":"aaaaW85","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 droppedFields" style="z-index: 47;"><div class="droppedField" style="z-index: 36;" id="CTRL-DIV-1002">
<button class="btn btn-primary ctrl-btn" name="CYANK42"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":101,"EntityDefID":37,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1002","AttrName":"常用按钮","AttrCode":"CYANK42","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div><div class="row-fluid" style="z-index: 48;"><div class="span12 action-bar droppedFields" style="min-height: 80px; z-index: 49;"></div></div>', N'dsaf', CAST(0x0000A56B0111CEDE AS DateTime), NULL)
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (38, N'测试标题', N'测试标题', N'CSBTB98', N'<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id="CTRL-DIV-j4l8g7ry">
<br />
<table class="table table-bordered"><tbody><tr class="firstRow"><td style="word-break: break-all;" width="135" valign="top"><div id="CTRL-DIV-j4l8xzym"><input class="ctrl-textbox form-control" ctrltype="form-Design" id="temp" name="temp" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" /><input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":106,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8xzym","AttrName":"temp","AttrCode":"tempN84","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div>名称:</td><td style="word-break: break-all;" width="285" valign="top"> 标识: <select class="ctrl-combobox form-control" id="009" data-bv-notempty="true"><option value="汉">汉</option><option value="维吾尔">维吾尔</option></select></td><td style="word-break: break-all;" width="446" valign="top"><br />
备注:<div id="CTRL-DIV-j4l97dh1"><input class="ctrl-textbox form-control" ctrltype="form-Design" id="zoon" name="zoon" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" /><input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":107,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l97dh1","AttrName":"zoon","AttrCode":"zoonM59","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> <br /></td></tr><tr><td width="135" valign="top"><div form-type="form-radio" id="CTRL-DIV-j4l8liru" ctrltype="form-Design" form-layout="h" condition=""><input id="CTRL-DIV-j4l8liru0" name="CTRL-DIV-j4l8liru" value="已婚" type="radio" />已婚<input id="CTRL-DIV-j4l8liru1" name="CTRL-DIV-j4l8liru" value="未婚" checked="checked" type="radio" />未婚<input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":105,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8liru","AttrName":"CTRL-DIV-j4l8liru","AttrCode":"CTRL-DIV-j4l8liruF59","AttrDataType":1,"FieldInputType":4,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> </td><td width="335" valign="top"> <div form-type="form-checkbox" id="CTRL-DIV-j4l8jxr1" ctrltype="form-Design" form-layout="h" condition=""><input id="CTRL-DIV-j4l8jxr10" name="CTRL-DIV-j4l8jxr1" value="234" type="checkbox" />234<input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":104,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8jxr1","AttrName":"CTRL-DIV-j4l8jxr1","AttrCode":"CTRL-DIV-j4l8jxr1W59","AttrDataType":1,"FieldInputType":4,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> </td><td width="447" valign="top"><br />
</td></tr></tbody></table><input class="hiddenMandatory" value="true" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":102,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8g7ry","AttrName":"009","AttrCode":"009V51","AttrDataType":1,"FieldInputType":3,"ConditionKey":"","Format":null,"IsMandatory":1,"OrderID":0,"Description":null}" type="hidden" /></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>', N'<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id="CTRL-DIV-j4l8g7ry">
<br />
<table class="table table-bordered"><tbody><tr class="firstRow"><td style="word-break: break-all;" width="135" valign="top"><div id="CTRL-DIV-j4l8xzym"><input class="ctrl-textbox form-control" ctrltype="form-Design" id="temp" name="temp" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" /><input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":106,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8xzym","AttrName":"temp","AttrCode":"tempN84","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div>名称:</td><td style="word-break: break-all;" width="285" valign="top"> 标识: <select class="ctrl-combobox form-control" id="009" data-bv-notempty="true"><option value="汉">汉</option><option value="维吾尔">维吾尔</option></select></td><td style="word-break: break-all;" width="446" valign="top"><br />
备注:<div id="CTRL-DIV-j4l97dh1"><input class="ctrl-textbox form-control" ctrltype="form-Design" id="zoon" name="zoon" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" /><input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":107,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l97dh1","AttrName":"zoon","AttrCode":"zoonM59","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> <br /></td></tr><tr><td width="135" valign="top"><div form-type="form-radio" id="CTRL-DIV-j4l8liru" ctrltype="form-Design" form-layout="h" condition=""><input id="CTRL-DIV-j4l8liru0" name="CTRL-DIV-j4l8liru" value="已婚" type="radio" />已婚<input id="CTRL-DIV-j4l8liru1" name="CTRL-DIV-j4l8liru" value="未婚" checked="checked" type="radio" />未婚<input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":105,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8liru","AttrName":"CTRL-DIV-j4l8liru","AttrCode":"CTRL-DIV-j4l8liruF59","AttrDataType":1,"FieldInputType":4,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> </td><td width="335" valign="top"> <div form-type="form-checkbox" id="CTRL-DIV-j4l8jxr1" ctrltype="form-Design" form-layout="h" condition=""><input id="CTRL-DIV-j4l8jxr10" name="CTRL-DIV-j4l8jxr1" value="234" type="checkbox" />234<input class="hiddenMandatory" value="false" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":104,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8jxr1","AttrName":"CTRL-DIV-j4l8jxr1","AttrCode":"CTRL-DIV-j4l8jxr1W59","AttrDataType":1,"FieldInputType":4,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" /></div> </td><td width="447" valign="top"><br />
</td></tr></tbody></table><input class="hiddenMandatory" value="true" type="hidden" /><input class="hiddenAttributeEntity" value="{"ID":102,"EntityDefID":38,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j4l8g7ry","AttrName":"009","AttrCode":"009V51","AttrDataType":1,"FieldInputType":3,"ConditionKey":"","Format":null,"IsMandatory":1,"OrderID":0,"Description":null}" type="hidden" /></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>', N'测试标题', CAST(0x0000A7A301486FF8 AS DateTime), CAST(0x0000A7A3014EB7B0 AS DateTime))
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (39, N'32190', N'32190', N'32190R25', N'<div>
<div>
<table class="table table-bordered" data-sort="sortDisabled">
<tbody>
<tr class="firstRow">
<td rowspan="2" colspan="1" style="word-break: break-all;" width="182" valign="top">mingcheng:</td>
<td width="182" valign="top">
<div id="CTRL-DIV-j586ff72">
<input class="ctrl-textbox form-control" ctrltype="form-Design" id="dag" name="dag" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" />
<input class="hiddenMandatory" value="false" type="hidden" />
<input class="hiddenAttributeEntity" value="{"ID":108,"EntityDefID":39,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j586ff72","AttrName":"dag","AttrCode":"dagS89","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" />
</div>
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
</tbody>
</table>
</div>
</div>', N'<div>
<div>
<table class="table table-bordered" data-sort="sortDisabled">
<tbody>
<tr class="firstRow">
<td rowspan="2" colspan="1" style="word-break: break-all;" width="182" valign="top">mingcheng:</td>
<td width="182" valign="top">
<div id="CTRL-DIV-j586ff72">
<input class="ctrl-textbox form-control" ctrltype="form-Design" id="dag" name="dag" style="text-align: left;" form-valuetype="1" form-type="form-text" condition="" type="text" />
<input class="hiddenMandatory" value="false" type="hidden" />
<input class="hiddenAttributeEntity" value="{"ID":108,"EntityDefID":39,"StorageType":1,"DivCtrlKey":"CTRL-DIV-j586ff72","AttrName":"dag","AttrCode":"dagS89","AttrDataType":1,"FieldInputType":1,"ConditionKey":"","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden" />
</div>
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
<tr>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
<td width="182" valign="top">
<br />
</td>
</tr>
</tbody>
</table>
</div>
</div>', N'32190', CAST(0x0000A7B3015EFBDE AS DateTime), CAST(0x0000A7B3015F6C13 AS DateTime))
INSERT [dbo].[EavEntityDef] ([ID], [EntityTitle], [EntityName], [EntityCode], [TemplateContent], [HTMLContent], [Description], [CreatedDate], [LastUpdatedDate]) VALUES (40, N'test01', N'test01', N'test01X89', N'<div class="span12 ui-sortable" id="selected-content" style="z-index: 74;"><div class="row-fluid" id="form-title-div" style="z-index: 75;"><input value="test01" class="input-large span12" placeholder="请输入表单标题..." id="txtFormTitle" onclick="kmaster.popupEntityDef();" type="text"></div><div class="row-fluid" style="z-index: 76;"><div class="span6 well droppedFields ui-droppable" style="z-index: 77;"><div class="droppedField" style="z-index: 68;" id="CTRL-DIV-1007">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div style="display: inline-block; z-index: 69;">
<table class="ctrl-datatable" style="border:1px solid #333;width:300px;">
<thead>
<tr>
<th>列A</th>
<th>列B</th>
<th>列C</th>
</tr>
</thead>
<tbody><tr style="height:20px;border:1px solid #333;">
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody></table>
</div>
<input class="hiddenMandatory" value="false" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":118,"EntityDefID":40,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1007","AttrName":"数据表格","AttrCode":"SJBGY92","AttrDataType":1,"FieldInputType":0,"ConditionKey":"","Format":null,"CommandText":"","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 well droppedFields ui-droppable" style="z-index: 78;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1008">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container" style="left: -402px;"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="JEFWB35" style="width: 100px; left: 350px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额范围</span> </div></div><div class="ag-header-cell" colid="BZT14" style="width: 100px; left: 450px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">备注</span> </div></div><div class="ag-header-cell" colid="JEJ41" style="width: 100px; left: 550px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额</span> </div></div><div class="ag-header-cell" colid="CYANR63" style="width: 100px; left: 650px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">常用按钮</span> </div></div><div class="ag-header-cell" colid="WJSCB15" style="width: 100px; left: 750px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">文件上传</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 850px; left: -402px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 850px; left: -402px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px; top: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 850px;"></div></div></div><div class="ag-full-width-viewport" style="border-bottom: 17px solid transparent;"><div class="ag-full-width-container" style="height: 0px; top: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":119,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1008","AttrName":"DataTable","AttrCode":"DataTableL20","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":32,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div><div class="row-fluid" style="z-index: 79;"><div class="span12 well action-bar droppedFields ui-droppable" style="min-height: 80px; z-index: 80;"><div class="droppedField" style="z-index: 72;" id="CTRL-DIV-1003">
<button class="btn btn-success ctrl-btn" name="BCANE31"><i class="icon-ok-sign icon-white"></i> 保存按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":111,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1003","AttrName":"保存按钮","AttrCode":"BCANE31","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","CommandText":"c.show();","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 73;" id="CTRL-DIV-1004">
<button class="btn btn-danger ctrl-btn" name="SCANF64"><i class="icon-trash icon-white"></i> 删除按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":112,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1004","AttrName":"删除按钮","AttrCode":"SCANF64","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","CommandText":"d.show():","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 71;" id="CTRL-DIV-1005">
<button class="btn btn-info ctrl-btn ctrl-btn-fileupload" name="WJSCJ12" data-onclick="function funcWJSCJ12(){kcommon.upload();}"><i class="icon-file icon-white"></i> 文件上传</button>
<input class="hiddenAttributeEntity" value="{"ID":115,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1005","AttrName":"文件上传","AttrCode":"WJSCJ12","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"kcommon.upload();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 70;" id="CTRL-DIV-1006">
<button class="btn btn-primary ctrl-btn" name="CYANB13" data-onclick="function funcCYANB13(){alert("hello world!");}"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":117,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1006","AttrName":"常用按钮","AttrCode":"CYANB13","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"alert(\"hello world!\");","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div></div>', N'<div class="row-fluid" style="z-index: 76;"><div class="span6 droppedFields" style="z-index: 77;"><div class="droppedField" style="z-index: 68;" id="CTRL-DIV-1007">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div style="display: inline-block; z-index: 69;">
<table class="ctrl-datatable" style="border:1px solid #333;width:300px;">
<thead>
<tr>
<th>列A</th>
<th>列B</th>
<th>列C</th>
</tr>
</thead>
<tbody><tr style="height:20px;border:1px solid #333;">
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody></table>
</div>
<input class="hiddenMandatory" value="false" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":118,"EntityDefID":40,"StorageType":1,"DivCtrlKey":"CTRL-DIV-1007","AttrName":"数据表格","AttrCode":"SJBGY92","AttrDataType":1,"FieldInputType":0,"ConditionKey":"","Format":null,"CommandText":"","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div><div class="span6 droppedFields" style="z-index: 78;"><div class="droppedField" style="z-index: 34;" id="CTRL-DIV-1008">
<label class="control-label" style="vertical-align:top">数据表格</label>
<div class="ag-bootstrap ctrl-datatable" style="width: 100%; height: 100px; z-index: 35;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eRootPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-bl ag-bl-full-height" id="borderLayout_eGridPanel"> <div class="ag-bl-center ag-bl-full-height-center" id="center" style="margin-left: 0px; width: 448px;"><div class="ag-root ag-font-style ag-scrolls"><div class="ag-header" style="height: 25px;"><div class="ag-pinned-left-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-pinned-right-header" style="width: 0px; display: none;"><div class="ag-header-row" style="top: 0px; height: 25px;"></div></div><div class="ag-header-viewport" style="margin-left: 0px; margin-right: 0px;"><div class="ag-header-container" style="left: -402px;"><div class="ag-header-row" style="top: 0px; height: 25px;"><div class="ag-header-cell" colid="JEFWB35" style="width: 100px; left: 350px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额范围</span> </div></div><div class="ag-header-cell" colid="BZT14" style="width: 100px; left: 450px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">备注</span> </div></div><div class="ag-header-cell" colid="JEJ41" style="width: 100px; left: 550px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">金额</span> </div></div><div class="ag-header-cell" colid="CYANR63" style="width: 100px; left: 650px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">常用按钮</span> </div></div><div class="ag-header-cell" colid="WJSCB15" style="width: 100px; left: 750px;"> <div id="agHeaderCellLabel" class="ag-header-cell-label"> <span id="agFilter" class="ag-header-icon ag-filter-icon ag-hidden"><svg width="10" height="10"><polygon points="0,0 4,4 4,10 6,10 6,4 10,0" class="ag-header-icon"></polygon></svg></span> <span id="agText" class="ag-header-cell-text">文件上传</span> </div></div></div></div></div><div class="ag-header-overlay" style="height: 25px; top: 0px;"></div></div><div class="ag-floating-top" style="top: 25px; height: 0px;"><div class="ag-pinned-left-floating-top" style="width: 0px;"></div><div class="ag-pinned-right-floating-top" style="width: 0px;"></div><div class="ag-floating-top-viewport"><div class="ag-floating-top-container" style="width: 850px; left: -402px;"></div></div><div class="ag-floating-top-full-width-container"></div></div><div class="ag-floating-bottom" style="height: 0px; top: 100px;"><div class="ag-pinned-left-floating-bottom" style="width: 0px;"></div><div class="ag-pinned-right-floating-bottom" style="width: 0px;"></div><div class="ag-floating-bottom-viewport"><div class="ag-floating-bottom-container" style="width: 850px; left: -402px;"></div></div><div class="ag-floating-bottom-full-width-container"></div></div><div class="ag-body" style="top: 25px; height: 75px;"><div class="ag-pinned-left-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-left-cols-container" style="height: 0px; width: 0px; top: 0px;"></div></div><div class="ag-pinned-right-cols-viewport" style="display: none; height: 75px;"><div class="ag-pinned-right-cols-container" style="height: 0px; width: 0px;"></div></div><div class="ag-body-viewport-wrapper" style="margin-left: 0px; margin-right: 0px;"><div class="ag-body-viewport" style="overflow-y: auto;"><div class="ag-body-container" style="height: 0px; width: 850px;"></div></div></div><div class="ag-full-width-viewport" style="border-bottom: 17px solid transparent;"><div class="ag-full-width-container" style="height: 0px; top: 0px;"></div></div></div></div></div> <div class="ag-bl-overlay" id="overlay" style=""><div class="ag-overlay-panel"><div class="ag-overlay-wrapper ag-overlay-loading-wrapper"><span class="ag-overlay-loading-center">Loading...</span></div></div></div></div></div> </div></div>
<input class="hiddenMandatory" type="hidden">
<input class="hiddenAttributeEntity" value="{"ID":119,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1008","AttrName":"DataTable","AttrCode":"DataTableL20","AttrDataType":0,"FieldInputType":9,"ConditionKey":null,"RefEntityDefID":32,"Format":null,"CommandText":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div><div class="row-fluid" style="z-index: 79;"><div class="span12 action-bar droppedFields" style="min-height: 80px; z-index: 80;"><div class="droppedField" style="z-index: 72;" id="CTRL-DIV-1003">
<button class="btn btn-success ctrl-btn" name="BCANE31"><i class="icon-ok-sign icon-white"></i> 保存按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":111,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1003","AttrName":"保存按钮","AttrCode":"BCANE31","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","CommandText":"c.show();","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 73;" id="CTRL-DIV-1004">
<button class="btn btn-danger ctrl-btn" name="SCANF64"><i class="icon-trash icon-white"></i> 删除按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":112,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1004","AttrName":"删除按钮","AttrCode":"SCANF64","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","CommandText":"d.show():","Format":null,"IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 71;" id="CTRL-DIV-1005">
<button class="btn btn-info ctrl-btn ctrl-btn-fileupload" name="WJSCJ12" data-onclick="function funcWJSCJ12(){kcommon.upload();}"><i class="icon-file icon-white"></i> 文件上传</button>
<input class="hiddenAttributeEntity" value="{"ID":115,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1005","AttrName":"文件上传","AttrCode":"WJSCJ12","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"kcommon.upload();","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div><div class="droppedField" style="z-index: 70;" id="CTRL-DIV-1006">
<button class="btn btn-primary ctrl-btn" name="CYANB13" data-onclick="function funcCYANB13(){alert("hello world!");}"> 常用按钮</button>
<input class="hiddenAttributeEntity" value="{"ID":117,"EntityDefID":40,"StorageType":0,"DivCtrlKey":"CTRL-DIV-1006","AttrName":"常用按钮","AttrCode":"CYANB13","AttrDataType":1,"FieldInputType":16,"ConditionKey":"","Format":null,"CommandText":"alert(\"hello world!\");","IsMandatory":0,"OrderID":0,"Description":null}" type="hidden">
</div></div></div>', N'', CAST(0x0000A8B300F80D9F AS DateTime), NULL)
SET IDENTITY_INSERT [dbo].[EavEntityDef] OFF
/****** Object: Table [dbo].[EavEntityAttrVarchar] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[EavEntityAttrVarchar](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityInfoID] [int] NOT NULL,
[EntityDefID] [int] NOT NULL,
[AttrID] [int] NOT NULL,
[Value] [nvarchar](512) NULL,
CONSTRAINT [PK_EAVENTITYATTRVARCHAR] PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[EavEntityAttrVarchar] ON
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (1, 1, 1, 2, N'参加国际毅行大会')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (2, 1, 1, 5, N'事假')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (3, 1, 1, 6, N'部门领导同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (4, 1, 1, 7, N'人事主管同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (5, 1, 1, 8, N'总经理同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (6, 2, 1, 2, N'工作太累,请病假休养,骑鹅看世界。')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (7, 2, 1, 5, N'病假')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (8, 2, 1, 6, N'多休息-部门领导同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (9, 2, 1, 7, N'放宽心,好好休养-人事主管同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (10, 2, 1, 8, N'大家一起祝愿你早日健康-总经理同意')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (70, 17, 32, 88, N'rty')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (17, 18, 32, 88, N'dasfdf')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (13, 19, 32, 88, N'aaaaaaaaaa')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (14, 20, 32, 88, N'fsdafdafdsaf')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (16, 0, 32, 88, N'cde')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (71, 17, 32, 90, N'轮船')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (72, 17, 32, 91, N'5000以内')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (73, 17, 32, 93, N'三次以内出差')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (78, 21, 32, 88, N'拜访阿里巴巴')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (79, 21, 32, 90, N'飞机')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (80, 21, 32, 91, N'超过5000')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (81, 21, 32, 93, N'客户拜访')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (83, 22, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (84, 23, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (85, 24, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (86, 25, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (87, 26, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (88, 27, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (89, 28, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (91, 29, 32, 88, N'百度')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (92, 29, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (93, 29, 32, 91, N'5000以内')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (94, 29, 32, 93, N'客户拜访')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (97, 30, 32, 88, N'小明报销')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (98, 30, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (99, 31, 32, 88, N'27号报销单')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (100, 31, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (101, 32, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (102, 33, 32, 88, N'客户回访')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (103, 33, 32, 90, N'火车')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (104, 33, 32, 91, N'1000以内')
INSERT [dbo].[EavEntityAttrVarchar] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (105, 33, 32, 93, N'三次以内出差')
SET IDENTITY_INSERT [dbo].[EavEntityAttrVarchar] OFF
/****** Object: Table [dbo].[EavEntityAttrText] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[EavEntityAttrText](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityInfoID] [int] NOT NULL,
[EntityDefID] [int] NOT NULL,
[AttrID] [int] NOT NULL,
[Value] [text] NULL,
CONSTRAINT [PK_EAVENTITYATTRTEXT] PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[EavEntityAttrInt] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[EavEntityAttrInt](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityInfoID] [int] NOT NULL,
[EntityDefID] [int] NOT NULL,
[AttrID] [int] NOT NULL,
[Value] [int] NULL,
CONSTRAINT [PK_EAVENTITYATTRINT] PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[EavEntityAttrInt] ON
INSERT [dbo].[EavEntityAttrInt] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (1, 1, 1, 1, 3)
INSERT [dbo].[EavEntityAttrInt] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (2, 2, 1, 1, 5)
INSERT [dbo].[EavEntityAttrInt] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (3, 30, 32, 94, 3000)
INSERT [dbo].[EavEntityAttrInt] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (4, 31, 32, 94, 3000)
INSERT [dbo].[EavEntityAttrInt] ([ID], [EntityInfoID], [EntityDefID], [AttrID], [Value]) VALUES (5, 33, 32, 94, 100)
SET IDENTITY_INSERT [dbo].[EavEntityAttrInt] OFF
/****** Object: Table [dbo].[EavEntityAttributeActivity] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[EavEntityAttributeActivity](
[ID] [int] IDENTITY(1,1) NOT NULL,
[EntityDefID] [int] NOT NULL,
[AttrID] [int] NOT NULL,
[ProcessGUID] [varchar](100) NULL,
[ActivityGUID] [varchar](100) NULL,
[IsEdited] [tinyint] NULL,
[IsInvisible] [tinyint] NULL,
CONSTRAINT [PK_EAVENTITYATTRIBUTEACTIVITY] PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
/****** Object: Table [dbo].[WfTransitionInstance] Script Date: 04/26/2018 13:47:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[WfTransitionInstance](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TransitionGUID] [varchar](100) NOT NULL,
[AppName] [nvarchar](50) NOT NULL,
[AppInstanceID] [varchar](50) NOT NULL,
[ProcessInstanceID] [int] NOT NULL,
[ProcessGUID] [varchar](100) NOT NULL,
[TransitionType] [tinyint] NOT NULL,
[FlyingType] [tinyint] NOT NULL,
[FromActivityInstanceID] [int] NOT NULL,
[FromActivityGUID] [varchar](100) NOT NULL,
[FromActivityType] [smallint] NOT NULL,
[FromActivityName] [nvarchar](50) NOT NULL,
[ToActivityInstanceID] [int] NOT NULL,
[ToActivityGUID] [varchar](100) NOT NULL,
[ToActivityType] [smallint] NOT NULL,
[ToActivityName] [nvarchar](50) NOT NULL,
[ConditionParseResult] [tinyint] NOT NULL,
[CreatedByUserID] [varchar](50) NOT NULL,
[CreatedByUserName] [nvarchar](50) NOT NULL,
[CreatedDateTime] [datetime] NOT NULL,
[RecordStatusInvalid] [tinyint] NOT NULL,
[RowVersionID] [timestamp] NULL,
CONSTRAINT [PK_WfTransitionInstance] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[WfTransitionInstance] ON