system-clients 3.2.3 → 3.2.4-aodeToV4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/7.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/checksums/checksums.lock +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/SystemClient.iml +11 -11
  15. package/build/webpack.base.conf.js +78 -75
  16. package/build.gradle +6 -6
  17. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  19. package/gradlew +185 -0
  20. package/gradlew.bat +89 -0
  21. package/index.html +21 -21
  22. package/package.json +2 -2
  23. package/src/App.vue +24 -24
  24. package/src/LodopFuncs.js +123 -123
  25. package/src/components/Main.vue +46 -152
  26. package/src/components/Util.js +343 -343
  27. package/src/components/equipment/EquipmentManage.vue +65 -65
  28. package/src/components/equipment/PcAdd.vue +105 -105
  29. package/src/components/equipment/PcList.vue +120 -119
  30. package/src/components/equipment/PcManage.vue +60 -60
  31. package/src/components/equipment/PhoneAdd.vue +94 -94
  32. package/src/components/equipment/PhoneList.vue +102 -102
  33. package/src/components/equipment/PhoneManage.vue +60 -60
  34. package/src/components/equipment/PosAdd.vue +156 -137
  35. package/src/components/equipment/PosList.vue +164 -164
  36. package/src/components/equipment/PosManage.vue +68 -67
  37. package/src/components/materialManage/materialData.vue +44 -44
  38. package/src/components/materialManage/materialList.vue +255 -255
  39. package/src/components/parammanage/ParamManage.vue +42 -42
  40. package/src/components/parammanage/ParamPage.vue +314 -314
  41. package/src/components/parammanage/ParamPages.vue +222 -222
  42. package/src/components/parammanage/SinglePage.vue +235 -235
  43. package/src/components/parammanage/SinglePages.vue +167 -167
  44. package/src/components/server/AddChangeMsg.vue +66 -66
  45. package/src/components/server/ChangeDeclare.vue +45 -45
  46. package/src/components/server/LeftTree.vue +111 -111
  47. package/src/components/server/LoadData.vue +36 -36
  48. package/src/components/server/Login.vue +726 -624
  49. package/src/components/server/Menu.vue +188 -188
  50. package/src/components/server/ModifyPw.vue +112 -106
  51. package/src/components/server/NewResSelectGroup.vue +211 -0
  52. package/src/components/server/ResSelect.vue +153 -150
  53. package/src/components/server/ResSelectGroup.vue +159 -142
  54. package/src/components/server/RightTree.vue +343 -263
  55. package/src/components/server/RoleSelector.vue +90 -89
  56. package/src/components/server/TestResSelect.vue +58 -58
  57. package/src/components/server/TestResSelectGroup.vue +388 -388
  58. package/src/plugins/EncryptUtil.js +53 -0
  59. package/src/plugins/GetLoginInfoService.js +88 -104
  60. package/src/plugins/HeatGetLoginInfoService.js +491 -0
  61. package/src/plugins/validation.js +7 -7
  62. package/src/project/State.js +17 -17
  63. package/src/stores/AppData.js +38 -38
  64. package/src/stores/HeatAppData.js +38 -0
  65. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  66. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  67. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  68. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -0
  69. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  70. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  71. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  72. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  73. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  74. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  75. package/src/styles/fonts/trendstrends.ttf +0 -0
  76. package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  77. package/src/styles/less/.csscomb.json +304 -0
  78. package/src/styles/less/.csslintrc +19 -0
  79. package/src/styles/less/alerts.less +73 -0
  80. package/src/styles/less/aofeng/animate.min.css +11 -0
  81. package/src/styles/less/aofeng/expandcss.less +569 -0
  82. package/src/styles/less/aofeng/standard.less +2121 -0
  83. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -0
  84. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -0
  85. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -0
  86. package/src/styles/less/aofeng/themeOne.less +17 -0
  87. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -0
  88. package/src/styles/less/aofeng/themeTwo.less +3 -0
  89. package/src/styles/less/badges.less +66 -0
  90. package/src/styles/less/bootstrap.less +66 -0
  91. package/src/styles/less/breadcrumbs.less +26 -0
  92. package/src/styles/less/button-groups.less +247 -0
  93. package/src/styles/less/buttons.less +172 -0
  94. package/src/styles/less/carousel.less +269 -0
  95. package/src/styles/less/close.less +34 -0
  96. package/src/styles/less/code.less +69 -0
  97. package/src/styles/less/component-animations.less +33 -0
  98. package/src/styles/less/dropdowns.less +216 -0
  99. package/src/styles/less/fonts-list.less +25 -0
  100. package/src/styles/less/forms.less +626 -0
  101. package/src/styles/less/glyphicons.less +305 -0
  102. package/src/styles/less/grid.less +84 -0
  103. package/src/styles/less/input-groups.less +167 -0
  104. package/src/styles/less/jumbotron.less +52 -0
  105. package/src/styles/less/labels.less +64 -0
  106. package/src/styles/less/list-group.less +141 -0
  107. package/src/styles/less/manageStyle/manageChile.less +180 -0
  108. package/src/styles/less/manageStyle/manageStyle.less +1102 -0
  109. package/src/styles/less/manageStyle/safeStyle.less +498 -0
  110. package/src/styles/less/media.less +66 -0
  111. package/src/styles/less/mixins/alerts.less +14 -0
  112. package/src/styles/less/mixins/background-variant.less +9 -0
  113. package/src/styles/less/mixins/border-radius.less +18 -0
  114. package/src/styles/less/mixins/buttons.less +69 -0
  115. package/src/styles/less/mixins/center-block.less +7 -0
  116. package/src/styles/less/mixins/clearfix.less +22 -0
  117. package/src/styles/less/mixins/forms.less +90 -0
  118. package/src/styles/less/mixins/gradients.less +59 -0
  119. package/src/styles/less/mixins/grid-framework.less +92 -0
  120. package/src/styles/less/mixins/grid.less +122 -0
  121. package/src/styles/less/mixins/hide-text.less +21 -0
  122. package/src/styles/less/mixins/image.less +33 -0
  123. package/src/styles/less/mixins/labels.less +12 -0
  124. package/src/styles/less/mixins/list-group.less +30 -0
  125. package/src/styles/less/mixins/nav-divider.less +10 -0
  126. package/src/styles/less/mixins/nav-vertical-align.less +9 -0
  127. package/src/styles/less/mixins/opacity.less +8 -0
  128. package/src/styles/less/mixins/pagination.less +24 -0
  129. package/src/styles/less/mixins/panels.less +24 -0
  130. package/src/styles/less/mixins/progress-bar.less +10 -0
  131. package/src/styles/less/mixins/reset-filter.less +8 -0
  132. package/src/styles/less/mixins/reset-text.less +18 -0
  133. package/src/styles/less/mixins/resize.less +6 -0
  134. package/src/styles/less/mixins/responsive-visibility.less +15 -0
  135. package/src/styles/less/mixins/size.less +10 -0
  136. package/src/styles/less/mixins/tab-focus.less +9 -0
  137. package/src/styles/less/mixins/table-row.less +44 -0
  138. package/src/styles/less/mixins/text-emphasis.less +9 -0
  139. package/src/styles/less/mixins/text-overflow.less +8 -0
  140. package/src/styles/less/mixins/vendor-prefixes.less +227 -0
  141. package/src/styles/less/mixins.less +40 -0
  142. package/src/styles/less/modals.less +151 -0
  143. package/src/styles/less/navbar.less +660 -0
  144. package/src/styles/less/navs.less +285 -0
  145. package/src/styles/less/normalize.less +424 -0
  146. package/src/styles/less/pager.less +76 -0
  147. package/src/styles/less/pagination.less +89 -0
  148. package/src/styles/less/panels.less +275 -0
  149. package/src/styles/less/popovers.less +131 -0
  150. package/src/styles/less/print.less +101 -0
  151. package/src/styles/less/progress-bars.less +87 -0
  152. package/src/styles/less/responsive-embed.less +35 -0
  153. package/src/styles/less/responsive-utilities.less +194 -0
  154. package/src/styles/less/scaffolding.less +161 -0
  155. package/src/styles/less/stand.less +207 -0
  156. package/src/styles/less/tables.less +262 -0
  157. package/src/styles/less/theme.less +291 -0
  158. package/src/styles/less/thumbnails.less +36 -0
  159. package/src/styles/less/tooltip.less +102 -0
  160. package/src/styles/less/type.less +303 -0
  161. package/src/styles/less/utilities.less +55 -0
  162. package/src/styles/less/variables.less +896 -0
  163. package/src/styles/less/wells.less +29 -0
  164. package/src/system.js +85 -76
  165. package/static/aodelogo.png +0 -0
  166. package/static/aodenewlogo.png +0 -0
  167. package/static/ewmlogo.png +0 -0
  168. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  169. /package/.gradle/{buildOutputCleanup/built.bin → 7.1/dependencies-accessors/gc.properties} +0 -0
