upgradeDialog.js
92.7 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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
window.SystemEnv = (function(){
var __weaverLanguageLabelDefine = {
4671:"(注:显示每条折线的阴影面积)",
4670:"显示阴影",
4669:"(注:在折线点上显示具体的数值)",
4668:"显示数值",
4667:"(注:取值0-100,控制饼图大小)",
4666:"图表直径",
4665:"饼状图",
4664:"(注:在饼图图形上的文本标签)",
4663:"显示标签",
4662:"(注:在图表上显示一根平均值的标线)",
4661:"(注:在最大和最小柱状上显示具体的数值)",
4660:"y轴显示柱状",
4659:"x轴显示柱状",
4658:"图表类型",
4657:"显示标线",
4656:"显示标注",
4655:"显示图例",
4654:"其他设置",
4653:"填充示例SQL",
4652:"数据来源",
4651:"副标题",
4650:"基本信息",
4649:"您无法定制显示列",
4648:"没有填写要添加的设备",
4647:"请输入要添加的设备名称",
4646:"请先选择",
4645:"M/个",
4643:"页面属性",
4642:"退回节点",
4641:"处理中...",
4640:"确认是否退回?",
4639:"请选择退回节点!",
4638:"线条背景色:",
4637:"是否加粗:",
4636:"进度条背景色:",
4635:"按钮",
4634:"脚本",
4633:"图片绘制:",
4632:"(仅在emobile中生效)",
4631:"只选择照片",
4630:"只拍照",
4629:"默认",
4628:"拍照类型:",
4627:"流程标题:",
4626:"输入自定义明细内容,数据集变量用{dSetName.dSetKey}表示",
4625:"点击输入",
4624:"输入手写前提示信息",
4623:"手写批注",
4622:"请输入大于0的数字",
4621:"请使用整数作为最大值",
4620:"请使用整数作为最小值",
4619:"最大值要大于最小值",
4618:"请输入数字",
4617:"辅助输入:",
4616:"小数位数:",
4615:"浮点数",
4614:"整数",
4612:"一个中文的名称,如:时间轴",
4611:"最大值",
4610:"最小值",
4609:"向后偏移,1",
4608:"向前偏移,100",
4607:"所属表单:",
4606:"如:344,此处缺省则为页面宽度",
4604:"进度条背景色:",
4603:"百分比大小:",
4602:"百分比颜色:",
4601:"显示百分比:",
4600:"进度条高度:",
4599:"输入参数",
4598:"请求字符集:",
4597:"列宽",
4595:"列显示名称",
4594:"查询条件,支持变量,如:id={id} and name={name}",
4593:"参数名称,如:userid",
4592:"数据链接",
4591:"输入日期时间,例如{date} {time}",
4590:"在来源中检索...",
4589:"线条背景色",
4587:"渐变色",
4586:"如:175,此处缺省为插件高度",
4585:"列数:",
4583:"一个中文的名称,如:人员列表",
4582:"请输入图片标题 / 描述",
4581:"附件字段",
4580:"质量-缩放",
4579:"是否压缩:",
4578:"拍照",
4577:"拍照字段",
4576:"如勾选该选项,则默认显示当前位置",
4575:"当前位置:",
4574:"单击",
4573:"热点个数:",
4572:"搜索半径:",
4571:"显示当前位置和周围热点,并允许改变位置",
4570:"显示当前位置和周围热点",
4569:"只显示当前位置,不显示周围热点",
4568:"定位类型:",
4567:"中文名字段:",
4566:"既保存经纬度,同时保存地址中文名称",
4565:"只保存地址中文名称",
4564:"只保存经纬度",
4563:"数据保存:",
4562:"LBS字段",
4561:"语音",
4560:"语音字段",
4559:"表单按钮",
4558:"检索类型...",
4557:"检索字段...",
4556:"浏览按钮",
4555:"Check框",
4554:"横向排列",
4553:"纵向排列",
4552:"插件样式:",
4551:"变量裁定",
4550:"多选",
4549:"单选",
4548:"选择类型:",
4547:"生成select",
4546:"信息设置不完整,请添加选项",
4545:"值:",
4544:"显示:",
4543:"手动添加",
4542:"选择来源:",
4541:"选择项",
4540:"出现异常",
4539:"信息设置不完整,未添加option",
4538:"多行文本",
4537:"隐藏域",
4536:"请输入大于0的正整数",
4535:"默认值:",
4534:"必填",
4533:"只读",
4532:"可编辑",
4531:"显示类型:",
4530:"设置说明",
4529:"向后偏移,1",
4528:"向前偏移,100",
4527:"年份偏移:",
4526:"增幅大小",
4525:"增幅:",
4524:"最大值",
4523:"最小值",
4522:"数字范围:",
4521:"电话号码",
4520:"数字",
4519:"密码",
4518:"日期时间",
4517:"文本",
4516:"字段类型:",
4515:"提示信息:",
4514:"显示名称:",
4513:"对应字段:",
4511:"单行文本",
4510:"已设置",
4509:"表",
4508:"表单1",
4507:"点击输入提交前验证脚本",
4506:"验证脚本:",
4505:"关联流程:",
4504:"关联模块:",
4503:"主键:",
4502:"下载模版",
4501:"自定义URL",
4500:"创建流程",
4499:"表单建模",
4498:"提交类型:",
4497:"表单名称:",
4496:"如:617,此处缺省则为页面高度",
4495:"Iframe信息",
4494:"文件上传",
4493:"循环播放:",
4492:"自动播放:",
4491:"如:344,此处缺省则为页面宽度",
4490:"视频信息",
4489:"右",
4488:"左",
4487:"删除图标",
4486:"点击修改图片",
4485:"操作",
4484:"图标位置",
4483:"自适应",
4482:"固定",
4481:"按钮布局:",
4480:"插件设置",
4479:"未添加button",
4478:"链接:",
4477:"如:450,此处缺省则为页面宽度",
4476:"原图大小",
4475:"指定大小",
4474:"尺寸:",
4473:"图片信息",
4472:"选择样式:",
4471:"是否加粗:",
4470:"提示:字体大小默认为14px",
4469:"字体大小:",
4468:"字体颜色:",
4467:"分栏信息",
4466:"查询到的数据为空或者没有数据记录",
4465:"标题文字",
4464:"颜色",
4463:"单击右上角的添加按钮以添加百分比区域颜色",
4462:"进度条颜色",
4461:"进度条背景色:",
4460:"提示:字体大小默认为12px",
4459:"百分比大小:",
4458:"百分比颜色:",
4457:"显示百分比:",
4456:"提示:进度条高度默认为22px",
4455:"进度条高度:",
4454:"进度条基本信息",
4453:"进度条数值",
4452:"查询进度条数值来源SQL时出现异常",
4451:"查询进度条数值来源SQL时出现错误,请检查SQL是否拼写正确",
4450:"进度条数值来源SQL未通过系统安全测试,请检查关键字",
4449:"信息设置不完整,未配置进度条数值",
4448:"城市:",
4447:"当前城市:",
4446:"天气信息",
4444:"横向列表",
4443:"显示数量",
4442:"列表:",
4441:"查询列表",
4440:"输入地址",
4439:"标签栏",
4438:"$cal_date为日历控件当前选中的日期",
4437:"$cal_date为日历控件单击事件触发时的日期",
4436:"请在此处键入查询出需要标记的日期Url",
4435:"请在此处键入查询出需要标记的日期SQL,例如:",
4434:"日期标记",
4433:"切换周月的时候重新加载数据",
4432:"重新加载数据:",
4431:"首次初始化生效",
4430:"当天",
4429:"数据初始范围:",
4428:"选择时间轴:",
4427:"选择WS列表:",
4426:"字段设置:",
4425:"选择Url列表:",
4424:"结束日期:",
4423:"开始日期:",
4422:"区间",
4421:"字段区间设置:",
4420:"选择列表:",
4419:"刷新时间轴",
4418:"刷新Url列表",
4417:"刷新列表",
4416:"点击日期:",
4415:"交互设置",
4414:"手动输入脚本",
4413:"自动解析新建地址",
4412:"显示新建:",
4411:"显示返回:",
4410:"显示农历:",
4409:"日历信息",
4408:"列宽",
4407:"列显示名称",
4406:"单击右上角的添加按钮以添加表格显示列",
4405:"表格列设置",
4404:"注:设置锁定几列",
4403:"锁定列数",
4402:"注:分组会使用第一个字段进行分组并合计",
4401:"分组合计",
4400:"表格宽-高:",
4399:"表格显示设置",
4398:"表格数据设置",
4397:"按钮配置项不得少于1个",
4396:"分段插件",
4395:"选择数据集",
4394:"请添加数据集",
4393:"明细名称不能为空",
4392:"选择数据集变量",
4391:"单击右上角的添加按钮以添加明细内容",
4390:"输入自定义明细内容,数据集变量用{dSetName:dSetKey}表示",
4389:"自定义内容:",
4388:"数据集变量",
4387:"明细内容:",
4386:"明细名称",
4385:"明细名称:",
4384:"插件信息",
4383:"未添加明细",
4382:"请输入英文名称,不包含中文、空格、数字等字符!",
4381:"请在此处键入Url",
4380:"请在此处键入SQL",
4379:"查询条件,支持变量,如:id={id} and name={name}",
4378:"条件:",
4377:"表单:",
4376:"表单",
4375:"一个英文的名称,如:shopData",
4374:"数据集",
4373:"文字",
4372:"自定义脚本",
4371:"小标题:",
4370:"导航头",
4369:"样式:",
4368:"参数名称,如:userid",
4367:"当前用户",
4366:"用户来源:",
4365:"用户头像",
4364:"系统异常,获取用户信息失败",
4363:"为Tab新建内容",
4362:"新建一个",
4361:"从页面中选择",
4360:"添加内容",
4359:"Tab页显示内容:",
4358:"输入名称",
4357:"添加Tab",
4356:"Tab页信息",
4355:"跳转链接",
4354:"菜单名称",
4353:"输入脚本",
4352:"单击右上角的添加按钮以添加菜单",
4351:"添加菜单",
4350:"页面名称:",
4349:"单击事件:",
4348:"选择图片",
4347:"选择替换图片:",
4346:"是否启用操作:",
4345:"右侧",
4344:"左侧",
4343:"返回",
4342:"请在此处输入JS, 此JS会在按钮点击时执行...",
4341:"手动输入JS",
4340:"标题名称:",
4339:"右侧按钮",
4338:"左侧按钮",
4337:"回复内容",
4336:"提交",
4335:"清除缓存",
4334:"在此填写描述...",
4333:"获取表(视图)时发生如下错误:",
4332:"插件显示",
4331:"隐藏域赋值",
4330:"插件隐藏",
4329:"调用说明:",
4328:"对应字段",
4327:"表名:",
4326:"提交URL:",
4325:"描述",
4324:"字段名称",
4323:"手动保存",
4322:"自动保存",
4321:"字段设置",
4320:"默认显示:",
4319:"回调脚本:",
4318:"按钮名称:",
4317:"数据加载中,请等待...",
4316:"回复信息",
4315:"请回复...",
4314:"在此处键入二维码的内容,此内容可以是任意字符串",
4313:"宽 * 高:",
4312:"二维码信息",
4311:"地址",
4310:"ws列表",
4309:"延迟加载",
4308:"方法名称",
4307:"命名空间",
4306:"一个中文的名称,如:ws列表",
4305:"列表",
4304:"内容来源已经设置,请确认是否初始化模板?",
4303:"编辑链接",
4302:"数据JSON对应KEY",
4301:"总记录数对应KEY",
4300:"查询参数",
4299:"每页显示数量",
4298:"当前页",
4297:"url列表",
4296:"收缩",
4295:"输出格式",
4294:"请求字符集:",
4293:"输入参数",
4292:"输入日期时间,例如{date} {time}",
4291:"是否启用日期提示:",
4290:"提示:系统内部jsp必须放在mobilemode目录下",
4289:"使用模板",
4288:"下载模板",
4287:"一个中文的名称,如:url列表",
4286:"展开",
4285:"获取参数:",
4284:"请输入一个能返回类似2014-12-12 12:12:12这种日期时间的数据的SQL。",
4283:"请在此处输入SQL...",
4282:"截止日期:",
4281:"获取参数",
4280:"手动输入SQL",
4279:"选择时间",
4278:"执行操作:",
4277:"信息设置不完整,未配置参数",
4276:"查询数据来源SQL时出现异常",
4275:"SQL中包含自定义变量,预览时显示",
4274:"信息设置不完整,未配置数据来源SQL",
4273:"信息设置不完整,未配置截止日期",
4272:"删除此数据会级联删除其子项\n确定删除吗?",
4271:"浮动按钮",
4270:"无匹配的结果",
4269:"回调函数:",
4268:"名称=值,如 creator={id} 多个参数用分号隔开",
4267:"传递参数:",
4266:"如果列表所在页面只包含一个列表,此项可至空",
4265:"列表id:",
4264:"选择需要刷新的列表所在页面",
4263:"选择页面:",
4262:"输入URL:",
4261:"动作:刷新列表",
4260:"节点URL:",
4259:"节点附加Html:",
4258:"加载节点时出现异常",
4257:"在来源中检索...",
4256:"树形来源:",
4255:"来源:",
4254:"树形信息",
4253:"树形信息设置不完整,未配置树形来源",
4252:"SQL取值(运行时显示)",
4251:"标题未设置",
4250:"请设置时间字段!",
4249:"时间字段",
4248:"按日期",
4247:"每页显示:",
4246:"一个中文的名称,如:时间轴",
4245:"时间轴信息",
4244:"确定删除?",
4243:"透明度",
4242:"渐变色",
4241:"偏移值(0-1)",
4240:"提示:线条大小默认为1.5",
4239:"阴影渐变色",
4238:"单击右上角的添加按钮以添加渐变色",
4237:"线条渐变色",
4236:"取色器",
4235:"线条背景色:",
4234:"提示:线条大小默认为5",
4233:"线条大小:",
4232:"线条信息",
4231:"百分比显示信息",
4230:"提示:高度和宽度默认为1:2时显示最佳",
4229:"如:320,此处缺省则为页面宽度",
4228:"如:175,此处缺省为插件高度",
4227:"圆形图",
4214:"比例尺:",
4213:"地图高度:",
4212:"地址:",
4211:"参数名称:",
4210:"地图信息",
4209:"加载图表时出现错误",
4208:"查询数据来源SQL时出现错误,请检查SQL是否拼写正确",
4207:"数据来源SQL未通过系统安全测试,请检查关键字",
4206:"SQL中可能包含待解析的参数变量,需运行时显示",
4205:"图表信息设置不完整,未配置数据来源SQL",
4204:"SQL帮助",
4203:"数据后缀:",
4202:"如何书写SQL?",
4201:"数据源:",
4200:"图表数据来源",
4199:"是否粗体:",
4198:"大小:",
4197:"颜色:",
4196:"字体:",
4195:"标题信息",
4194:"默认为蓝色",
4193:"折线颜色:",
4192:"如:600,此处缺省则为页面宽度",
4191:"宽度:",
4190:"面积图",
4189:"折线图",
4188:"环形图",
4187:"饼图",
4186:"柱形图",
4185:"类型:",
4184:"图表基本信息",
4183:"是否将工具栏固定到页面底部:",
4182:"脚本库",
4181:"您尚未输入任何Html文本",
4180:"请先选择内容来源",
4179:"高级检索",
4178:"单击事件",
4177:"按钮名称",
4176:"单条数据向左滑动时配置",
4175:"确定删除吗?",
4174:"确认要继续吗?",
4173:"会导致展示样式中已选择的字段信息丢失",
4172:"切换列表",
4170:"请输入...",
4169:"点击输入字段内容",
4168:"无",
4167:"图片",
4166:"图片字段",
4165:"列数:",
4164:"展示样式",
4163:"高级检索:",
4162:"已配置",
4161:"单条数据向左滑动时配置:",
4160:"搜索提示文字:",
4159:"单击右上角的添加按钮以添加内容",
4158:"自定义按钮",
4157:"则默认按照展示中选择的第一列进行查询",
4156:"如果未指定查询列,",
4154:"单击右上角的添加按钮以添加查询列,",
4152:"指定查询列",
4151:"数据只读",
4150:"隐藏查询",
4149:"扩展按钮",
4148:"每页条数",
4147:"手动输入",
4146:"自动解析",
4145:"数据链接:",
4144:"内容来源:",
4143:"一个中文的名称,如:人员列表",
4142:"名称:",
4141:"名称",
4140:"列表信息",
4139:"选择字段",
4138:"请输入图片标题 / 描述",
4137:"幻灯片图片数不得少于1张",
4136:"后自动播放下一张图片",
4135:"秒",
4134:"不轮播",
4133:"轮播设置",
4129:"延迟加载:",
4128:"高度:",
4127:"基础信息设置",
4126:"图例",
4125:"示例:",
4124:"图片链接对应的key",
4123:"来源URL:",
4122:"返回数据类型为json数组",
4121:"注:",
4120:"从URL获取",
4119:"手动设置",
4118:"默认幻灯片图片",
4117:"添加图片",
4116:"数字提醒",
4115:"已生成到布局",
4114:"确 定",
4113:"分组",
4112:"来源",
4111:"图标",
4110:"未添加",
4109:"没有查询结果",
4108:"布局列表",
4107:"布局新建",
4106:"自定义页面",
4105:"移动设备",
4104:"从Mobile获取的内容会覆盖当前页面的内容。",
4103:"初始化内容会覆盖当前页面的内容。确定继续吗?",
4102:"确定继续吗?",
4101:"初始化会使用选择的模板内容覆盖当前页面的内容。",
4099:"初始化页面",
4098:"是否确认提交",
4097:"周期会议",
4096:"没有常用批示语",
4095:"安全级别为",
4094:"的分部成员",
4093:"的部门成员",
4092:"的角色成员",
4091:"的所有人",
4090:"共享级别",
4089:"请选择要分享的人员",
4088:"����������",
4087:"存在位置字段正在定位,请稍后再试!",
4086:"位置获取失败,请检查网络或GPS是否打开!",
4085:"定位失败",
4084:"正在获取",
4083:"查看位置",
4082:"位置",
4081:"个",
4080:"最大",
4079:"未知错误!",
4078:"不允许上传文件类型的文件!",
4077:"不能上传0节字文件!",
4076:"文件大小超过限制!",
4075:"确定审批选定的信息吗?",
4074:"请选择要审批的对象",
4073:"下个月",
4072:"显示转换",
4070:"确认是否提交?",
4069:"确认是否转办?",
4068:"确认是否意见征询?",
4067:"确认是否转发?",
4065:"确认审批吗?",
4064:"隐藏无账号人员",
4063:"显示无账号人员",
4062:"选取多个文件",
4061:"文件过大",
4060:"单击搜索",
4059:"序号输入不正确!",
4058:"显示名",
4057:"字段名只能包含字母和数字并且只能以字母开头,不能含中文!",
4056:"服务端异常,可能是自定义单选框或多选数据源异常!",
4055:"条数据",
4054:"序号",
4053:"是否确认删除?",
4049:"重置",
4048:"确认删除报表",
4047:"关闭标签",
4046:"转到",
4045:"确定要顶置选择的协作?",
4044:"请选择要顶置的协作!",
4043:"确定要结束选择的协作?",
4042:"请选择要结束的协作",
4041:"确定删除选定的信息吗?",
4040:"请选择要删除的对象!",
4037:"十二",
4036:"十一",
4035:"十",
4034:"九",
4033:"八",
4032:"七",
4031:"六",
4030:"五",
4029:"四",
4028:"三",
4027:"二",
4026:"一",
4025:"扩展属性",
4024:"无关联任务信息",
4022:"周",
4021:"第四季度",
4020:"第三季度",
4019:"第二季度",
4018:"第一季度",
4017:"季度",
4016:"字段名不能为空!",
4015:"自定义浏览框不能为空!",
4014:"字段名不能重名!",
4013:"字段名只能包含字母和数字,不能含中文!",
4012:"显示名不能为空!",
4011:"数据保存失败!",
4010:"数据保存成功!",
4005:"剪切",
4004:"添加子任务",
4003:"添加同级任务",
4002:"编辑",
4001:"新的子任务",
4000:"新的任务",
3999:"选中的任务及其子任务将被删除,您确认删除吗?",
3998:"批示语",
3997:"其他",
3996:"英语音标",
3995:"拼音字母",
3994:"俄文字符",
3993:"希腊字母",
3992:"日文字符",
3991:"数学字符",
3990:"罗马字符",
3989:"请输入地址!",
3988:"对齐方式:",
3987:"显示框架边框:",
3986:"允许滚动条:",
3985:"抱歉,找不到该位置!",
3984:"请选择城市",
3983:"插入动态地图",
3982:"城市",
3981:"您输入的超链接中不包含http等协议名称,默认将为您添加http://前缀",
3980:"只支持选中一个链接时生效",
3979:"是否在新窗口打开:",
3978:"标题:",
3977:"链接地址:",
3976:"文本内容:",
3975:"无法定位到该地址!",
3974:"北京",
3973:"搜索",
3972:"地址",
3971:"锚点名字:",
3970:"点击选择文件",
3969:"可以将文件拖到这里,单次最多可选100个文件",
3968:"在线附件",
3967:"上传附件",
3966:":( ,抱歉,没有找到图片!请重试一次!",
3965:"图片加载中,请稍后……",
3964:"图片加载失败!请检查链接地址或网络状态!",
3963:"不允许的图片格式或者图片域!",
3962:"请输入正确的长度或者宽度值!例如:123,400",
3961:"宽高不正确,不能所定比例",
3960:"服务器返回出错",
3959:"http请求错误",
3958:"上传失败,请重试",
3957:"文件传输中断",
3956:"WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。",
3955:",_张上传失败。",
3954:"共_张(_KB),_张上传成功",
3953:"已成功上传_张照片,_张照片上传失败",
3952:"选中_张图片,共_KB。",
3951:"不能预览",
3950:"预览中",
3949:"向右旋转",
3948:"向左旋转",
3947:"重试上传",
3946:"继续上传",
3945:"暂停上传",
3944:"继续添加",
3943:"点击选择图片",
3942:"居中独占一行",
3941:"无浮动",
3940:"清空搜索",
3939:"百度一下",
3938:"请输入搜索关键词",
3937:"头像",
3936:"壁纸",
3935:"新闻",
3934:"图片类型",
3933:"锁定宽高比例",
3932:"开始上传",
3931:"图片加载中……",
3930:"图片浮动方式:",
3929:"描 述:",
3928:"边 距:",
3927:"边 框:",
3926:"高度",
3925:"宽度",
3924:"大 小:",
3923:"地 址:",
3922:"图片搜索",
3921:"在线管理",
3920:"本地上传",
3919:"插入图片",
3918:"单击可切换选中状态\n原图尺寸:",
3917:"当前未上传过任何图片!",
3916:"自定义",
3915:"平铺",
3914:"纵向重复",
3913:"横向重复",
3912:"精确定位",
3911:"网络图片",
3910:"颜色设置",
3909:"有背景色",
3908:"无背景色",
3907:"选项",
3906:"在线图片",
3905:"背景设置",
3904:"半角转全角",
3903:"全角转半角",
3902:"符号转换",
3901:"执行",
3900:"粘贴过滤",
3899:"清除冗余HTML代码",
3898:"清除字体",
3897:"清除字号",
3896:"图片浮动",
3895:"对齐方式",
3894:"清除空行",
3893:"合并空行",
3892:"只保留文本",
3891:"只保留标签",
3890:"保留源格式",
3889:"粘贴选项",
3888:"更多",
3887:"列",
3886:"行",
3885:"尚未设置语言文件",
3884:"点击上传",
3883:"修改",
3882:"属性",
3881:"主题颜色",
3880:"标准颜色",
3879:"清空颜色",
3878:"链接",
3877:"浏览器不支持,请使用 ''Ctrl + v''",
3876:"粘贴",
3875:"浏览器不支持,请使用 ''Ctrl + c''",
3874:"复制",
3873:"三色渐变",
3872:"红蓝相间",
3871:"选区背景隔行",
3870:"取消选区背景",
3869:"取消表格隔行变色",
3868:"表格隔行变色",
3867:"边框底纹",
3866:"按数值大小降序",
3865:"按数值大小升序",
3864:"按ASCII字符降序",
3863:"按ASCII字符升序",
3862:"逆序当前",
3861:"取消表格可排序",
3860:"设置表格可排序",
3859:"表格排序",
3858:"合并单元格",
3856:"向下合并",
3855:"向左合并",
3854:"向右合并",
3853:"平均分布各列",
3852:"平均分布各行",
3851:"删除表格标题列",
3850:"插入表格标题列",
3849:"删除表格标题行",
3848:"插入表格标题行",
3847:"删除表格名称",
3846:"插入表格名称",
3845:"右插入列",
3844:"后插入行",
3843:"左插入列",
3842:"删除当前列",
3841:"删除当前行",
3840:"后插入段落",
3839:"前插入段落",
3838:"表格",
3837:"设置表格边线可见",
3836:"居中显示",
3835:"表格对齐方式",
3834:"单元格对齐方式",
3833:"删除超链接",
3832:"删除代码",
3831:"确定清空当前文档么?",
3830:"截图上传失败,请检查服务器端环境!",
3829:"服务器返回数据有误,请检查配置项之后重试。",
3828:"仅支持IE浏览器!",
3827:"请求后台配置项http错误,上传功能将不能正常使用!",
3826:"后台配置项返回格式出错,上传功能将不能正常使用!",
3825:"获取后台配置项请求出错,上传功能将不能正常使用!",
3824:"工具栏浮动依赖编辑器UI,您首先需要引入UI文件!",
3823:"表格拖动必须引入uiUtils.js文件!",
3822:"关闭对话框",
3821:"确认",
3820:"字数超出最大允许值,服务器可能拒绝保存!",
3819:"字数统计",
3818:"元素路径",
3817:"后端配置项没有正常加载,上传插件不能正常使用!",
3816:"上传错误",
3815:"正在上传...",
3814:"服务器返回格式错误",
3813:"文件格式不允许",
3812:"文件大小超出限制",
3811:"明显强调",
3810:"强调",
3809:"标题居左",
3808:"标题居中",
3807:"楷体_GB2312",
3806:"新宋体",
3805:"微软雅黑",
3804:"隶书",
3803:"黑体",
3802:"楷体",
3801:"宋体",
3800:"仿宋_GB2312",
3799:"段落",
3798:"小圆圈",
3797:"破折号",
3796:"小方块",
3795:"小黑点",
3794:"大圆圈",
3793:"图表",
3792:"从草稿箱加载",
3791:"插入表格",
3790:"音乐",
3789:"涂鸦",
3788:"模板",
3787:"关闭",
3786:"背景",
3785:"字母小写",
3784:"字母大写",
3783:"百度应用",
3782:"自动排版",
3781:"自定义标题",
3780:"编辑提示",
3779:"行间距",
3778:"图片转存",
3777:"居中",
3776:"附件",
3775:"右浮动",
3774:"左浮动",
3773:"默认",
3772:"插入Iframe",
3771:"分页",
3770:"段后距",
3769:"段前距",
3768:"从右向左输入",
3767:"从左向右输入",
3766:"全屏",
3765:"无序列表",
3764:"有序列表",
3763:"背景色",
3762:"字体颜色",
3761:"两端对齐",
3760:"居中对齐",
3759:"居右对齐",
3758:"居左对齐",
3757:"帮助",
3756:"视频",
3755:"Google地图",
3754:"Baidu地图",
3753:"查询替换",
3752:"特殊字符",
3751:"表情",
3750:"超链接",
3749:"单元格属性",
3748:"表格属性",
3747:"多图上传",
3746:"单图上传",
3745:"段落格式",
3744:"字号",
3743:"字体",
3742:"代码语言",
3741:"表格前插入行",
3740:"清空文档",
3739:"删除表格",
3738:"合并多个单元格",
3737:"插入标题",
3736:"删除表格标题",
3735:"完全拆分单元格",
3734:"十二月",
3733:"十一",
3732:"十月",
3731:"九月",
3730:"八月",
3729:"七月",
3728:"六月",
3727:"四月",
3726:"拆分成列",
3725:"三月",
3724:"二月",
3723:"一月",
3722:"拆分成行",
3721:"删除列",
3720:"下合并单元格",
3719:"右合并单元格",
3718:"前插入列",
3717:"前插入行",
3716:"取消链接",
3715:"日期",
3714:"清除格式",
3713:"分隔线",
3712:"预览",
3711:"打印",
3710:"纯文本粘贴模式",
3709:"引用",
3708:"源代码",
3707:"快速选择",
3706:"时间",
3705:"格式刷",
3704:"清除",
3703:"上标",
3702:"十二",
3701:"十一",
3700:"十月",
3699:"九月",
3698:"八月",
3697:"七月",
3696:"六月",
3695:"五月",
3694:"四月",
3693:"三月",
3692:"二月",
3691:"一月",
3690:"星期六",
3689:"星期五",
3688:"星期四",
3687:"星期三",
3686:"星期二",
3685:"星期一",
3684:"字符边框",
3683:"星期日",
3682:"六",
3681:"五",
3680:"四",
3679:"三",
3678:"二",
3677:"一",
3676:"日",
3675:"星期",
3674:"下标",
3673:"删除线",
3672:"下划线",
3671:"无效的日期或日期超出范围,是否撤销?",
3670:"斜体",
3669:"截图",
3668:"首行缩进",
3667:"加粗",
3666:"重做",
3665:"撤销",
3664:"锚点",
3663:"服务器异常!",
3662:"数据删除失败!",
3661:"数据删除成功!",
3660:"请至少选择一条数据!",
3659:"数据获取失败",
3658:"数据保存失败",
3657:"数据保存成功",
3656:"无匹配的结果显示",
3655:"点击可收缩/展开左侧菜单",
3654:"人",
3653:"所有人",
3652:"在签字意见框中输入@可直接选择节点参与人",
3651:"添加常用组",
3650:"正在加载中...",
3649:"快捷选择人员",
3645:"存为模板",
3644:"浏览框配置信息为空!",
3643:"可能存在访问限制,不能获取到iframe中的对象。",
3642:"下拉选择",
3641:"系统变量",
3640:"固定值",
3639:"不属于",
3638:"属于",
3637:"输入值",
3636:"表单参数",
3635:"不包含",
3634:"包含",
3633:"不等于",
3632:"等于",
3631:"请选择参数!",
3630:"页面值",
3629:"提示:保存成功!",
3628:"个门户页面",
3627:"存储布局会影响",
3626:"存储布局会导致当前门户页面元素丢失!",
3625:"存储布局会导致元素丢失,且会影响",
3624:"引用该布局的页面",
3623:"提示:保存失败!",
3622:"继续",
3621:"提示",
3620:"控件下载",
3619:"提示:子任务未完全完成",
3618:"提示:是否取消完成?",
3617:"数据操作失败",
3616:"已完成",
3615:"未完成",
3614:"截止日期",
3613:"责任人",
3612:"提示:是否确认完成?",
3611:"提示:是否确认删除?",
3610:"查看关联任务",
3609:"新建关联任务",
3608:"请至少勾选一条记录",
3607:"任务清单",
3606:"可选项文字不能为空",
3602:"未定义页面ID!记录保存失败!",
3601:"出现错误!记录保存失败!",
3600:"服务器出现问题,请把错误详细信息发给系统管理员处理",
3599:"登录",
3598:"系统超时(退出系统重新",
3597:"此页",
3596:"刷新",
3595:"请",
3594:"解决方法",
3593:"显示/隐藏",
3592:"错误详细信息",
3591:"错误描述",
3590:"错误代码",
3589:"服务器出错!",
3588:"跳转",
3587:"第",
3586:"共",
3585:"条/页",
3584:"导出全部",
3583:"签发人:",
3582:"文 号:",
3581:"请选择要复制记录!",
3580:"确定要删除吗?",
3579:"正在初始化数据,请稍候...",
3578:"列信息未配置!",
3577:"复制行",
3576:"删除行",
3575:"添加行",
3574:"公文交换",
3573:"公文流转",
3572:"信息确认",
3571:"系统提示",
3570:"数据发生更改且尚未保存,确定离开吗?",
3569:"导入",
3568:"图片上传",
3567:"请将编辑器切换到可视化模式!",
3566:"流程",
3565:"任务",
3564:"相关任务",
3563:"相关项目",
3562:"项目",
3561:"文档",
3560:"客户",
3559:"相关客户",
3558:"没有可以显示的数据",
3557:"编辑选择框",
3556:"图片高度:",
3555:"图片宽度:",
3554:"每行显示图片数:",
3553:"编辑图片上传属性",
3552:"已存在,违反了唯一性验证,请重新录入",
3551:"您录入的",
3550:"显示",
3549:"隐藏",
3548:"请输入人员搜索条件",
3547:"上传成功",
3546:"没有可显示的数据",
3545:"结束时间不能小于开始时间",
3544:"非法字符",
3543:"主题词",
3542:"所属分部",
3541:"收发文单位",
3540:"表现形式",
3539:"显示名称",
3538:"主目录",
3537:"模板名称",
3536:"修改日期",
3535:"所有者",
3534:"标题",
3533:"全部期刊",
3532:"出现错误",
3531:"全部文档",
3530:"新的文档",
3529:"请选择要删除的记录!",
3528:"列名",
3527:"删除失败!",
3526:"页",
3525:"第",
3524:"条",
3523:"每页",
3522:"清除选择",
3521:"添加失败!",
3520:"显示下#{count}条",
3519:"删除",
3518:"添加",
3517:"显示列定制",
3516:"取消",
3515:"保存",
3514:"正在加载数据,请稍候...",
3513:"正在删除,请稍候...",
3512:"正在下载资料,请稍等...",
3511:"文档正在使用中,无法删除!",
3510:"开始日期未选择,请选择!",
3509:"difInput函数必须使用在createTags()函数之后!",
3508:"已禁用",
3507:"是否确认关闭?",
3506:"代码编辑",
3505:"显示方式转换",
3504:"已选",
3503:"待选",
3502:"请设置签字意见附件上传目录!",
3501:"超出长度",
3500:"已存在",
3499:"您选择的流程数量太多,请重新选择!",
3498:"您选择的项目数量太多,请重新选择!",
3497:"您选择的文档数量太多,请重新选择!",
3496:"您选择的任务数量太多,请重新选择!",
3495:"传输中",
3494:"处理中",
3493:"四季度",
3492:"三季度",
3491:"二季度",
3490:"一季度",
3489:"季:",
3488:"下半年",
3487:"上半年",
3486:"半年:",
3485:"旬:",
3484:"下旬",
3483:"中旬",
3482:"上旬",
3481:"月",
3480:"年",
3479:"新建预留号",
3478:"选择预留号",
3477:"重新生成编号",
3476:"查看会议室使用情况",
3475:"清除结果",
3474:"上海泛微软件报表设计器!",
3473:"检查结果:",
3472:"无发现错误格式!",
3471:"缺少【表尾标识】!",
3470:"缺少【选择框标签】!",
3469:"缺少【表头标识】!",
3468:"【空明细隐藏标识头】、【空明细隐藏标识尾】不成对!",
3467:"【表头标识】、【表尾标识】不成对!",
3466:"增加、删除按钮不成对!",
3465:"行#{j}列关联的字段已经被删除或改变,请用‘X’删除!",
3464:"正在检查模板格式,请稍等...",
3463:"服务器的插件版本为",
3462:"您的版本太低不支持该功能,请安装新版本插件!",
3461:"您本机的插件版本为",
3460:"相关流程",
3459:"吗?",
3458:"确定要删除",
3457:"附件上传",
3456:"添加附件",
3455:"相关文档",
3454:"相关附件",
3453:"正在添加...",
3452:"常用批示语",
3451:"确定",
3450:"添加常用批示语",
3449:"您选择的数量太多,数据库将无法保存,请重新选择!",
3448:"没有可显示的数据!",
3447:"尾页",
3446:"下一页",
3445:"上一页",
3444:"首页",
3443:"全选",
3442:"导出当页",
3441:"单击按此列排序",
3440:"服务器运行出错!",
3439:"必填信息不全!",
3438:"项目还没保存,如果离开,将会丢失数据,真的要离开吗?",
3437:"项目模板还没保存,如果离开,将会丢失数据,真的要离开吗?",
3436:"点击隐藏",
3435:"点击展开",
3434:"不能把本身设置为前置任务!",
3433:"降级",
3432:"升级",
3430:"不能把上级任务移到下级任务!",
3429:"其子任务将达到最低级,不能移动!",
3428:"本任务已达到最高级!",
3427:"其最小子任务已达到最低级!",
3426:"本任务已达到最低级!",
3425:"尚无正文,不能查看!",
3424:"在线",
3423:"离线",
3422:"女",
3421:"男",
3420:"对不起,您暂时没有权限!",
3419:"新建",
3418:"请选择",
3417:"正在查询,请稍候...",
3416:"文档列表",
3415:"指定日期范围",
3414:"上一年",
3413:"本年",
3412:"本季",
3411:"上个月",
3410:"本月",
3409:"本周",
3408:"今天",
3407:"全部",
3406:"上传附件过程中发现错误,是否继续提交?",
3405:"正在解析数据,请稍候...",
3404:"正在传输数据,请稍候...",
3403:"服务器正在处理,请稍候...",
3402:"正在加载数据,请稍候",
3401:"无法封存:部门中存在岗位!",
3400:"操作异常,请刷新页面重新操作",
104:"无法删除:分部下包含其他分部!",
103:"无法删除:分部下包含其他部门!",
98:"科目对应期间已经存在变更,不能再进行添加!",
97:"(必填)",
95:"工资密码不正确",
91:"你已经代理了其他用户的流程,无法再做流程代理!",
89:"默认分部无法被删除!",
88:"无法删除:分部已在角色中使用!",
87:"该子目录下有文档存在,或被流程字段中的选择框所绑定,或被流程创建文档中设置所绑定,无法删除。",
86:"该子目录下有文档存在,不能被删除!",
85:"其子任务也将被删除,是否继续?",
83:"被代理人 、代理人不能相同!",
82:"代理人不能为空!",
81:"被代理人不能为空!",
80:"请选择被代理的流程!",
79:"立即收回失败!",
78:"立即收回成功!",
77:"代理设置失败!",
76:"代理设置成功!",
75:"关闭后将不能再使用当前期间的预算,确定关闭吗?",
64:"该帐号已经存在,请填写一个新的帐号!",
62:"上下级行业不能一样。",
60:"维修日期必须小于当前日期!",
59:"打分数据需要提交吗?",
58:"确定要提交吗?",
57:"减损日期必须小于当前日期!",
56:"该资产组下已设置资产,不能再新建资产组。",
55:"结束时间必须大于开始时间!",
54:"结束日期必须大于开始日期!",
45:"该分目录下有下级分目录存在,不能被删除!",
43:"验收人不能为采购人!",
42:"请选择至少一个资产",
41:"购物数不能为零",
40:"本次移动所影响的记录数为",
39:"请选择正确的移动项",
38:"请先选择种类或者科目",
37:"此次操作将会把你所选的期间和部门的已批准预算处理,预算处理后,将不能再更改,是否确定进行处理?",
35:"此次操作将会把你所选的期间和部门的已批准分录登帐,分录登帐后,将不能再更改,是否确定进行登帐?",
34:"请选择期间",
33:"请选择部门",
32:"汇率不能为0",
31:"借贷不平衡,是否保存该信息",
30:"没有相关信息",
29:"你选择该货币为默认货币,将使原来的默认货币失去默认,是否继续?",
28:"期间输入不正确",
27:"期间打开将删除该期间的所有统计信息,你确定重新打开该期间吗?",
26:"期间关闭后该期间将不能录入新的分录,你确定要关闭该期间吗?",
25:"年输入不正确",
24:"请稍等片刻",
23:"请告知",
22:"权限转移成功",
20:"必须项不能相同",
19:"未键入符合标准的数据",
18:"财务要素主体不为空,删除出错",
17:"旧密码不正确",
16:"密码确认不正确",
15:"密码不能为空",
14:"必要信息不完整,红色叹号为必填项!",
13:"该子目录下有文档存在,不能删除!!",
12:"没有找到所需的部门",
11:"不能删除系统默认的分部!",
10:"该分目录下有子目录存在,不能被删除!",
8:"你确定要删除这张图片吗?",
7:"你确定要删除这条记录吗?",
6:"该主目录下有分目录存在,不能被删除!",
5:"图片格式必须为:*.gif, *.jpeg 建议图片大小为300*300 pixels"
};
return {
getHtmlNoteName:function(labelid,languageid){
var label = null;
var multiLabel = false;
try{
multiLabel = labelid.indexOf(",")>-1;
}catch(e){}
if(!multiLabel){
label = __weaverLanguageLabelDefine[labelid];
}else{
var labelids = labelid.split(",");
for(var i=0;i<labelids.length;i++){
if(label){
label+=__weaverLanguageLabelDefine[labelids[i]];
}else{
label = __weaverLanguageLabelDefine[labelids[i]];
}
}
}
return label?label:null;
}
}
})();
var IMAGESPATH = '/wui/theme/ecology8/skins/default/rightbox/'; //图片路径配置
//var IMAGESPATH = 'http://www.5-studio.com/wp-content/uploads/2009/11/'; //图片路径配置
/*************************一些公用方法和属性****************************/
var isInternetExplorer = navigator.userAgent.indexOf('MSIE') != -1;
var isIE6 = navigator.userAgent.indexOf('MSIE 6.0') != -1;
var isIE8 = !!window.XDomainRequest && !!document.documentMode;
var console=window.console;
if(isInternetExplorer)
try{ document.execCommand('BackgroundImageCache',false,true); }catch(e){}
var $id = function (id) {
return typeof id == "string" ? document.getElementById(id) : id;
};
//if (!$) var $ = $id;
//IE兼容性问题
String.prototype.trim = function () {
return this.replace(/^\s+|\s+$/g,'');
};
Array.prototype.remove = function (s, dust) { //如果dust为ture,则返回被删除的元素
if (dust) {
var dustArr = [];
for (var i = 0; i < this.length; i++) {
if (s == this[i]) {
dustArr.push(this.splice(i, 1)[0]);
}
}
return dustArr;
}
for (var i = 0; i < this.length; i++) {
if (s == this[i]) {
this.splice(i, 1);
}
}
return this;
}
var $topWindow = function () {
var parentWin = window;
var isCurrentPop=((typeof isCurrentPop)=="undefind")?false:true; //是否从当前窗口弹出
if(!isCurrentPop){
while (parentWin != parentWin.parent) {
if (parentWin.parent.document.getElementsByTagName("FRAMESET").length > 0) break;
parentWin = parentWin.parent;
}
}
return parentWin;
};
var $bodyDimensions = function (win) {
win = win || window;
var doc = win.document;
var cw = doc.compatMode == "BackCompat" ? doc.body.clientWidth : doc.documentElement.clientWidth;
var ch = doc.compatMode == "BackCompat" ? doc.body.clientHeight : doc.documentElement.clientHeight;
var sl = Math.max(doc.documentElement.scrollLeft, doc.body.scrollLeft);
var st = Math.max(doc.documentElement.scrollTop, doc.body.scrollTop); //考虑滚动的情况
var sw = Math.max(doc.documentElement.scrollWidth, doc.body.scrollWidth);
var sh = Math.max(doc.documentElement.scrollHeight, doc.body.scrollHeight); //考虑滚动的情况
var w = Math.max(sw, cw); //取scrollWidth和clientWidth中的最大值
var h = Math.max(sh, ch); //IE下在页面内容很少时存在scrollHeight<clientHeight的情况
return {
"clientWidth": cw,
"clientHeight": ch,
"scrollLeft": sl,
"scrollTop": st,
"scrollWidth": sw,
"scrollHeight": sh,
"width": w,
"height": h
}
};
var fadeEffect = function(element, start, end, speed, callback){//透明度渐变:start:开始透明度 0-100;end:结束透明度 0-100;speed:速度1-100
if(!element.effect)
element.effect = {fade:0, move:0, size:0};
clearInterval(element.effect.fade);
var speed=speed||20;
element.effect.fade = setInterval(function(){
start = start < end ? Math.min(start + speed, end) : Math.max(start - speed, end);
element.style.opacity = start / 100;
element.style.filter = "alpha(opacity=" + start + ")";
if(start == end){
clearInterval(element.effect.fade);
if(callback)
callback.call(element);
}
}, 20);
};
/*************************弹出框类实现****************************/
var topWin = $topWindow();
var topDoc = topWin.document;
var Dialog = function (currentwin) {
/****以下属性以大写开始,可以在调用show()方法前设置值****/
this.ID = null;
this.Width = null;
this.Height = null;
this.URL = null;
this.OnLoad=null;
this.InnerHtml = ""
this.InvokeElementId = ""
this.Top = "50%";
this.Left = "50%";
this.Title = "";
this.OKEvent = null; //点击确定后调用的方法
this.CancelEvent = null; //点击取消及关闭后调用的方法
this.ShowButtonRow = false;
this.MessageIcon = "window_wev8.gif";
this.MessageTitle = "";
this.Message = "";
this.ShowMessageRow = false;
this.Modal = true;
this.Drag = true;
this.AutoClose = null;
this.ShowCloseButton = true;
this.Animator = true;
this.PaddingAble = false;
this.maxiumnable = false;//是否可以最大化窗口
this.DefaultMax = false;//默认打开最大化
this.checkDataChange = false;//关闭时是否需要检查数据是否更改
this.isIframe = true;//dialog中tab页的结构是否为iframe结构,默认为iframe结构
this.hideDraghandle = false;//是否隐藏拖拽区域,默认不隐藏
this.opacity = -1;
this.__e8shadowiframe__ = null;
/****以下属性以小写开始,不要自行改变****/
this.dialogDiv = null;
this.bgDiv=null;
this.parentWindow = null;
this.innerFrame = null;
this.innerWin = null;
this.innerDoc = null;
this.zindex = 90000;
this.cancelButton = null;
this.okButton = null;
this.e8SepLine = null;
this.okLabel = SystemEnv.getHtmlNoteName(3451);
this.cancelLabel = SystemEnv.getHtmlNoteName(3516);
this.textAlign = "center";
this.custombtnjson = null;
this.oriWidth = null;
this.oriHeight = null;
this.oriLeft = null;
this.oriTop = null;
this.maxState = false;
this.browserConfig = null;
this.dataChange = false;
this.initData = null;
this.finalData = null;
this.normalDialog = true;
//added by wcd 2015-10-21
this._callBack = null;
if (arguments.length > 0 && typeof(arguments[0]) == "string") { //兼容旧写法
this.ID = arguments[0];
} else if (arguments.length > 0 && typeof(arguments[0]) == "object") {
Dialog.setOptions(this, arguments[0])
}
if(!this.ID)
//this.ID = topWin.Dialog._Array.length + "";
this.ID = new Date().getTime();
this.currentWindow = currentwin;
this.flashs = null;
this.callbackfun = null;
this.callbackfunParam = null;
this.closeHandle = null;
this.callbackfunc4CloseBtn = null;
this.dialogtitleclass = "zDialogTitleTRClass";
};
Dialog._Array = [];
Dialog.bgDiv = null;
Dialog.setOptions = function (obj, optionsObj) {
if (!optionsObj) return;
for (var optionName in optionsObj) {
obj[optionName] = optionsObj[optionName];
}
};
Dialog.attachBehaviors = function () {
if (isInternetExplorer) {
document.attachEvent("onkeydown", Dialog.onKeyDown);
window.attachEvent('onresize', Dialog.resetPosition);
} else {
document.addEventListener("keydown", Dialog.onKeyDown, false);
window.addEventListener('resize', Dialog.resetPosition, false);
}
};
Dialog.prototype.attachBehaviors = function () {
if (this.Drag && topWin.Drag) topWin.Drag.init(topWin.$id("_Draghandle_" + this.ID), topWin.$id("_DialogDiv_" + this.ID)); //注册拖拽方法
if (!isInternetExplorer && this.URL) { //非ie浏览器下在拖拽时用一个层遮住iframe,以免光标移入iframe失去拖拽响应
var self = this;
topWin.$id("_DialogDiv_" + this.ID).onDragStart = function () {
topWin.$id("_Covering_" + self.ID).style.display = ""
}
topWin.$id("_DialogDiv_" + this.ID).onDragEnd = function () {
topWin.$id("_Covering_" + self.ID).style.display = "none"
}
}
};
Dialog.prototype.displacePath = function () {
if (this.URL.substr(0, 7) == "http://" || this.URL.substr(0, 1) == "/" || this.URL.substr(0, 11) == "javascript:") {
return this.URL;
} else {
var thisPath = this.URL;
var locationPath = window.location.href;
locationPath = locationPath.substring(0, locationPath.lastIndexOf('/'));
while (thisPath.indexOf('../') >= 0) {
thisPath = thisPath.substring(3);
locationPath = locationPath.substring(0, locationPath.lastIndexOf('/'));
}
return locationPath + '/' + thisPath;
}
};
Dialog.prototype.setPosition = function () {
var bd = $bodyDimensions(topWin);
var thisTop = this.Top,
thisLeft = this.Left,
thisdialogDiv=this.getDialogDiv();
if (typeof this.Top == "string" && this.Top.substring(this.Top.length - 1, this.Top.length) == "%") {
var percentT = this.Top.substring(0, this.Top.length - 1) * 0.01;
thisTop = bd.clientHeight * percentT - thisdialogDiv.scrollHeight * percentT + bd.scrollTop;
}
if (typeof this.Left == "string" && this.Left.substring(this.Left.length - 1, this.Left.length) == "%") {
var percentL = this.Left.substring(0, this.Left.length - 1) * 0.01;
thisLeft = bd.clientWidth * percentL - thisdialogDiv.scrollWidth * percentL + bd.scrollLeft;
}
thisdialogDiv.style.top = Math.round(thisTop) + "px";
thisdialogDiv.style.left = Math.round(thisLeft) + "px";
};
Dialog.setBgDivSize = function () {
var bd = $bodyDimensions(topWin);
if(Dialog.bgDiv){
if(isIE6){
Dialog.bgDiv.style.height = bd.clientHeight + "px";
Dialog.bgDiv.style.top=bd.scrollTop + "px";
Dialog.bgDiv.childNodes[0].style.display = "none";//让div重渲染,修正IE6下尺寸bug
Dialog.bgDiv.childNodes[0].style.display = "";
}else{
Dialog.bgDiv.style.height = bd.scrollHeight + "px";
}
}
};
Dialog.resetPosition = function () {
Dialog.setBgDivSize();
for (var i = 0, len = topWin.Dialog._Array.length; i < len; i++) {
topWin.Dialog._Array[i].setPosition();
}
};
Dialog.prototype.create = function () {
var bd = $bodyDimensions(topWin);
if (typeof(this.OKEvent)== "function") this.ShowButtonRow = true;
if (!this.Width) this.Width = Math.round(bd.clientWidth * 4 / 10);
if(this.Width<400 && this.normalDialog) this.Width = 400;
if (!this.Height) this.Height = Math.round(this.Width / 2);
if(this.Height<300 && this.normalDialog)this.Height = 300;
if (this.MessageTitle || this.Message) this.ShowMessageRow = true;
var DialogDivWidth = this.Width + 13 + 13;
var DialogDivHeight = this.Height + 33 + 13 + (this.ShowButtonRow ? 40 : 0) + (this.ShowMessageRow ? 50 : 0);
if (DialogDivWidth > bd.clientWidth) this.Width = Math.round(bd.clientWidth - 26);
if (DialogDivHeight > bd.clientHeight) this.Height = Math.round(bd.clientHeight - 46 - (this.ShowButtonRow ? 40 : 0) - (this.ShowMessageRow ? 50 : 0));
var html = '\
<div id="_LoadDiv_'+this.ID+'" style="position:absolute;display:none;width: 100%;height: 100%;"></div>\
<table id="_DialogTable_' + this.ID + '" width="' + (this.Width + 26) + '" cellspacing="0" cellpadding="0" style=" font-size:12px;line-height:1.4;border-radius: 6px 6px 0 0">\
<tr id="_Draghandle_' + this.ID + '" style="' + (this.Drag ? "cursor: move;" : "")+(this.hideDraghandle ? "display:none;" : "") + '" class="' + this.dialogtitleclass + '">\
<td height="40px;" style="background-color:#4f94cd;"><div style="float: left;color:#FFF;font-size: 17px !important;"><span style="width:10px;display:inline-block;"></span><span id="_Title_' + this.ID + '" style="font-size:13px;height:30px;line-height:30px;"> ' + this.Title + '</span></div>\
<div onclick="Dialog.getInstance(\'' + this.ID + '\').cancelButton.onclick.apply(Dialog.getInstance(\'' + this.ID + '\').cancelButton,[]);" onmouseout="this.style.backgroundImage=\'url(/images/ecology8/16_close_wev8.png)\'" onmouseover="this.style.backgroundImage=\'url(/images/ecology8/16_close2_wev8.png)\'" style="font-family:Verdana!important;\
margin: 10px 8px 0; font-size:8px!important;position: relative; cursor: pointer; float: right; height: 16px; width: 16px;background-image: url(/images/ecology8/16_close_wev8.png);' + (this.ShowCloseButton ? "" : "display:none;") + '"></div>';
if(this.maxiumnable){
html += '\
<div id="_maxBtn_'+this.ID+'" onclick="Dialog.getInstance(\'' + this.ID + '\').maxOrRecoveryWindow(this);" onmouseout="Dialog.getInstance(\'' + this.ID + '\').mouseOut(this);" onmouseover="Dialog.getInstance(\'' + this.ID + '\').mouseOver(this);" style="font-family:Verdana!important;\
margin: 10px 8px 0; font-size:8px!important;position: relative; cursor: pointer; float: right; height: 16px; width: 16px;background-image: url(/images/ecology8/max_wev8.png);' + (this.ShowCloseButton ? "" : "display:none;") + '"></div>';
}
html += '</td>\
</tr>\
<tr valign="top">\
<td align="center" style="border:1px solid #BCBCBC;"><table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff">\
<tr id="_MessageRow_' + this.ID + '" style="' + (this.ShowMessageRow ? "" : "display:none") + '">\
<td valign="top" height="50"><table width="100%" cellspacing="0" cellpadding="0" border="0" id="_MessageTable_' + this.ID + '">\
<tr>\
<td width="50" height="50" align="center"></td>\
<td align="left" style="line-height: 16px;"><div id="_MessageTitle_' + this.ID + '" style="font-weight:bold">' + this.MessageTitle + '</div>\
<div id="_Message_' + this.ID + '">' + this.Message + '</div></td>\
</tr>\
</table></td>\
</tr>\
<tr>\
<td valign="top" align="center">\
<div id="_Container_' + this.ID + '" style="position: relative; width: ' + (this.Width+24) + 'px; height: ' + this.Height + 'px;"';
if(this.PaddingAble){
html+=' class="dialogPadding"';
}
html+='>\
<div style="position: absolute; height: 100%; width: 100%; display: none; background-color:#fff; opacity: 0.5;" id="_Covering_' + this.ID + '"> </div>\
' + (function (obj) {
if (obj.InnerHtml) return obj.InnerHtml;
if (obj.URL) return '<iframe width="100%" height="100%" frameborder="0" style="border:none 0;overflow:hidden;" allowtransparency="true" id="_DialogFrame_' + obj.ID + '" src="' + obj.displacePath() + '"></iframe>';
return "";
})(this) + '\
</div></td>\
</tr>\
<tr id="_ButtonRow_' + this.ID + '" style="' + (this.ShowButtonRow ? "" : "display:none") + '">\
<td height="36"><div id="_DialogButtons_' + this.ID + '" style="border-top: 1px solid #DADEE5; padding: 8px 20px; text-align:'+this.textAlign+' ; background-color:#f6f6f6;">\
' + (this.custombtnjson != null ? '<input type="button" class="zd_btn_submit2" style="padding: 0px 18px 0px 18px;" value='+this.custombtnjson.name+' id="_CustomButtonOK_' + this.ID + '" onclick="customClickEvent(\'' + this.ID + '\');"/>' : '') + '\
<input type="button" class="zd_btn_submit" style="padding: 0px 18px 0px 18px;" value='+this.okLabel+' id="_ButtonOK_' + this.ID + '"/>\
<span id="_e8SepLine_' + this.ID + '" class="e8_sep_line">|</span>\
<input type="button" class="zd_btn_cancle" style="padding: 0px 18px 0px 18px;" value='+this.cancelLabel+' onclick="Dialog.getInstance(\'' + this.ID + '\').closeByHand();" id="_ButtonCancel_' + this.ID + '"/>\
</div></td>\
</tr>\
</table></td>\
</tr>\
</table>\
</div>\
'
var div = topWin.$id("_DialogDiv_" + this.ID);
if (!div) {
div = topDoc.createElement("div");
div.id = "_DialogDiv_" + this.ID;
try{
topDoc.getElementsByTagName("BODY")[0].appendChild(div);
}catch(e1){
jQuery("body")[0].appendChild(div);
}
//jQuery(topDoc).append(div);
}
div.style.position = "absolute";
div.style.left = "-9999px";
div.style.top = "-9999px";
div.innerHTML = html;
if (this.InvokeElementId) {
var win = this.currentWindow || window;
var element = win.$id(this.InvokeElementId);
element.style.position = "";
element.style.display = "";
/*if (isInternetExplorer) {
var fragment = topDoc.createElement("div");
fragment.innerHTML = element.outerHTML;
element.outerHTML = "";
topWin.$id("_Covering_" + this.ID).parentNode.appendChild(fragment)
} else {
*/
topWin.$id("_Covering_" + this.ID).parentNode.appendChild(element)
//}
}
this.parentWindow = window;
if (this.URL) {
if (topWin.$id("_DialogFrame_" + this.ID)) {
this.innerFrame = topWin.$id("_DialogFrame_" + this.ID);
};
var self = this;
innerFrameOnload = function () {
try {
self.innerWin = self.innerFrame.contentWindow;
self.innerWin.parentDialog = self;
self.innerDoc = self.innerWin.document;
if (!self.Title && self.innerDoc && self.innerDoc.title) {
if (self.innerDoc.title) topWin.$id("_Title_" + self.ID).innerHTML = self.innerDoc.title;
};
} catch(e) {
if (console && console.log) console.log("可能存在访问限制,不能获取到iframe中的对象。")
}
if (typeof(self.OnLoad)== "function")self.OnLoad();
};
if (this.innerFrame.attachEvent) {
this.innerFrame.attachEvent("onload", innerFrameOnload);
} else {
this.innerFrame.onload = innerFrameOnload;
};
};
topWin.$id("_DialogDiv_" + this.ID).dialogId = this.ID;
topWin.$id("_DialogDiv_" + this.ID).dialogInstance = this;
this.attachBehaviors();
this.okButton = topWin.$id("_ButtonOK_" + this.ID);
this.e8SepLine = topWin.$id("_e8SepLine_"+this.ID);
this.cancelButton = topWin.$id("_ButtonCancel_" + this.ID);
div=null;
};
Dialog.prototype.setSize = function (w, h) {
if (w && +w > 20) {
this.Width = +w;
topWin.$id("_DialogTable_" + this.ID).width = this.Width + 26;
topWin.$id("_Container_" + this.ID).style.width = this.Width + "px";
}
if (h && +h > 10) {
this.Height = +h;
topWin.$id("_Container_" + this.ID).style.height = this.Height + "px";
}
this.setPosition();
};
Dialog.prototype.setTitle = function (fnum, scount) {
topWin.$id("_Title_" + this.ID).innerHTML = "批量导入:("+fnum+"/"+scount+")";
};
Dialog.prototype.setDlgTitle = function (titleName) {
topWin.$id("_Title_" + this.ID).innerHTML =titleName;
};
Dialog.prototype.setLoadDiv = function () {
$loadDiv = $("<div />");
$loadDiv.attr("id","loadingdiv");
$loadDivTop = $("<div />");
$loadDivTop.css("display","block");
$loadDivTop.css("z-index","99");
$loadDivTop.css("position","absolute");
$loadDivTop.css("width","100%");
$loadDivTop.css("height","100%");
$loadDivTop.css("text-align","center");
$loadImg = $("<img />");
$loadImg.attr("src","/rdeploy/crm/image/loading.gif");
$loadImg.css("padding-top","211px");
$loadImg.css("z-index","999");
$loadDivTop.append($loadImg);
$loadDivDown = $("<div />");
$loadDivDown.css("display","block");
$loadDivDown.css("z-index","94");
$loadDivDown.css("position","absolute");
$loadDivDown.css("width","100%");
$loadDivDown.css("height","100%");
$loadDivDown.css("opacity","0.1");
$loadDivDown.css("background-color","rgb(51, 51, 51)");
$loadDiv.append($loadDivTop).append($loadDivDown);
console.log(topWin.$id("_DialogDiv_" + this.ID));
topWin.$id("_LoadDiv_" + this.ID).innerHTML = $loadDiv.html();
};
Dialog.prototype.setLoadDivHide = function () {
topWin.$id("_LoadDiv_" + this.ID).innerHTML = '';
};
Dialog.prototype.mouseOut = function(obj){
if(this.maxState){//最大化状态
jQuery(obj).css("background-image","url(/images/ecology8/recovery_wev8.png)");
}else{
jQuery(obj).css("background-image","url(/images/ecology8/max_wev8.png)");
}
}
Dialog.prototype.mouseOver = function(obj){
if(this.maxState){//最大化状态
jQuery(obj).css("background-image","url(/images/ecology8/recovery2_wev8.png)");
}else{
jQuery(obj).css("background-image","url(/images/ecology8/max2_wev8.png)");
}
}
//最大化或者还原窗口
Dialog.prototype.maxOrRecoveryWindow = function(obj){
var a = jQuery("#_Container_"+this.ID);
if(!this.maxState){
if(!this.oriWidth){
this.oriTop = a.closest("div#_DialogDiv_"+this.ID).offset().top;
this.oriLeft = a.closest("div#_DialogDiv_"+this.ID).offset().left;
this.oriWidth = a.closest("div#_DialogDiv_"+this.ID).width();
this.oriHeight = a.closest("div#_DialogDiv_"+this.ID).height();
}
a.closest("div#_DialogDiv_"+this.ID).css("top",0);
a.closest("div#_DialogDiv_"+this.ID).css("left",0);
a.width(jQuery(window).width());
if (!!this.dialogtitleclass) {
a.height(jQuery(window).height() - $("#_Draghandle_" + this.ID).height());
} else {
a.height(jQuery(window).height()-30);
}
this.maxState = true;
jQuery(obj).css("background-image","url(/images/ecology8/recovery_wev8.png)");
}else{
a.closest("div#_DialogDiv_"+this.ID).css("top",this.oriTop);
a.closest("div#_DialogDiv_"+this.ID).css("left",this.oriLeft);
a.width(this.oriWidth);
a.height(this.oriHeight-30);
this.maxState = false;
jQuery(obj).css("background-image","url(/images/ecology8/max_wev8.png)");
}
try{
//resizeDialog();
}catch(e){}
}
Dialog.prototype.callback = function(datas,otherdatas){
if(!this.browserConfig){
//added by wcd 2015-10-21
try{if(!!this._callBack) this._callBack(datas);}catch(e){if(window.console)console.log(e+"-->/wui/theme/ecology8/jquery/js/zDialog.js-->callback()");}
if(window.console){
console.log("浏览框配置信息为空!");
}
return false;
}
var _event = this.browserConfig._event;
var _target = this.browserConfig._target;
var linkUrl = this.browserConfig.linkUrl;
var e8os = this.browserConfig.e8os;
var isAdd = this.browserConfig.isAdd;
var fieldid = this.browserConfig.fieldid;
var isMustInput = this.browserConfig.isMustInput;
var params = this.browserConfig.params;
var userCallBack = this.browserConfig.options._callback;
var name = this.browserConfig.options.name;
var hasInput = this.browserConfig.options.hasInput;
var wuiUtil = this.browserConfig.wuiUtil;
var __callback = this.browserConfig.__callback;
var _writeBackData = this.browserConfig._writeBackData;
var idKey = this.browserConfig.options.idKey;
var nameKey = this.browserConfig.options.nameKey;
var isSingle = this.browserConfig.isSingle;
var needHidden = this.browserConfig.options.needHidden;
var __document = this.browserConfig.__document;
if (datas){
var ids = wuiUtil.getJsonValueByIndex(datas,0);
if(idKey){
ids = datas[idKey];
}
if(!ids){
ids = "";
}else{
ids = ""+ids;
}
if (ids!= ""){
try{
//ids = ids.replace(/ /g,"");
ids = ids.replace(/[\n\r]/g,"");
}catch(e){}
try{
ids = trim(ids);
}catch(e){
try{
ids = ids.trim();
}catch(e){}
}
var names = wuiUtil.getJsonValueByIndex(datas,1);
if(nameKey){
names = datas[nameKey];
}
try{
if(datas.tag){
ids = datas.id;
names = datas.path;
}
}catch(e){}
var idArr = ids.split(",");
if(names){
try{
names = trim(names);
}catch(e){
names = names.trim();
}
}
var nameArr = null;
names = names.replace(/<\/a>(__|,)/g,"</a>~~WEAVERSplitFlag~~");//qc370946英文逗号问题
if(!isSingle){
if(names.indexOf("~~WEAVERSplitFlag~~")>-1){
nameArr = names.split("~~WEAVERSplitFlag~~");
}else{
nameArr = names.split(",");
}
}else{
nameArr = names.split("~~WEAVERSplitFlag~~");
}
var showNames = "";
for(var i=0;i<idArr.length;i++){
var showname = "<a href='#"+idArr[i]+"' onclick='return false;'>"+nameArr[i]+"</a>";
if(!!linkUrl&&linkUrl!="#"){
if(linkUrl.toLowerCase().indexOf("javascript:")>-1){
var pre = linkUrl.substring(0,linkUrl.indexOf("$"));
var after = linkUrl.substring(linkUrl.lastIndexOf("$")+1,linkUrl.length);
showname = "<a href='"+pre+idArr[i]+after+";' onclick='pointerXY(event);'>"+nameArr[i]+"</a>";
}else{
if(linkUrl.match(/#id#/)){
var _linkUrl = linkUrl.replace(/#id#/g,idArr[i]);
showname = "<a href=\""+_linkUrl+"\" target='_blank'>"+nameArr[i]+"</a>";
}else{
if(linkUrl.match(/=$/) || linkUrl.match(/#$/)){
showname = "<a href=\""+linkUrl+idArr[i]+"\" target='_blank' >"+nameArr[i]+"</a>";
}else{
showname = "<a href=\""+linkUrl+"?id="+idArr[i]+"\" target='_blank' >"+nameArr[i]+"</a>";
}
}
}
}
showNames += showname;
}
var newData = {id:ids,name:showNames};
var _window = this.currentWindow;
if(!_window)_window = window;
if(isAdd){
_writeBackData(fieldid,isMustInput,newData,{hasInput:hasInput,isSingle:isSingle,replace:false});
}else{
if(e8os.length==0){
e8os = jQuery("#"+fieldid,_window.document).closest("div.e8_os");
}
if(needHidden==false){
if(__document){
e8os = jQuery(__document.body);
}else{
e8os = jQuery(document.body);
}
}
e8os.find("#"+fieldid+"span").html(showNames);
e8os.find("#"+fieldid).val(ids);
e8os.find("#"+fieldid+"spanimg").html("");
}
}
else{
var _window = this.currentWindow;
if(!_window)_window = window;
if(isAdd){
_writeBackData(fieldid,isMustInput,datas,false,isSingle,false);
}else{
if(e8os.length==0){
e8os = jQuery("#"+fieldid,_window.document).closest("div.e8_os");
}
if(needHidden==false){
e8os = jQuery(document.body);
}
e8os.find("#"+fieldid+"span").html("");
e8os.find("#"+fieldid).val("");
if(isMustInput==2){
e8os.find("#"+fieldid+"spanimg").html("<img align='absmiddle' src='/images/BacoError_wev8.gif'>");
}
}
}
if(!!userCallBack){
try{
userCallBack(_event,datas,fieldid,params,_target,otherdatas);
}catch(e){
if(window.console)console.log(e+"-->/wui/theme/ecology8/jquery/js/zDialog.js-->callback()");
}
}
if(__callback){
__callback(name,fieldid,isMustInput,hasInput,this.browserConfig.options);
}
}
this.close();
};
Dialog.prototype.showShadowIframe = function(){
this.__e8shadowiframe__="__e8shadowiframe__"+(parseInt(Math.random()*1000000000));
//alert(this.__e8shadowiframe__);
if(this.__e8shadowiframe__ && this.Modal){
var __e8shadowiframe__ = jQuery("#"+this.__e8shadowiframe__);
if(__e8shadowiframe__.length==0){
__e8shadowiframe__ = jQuery("<iframe>",{
id:this.__e8shadowiframe__,
name:this.__e8shadowiframe__,
frameborder:"0",
css:{
"position":"absolute",
"left":0,
"top":0,
"z-index":2,
"width":"100%",
"height":"100%",
"filter":"alpha(opacity=0)",
"opacity":"0",
"src":"#"
}
});
jQuery(document.body).append(__e8shadowiframe__);
}else{
__e8shadowiframe__.css("display","block");
}
}
}
Dialog.prototype.hideShadowIframe = function(){
if(this.__e8shadowiframe__){
jQuery("#"+this.__e8shadowiframe__).remove();
}
}
Dialog.prototype.show = function () {
this.create();
var bgdiv = Dialog.getBgdiv(),
thisdialogDiv=this.getDialogDiv();
this.showShadowIframe();
this.zindex = thisdialogDiv.style.zIndex = parseInt(Dialog.bgDiv.style.zIndex) + 1;
if (topWin.Dialog._Array.length > 0) {
this.zindex = thisdialogDiv.style.zIndex = parseInt(topWin.Dialog._Array[topWin.Dialog._Array.length - 1].zindex) + 2;
} else {
var topWinBody = topDoc.getElementsByTagName(topDoc.compatMode == "BackCompat" ? "BODY" : "HTML")[0];
topWinBody.styleOverflow = topWinBody.style.overflow;
topWinBody.style.overflow = "hidden";
bgdiv.style.display = "none";
}
topWin.Dialog._Array.push(this);
if (this.Modal) {
bgdiv.style.zIndex = parseInt(topWin.Dialog._Array[topWin.Dialog._Array.length - 1].zindex) - 1;
Dialog.setBgDivSize();
if(bgdiv.style.display == "none"){
if(this.Animator){
var bgMask=topWin.$id("_DialogBGMask");
bgMask.style.opacity = 0;
bgMask.style.filter = "alpha(opacity=0)";
bgdiv.style.display = "";
if(this.opacity!=-1){
fadeEffect(bgMask,this.opacity,this.opacity*100);
}else{
fadeEffect(bgMask,0,40,isIE6?20:10);
}
bgMask=null;
}else{
bgdiv.style.display = "";
}
}
}
this.setPosition();
if (this.CancelEvent) {
this.cancelButton.onclick = this.CancelEvent;
if(this.ShowButtonRow)this.cancelButton.focus();
}
if (this.OKEvent) {
this.okButton.onclick = this.OKEvent;
if(this.ShowButtonRow)this.okButton.focus();
}
if (this.AutoClose && this.AutoClose > 0) this.autoClose();
this.opened = true; bgdiv=null;
//隐藏flash元素
if (!!this.flashs && this.flashs.length > 0) {
for (var z=0; z<this.flashs.length; z++) {
jQuery(this.flashs[z]).hide();
}
}
if(this.DefaultMax){
jQuery("#_maxBtn_"+this.ID).trigger("click");
}
if(this.checkDataChange){
//当指定的url加载好之后获取所有的input和select元素的初始值,用于当用户关闭dialog框时进行修改性判断
this.getPageData(this,"initData",0);
}
setBtnHoverClass();
};
Dialog.prototype.getPageData = function($dialog,memkey,count){
try{
if(count>50){
if(window.console){
console.log("/wui/theme/ecology8/jquery/js/zDialog.js---超时退出...");
}
return;
}
var _document = document;
if($dialog.isIframe){
_document = jQuery($dialog.innerFrame.contentWindow.document).find("iframe.flowFrame:first").get(0).contentWindow.document;
}else{
_document = $dialog.innerFrame.contentWindow.document;
}
var elements = jQuery("input,select",_document);
if(elements.length==0){
throw "没有找到元素...";
}
var initData = "";
elements.each(function(){
var type = jQuery(this).attr("type");
if(!type||type=="text"||type=="password"||type=="hidden"){
initData+=","+jQuery(this).val();
}
});
var textareas = jQuery("textarea",_document);
textareas.each(function(){
initData+=","+jQuery(this).val();
});
var checkboxs = jQuery(":checkbox",_document)
checkboxs.each(function(){
initData+=","+jQuery(this).attr("checked");
});
$dialog[memkey] = initData;
if(window.console)
console.log(initData);
}catch(e){
count++;
window.setTimeout(function(){
$dialog.getPageData($dialog,memkey,count);
},1000);
}
};
Dialog.prototype.closeManual = function(dialog){
if(!dialog)dialog=this;
var thisdialogDiv=dialog.getDialogDiv();
try {
if (!!this.callbackfunc4CloseBtn)
{
this.callbackfunc4CloseBtn();
}
} catch (e) {}
if (dialog == topWin.Dialog._Array[topWin.Dialog._Array.length - 1]) {
var isTopDialog = topWin.Dialog._Array.pop();
} else {
topWin.Dialog._Array.remove(dialog)
}
if (dialog.InvokeElementId) {
var win = dialog.currentWindow || window;
var innerElement = win.$id(dialog.InvokeElementId);
innerElement.style.display = "none";
if (isInternetExplorer) {
//ie下不能跨窗口拷贝元素,只能跨窗口拷贝html代码
var fragment = document.createElement("div");
fragment.innerHTML = innerElement.outerHTML;
innerElement.outerHTML = "";
document.getElementsByTagName("BODY")[0].appendChild(fragment)
} else {
document.getElementsByTagName("BODY")[0].appendChild(innerElement)
}
}
//if(window.console && console.log)console.log(topWin.Dialog._Array);
if (topWin.Dialog._Array.length > 0) {
if (dialog.Modal && isTopDialog) Dialog.bgDiv.style.zIndex = parseInt(topWin.Dialog._Array[topWin.Dialog._Array.length - 1].zindex) - 1;
} else {
Dialog.getBgdiv().style.zIndex = "90000";
Dialog.getBgdiv().style.display = "none";
var topWinBody = topDoc.getElementsByTagName(topDoc.compatMode == "BackCompat" ? "BODY" : "HTML")[0];
if (topWinBody.styleOverflow != undefined) topWinBody.style.overflow = topWinBody.styleOverflow;
}
if (isInternetExplorer) {
try{
/*****释放引用,以便浏览器回收内存**/
thisdialogDiv.dialogInstance=null;
//if(this.innerFrame)this.innerFrame.detachEvent("onload", innerFrameOnload);
dialog.innerFrame=null;
dialog.parentWindow=null;
dialog.bgDiv=null;
if (dialog.CancelEvent){dialog.cancelButton.onclick = null;};
if (dialog.OKEvent){dialog.okButton.onclick = null;};
topWin.$id("_DialogDiv_" + dialog.ID).onDragStart=null;
topWin.$id("_DialogDiv_" + dialog.ID).onDragEnd=null;
topWin.$id("_Draghandle_" + dialog.ID).onmousedown=null;
topWin.$id("_Draghandle_" + dialog.ID).root=null;
/**end释放引用**/
thisdialogDiv.outerHTML = "";
//CollectGarbage();
}catch(e){
if(window.console)console.log(e,"/wui/theme/ecology8/jquery/js/zDialog.js#closeManual()");
}
} else {
var RycDiv = topWin.$id("_RycDiv");
if (!RycDiv) {
RycDiv = topDoc.createElement("div");
RycDiv.id = "_RycDiv";
}
try{
RycDiv.appendChild(thisdialogDiv);
}catch(e){
if(window.console)console.log(e,"zDialog.js#closeManaul()");
}
RycDiv.innerHTML = "";
RycDiv=null;
}
thisdialogDiv=null;
//解决firefox下窗口无法关闭问题
jQuery("#_DialogDiv_"+dialog.ID, window.top.document).remove();
dialog.closed = true;
//显示flash元素
if (!!dialog.flashs && dialog.flashs.length > 0) {
for (var z=0; z<dialog.flashs.length; z++) {
jQuery(dialog.flashs[z]).show();
}
}
dialog.maxState = false;
this.hideShadowIframe();
};
/*
Dialog.prototype.close = function(){
this.closeManual();
}
*/
Dialog.prototype.close = function(datas,otherdatas){
try {
if (!!this.callbackfun && !!datas) {
this.callbackfun(this.callbackfunParam, datas,otherdatas);
}
} catch (e) {}
try {
//dialog关闭事件
if (!!this.closeHandle) {
this.closeHandle();
}
} catch (e) {}
this.closeManual();
}
Dialog.prototype.closeByHand = function () {
var $dialog = this;
if(this.checkDataChange){
this.getPageData(this,"finalData",0);
if(this.finalData && this.initData && this.finalData!=this.initData){
this.dataChange = true;
}else{
this.dataChange = false;
}
}
if(this.dataChange){//第一版暂时取消该提示
top.Dialog.confirm(SystemEnv.getHtmlNoteName(3570),function(){
$dialog.dataChange = false;
try {
//dialog关闭事件
if (!!this.closeHandle) {
this.closeHandle();
}
} catch (e) {}
$dialog.closeManual($dialog);
},function(){
return false;
});
}else{
try {
//dialog关闭事件
if (!!this.closeHandle) {
this.closeHandle();
}
} catch (e) {}
this.closeManual();
}
};
Dialog.prototype.autoClose = function () {
if (this.closed) {
clearTimeout(this._closeTimeoutId);
return;
}
this.AutoClose -= 1;
//topWin.$id("_Title_" + this.ID).innerHTML = this.AutoClose + " 秒后自动关闭";
if (this.AutoClose <= 0) {
this.close();
} else {
var self = this;
this._closeTimeoutId = setTimeout(function () {
self.autoClose();
},
1000);
}
};
Dialog.getInstance = function (id) {
var dialogDiv = topWin.$id("_DialogDiv_" + id);
if (!dialogDiv){
if(window.console)
console.log("/wui/theme/ecology8/jquery/js/zDialog.js-->getInstance-->没有取到对应ID的弹出框页面对象");
}
try{
return dialogDiv.dialogInstance;
}finally{
dialogDiv = null;
}
};
Dialog.prototype.addButton = function (id, txt, func) {
topWin.$id("_ButtonRow_" + this.ID).style.display = "";
this.ShowButtonRow = true;
var button = topDoc.createElement("input");
button.id = "_Button_" + this.ID + "_" + id;
button.type = "button";
button.style.cssText = "margin-right:5px";
button.value = txt;
button.onclick = func;
var input0 = topWin.$id("_DialogButtons_" + this.ID).getElementsByTagName("INPUT")[0];
input0.parentNode.insertBefore(button, input0);
return button;
};
Dialog.prototype.removeButton = function (btn) {
var input0 = topWin.$id("_DialogButtons_" + this.ID).getElementsByTagName("INPUT")[0];
input0.parentNode.removeChild(btn);
};
Dialog.getBgdiv = function () {
if (Dialog.bgDiv) {
jQuery(Dialog.bgDiv).unbind("contextmenu").bind("contextmenu",function(e){
e.preventDefault();
e.stopPropagation();
return false;
});
return Dialog.bgDiv;
}
var bgdiv = topWin.$id("_DialogBGDiv");
if (!bgdiv) {
bgdiv = topDoc.createElement("div");
bgdiv.id = "_DialogBGDiv";
bgdiv.style.cssText = "position:absolute;left:0px;top:0px;width:100%;height:100%;z-index:1001";
var bgIframeBox = '<div style="position:relative;width:100%;height:100%;">';
var bgIframeMask = '<div id="_DialogBGMask" style="position:absolute;background-color:#333;opacity:0.4;filter:alpha(opacity=40);width:100%;height:100%;"></div>';
var bgIframe = isIE6?'<iframe src="about:blank" style="filter:alpha(opacity=0);" width="100%" height="100%"></iframe>':'';
bgdiv.innerHTML=bgIframeBox+bgIframeMask+bgIframe+'</div>';
try{
topDoc.getElementsByTagName("BODY")[0].appendChild(bgdiv);
}catch(e1){
jQuery("body")[0].appendChild(bgdiv);
}
if (isIE6) {
var bgIframeDoc = bgdiv.getElementsByTagName("IFRAME")[0].contentWindow.document;
bgIframeDoc.open();
bgIframeDoc.write("<body style='background-color:#333' oncontextmenu='return false;'></body>");
bgIframeDoc.close();
bgIframeDoc=null;
}
}
Dialog.bgDiv = bgdiv;
jQuery(Dialog.bgDiv).unbind("contextmenu").bind("contextmenu",function(e){
e.preventDefault();
e.stopPropagation();
return false;
});
bgdiv=null;
return Dialog.bgDiv;
};
Dialog.prototype.getDialogDiv = function () {
var dialogDiv=topWin.$id("_DialogDiv_" + this.ID)
if(!dialogDiv){
if(window.console)
console.log("获取弹出层页面对象出错!");
}
try{
return dialogDiv;
}finally{
dialogDiv = null;
}
};
Dialog.prototype.getContainer = function(){
var container = topWin.$id("_Container_"+this.ID);
return container;
}
Dialog.onKeyDown = function (event) {
if (event.shiftKey && event.keyCode == 9) { //shift键
if (topWin.Dialog._Array.length > 0) {
stopEvent(event);
return false;
}
}
if (event.keyCode == 27) { //ESC键
Dialog.close();
}
};
Dialog.close = function (id) {
if (topWin.Dialog._Array.length > 0) {
var diag = topWin.Dialog._Array[topWin.Dialog._Array.length - 1];
diag.cancelButton.onclick.apply(diag.cancelButton, []);
}
};
Dialog.alert = function (msg, func, w, h,m,_options) {
var w = w || 300,
h = h || 80,
m=m==false?false:true;
var options = jQuery.extend({
isIframe:false,
_window:window,
_autoClose:null //自动关闭的时间
},_options);
var diag =null;
if(window.top.Dialog&&!options.isIframe){
diag=new window.top.Dialog({
Width: w,
Height: h,
normalDialog:false,
Modal:m
});
}else{
diag=new Dialog({
Width: w,
Height: h,
normalDialog:false,
Modal:m
});
}
if(options._autoClose && options._autoClose > 0){ //自动关闭
diag.AutoClose = options._autoClose;
}
diag.ShowButtonRow = true;
diag.Title = SystemEnv.getHtmlNoteName(3571);
diag.Modal = m;
diag.CancelEvent = function () {
diag.close();
if (func) func();
};
if(options.isIframe){
diag.URL="/systeminfo/alert.jsp?id="+this.ID;
}else{
diag.InnerHtml = '<table height="100%" border="0" align="center" cellpadding="10" cellspacing="0">\
<tr><td align="right"><img id="Icon_' + this.ID + '" src="' + IMAGESPATH + 'icon_alert_wev8.png" style="margin-right:10px;" width="26" height="26" align="absmiddle"></td>\
<td align="left" id="Message_' + this.ID + '" style="font-size:9pt">' + msg + '</td></tr>\
</table>';
}
diag.show();
diag.getDialogDiv().style.zIndex = 99999;
//jQuery(diag.getDialogDiv()).css({"overflow-y":"auto","overflow-x":"hidden"});
//diag.okButton.parentNode.style.textAlign = "right";
jQuery(diag.getContainer()).css("overflow-y","auto");
diag.okButton.style.display = "none";
diag.e8SepLine.style.display = "none";
diag.cancelButton.value = SystemEnv.getHtmlNoteName(3451);
diag.cancelButton.focus();
jQuery("#"+diag.cancelButton.id).removeClass("btn").addClass("btn_submit");
};
Dialog.confirm = function (msg, funcOK, funcCal, w, h,m, custombtnjson, btnoklabel, btncancellabel, win, flashs) {
var w = w || 300,
h = h || 80,
m=m==false?false:true;
var diag = new Dialog({
Width: w,
Height: h,
Modal:m,
PaddingAble:true,
normalDialog:false,
custombtnjson:custombtnjson
});
if (!!btnoklabel) {
diag.okLabel = btnoklabel;
}
if (!!btncancellabel) {
diag.cancelLabel = btncancellabel;
}
if (!!win) {
diag.currentWindow = win;
}
if (!!flashs) {
diag.flashs = flashs;
}
diag.ShowButtonRow = true;
diag.Title = SystemEnv.getHtmlNoteName(3572);
diag.Modal = m;
diag.CancelEvent = function () {
diag.close();
if (funcCal) {
funcCal();
}
};
diag.OKEvent = function () {
diag.close();
if (funcOK) {
funcOK();
}
};
diag.InnerHtml = '<table height="100%" border="0" align="center" cellpadding="10" cellspacing="0">\
<tr><td align="right"><img id="Icon_' + this.ID + '" src="' + IMAGESPATH + 'icon_query_wev8.png" style="padding-left:0px;margin-right:0px;" width="26" height="26" align="absmiddle"></td>\
<td align="left" id="Message_' + this.ID + '" style="font-size:9pt;padding-left: 0px;">' + msg + '</td></tr>\
</table>';
diag.show();
diag.okButton.parentNode.style.textAlign = "center";
//jQuery(diag.getDialogDiv()).css({"overflow-y":"auto","overflow-x":"hidden"});
jQuery(diag.getContainer()).css("overflow-y","auto");
diag.okButton.focus();
};
Dialog.open = function (arg) {
var diag = new Dialog(arg);
diag.show();
return diag;
};
if (isInternetExplorer) {
window.attachEvent("onload", Dialog.attachBehaviors);
} else {
window.addEventListener("load", Dialog.attachBehaviors, false);
}
function getDialog(win){
var allFrame = document.getElementsByTagName("iframe");
for(var i=0;i<allFrame.length;i++){
var tempFrame = allFrame[i];
if (!!tempFrame && tempFrame.contentWindow == win) {
var tempIds = allFrame[i].id.split("_");
if (tempIds.length > 0) {
return Dialog.getInstance(tempIds[tempIds.length - 1]);
}
}
}
return null;
}
function setBtnHoverClass(){
jQuery(".zd_btn_submit").hover(function(){
jQuery(this).addClass("zd_btn_submit_hover");
},function(){
jQuery(this).removeClass("zd_btn_submit_hover");
});
jQuery(".zd_btn_submit2").hover(function(){
jQuery(this).addClass("zd_btn_submit2_hover");
},function(){
jQuery(this).removeClass("zd_btn_submit2_hover");
});
jQuery(".zd_btn_cancle").hover(function(){
jQuery(this).addClass("zd_btn_cancleHover");
},function(){
jQuery(this).removeClass("zd_btn_cancleHover");
});
jQuery(".zd_btn_submit,.zd_btn_submit2,.zd_btn_cancle")
.live("mousedown", function () {
jQuery(this).addClass("e8_btn_mousedown");
}).live("mouseup", function () {
jQuery(this).removeClass("e8_btn_mousedown");
});
}
jQuery(document).ready(function(){
setBtnHoverClass();
});
function getParentWindow(win) {
var dialogwin = getDialog(win);
if (!!dialogwin) {
return dialogwin.currentWindow;
}
return null;
}
function customClickEvent(dialogid) {
var cceDialog = Dialog.getInstance(dialogid);
cceDialog.custombtnjson.click();
Dialog.getInstance(dialogid).close();
}
/*合并--->/wui/theme/ecology8/jquery/js/zDrag.js*/
var Drag={
"obj":null,
"init":function(handle, dragBody, e){
if (e == null) {
handle.onmousedown=Drag.start;
}
handle.root = dragBody;
if(isNaN(parseInt(handle.root.style.left)))handle.root.style.left="0px";
if(isNaN(parseInt(handle.root.style.top)))handle.root.style.top="0px";
handle.root.onDragStart=new Function();
handle.root.onDragEnd=new Function();
handle.root.onDrag=new Function();
if (e !=null) {
var handle=Drag.obj=handle;
e=Drag.fixe(e);
var top=parseInt(handle.root.style.top);
var left=parseInt(handle.root.style.left);
handle.root.onDragStart(left,top,e.pageX,e.pageY);
handle.lastMouseX=e.pageX;
handle.lastMouseY=e.pageY;
document.onmousemove=Drag.drag;
document.onmouseup=Drag.end;
}
},
"start":function(e){
var handle=Drag.obj=this;
e=Drag.fixEvent(e);
var top=parseInt(handle.root.style.top);
var left=parseInt(handle.root.style.left);
//alert(left)
handle.root.onDragStart(left,top,e.pageX,e.pageY);
handle.lastMouseX=e.pageX;
handle.lastMouseY=e.pageY;
document.onmousemove=Drag.drag;
document.onmouseup=Drag.end;
return false;
},
"drag":function(e){
e=Drag.fixEvent(e);
var handle=Drag.obj;
var mouseY=e.pageY;
var mouseX=e.pageX;
var top=parseInt(handle.root.style.top);
var left=parseInt(handle.root.style.left);
if(document.all){Drag.obj.setCapture();}else{e.preventDefault();};//作用是将所有鼠标事件捕获到handle对象,对于firefox,以用preventDefault来取消事件的默认动作:
var currentLeft,currentTop;
currentLeft=left+mouseX-handle.lastMouseX;
currentTop=top+(mouseY-handle.lastMouseY);
//if(currentLeft<0)currentLeft=0;
var _dialogDiv = jQuery(handle).closest("div");
if(currentLeft<0-_dialogDiv.width()+100){
currentLeft = 0-_dialogDiv.width()+100;
}
if(currentTop<0)currentTop=0;
if(currentLeft>jQuery(window).width()-100)currentLeft = jQuery(window).width()-100;
if(currentTop>jQuery(window).height()-80)currentTop = jQuery(window).height()-80;
handle.root.style.left=currentLeft +"px";
handle.root.style.top=currentTop+"px";
handle.lastMouseX=mouseX;
handle.lastMouseY=mouseY;
handle.root.onDrag(currentLeft,currentTop,e.pageX,e.pageY);
return false;
},
"end":function(){
if(document.all){Drag.obj.releaseCapture();};//取消所有鼠标事件捕获到handle对象
document.onmousemove=null;
document.onmouseup=null;
Drag.obj.root.onDragEnd(parseInt(Drag.obj.root.style.left),parseInt(Drag.obj.root.style.top));
Drag.obj=null;
},
"fixEvent":function(e){//格式化事件参数对象
var sl = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft);
var st = Math.max(document.documentElement.scrollTop, document.body.scrollTop);
if(typeof e=="undefined")e=window.event;
if(typeof e.layerX=="undefined")e.layerX=e.offsetX;
if(typeof e.layerY=="undefined")e.layerY=e.offsetY;
if(typeof e.pageX == "undefined")e.pageX = e.clientX + sl - document.body.clientLeft;
if(typeof e.pageY == "undefined")e.pageY = e.clientY + st - document.body.clientTop;
return e;
}
};