package/src/LodopFuncs.js CHANGED
@@ -1,123 +1,123 @@
1
- var CreatedOKLodop7766 = null
2
-
3
- // ====判断是否需要安装CLodop云打印服务器:====
4
- function needCLodop () {
5
- // return false;
6
- try {
7
- var ua = navigator.userAgent
8
- if (ua.match(/Windows\sPhone/i) != null) return true
9
- if (ua.match(/iPhone|iPod/i) != null) return true
10
- if (ua.match(/Android/i) != null) return true
11
- if (ua.match(/Edge\D?\d+/i) != null) return true
12
- if (ua.match(/QQBrowser/i) != null) return false
13
- var verTrident = ua.match(/Trident\D?\d+/i)
14
- var verIE = ua.match(/MSIE\D?\d+/i)
15
- var verOPR = ua.match(/OPR\D?\d+/i)
16
- var verFF = ua.match(/Firefox\D?\d+/i)
17
- var x64 = ua.match(/x64/i)
18
- if ((verTrident == null) && (verIE == null) && (x64 !== null))
19
- return true; else
20
- if (verFF !== null) {
21
- verFF = verFF[0].match(/\d+/)
22
- if (verFF[0] >= 42) return true
23
- } else
24
- if (verOPR !== null) {
25
- verOPR = verOPR[0].match(/\d+/)
26
- if (verOPR[0] >= 32) return true
27
- } else
28
- if ((verTrident == null) && (verIE == null)) {
29
- var verChrome = ua.match(/Chrome\D?\d+/i)
30
- if (verChrome !== null) {
31
- verChrome = verChrome[0].match(/\d+/)
32
- if (verChrome[0] >= 42) return true
33
- };
34
- };
35
- return false
36
- } catch (err) { return true };
37
- };
38
-
39
- // ====页面引用CLodop云打印必须的JS文件:====
40
- if (needCLodop()) {
41
- var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement
42
- var oscript = document.createElement('script')
43
- // 让本机浏览器打印(更优先):
44
- oscript = document.createElement('script')
45
- oscript.src = 'http://localhost:8000/CLodopfuncs.js?priority=1'
46
- head.insertBefore(oscript, head.firstChild)
47
- // 本机浏览器的后补端口8001:
48
- // oscript = document.createElement("script");
49
- // oscript.src ="http://localhost:8001/CLodopfuncs.js?priority=2";
50
- // head.insertBefore( oscript,head.firstChild );
51
- };
52
-
53
- // ====获取LODOP对象的主过程:====
54
- function getLodop (oOBJECT, oEMBED) {
55
- var strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
56
- var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"
57
- var strHtm64_Install = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
58
- var strHtm64_Update = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"
59
- var strHtmFireFox = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>"
60
- var strHtmChrome = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>"
61
- var strCLodopInstall = "<br><font color='#FF00FF'>CLodop云打印服务(localhost本地)未安装启动!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行安装</a>,安装后请刷新页面。</font>"
62
- var strCLodopUpdate = "<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>"
63
- var LODOP
64
- try {
65
- var isIE = (navigator.userAgent.indexOf('MSIE') >= 0) || (navigator.userAgent.indexOf('Trident') >= 0)
66
- if (needCLodop()) {
67
- try { LODOP = getCLodop() } catch (err) {};
68
- if (!LODOP && document.readyState !== 'complete') { alert('C-Lodop没准备好,请稍后再试!'); return };
69
- if (!LODOP) {
70
- if (isIE) document.write(strCLodopInstall); else
71
- document.documentElement.innerHTML = strCLodopInstall + document.documentElement.innerHTML
72
- return
73
- } else {
74
- if (CLODOP.CVERSION < '2.0.6.2') {
75
- if (isIE) document.write(strCLodopUpdate); else
76
- document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML
77
- };
78
- if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED)
79
- if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT)
80
- };
81
- } else {
82
- var is64IE = isIE && (navigator.userAgent.indexOf('x64') >= 0)
83
- // =====如果页面有Lodop就直接使用,没有则新建:==========
84
- if (oOBJECT != undefined || oEMBED != undefined) {
85
- if (isIE) LODOP = oOBJECT; else LODOP = oEMBED
86
- } else if (CreatedOKLodop7766 == null) {
87
- LODOP = document.createElement('object')
88
- LODOP.setAttribute('width', 0)
89
- LODOP.setAttribute('height', 0)
90
- LODOP.setAttribute('style', 'position:absolute;left:0px;top:-100px;width:0px;height:0px;')
91
- if (isIE) LODOP.setAttribute('classid', 'clsid:2105C259-1E0C-4534-8141-A753534CB4CA')
92
- else LODOP.setAttribute('type', 'application/x-print-lodop')
93
- document.documentElement.appendChild(LODOP)
94
- CreatedOKLodop7766 = LODOP
95
- } else LODOP = CreatedOKLodop7766
96
- // =====Lodop插件未安装时提示下载地址:==========
97
- if ((LODOP == null) || (typeof (LODOP.VERSION) == 'undefined')) {
98
- if (navigator.userAgent.indexOf('Chrome') >= 0)
99
- document.documentElement.innerHTML = strHtmChrome + document.documentElement.innerHTML
100
- if (navigator.userAgent.indexOf('Firefox') >= 0)
101
- document.documentElement.innerHTML = strHtmFireFox + document.documentElement.innerHTML
102
- if (is64IE) document.write(strHtm64_Install); else
103
- if (isIE) document.write(strHtmInstall); else
104
- document.documentElement.innerHTML = strHtmInstall + document.documentElement.innerHTML
105
- return LODOP
106
- };
107
- };
108
- if (LODOP.VERSION < '6.2.0.3') {
109
- if (needCLodop())
110
- document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML; else
111
- if (is64IE) document.write(strHtm64_Update); else
112
- if (isIE) document.write(strHtmUpdate); else
113
- document.documentElement.innerHTML = strHtmUpdate + document.documentElement.innerHTML
114
- return LODOP
115
- };
116
- // ===如下空白位置适合调用统一功能(如注册语句、语言选择等):===
117
- LODOP.SET_LICENSES('西安奥枫软件有限公司', '552C41D5AB0D146FCF77D05CD8AA15A1', '', '')
118
- // ===========================================================
119
- return LODOP
120
- } catch (err) { alert('getLodop出错:' + err) };
121
- };
122
-
123
- export default getLodop
1
+ var CreatedOKLodop7766 = null
2
+
3
+ // ====判断是否需要安装CLodop云打印服务器:====
4
+ function needCLodop () {
5
+ // return false;
6
+ try {
7
+ var ua = navigator.userAgent
8
+ if (ua.match(/Windows\sPhone/i) != null) return true
9
+ if (ua.match(/iPhone|iPod/i) != null) return true
10
+ if (ua.match(/Android/i) != null) return true
11
+ if (ua.match(/Edge\D?\d+/i) != null) return true
12
+ if (ua.match(/QQBrowser/i) != null) return false
13
+ var verTrident = ua.match(/Trident\D?\d+/i)
14
+ var verIE = ua.match(/MSIE\D?\d+/i)
15
+ var verOPR = ua.match(/OPR\D?\d+/i)
16
+ var verFF = ua.match(/Firefox\D?\d+/i)
17
+ var x64 = ua.match(/x64/i)
18
+ if ((verTrident == null) && (verIE == null) && (x64 !== null))
19
+ return true; else
20
+ if (verFF !== null) {
21
+ verFF = verFF[0].match(/\d+/)
22
+ if (verFF[0] >= 42) return true
23
+ } else
24
+ if (verOPR !== null) {
25
+ verOPR = verOPR[0].match(/\d+/)
26
+ if (verOPR[0] >= 32) return true
27
+ } else
28
+ if ((verTrident == null) && (verIE == null)) {
29
+ var verChrome = ua.match(/Chrome\D?\d+/i)
30
+ if (verChrome !== null) {
31
+ verChrome = verChrome[0].match(/\d+/)
32
+ if (verChrome[0] >= 42) return true
33
+ };
34
+ };
35
+ return false
36
+ } catch (err) { return true };
37
+ };
38
+
39
+ // ====页面引用CLodop云打印必须的JS文件:====
40
+ if (needCLodop()) {
41
+ var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement
42
+ var oscript = document.createElement('script')
43
+ // 让本机浏览器打印(更优先):
44
+ oscript = document.createElement('script')
45
+ oscript.src = 'http://localhost:8000/CLodopfuncs.js?priority=1'
46
+ head.insertBefore(oscript, head.firstChild)
47
+ // 本机浏览器的后补端口8001:
48
+ // oscript = document.createElement("script");
49
+ // oscript.src ="http://localhost:8001/CLodopfuncs.js?priority=2";
50
+ // head.insertBefore( oscript,head.firstChild );
51
+ };
52
+
53
+ // ====获取LODOP对象的主过程:====
54
+ function getLodop (oOBJECT, oEMBED) {
55
+ var strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
56
+ var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"
57
+ var strHtm64_Install = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
58
+ var strHtm64_Update = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"
59
+ var strHtmFireFox = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>"
60
+ var strHtmChrome = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>"
61
+ var strCLodopInstall = "<br><font color='#FF00FF'>CLodop云打印服务(localhost本地)未安装启动!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行安装</a>,安装后请刷新页面。</font>"
62
+ var strCLodopUpdate = "<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>"
63
+ var LODOP
64
+ try {
65
+ var isIE = (navigator.userAgent.indexOf('MSIE') >= 0) || (navigator.userAgent.indexOf('Trident') >= 0)
66
+ if (needCLodop()) {
67
+ try { LODOP = getCLodop() } catch (err) {};
68
+ if (!LODOP && document.readyState !== 'complete') { alert('C-Lodop没准备好,请稍后再试!'); return };
69
+ if (!LODOP) {
70
+ if (isIE) document.write(strCLodopInstall); else
71
+ document.documentElement.innerHTML = strCLodopInstall + document.documentElement.innerHTML
72
+ return
73
+ } else {
74
+ if (CLODOP.CVERSION < '2.0.6.2') {
75
+ if (isIE) document.write(strCLodopUpdate); else
76
+ document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML
77
+ };
78
+ if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED)
79
+ if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT)
80
+ };
81
+ } else {
82
+ var is64IE = isIE && (navigator.userAgent.indexOf('x64') >= 0)
83
+ // =====如果页面有Lodop就直接使用,没有则新建:==========
84
+ if (oOBJECT != undefined || oEMBED != undefined) {
85
+ if (isIE) LODOP = oOBJECT; else LODOP = oEMBED
86
+ } else if (CreatedOKLodop7766 == null) {
87
+ LODOP = document.createElement('object')
88
+ LODOP.setAttribute('width', 0)
89
+ LODOP.setAttribute('height', 0)
90
+ LODOP.setAttribute('style', 'position:absolute;left:0px;top:-100px;width:0px;height:0px;')
91
+ if (isIE) LODOP.setAttribute('classid', 'clsid:2105C259-1E0C-4534-8141-A753534CB4CA')
92
+ else LODOP.setAttribute('type', 'application/x-print-lodop')
93
+ document.documentElement.appendChild(LODOP)
94
+ CreatedOKLodop7766 = LODOP
95
+ } else LODOP = CreatedOKLodop7766
96
+ // =====Lodop插件未安装时提示下载地址:==========
97
+ if ((LODOP == null) || (typeof (LODOP.VERSION) == 'undefined')) {
98
+ if (navigator.userAgent.indexOf('Chrome') >= 0)
99
+ document.documentElement.innerHTML = strHtmChrome + document.documentElement.innerHTML
100
+ if (navigator.userAgent.indexOf('Firefox') >= 0)
101
+ document.documentElement.innerHTML = strHtmFireFox + document.documentElement.innerHTML
102
+ if (is64IE) document.write(strHtm64_Install); else
103
+ if (isIE) document.write(strHtmInstall); else
104
+ document.documentElement.innerHTML = strHtmInstall + document.documentElement.innerHTML
105
+ return LODOP
106
+ };
107
+ };
108
+ if (LODOP.VERSION < '6.2.0.3') {
109
+ if (needCLodop())
110
+ document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML; else
111
+ if (is64IE) document.write(strHtm64_Update); else
112
+ if (isIE) document.write(strHtmUpdate); else
113
+ document.documentElement.innerHTML = strHtmUpdate + document.documentElement.innerHTML
114
+ return LODOP
115
+ };
116
+ // ===如下空白位置适合调用统一功能(如注册语句、语言选择等):===
117
+ LODOP.SET_LICENSES('西安奥枫软件有限公司', '552C41D5AB0D146FCF77D05CD8AA15A1', '', '')
118
+ // ===========================================================
119
+ return LODOP
120
+ } catch (err) { alert('getLodop出错:' + err) };
121
+ };
122
+
123
+ export default getLodop
@@ -1,76 +1,25 @@
1
1
  <template>
2
2
  <div @click="hindsetting1()">
3
- <!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
4
- <!-- <div class="system-logo" style="height: auto">-->
5
- <!-- <img :src="imgs.logoimg" alt=""/>-->
6
- <!-- <label>{{systemname}}</label>-->
7
- <!-- <div class="system-logo-chi" >-->
8
- <!-- <div v-if="userpane" class="auto system-logo-prompt" style="float: right">-->
9
- <!-- <span>{{orgpathnames}}</span>-->
10
- <!-- </div>-->
11
- <!-- &lt;!&ndash;<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>&ndash;&gt;-->
12
- <!-- <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>-->
13
- <!-- <span style="border-left: 1px solid;float: right;padding-top: 2px" class="system-logo-chi-span-1"> <img src="../../static/newStyle/login-f.png" height="20" width="20"> </span>-->
14
- <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">-->
15
- <!-- <img src="../../static/newStyle/system-off.png" alt="" >-->
16
- <!-- <span class="system-logo-chi-span-1">退出系统</span>-->
17
- <!-- </a>-->
18
- <!-- <div style="float: right" :class="{'dropstyle':setting,'dropstyle-1':!setting}">-->
19
- <!-- <dropdown class="auto" >-->
20
- <!-- <span data-toggle="dropdown" @click="hindsetting()" >-->
21
- <!-- <img :src="srcsetting" alt=""><span>系统设置</span>-->
22
- <!-- </span>-->
23
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >-->
24
- <!-- &lt;!&ndash; <li>系统信息及设置</li>&ndash;&gt;-->
25
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>-->
26
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>-->
27
- <!-- </ul>-->
28
- <!-- </dropdown>-->
29
- <!-- </div>-->
30
3
 
31
- <!-- </div>-->
32
- <!-- </div>-->
33
- <!-- <div class="system-left tree-flex" :class="{'system-left-1': !treeOrIcon}" id="top" v-el:top >-->
34
- <!-- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >-->
35
- <!-- <div class="span system-left-tree" >-->
36
- <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
37
- <!-- &lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
38
- <!-- </div>-->
39
- <!-- </div>-->
40
- <!-- <div class="system-foot-stretch" >-->
41
- <!-- <a @click="changeShow()"><img src="../../static/images/lefticon/菜单伸缩.png" alt=""></a>-->
42
- <!-- </div>-->
43
- <!-- </div>-->
44
-
45
-
46
- <!-- <div class="system-right" :class="{'system-right-1': !treeOrIcon}" id="bottom" v-el:bottom>-->
47
- <!-- <div class="span">-->
48
- <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
49
- <!-- <dynamic :comps='[]' :showup="true" :showhide="false" name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
50
- <!-- </div>-->
51
- <!-- </div>-->
52
- <!-- <div class="system-foot" v-el:bottom>-->
53
-
54
- <!-- <div class="system-foot-box">-->
55
-
56
- <!-- </div>-->
57
- <!-- </div>-->
58
- <!-- </div>-->
59
4
  <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
5
+
60
6
  <div class="auto " :class="{'login-operator1':$refs.mic.tabs.length === 0,'login-operator':$refs.mic.tabs.length != 0}">
61
- <span>
62
- <img
63
- src="../assets/people.png" height="15" width="15">
64
- 登录人:</span>
65
- <label>{{orgpathnames}}</label>
7
+ <span class="glyphicon glyphicon-asterisk" style="color:#a1d0f5"></span>
8
+ <span>组织编码:</span>
9
+ <label style="margin-right:14px;">{{$login.f.number}}</label>
10
+ <span class="glyphicon glyphicon-user" style="color:#a1d0f5"></span>
11
+ <span>登录人:</span>
12
+ <label>{{orgpathnames}}</label>
66
13
  </div>
67
14
  <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
68
15
  <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
69
16
  <div class="span system-left-tree " style="height:85%">
70
- <h3>{{systemname}}</h3>
17
+ <div class="logopicaode" >
18
+ <div class="aodeloginedlogo"></div>
19
+ </div>
20
+ <h3 style="margin-bottom: 12px;height: 35px;">&nbsp;&nbsp;</h3>
71
21
  <!-- <div class="span" style="margin-bottom:10px;padding-bottom:5px;padding-top:5px;flex: 1;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;">-->
72
22
  <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
73
- <!--&lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
74
23
  </div>
75
24
 
76
25
  <div class="tree-flex-footer">
@@ -85,11 +34,12 @@
85
34
  <!-- <li>{{name}}</li> -->
86
35
  <li>{{date}}</li>
87
36
  <li @click="show=true">修改密码</li>
37
+ <li @click="clearCache">清除缓存</li>
88
38
  <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
89
39
  </ul>
90
40
 
91
41
  </dropdown>
92
- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');">
42
+ <a href="index.html" @click.prevent="logOut">
93
43
  <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
94
44
  </a>
95
45
  </div>
@@ -150,17 +100,12 @@
150
100
  tabs:[], //已初始化页签数组
151
101
  selecttab:'',
152
102
  setting:true,
153
- srcsetting:'../../static/newStyle/setting.png',
103
+ srcsetting:'../../static/newStyle/setting.png'
154
104
 
155
105
  // headerHint: true, // 右侧顶部提示信息
156
106
  // value: 25645.26,
157
107
  // AddChangeMsgShow: false,
158
108
  // showsum: false
159
- lockReconnect: false, // 避免重复连接
160
- timeout: 10000, // 10秒发一次心跳
161
- connectNumber: 10, // 重连次数
162
- timeoutObj: null,
163
- serverTimeoutObj: null
164
109
  }
165
110
  },
166
111
  ready () {
@@ -207,91 +152,8 @@
207
152
  // return false
208
153
  // }
209
154
  this.changeShow()
210
-
211
- vue.prototype.$connectNumber = this.connectNumber
212
- this.initWebSocket()
213
155
  },
214
156
  methods: {
215
- // 清除
216
- reset () {
217
- clearTimeout(this.timeoutObj)
218
- clearTimeout(this.serverTimeoutObj)
219
- },
220
- // 发送心跳
221
- start () {
222
- // 重置
223
- vue.prototype.$connectNumber = this.connectNumber
224
- this.timeoutObj = setTimeout(() => {
225
- this.$socket.send('ping')
226
- console.log('ping!')
227
- this.serverTimeoutObj = setTimeout(() => {
228
- this.$socket.close()
229
- }, this.timeout)
230
- }, this.timeout)
231
- },
232
- // 重连
233
- reconnect () {
234
- if (this.lockReconnect) return
235
- if (this.$connectNumber <= 0) {
236
- vue.showMessage('连接已断开,将无法接收消息,请重新登录', ['confirm']).then((res) => {
237
- if (res === 'confirm') {
238
- location.reload()
239
- }
240
- })
241
- return
242
- }
243
- this.$connectNumber--
244
- setTimeout(() => {
245
- console.log('连接异常,尝试重新连接。。。。')
246
- this.initWebSocket()
247
- this.lockReconnect = false
248
- }, 1000 * 60)
249
- },
250
- // 初始化
251
- initWebSocket () {
252
- let path = `ws://${location.host}/ws?token=${this.$login.f.id}`
253
- try {
254
- if ('WebSocket' in window) {
255
- // 创建对象
256
- vue.prototype.$socket = new WebSocket(path)
257
- } else {
258
- this.$showMessage('您的浏览器不支持websocket的协议,建议使用新版谷歌浏览器,请勿使用IE浏览器,360浏览器请使用极速模式,不要使用兼容模式!"')
259
- }
260
- } catch (e) {
261
- this.reconnect()
262
- }
263
-
264
- this.$socket.onopen = this.onOpen // 连接成功
265
- this.$socket.onmessage = this.onMessage // 收到消息时回调
266
- this.$socket.onclose = this.onClose // 连接关闭时回调
267
- this.$socket.onerror = this.onError // 通讯异常
268
- },
269
- // 通讯异常
270
- onError () {
271
- this.reconnect()
272
- },
273
- // 连接成功
274
- onOpen () {
275
- console.log('webSocket连接成功')
276
- this.start()
277
- },
278
- // 收到消息时回调函数
279
- onMessage (event) {
280
- if (event.data === 'pong') {
281
- this.reset()
282
- this.start()
283
- return
284
- }
285
- let data = JSON.parse(event.data)
286
- this.$broadcast('onMessage', data)
287
- this.$showMessage(data.message)
288
- },
289
- // 关闭连接时回调函数
290
- onClose () {
291
- console.log('webSocket连接断开')
292
- this.reset()
293
- this.reconnect()
294
- },
295
157
  hindsetting(){
296
158
 
297
159
  this.setting=!this.setting
@@ -359,6 +221,26 @@
359
221
  tabcg(val){
360
222
  console.log(val)
361
223
  this.tabs = val
224
+ },
225
+ logOut () {
226
+ console.log(this.$login.f)
227
+ this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
228
+ if (res == 'confirm') {
229
+ let data = {
230
+ userid: this.$login.f.id,
231
+ username: this.$login.f.name,
232
+ usertelephone: this.$login.f.f_user_telephone
233
+ }
234
+ try {
235
+ await this.$resetget('api/af-system/user/logout', {resolveMsg: '退出成功', rejectMsg: null})
236
+ }catch(e){
237
+ }
238
+ window.location.reload()
239
+ }
240
+ })
241
+ },
242
+ clearCache() {
243
+ this.$resetpost('/rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
362
244
  }
363
245
  },
364
246
  computed: {
@@ -578,6 +460,18 @@
578
460
  .tree-img {
579
461
  font-size: 1.2em;
580
462
  }
463
+ .aodeloginedlogo {
464
+ background:url(../../static/aodenewlogo.png);
465
+ background-size:80%;
466
+ background-repeat: no-repeat;
467
+ }
468
+ .logopicaode{
469
+ width: 100%;
470
+ height: 61px;
471
+ float: left;
472
+ margin-left: 2.5%;
473
+ margin-top: 10px;
474
+ }
581
475
 
582
476
  /*将较长信息截断显示,鼠标悬停显示全部信息*/
583
477
  .cutout50 {