system-clients 3.3.5 → 4.0.1

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 (203) hide show
  1. package/.eslintrc.js +16 -16
  2. package/SystemClient.iml +8 -8
  3. package/build/webpack.base.conf.js +85 -85
  4. package/build.gradle +6 -6
  5. package/examples/LoginPage/App.vue +21 -21
  6. package/examples/LoginPage/index.html +11 -11
  7. package/examples/LoginPage/main.js +15 -15
  8. package/index.html +21 -21
  9. package/package.json +1 -1
  10. package/src/App.vue +24 -24
  11. package/src/LodopFuncs.js +155 -155
  12. package/src/components/Main.vue +935 -935
  13. package/src/components/TabButton.vue +201 -201
  14. package/src/components/Tabs.vue +67 -67
  15. package/src/components/Util.js +343 -343
  16. package/src/components/addressManage/AddressCascadingMenu.vue +145 -145
  17. package/src/components/common/ProgressBase.vue +83 -83
  18. package/src/components/equipment/EquipmentManage.vue +83 -83
  19. package/src/components/equipment/PcAdd.vue +115 -115
  20. package/src/components/equipment/PcList.vue +119 -119
  21. package/src/components/equipment/PcManage.vue +61 -61
  22. package/src/components/equipment/PhoneAdd.vue +118 -118
  23. package/src/components/equipment/PhoneList.vue +113 -113
  24. package/src/components/equipment/PhoneManage.vue +61 -61
  25. package/src/components/equipment/PosAdd.vue +319 -319
  26. package/src/components/equipment/PosList.vue +292 -292
  27. package/src/components/equipment/PosManage.vue +138 -138
  28. package/src/components/equipment/PosManageBoth.vue +125 -125
  29. package/src/components/equipment/PosParamAdd.vue +236 -236
  30. package/src/components/equipment/PosParamList.vue +121 -121
  31. package/src/components/equipment/PosParamManage.vue +51 -51
  32. package/src/components/materialManage/materialData.vue +44 -44
  33. package/src/components/materialManage/materialList.vue +255 -255
  34. package/src/components/parammanage/ParamManage.vue +42 -42
  35. package/src/components/parammanage/ParamPage.vue +337 -337
  36. package/src/components/parammanage/ParamPages.vue +222 -222
  37. package/src/components/parammanage/SinglePage.vue +235 -235
  38. package/src/components/parammanage/SinglePages.vue +167 -167
  39. package/src/components/server/AddChangeMsg.vue +66 -66
  40. package/src/components/server/ChangeDeclare.vue +45 -45
  41. package/src/components/server/ImageVieweTest.vue +56 -56
  42. package/src/components/server/ImageViewer.vue +350 -350
  43. package/src/components/server/LeftTree.vue +111 -111
  44. package/src/components/server/LoadData.vue +55 -55
  45. package/src/components/server/LoginPage.vue +235 -235
  46. package/src/components/server/LoginView.vue +128 -128
  47. package/src/components/server/Menu.vue +188 -188
  48. package/src/components/server/ModifyPw.vue +126 -126
  49. package/src/components/server/PcdBuildingSelect.vue +243 -243
  50. package/src/components/server/ResSelect.vue +172 -169
  51. package/src/components/server/ResSelectGroup.vue +211 -211
  52. package/src/components/server/RightTree.vue +348 -348
  53. package/src/components/server/RoleSelector.vue +90 -90
  54. package/src/components/server/TestResSelect.vue +58 -58
  55. package/src/components/server/TestResSelectGroup.vue +388 -388
  56. package/src/filiale/baole/Login.vue +570 -570
  57. package/src/filiale/baole/system.js +5 -5
  58. package/src/filiale/bayan/PosAdd.vue +368 -323
  59. package/src/filiale/bayan/PosList.vue +341 -297
  60. package/src/filiale/bayan/PosManage.vue +138 -138
  61. package/src/filiale/bayan/system.js +6 -6
  62. package/src/filiale/chengtou/Login.vue +539 -539
  63. package/src/filiale/chengtou/system.js +5 -5
  64. package/src/filiale/dongguan/Login.vue +902 -902
  65. package/src/filiale/dongguan/Main.vue +717 -717
  66. package/src/filiale/dongguan/system.js +6 -6
  67. package/src/filiale/furuike/Login.vue +587 -587
  68. package/src/filiale/furuike/Main.vue +840 -840
  69. package/src/filiale/furuike/system.js +7 -7
  70. package/src/filiale/gehua/Main.vue +809 -809
  71. package/src/filiale/gehua/system.js +6 -6
  72. package/src/filiale/konggang/Login.vue +472 -472
  73. package/src/filiale/konggang/system.js +7 -7
  74. package/src/filiale/qianneng/Login.vue +584 -584
  75. package/src/filiale/qianneng/Main.vue +818 -818
  76. package/src/filiale/qianneng/ModifyPw.vue +108 -108
  77. package/src/filiale/qianneng/system.js +11 -11
  78. package/src/filiale/rizhao/LeftTree.vue +111 -111
  79. package/src/filiale/rizhao/Login.vue +793 -793
  80. package/src/filiale/rizhao/Main.vue +611 -611
  81. package/src/filiale/rizhao/system.js +14 -14
  82. package/src/filiale/ruihua/Login.vue +576 -576
  83. package/src/filiale/ruihua/system.js +5 -5
  84. package/src/filiale/shiquan/Login.vue +566 -566
  85. package/src/filiale/shiquan/system.js +8 -8
  86. package/src/filiale/tianyi/Login.vue +573 -573
  87. package/src/filiale/tianyi/system.js +5 -5
  88. package/src/filiale/tongchuan/Login.vue +563 -563
  89. package/src/filiale/tongchuan/Main.vue +1021 -1021
  90. package/src/filiale/tongchuan/system.js +7 -7
  91. package/src/filiale/weinan/Main.vue +924 -924
  92. package/src/filiale/weinan/system.js +7 -7
  93. package/src/filiale/wenxi/Login.vue +537 -537
  94. package/src/filiale/wenxi/Main.vue +787 -787
  95. package/src/filiale/wenxi/system.js +10 -10
  96. package/src/filiale/wuhai/LeftTree.vue +141 -141
  97. package/src/filiale/wuhai/Main.vue +810 -810
  98. package/src/filiale/wuhai/system.js +10 -10
  99. package/src/filiale/yuchuan/Login.vue +891 -891
  100. package/src/filiale/yuchuan/Main.vue +866 -866
  101. package/src/filiale/yuchuan/system.js +10 -10
  102. package/src/filiale/zhoukou/Main.vue +809 -809
  103. package/src/filiale/zhoukou/system.js +6 -6
  104. package/src/plugins/EncryptUtil.js +53 -53
  105. package/src/plugins/HeatGetLoginInfoService.js +491 -491
  106. package/src/plugins/validation.js +15 -15
  107. package/src/project/State.js +17 -17
  108. package/src/stores/AppData.js +38 -38
  109. package/src/stores/HeatAppData.js +38 -38
  110. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -288
  111. package/src/styles/less/.csscomb.json +304 -304
  112. package/src/styles/less/.csslintrc +19 -19
  113. package/src/styles/less/alerts.less +73 -73
  114. package/src/styles/less/aofeng/animate.min.css +10 -10
  115. package/src/styles/less/aofeng/expandcss.less +569 -569
  116. package/src/styles/less/aofeng/login.less +367 -367
  117. package/src/styles/less/aofeng/standard.less +2507 -2507
  118. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +690 -690
  119. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -1586
  120. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -2650
  121. package/src/styles/less/aofeng/themeOne.less +17 -17
  122. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -415
  123. package/src/styles/less/aofeng/themeTwo.less +3 -3
  124. package/src/styles/less/badges.less +66 -66
  125. package/src/styles/less/bootstrap.less +66 -66
  126. package/src/styles/less/breadcrumbs.less +26 -26
  127. package/src/styles/less/button-groups.less +247 -247
  128. package/src/styles/less/buttons.less +172 -172
  129. package/src/styles/less/carousel.less +269 -269
  130. package/src/styles/less/close.less +34 -34
  131. package/src/styles/less/code.less +69 -69
  132. package/src/styles/less/component-animations.less +33 -33
  133. package/src/styles/less/dropdowns.less +216 -216
  134. package/src/styles/less/fonts-list.less +25 -25
  135. package/src/styles/less/forms.less +626 -626
  136. package/src/styles/less/glyphicons.less +305 -305
  137. package/src/styles/less/grid.less +84 -84
  138. package/src/styles/less/input-groups.less +167 -167
  139. package/src/styles/less/jumbotron.less +52 -52
  140. package/src/styles/less/labels.less +64 -64
  141. package/src/styles/less/list-group.less +141 -141
  142. package/src/styles/less/manageStyle/manageChile.less +180 -180
  143. package/src/styles/less/manageStyle/manageStyle/manageChile.less +180 -180
  144. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +1102 -1102
  145. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +498 -498
  146. package/src/styles/less/manageStyle/manageStyle.less +1102 -1102
  147. package/src/styles/less/manageStyle/safeStyle.less +498 -498
  148. package/src/styles/less/media.less +66 -66
  149. package/src/styles/less/mixins/alerts.less +14 -14
  150. package/src/styles/less/mixins/background-variant.less +9 -9
  151. package/src/styles/less/mixins/border-radius.less +18 -18
  152. package/src/styles/less/mixins/buttons.less +69 -69
  153. package/src/styles/less/mixins/center-block.less +7 -7
  154. package/src/styles/less/mixins/clearfix.less +22 -22
  155. package/src/styles/less/mixins/forms.less +90 -90
  156. package/src/styles/less/mixins/gradients.less +59 -59
  157. package/src/styles/less/mixins/grid-framework.less +92 -92
  158. package/src/styles/less/mixins/grid.less +122 -122
  159. package/src/styles/less/mixins/hide-text.less +21 -21
  160. package/src/styles/less/mixins/image.less +33 -33
  161. package/src/styles/less/mixins/labels.less +12 -12
  162. package/src/styles/less/mixins/list-group.less +30 -30
  163. package/src/styles/less/mixins/nav-divider.less +10 -10
  164. package/src/styles/less/mixins/nav-vertical-align.less +9 -9
  165. package/src/styles/less/mixins/opacity.less +8 -8
  166. package/src/styles/less/mixins/pagination.less +24 -24
  167. package/src/styles/less/mixins/panels.less +24 -24
  168. package/src/styles/less/mixins/progress-bar.less +10 -10
  169. package/src/styles/less/mixins/reset-filter.less +8 -8
  170. package/src/styles/less/mixins/reset-text.less +18 -18
  171. package/src/styles/less/mixins/resize.less +6 -6
  172. package/src/styles/less/mixins/responsive-visibility.less +15 -15
  173. package/src/styles/less/mixins/size.less +10 -10
  174. package/src/styles/less/mixins/tab-focus.less +9 -9
  175. package/src/styles/less/mixins/table-row.less +44 -44
  176. package/src/styles/less/mixins/text-emphasis.less +9 -9
  177. package/src/styles/less/mixins/text-overflow.less +8 -8
  178. package/src/styles/less/mixins/vendor-prefixes.less +227 -227
  179. package/src/styles/less/mixins.less +40 -40
  180. package/src/styles/less/modals.less +151 -151
  181. package/src/styles/less/navbar.less +660 -660
  182. package/src/styles/less/navs.less +285 -285
  183. package/src/styles/less/normalize.less +424 -424
  184. package/src/styles/less/pager.less +76 -76
  185. package/src/styles/less/pagination.less +89 -89
  186. package/src/styles/less/panels.less +275 -275
  187. package/src/styles/less/popovers.less +131 -131
  188. package/src/styles/less/print.less +101 -101
  189. package/src/styles/less/progress-bars.less +87 -87
  190. package/src/styles/less/responsive-embed.less +35 -35
  191. package/src/styles/less/responsive-utilities.less +194 -194
  192. package/src/styles/less/scaffolding.less +161 -161
  193. package/src/styles/less/stand.less +207 -207
  194. package/src/styles/less/tables.less +312 -312
  195. package/src/styles/less/theme.less +291 -291
  196. package/src/styles/less/thumbnails.less +36 -36
  197. package/src/styles/less/tooltip.less +102 -102
  198. package/src/styles/less/type.less +316 -316
  199. package/src/styles/less/utilities.less +55 -55
  200. package/src/styles/less/variables.less +899 -899
  201. package/src/styles/less/wells.less +29 -29
  202. package/src/util/Daiban.json +12 -12
  203. package/yarn-error.log +6896 -6896
@@ -1,818 +1,818 @@
1
- <template>
2
- <!-- <div class="bg" v-if="isShowbg" @click="jobHidden">-->
3
- <!-- </div>-->
4
- <div @click="hindsetting1()" :class="{'with-watermark':showwatermakeflag,'bg':isShowbg}">
5
- <span class="newTip" transition="newTip" @click="tipClick" v-if="newTipShow">
6
- <span>您有一条新提醒</span>
7
- </span>
8
- <div class="progress-list" v-if="!isManger" v-show="progressListShow" @click.stop style="padding-top: 8px">
9
- <div style="height: auto;width: auto;overflow: hidden;">
10
- <span style="float:left; margin-left: 20px;text-align: center;vertical-align: middle"><button class="button_search button_spacing" style="border-radius: 10px" @click="getProgressList()">
11
- <img
12
- src="../../assets/refresh.png" style="height: 16px; width: 14px;margin-bottom: 4px">
13
- 查询更新进度按钮
14
- </button></span>
15
- </div>
16
- <div style="height: 89%; padding:8px">
17
- <data-grid :model="jobProgressList" partial='list' class="my_table_sy list_area table_sy" v-ref:job id="job_grid"
18
- :optional="false" style="font-size: 12px;">
19
- <template partial='head'>
20
- <th><nobr>任务名</nobr></th>
21
-
22
- <th><nobr>执行描述</nobr></th>
23
-
24
- <th><nobr>执行人</nobr></th>
25
-
26
- <th><nobr>任务总数</nobr><label style="font-size: 12px;margin: 0">(个)</label></th>
27
-
28
- <th><nobr>任务进度</nobr></th>
29
- </template>
30
- <template partial='body'>
31
- <td>{{ row.f_job_name }}</td>
32
- <td>{{ row.f_start_date}}&nbsp;&nbsp;{{ row.f_job_type }}</td>
33
- <td>{{ row.f_job_operator }}</td>
34
- <td>{{ row.f_job_count }}</td>
35
- <td>
36
- <!-- <div class="m-progress">-->
37
- <!-- <div class="m-progress-outer">-->
38
- <!-- <div class="m-progress-inner">-->
39
- <!-- <div class="['u-progress-bg',{'u-success-bg':progress>=100}]" :style="`height:${progress > 100?100:progress}%;width:${stokeWidth}px;`"></div>-->
40
- <!-- </div>-->
41
- <!-- </div>-->
42
- <!-- </div>-->
43
- <!-- <p class="u-progress-text">-->
44
- <!-- {{ row.f_job_progress == 100||row.f_job_progress > 100? 100: row.f_job_progress}}%-->
45
- <!-- </p>-->
46
- {{row.f_job_progress}}
47
- </td>
48
- </template>
49
- </data-grid>
50
- </div>
51
- </div>
52
- <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
53
-
54
- <div class="auto login-operator1" v-if="$refs.mic.tabs.length === 0">
55
- <button class="my_button_search button_spacing" title="点击弹出我的任务" @click.stop="JobProgress">
56
- <img
57
- src="../../assets/point.png" style="height: 14px; width: 14px;margin-bottom: 4px">
58
- {{job_total == 0? ' ':job_total}}&nbsp;我的任务&nbsp;
59
- </button>
60
- <span>
61
- <img
62
- src="../../assets/people.png" height="15" width="15">
63
- 登录人:</span>
64
- <label>{{ orgpathnames }}</label>
65
- </div>
66
- <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top>
67
- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}">
68
- <div class="span system-left-tree " style="height:85%">
69
- <h3>{{ systemname }}</h3>
70
- <!-- <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;">-->
71
- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon"
72
- :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
- </div>
75
-
76
- <div class="tree-flex-footer">
77
- <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
78
- <!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
79
- <dropdown class="auto">
80
- <button type="button" data-toggle="dropdown">
81
- <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
82
- </button>
83
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
84
- <li>系统信息及设置</li>
85
- <!-- <li>{{name}}</li> -->
86
- <li>{{ date }}</li>
87
- <li @click="openUrl()">售后服务</li>
88
- <li @click="qrCode=true">APP二维码</li>
89
- <li @click="show=true">修改密码</li>
90
- <li @click="AddChangeMsgShow=true">系统版本:V3.0</li>
91
- </ul>
92
-
93
- </dropdown>
94
- <a href="index.html" @click.prevent="logOut">
95
- <img :src="imgs.out" alt=""><span v-if="treeOrIcon">退出系统</span>
96
- </a>
97
- </div>
98
- </div>
99
- </div>
100
- <!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
101
-
102
- <div class="flex right-bg system-right" id="bottom" v-el:bottom>
103
- <!-- <operator-badge></operator-badge> -->
104
- <div class="span">
105
- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
106
- <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" :orgpathnames="orgpathnames"
107
- @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
108
- </div>
109
- </div>
110
- </div>
111
- <div v-show="isManger">
112
- <route v-ref:route></route>
113
- </div>
114
- <modal v-if="newTipContextShow" :show.sync="newTipContextShow" :backdrop="false">
115
- <header slot="modal-header" style="display:none"> </header>
116
- <article slot="modal-body" class="modal-body">
117
- <form class="form-horizontal">
118
- <div class="row">
119
- <div class="col-sm-12 " v-if="AppDaiBan !==''">
120
- <label class="col-sm-2">报装待办:</label>
121
- <span style="font-weight:normal">{{AppDaiBan}}</span>
122
- </div>
123
- <div class="col-sm-12 " v-if="OrderDaiBan !==''">
124
- <label class="col-sm-2">预约待办:</label>
125
- <span style="font-weight:normal">{{OrderDaiBan}}</span>
126
- </div>
127
- </div>
128
- </form>
129
- </article>
130
- <footer slot="modal-footer" style="height: 8vh" class="modal-footer">
131
- <button class="button_search" @click="newTipContextShow = false">确认</button>
132
- </footer>
133
- </modal>
134
-
135
- <!-- 变更录入 模态框 -->
136
- <add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
137
- <!-- 修改密码组件 -->
138
- <modify-pw :show.sync="show" v-if="show"></modify-pw>
139
- <!-- 手机扫描二维码 -->
140
- <modal :show.sync="qrCode" v-if="qrCode" v-ref:qrmodal backdrop="false">
141
- <header slot="modal-header" class="modal-header">
142
- 请打开手机扫一扫功能进行扫描下载App
143
- </header>
144
- <article slot="modal-body" class="modal-body">
145
- <img style="width: 300px;height: 300px;display: block;margin: auto" src="/images/DownLoadQRCode.png"/>
146
- </article>
147
- <footer slot="modal-footer" class="modal-footer">
148
- <button type="button" class="btn btn-success" @click='qrCode=false'>关闭</button>
149
- </footer>
150
- </modal>
151
- </div>
152
- </template>
153
-
154
- <script>
155
- import vue from 'vue'
156
- import co from 'co'
157
- import {HttpResetClass} from "vue-client";
158
-
159
- let getwartermakr = async function (self) {
160
- let param = {
161
- tablename: 't_singlevalue',
162
- condition: " 1=1 and name=\'水印内容\'"
163
- };
164
- // todo v4
165
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
166
- if (result && result.data.length > 0) {
167
- self.showwatermakeflag = true;
168
- createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
169
- } else {
170
- self.showwatermakeflag = false;
171
- }
172
- }
173
-
174
- let createWaterMark = function (userName) {
175
- let style;
176
- if (style) style.remove();
177
- let width = window.parseInt(document.body.clientWidth);
178
- let canvasWidth = width / window.parseInt(width / 320);
179
- let fontFamily = window.getComputedStyle(document.body)["font-family"];
180
- let canvas = document.createElement("canvas");
181
- canvas.width = canvasWidth;
182
- canvas.height = 200;
183
- let ctx = canvas.getContext("2d");
184
- ctx.rotate((-20 * Math.PI) / 180);
185
- ctx.font = `20px ${fontFamily}`;
186
- ctx.fillStyle = "rgba(8,8,8,.1)";
187
- ctx.fillText(userName, 50, 200);
188
- let imgSrc = canvas.toDataURL("image/png");
189
- style = document.createElement("style");
190
- style.innerHTML = `.with-watermark:before{
191
- pointer-events: none;
192
- content: "";
193
- width: 100%;
194
- height: 100%;
195
- display: block;
196
- position: absolute;
197
- background-image: url("${imgSrc}");
198
- }`;
199
- (document.head.append || document.head.appendChild).apply(document.head, [style]);
200
- }
201
-
202
- window.onunload = () => {
203
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
204
- }
205
- window.onbeforeunload = () => {
206
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
207
- }
208
- export default {
209
- title: '主界面',
210
- props: ['functions', 'userid', 'config'],
211
- data() {
212
- return {
213
- // 页面提示信息定时器
214
- interval: null,
215
- newTipShow: false,
216
- newTipContextShow: false,
217
- AppDaiBan: '',
218
- OrderDaiBan: '',
219
- // 左侧树下部三个小图标
220
- job_total: 0,
221
- imgs: {
222
- open: '/images/lefticon/菜单伸缩.png',
223
- set: '/images/lefticon/系统设置.png',
224
- out: '/images/lefticon/退出系统.png',
225
- img1: '/images/newStyle/login-user.png',
226
- logoimg: '/static/newStyle/fife.png'
227
- // img2: '/images/lefticon/退出系统.png',
228
- },
229
- progress: 0,
230
-
231
- jobProgressList:{rows:[]},
232
- progressListShow: false,
233
- treeOrIcon: false,
234
- qrCode:false,
235
- isShowbg: false,
236
- isManger: false,
237
- show: false,
238
- orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
239
- systemname: '客服系统',
240
- date: this.$login.toStandardDateString(),
241
- tabs: [], //已初始化页签数组
242
- selecttab: '',
243
- setting: true,
244
- srcsetting: '../../static/newStyle/setting.png',
245
- showwatermakeflag: false,
246
- }
247
- },
248
- ready() {
249
- getwartermakr(this);
250
- let component = this.$login.getUrlCompileParames('component')
251
- if (component) {
252
- this.isManger = true
253
- this.$refs.route.init(component, {data: this.functions.functions})
254
- }
255
- if (this.$login.f.password == '1') {
256
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
257
- if (res == 'confirm')
258
- this.show = true
259
- })
260
- }
261
- console.log("系统名称", this.$appdata.getSingleValue("系统名称"))
262
- this.systemname = this.$appdata.getSingleValue("系统名称") ? this.$appdata.getSingleValue("系统名称") : '客服系统'
263
- this.changeShow()
264
- this.gotoWorkOrderSite()
265
- // 获取预约列表
266
- this.functions.f_role_name && this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
267
- },
268
- methods: {
269
- getOrderList(){
270
- let times = this.config.times * 60 * 1000
271
- console.log("=定时提示间隔=", times)
272
- try {
273
- this.interval = setInterval(() => {
274
- this.getDaiBan()
275
- }, times)
276
- } catch (error) {
277
- console.log('捕获到异常', error)
278
- }
279
- },
280
- JobProgress(){
281
- console.log("点击显示任务列表,当前状态:"+this.progressListShow)
282
- this.isShowbg = true
283
- this.progressListShow = true
284
- },
285
- async getProgressList(){
286
- let list = {}
287
- list = await new HttpResetClass().load('POST', 'rs/sql/getJobProgressList', {
288
- data: {
289
- condition: `and f_operator_id = '${this.$login.f.id}'`
290
- }
291
- },{resolveMsg: null, rejectMsg: '获取任务进度失败'})
292
- let dataList = []
293
- let rows = []
294
- dataList = list.data
295
- for (let i = 0; i < dataList.length; i++) {
296
- rows.push(dataList[i])
297
- }
298
- this.jobProgressList.rows = rows
299
- },
300
- async getDaiBan(){
301
- this.OrderDaiBan = ''
302
- this.AppDaiBan = ''
303
- let http = new HttpResetClass()
304
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
305
- tablename:'t_order_center',
306
- condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
307
- }}, {
308
- resolveMsg: null,
309
- rejectMsg: null
310
- }).then((res) => {
311
- let OrderDaiBan = {}
312
- res.data.forEach(item=>{
313
- OrderDaiBan[item.f_ordertype] = OrderDaiBan[item.f_ordertype] || []
314
- OrderDaiBan[item.f_ordertype].push(item)
315
- })
316
- if (res.data.length> 0){
317
- this.OrderDaiBan = `您有${res.data.length}条需要处理的微信预约业务!`
318
- this.OrderDaiBan += `其中 ${Object.keys(OrderDaiBan).map(key=>`${key}:${OrderDaiBan[key].length}条`).join(', ')}`
319
- }
320
- })
321
- let data = {
322
- condition: '1 = 1',
323
- data: {
324
- orgid: this.$login.f.orgid,
325
- id: this.$login.f.id
326
- }
327
- }
328
- await http.load('POST', '/rs/sql/checkuser', {data: data}, {
329
- resolveMsg: null,
330
- rejectMsg: null
331
- }).then((res) => {
332
- let AppDaiBan = {}
333
- res.data.forEach(item=>{
334
- AppDaiBan[item.defname] = AppDaiBan[item.defname] || []
335
- AppDaiBan[item.defname].push(item)
336
- })
337
- if (res.data.length> 0){
338
- this.AppDaiBan = `您有${res.data.length}条需要处理的报建待办业务!`
339
- this.AppDaiBan += `其中 ${Object.keys(AppDaiBan).map(key=>`${key}:${AppDaiBan[key].length}条`).join(', ')}`
340
- }
341
- }).catch((e)=>{
342
- console.error(e)
343
- })
344
- if(this.AppDaiBan || this.OrderDaiBan){
345
- this.newTipShow = true
346
- }
347
- },
348
- // 提醒框被点击
349
- tipClick(){
350
- this.newTipShow = false
351
- this.newTipContextShow = true
352
- },
353
- gotoWorkOrderSite(){
354
- const isRemind =this.$appdata.getSingleValue("站点工单提醒")
355
- console.log('站点工单是否提醒',isRemind)
356
- if(isRemind && isRemind !== '是'){
357
- return
358
- }
359
- if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('派单员') !== -1){
360
- const data = {
361
- "condition":
362
- {
363
- "condition":" 1=1 ",
364
- "sign":"1=1"
365
- },
366
- "userid":this.functions.name
367
- }
368
- new HttpResetClass().load('POST','rs/path/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
369
- if(res.data && res.data.n !== 0){
370
- this.$showMessage('你有'+res.data.n+'个工单待处理,请尽快前往站点工单页面进行处理')
371
- }
372
- })
373
- }
374
- },
375
- openUrl() {
376
- var url = `http://123.60.214.109:8406/submitTicket?personName=${this.$login.f.name}&orgName=${this.$login.f.orgs}`
377
- window.open(url, '_blank')
378
- },
379
- hindsetting() {
380
- this.setting = !this.setting
381
- if (this.setting) {
382
- this.srcsetting = '../../static/newStyle/setting.png'
383
- } else {
384
- this.srcsetting = '../../static/newStyle/setting1.png'
385
- }
386
-
387
- },
388
- jobHidden(){
389
- this.isShowbg = false
390
- this.progressListShow = false
391
- },
392
- hindsetting1() {
393
- this.jobHidden()
394
- if (!this.setting) {
395
- this.srcsetting = '../../static/newStyle/setting.png'
396
- this.setting = true
397
- }
398
- },
399
-
400
- isnodo(val) {
401
- console.log(val, 'ss')
402
- this.selecttab = val
403
- },
404
- unfurl() {
405
- if (this.showsum) {
406
- this.showsum = false
407
- } else {
408
- this.showsum = true
409
- }
410
- },
411
- changeShow() {
412
- this.treeOrIcon = !this.treeOrIcon
413
- },
414
- changeMain(userid) {
415
- this.$goto('res-main', {userid: this.userid}, 'self')
416
- },
417
- tabChange(name) {
418
- console.log(name, 'tabchanage')
419
- this.selecttab = name
420
- this.$refs.tree.changeSelect(name)
421
- },
422
- tabcg(val) {
423
- console.log(val)
424
- this.tabs = val
425
- },
426
- logOut() {
427
- console.log(this.$login.f)
428
- this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
429
- if (res == 'confirm') {
430
- let data = {
431
- userid: this.$login.f.id,
432
- username: this.$login.f.name,
433
- usertelephone: this.$login.f.f_user_telephone
434
- }
435
- // todo v4
436
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
437
- window.location.reload()
438
- }
439
- })
440
- }
441
- },
442
- watch: {
443
- 'jobProgressList.rows.length'(){
444
- let total = 0
445
- if(this.jobProgressList.rows.length>0){
446
- for (let i = 0; i < this.jobProgressList.rows.length; i++) {
447
- if (this.jobProgressList.rows[i].f_job_state != '已完成'){
448
- total+= 1
449
- }
450
- }
451
- this.job_total = total
452
- }
453
- }
454
- },
455
- computed: {
456
- nowDate() {
457
- return this.$login.getNowDate()
458
- }
459
- }
460
- }
461
- </script>
462
- <style lang="less">
463
- th {
464
- text-align: center;
465
- vertical-align: middle;
466
- }
467
-
468
- /*表格主体_完成*/
469
- .my_table_sy tbody tr:nth-child(odd){background-color: #f0f9ec !important;border: solid 1px #f0f4fa !important;color: #666666!important;font-size: 15px!important;font-family: PingFang!important;}
470
- /*表格主体_未完成*/
471
- .my_table_sy tbody tr:nth-child(even){background-color: #eff7ff !important;border: solid 1px #f0f4fa !important;color: #666666!important;font-size: 15px!important;font-family: PingFang!important;}
472
-
473
- .progress-list {
474
- background-color: #e8f4ff;
475
- position: absolute;
476
- top: 55px;
477
- right: 430px;
478
- width: 723px;
479
- height: 342px;
480
- z-index: 10001;
481
- color: #9eb3c0;
482
- border: 1px solid #7e7c81;
483
- border-radius: 15px;
484
- }
485
- .my_button_search{width: auto; height: 25px;position: relative; padding-left:2px;top: 0px;line-height: 25px; background-color: #6aa6e2; border-radius: 4px; border:none; font-family: PingFang; font-size: 15px; color: #ffffff;}
486
- .my_button_search:hover{ background-color: #3592ef;}
487
-
488
- .m-progress{
489
- width: 5px;
490
- margin: 0 auto;
491
- display: flex;
492
- .m-progress-outer{
493
- width: 100%;
494
- .m-progress-inner{
495
- display: inline-block;
496
- width: 100%;
497
- background-color: #f5f5f5;
498
-
499
- }
500
- }
501
- }
502
- .bg{
503
- position: fixed;
504
- top: 0;
505
- left: 0;
506
- bottom: 0;
507
- right: 0;
508
- z-index: 999;
509
- background-color: rgba(0,0,0,.4);
510
- }
511
-
512
- .newTip-transition {
513
- transition: all .4s ease;
514
- }
515
- .newTip-enter, .newTip-leave {
516
- height: 0;
517
- padding: 0 10px;
518
- opacity: 0;
519
- }
520
- .newTip a {
521
- color: #333;
522
- }
523
- .newTip {
524
- cursor: pointer;
525
- text-align: center;
526
- position: absolute;
527
- top: 3em;
528
- margin: 0 auto;
529
- width: 200px;
530
- left: 48%;
531
- line-height: 2;
532
- z-index: 10010;
533
- box-shadow: 0 4px 12px rgba(0,0,0,0.38);
534
- pointer-events: all;
535
- border-radius: 4px;
536
- background-color: whitesmoke;
537
- }
538
- /* 组件内通用样式 */
539
- .select-error {
540
- button {
541
- border-bottom: 1px solid #a94442 !important;
542
- }
543
- }
544
-
545
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
546
- // -webkit-appearance:textfield;
547
- // }
548
- /* 表单输入框组 */
549
- .form-input-group {
550
- display: flex;
551
-
552
- label {
553
- width: 100px;
554
- text-align: right;
555
-
556
- + * {
557
- flex: 1;
558
- }
559
- }
560
- }
561
-
562
- // 日期组件在表单中沾满
563
- .form-horizontal .datepicker {
564
- width: 100%;
565
- }
566
-
567
- // 下拉选择框占据剩余全部空间
568
- .select-overspread {
569
- .form-group {
570
- // margin: 0px 5px 10px 0px;
571
- .form-control {
572
- margin-right: 0px;
573
- }
574
- }
575
-
576
- .btn-group, .btn-group-vertical {
577
- width: 100%;
578
- // padding-right: 5px;
579
- button {
580
- width: 100%;
581
- display: flex;
582
- justify-content: space-between;
583
- align-items: center;
584
- }
585
- }
586
-
587
- .dropdown-menu {
588
- width: 100%
589
- }
590
- }
591
-
592
- // 需要特定宽度的的样式
593
- .width-60 {
594
- width: 60px;
595
- }
596
-
597
- .userpanel {
598
- font-weight: 300;
599
- color: #333;
600
- position: fixed;
601
- right: 30px;
602
- top: 45px;
603
- background-color: white;
604
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
605
- padding: 4px 10px 4px 10px;
606
- border-radius: 2px;
607
- }
608
-
609
- .width-80 {
610
- width: 80px;
611
- }
612
-
613
- .width-100 {
614
- width: 100px;
615
- }
616
-
617
-
618
- /*右侧区域的背景*/
619
- .right-bg {
620
- width: 100%;
621
- flex: 1;
622
- color: #304A66;
623
- }
624
-
625
- .tree-flex {
626
- height: 100%;
627
- // width: 150px;
628
- /*width: 60px;*/
629
- background: #4a7cae;
630
- color: #fff;
631
-
632
- }
633
-
634
- .tree-flex-icon {
635
- width: 50px;
636
- /*transition: 0.5s;*/
637
-
638
- > .span {
639
- overflow-x: visible;
640
- }
641
- }
642
-
643
- .tree-flex h3 {
644
- text-align: center;
645
- margin: 1em 0;
646
- }
647
-
648
- .tree-flex-footer {
649
- height: 50px;
650
- display: flex;
651
- flex-direction: column;
652
- color: #fff;
653
- }
654
-
655
- .tree-flex-footer a, .tree-flex-footer button {
656
- flex: 1;
657
- padding: 8px 5px;
658
- font-size: 1.2em;
659
- // border-top: 1px solid #697D93;
660
- border-top: 1px solid #4a7cae;
661
- text-decoration: none;
662
- color: #fff;
663
- cursor: pointer;
664
- }
665
-
666
- .tree-flex-footer button {
667
- height: auto;
668
- width: 100%;
669
- border-radius: 0px;
670
- background-color: rgba(255, 255, 255, 0);
671
- border: none;
672
- border-top: 1px solid #4a7cae;
673
- // border-top: 1px solid #697D93;
674
- text-align: left;
675
- }
676
-
677
- .tree-flex-footer button:hover {
678
- outline: none;
679
- background-color: rgba(255, 255, 255, 0.2);
680
- }
681
-
682
- .tree-flex-footer button:focus {
683
- outline: none;
684
- background-color: rgba(255, 255, 255, 0.5);
685
- }
686
-
687
- .tree-flex-footer a:hover {
688
- color: #FFF;
689
- background-color: rgba(255, 255, 255, 0.2);
690
- }
691
-
692
- .tree-flex .btn-group {
693
- height: 50px !important;
694
- }
695
-
696
- .tree-flex .dropdown-menu {
697
- /* 控制显示列表的样式 */
698
- background: #4a7cae;
699
- border-radius: 0px;
700
- color: #fff;
701
- width: auto;
702
- margin: 0px;
703
- padding: 0px;
704
- }
705
-
706
- .tree-flex .dropdown-menu-up {
707
- /* bottom,top控制上下,left和right控制左右*/
708
- left: 100% !important;
709
- top: auto !important;
710
- bottom: 0;
711
- }
712
-
713
- .tree-flex .dropdown-menu-down {
714
- /* bottom,top控制上下,left和right控制左右*/
715
- left: 100% !important;
716
- top: 0 !important;
717
- }
718
-
719
- .tree-flex .dropdown-menu li {
720
- text-align: center;
721
- line-height: 50px;
722
- border-bottom: 1px solid #697D93;
723
- font-size: 1.2em;
724
- width: auto;
725
- white-space: nowrap;
726
- cursor: default;
727
-
728
- }
729
-
730
- .tree-flex .dropdown-menu li + li {
731
- text-align: left;
732
- border: 0;
733
- line-height: 40px;
734
- padding-left: 15px;
735
- padding-right: 15px;
736
- font-size: 1em;
737
- cursor: pointer;
738
- }
739
-
740
- .tree-flex .dropdown-menu li + li:hover {
741
- background-color: rgba(255, 255, 255, 0.2);
742
- }
743
-
744
- .tree-flex .dropdown-menu li a {
745
- border: none;
746
- color: #fff;
747
- height: 40px;
748
- line-height: 40px;
749
- font-size: 1em;
750
- padding: 0px;
751
- }
752
-
753
- .tree-flex .dropdown-menu li a:hover {
754
- color: #fff;
755
- background-color: rgba(255, 255, 255, 0);
756
- }
757
-
758
- .tree-flex img {
759
- height: 1.2em;
760
- width: 1.2em;
761
- margin-right: 15px;
762
- margin-left: 5px;
763
- }
764
-
765
- .line {
766
- height: 100%;
767
- width: 5px;
768
- background: #4C637B;
769
- cursor: e-resize;
770
- }
771
-
772
- /*为树(tree)组件写的样式*/
773
- .tree-img {
774
- font-size: 1.2em;
775
- }
776
-
777
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
778
- .cutout50 {
779
- max-width: 50px;
780
- overflow: hidden;
781
- text-overflow: ellipsis;
782
- white-space: nowrap;
783
- }
784
-
785
- /* 滚动条样式 */
786
- /*---滚动条默认显示样式--*/
787
- ::-webkit-scrollbar-thumb {
788
- // display: none;
789
- background-color: rgba(0, 0, 0, 0.4);
790
- /*background-color:red;*/
791
- height: 50px;
792
- outline-offset: -2px;
793
- /*outline:2px solid #fff;*/
794
- -webkit-border-radius: 4px;
795
- /*border: 2px solid #fff;*/
796
- }
797
-
798
- /*---鼠标点击滚动条显示样式--*/
799
- ::-webkit-scrollbar-thumb:hover {
800
- // display: inherit;
801
- background-color: rgba(0, 0, 0, 0.4);
802
- height: 50px;
803
- -webkit-border-radius: 4px;
804
- }
805
-
806
- /*---滚动条大小--*/
807
- ::-webkit-scrollbar {
808
- width: 8px;
809
- height: 8px;
810
- }
811
-
812
- /*---滚动框背景样式--*/
813
- ::-webkit-scrollbar-track-piece {
814
- /* 全透明,不显示 */
815
- background-color: rgba(255, 255, 255, 0);
816
- -webkit-border-radius: 0;
817
- }
818
- </style>
1
+ <template>
2
+ <!-- <div class="bg" v-if="isShowbg" @click="jobHidden">-->
3
+ <!-- </div>-->
4
+ <div @click="hindsetting1()" :class="{'with-watermark':showwatermakeflag,'bg':isShowbg}">
5
+ <span class="newTip" transition="newTip" @click="tipClick" v-if="newTipShow">
6
+ <span>您有一条新提醒</span>
7
+ </span>
8
+ <div class="progress-list" v-if="!isManger" v-show="progressListShow" @click.stop style="padding-top: 8px">
9
+ <div style="height: auto;width: auto;overflow: hidden;">
10
+ <span style="float:left; margin-left: 20px;text-align: center;vertical-align: middle"><button class="button_search button_spacing" style="border-radius: 10px" @click="getProgressList()">
11
+ <img
12
+ src="../../assets/refresh.png" style="height: 16px; width: 14px;margin-bottom: 4px">
13
+ 查询更新进度按钮
14
+ </button></span>
15
+ </div>
16
+ <div style="height: 89%; padding:8px">
17
+ <data-grid :model="jobProgressList" partial='list' class="my_table_sy list_area table_sy" v-ref:job id="job_grid"
18
+ :optional="false" style="font-size: 12px;">
19
+ <template partial='head'>
20
+ <th><nobr>任务名</nobr></th>
21
+
22
+ <th><nobr>执行描述</nobr></th>
23
+
24
+ <th><nobr>执行人</nobr></th>
25
+
26
+ <th><nobr>任务总数</nobr><label style="font-size: 12px;margin: 0">(个)</label></th>
27
+
28
+ <th><nobr>任务进度</nobr></th>
29
+ </template>
30
+ <template partial='body'>
31
+ <td>{{ row.f_job_name }}</td>
32
+ <td>{{ row.f_start_date}}&nbsp;&nbsp;{{ row.f_job_type }}</td>
33
+ <td>{{ row.f_job_operator }}</td>
34
+ <td>{{ row.f_job_count }}</td>
35
+ <td>
36
+ <!-- <div class="m-progress">-->
37
+ <!-- <div class="m-progress-outer">-->
38
+ <!-- <div class="m-progress-inner">-->
39
+ <!-- <div class="['u-progress-bg',{'u-success-bg':progress>=100}]" :style="`height:${progress > 100?100:progress}%;width:${stokeWidth}px;`"></div>-->
40
+ <!-- </div>-->
41
+ <!-- </div>-->
42
+ <!-- </div>-->
43
+ <!-- <p class="u-progress-text">-->
44
+ <!-- {{ row.f_job_progress == 100||row.f_job_progress > 100? 100: row.f_job_progress}}%-->
45
+ <!-- </p>-->
46
+ {{row.f_job_progress}}
47
+ </td>
48
+ </template>
49
+ </data-grid>
50
+ </div>
51
+ </div>
52
+ <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
53
+
54
+ <div class="auto login-operator1" v-if="$refs.mic.tabs.length === 0">
55
+ <button class="my_button_search button_spacing" title="点击弹出我的任务" @click.stop="JobProgress">
56
+ <img
57
+ src="../../assets/point.png" style="height: 14px; width: 14px;margin-bottom: 4px">
58
+ {{job_total == 0? ' ':job_total}}&nbsp;我的任务&nbsp;
59
+ </button>
60
+ <span>
61
+ <img
62
+ src="../../assets/people.png" height="15" width="15">
63
+ 登录人:</span>
64
+ <label>{{ orgpathnames }}</label>
65
+ </div>
66
+ <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top>
67
+ <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}">
68
+ <div class="span system-left-tree " style="height:85%">
69
+ <h3>{{ systemname }}</h3>
70
+ <!-- <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;">-->
71
+ <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon"
72
+ :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
+ </div>
75
+
76
+ <div class="tree-flex-footer">
77
+ <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
78
+ <!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
79
+ <dropdown class="auto">
80
+ <button type="button" data-toggle="dropdown">
81
+ <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
82
+ </button>
83
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
84
+ <li>系统信息及设置</li>
85
+ <!-- <li>{{name}}</li> -->
86
+ <li>{{ date }}</li>
87
+ <li @click="openUrl()">售后服务</li>
88
+ <li @click="qrCode=true">APP二维码</li>
89
+ <li @click="show=true">修改密码</li>
90
+ <li @click="AddChangeMsgShow=true">系统版本:V3.0</li>
91
+ </ul>
92
+
93
+ </dropdown>
94
+ <a href="index.html" @click.prevent="logOut">
95
+ <img :src="imgs.out" alt=""><span v-if="treeOrIcon">退出系统</span>
96
+ </a>
97
+ </div>
98
+ </div>
99
+ </div>
100
+ <!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
101
+
102
+ <div class="flex right-bg system-right" id="bottom" v-el:bottom>
103
+ <!-- <operator-badge></operator-badge> -->
104
+ <div class="span">
105
+ <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
106
+ <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" :orgpathnames="orgpathnames"
107
+ @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ <div v-show="isManger">
112
+ <route v-ref:route></route>
113
+ </div>
114
+ <modal v-if="newTipContextShow" :show.sync="newTipContextShow" :backdrop="false">
115
+ <header slot="modal-header" style="display:none"> </header>
116
+ <article slot="modal-body" class="modal-body">
117
+ <form class="form-horizontal">
118
+ <div class="row">
119
+ <div class="col-sm-12 " v-if="AppDaiBan !==''">
120
+ <label class="col-sm-2">报装待办:</label>
121
+ <span style="font-weight:normal">{{AppDaiBan}}</span>
122
+ </div>
123
+ <div class="col-sm-12 " v-if="OrderDaiBan !==''">
124
+ <label class="col-sm-2">预约待办:</label>
125
+ <span style="font-weight:normal">{{OrderDaiBan}}</span>
126
+ </div>
127
+ </div>
128
+ </form>
129
+ </article>
130
+ <footer slot="modal-footer" style="height: 8vh" class="modal-footer">
131
+ <button class="button_search" @click="newTipContextShow = false">确认</button>
132
+ </footer>
133
+ </modal>
134
+
135
+ <!-- 变更录入 模态框 -->
136
+ <add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
137
+ <!-- 修改密码组件 -->
138
+ <modify-pw :show.sync="show" v-if="show"></modify-pw>
139
+ <!-- 手机扫描二维码 -->
140
+ <modal :show.sync="qrCode" v-if="qrCode" v-ref:qrmodal backdrop="false">
141
+ <header slot="modal-header" class="modal-header">
142
+ 请打开手机扫一扫功能进行扫描下载App
143
+ </header>
144
+ <article slot="modal-body" class="modal-body">
145
+ <img style="width: 300px;height: 300px;display: block;margin: auto" src="/images/DownLoadQRCode.png"/>
146
+ </article>
147
+ <footer slot="modal-footer" class="modal-footer">
148
+ <button type="button" class="btn btn-success" @click='qrCode=false'>关闭</button>
149
+ </footer>
150
+ </modal>
151
+ </div>
152
+ </template>
153
+
154
+ <script>
155
+ import vue from 'vue'
156
+ import co from 'co'
157
+ import {HttpResetClass} from "vue-client";
158
+
159
+ let getwartermakr = async function (self) {
160
+ let param = {
161
+ tablename: 't_singlevalue',
162
+ condition: " 1=1 and name=\'水印内容\'"
163
+ };
164
+ // todo v4
165
+ let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
166
+ if (result && result.data.length > 0) {
167
+ self.showwatermakeflag = true;
168
+ createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
169
+ } else {
170
+ self.showwatermakeflag = false;
171
+ }
172
+ }
173
+
174
+ let createWaterMark = function (userName) {
175
+ let style;
176
+ if (style) style.remove();
177
+ let width = window.parseInt(document.body.clientWidth);
178
+ let canvasWidth = width / window.parseInt(width / 320);
179
+ let fontFamily = window.getComputedStyle(document.body)["font-family"];
180
+ let canvas = document.createElement("canvas");
181
+ canvas.width = canvasWidth;
182
+ canvas.height = 200;
183
+ let ctx = canvas.getContext("2d");
184
+ ctx.rotate((-20 * Math.PI) / 180);
185
+ ctx.font = `20px ${fontFamily}`;
186
+ ctx.fillStyle = "rgba(8,8,8,.1)";
187
+ ctx.fillText(userName, 50, 200);
188
+ let imgSrc = canvas.toDataURL("image/png");
189
+ style = document.createElement("style");
190
+ style.innerHTML = `.with-watermark:before{
191
+ pointer-events: none;
192
+ content: "";
193
+ width: 100%;
194
+ height: 100%;
195
+ display: block;
196
+ position: absolute;
197
+ background-image: url("${imgSrc}");
198
+ }`;
199
+ (document.head.append || document.head.appendChild).apply(document.head, [style]);
200
+ }
201
+
202
+ window.onunload = () => {
203
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
204
+ }
205
+ window.onbeforeunload = () => {
206
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
207
+ }
208
+ export default {
209
+ title: '主界面',
210
+ props: ['functions', 'userid', 'config'],
211
+ data() {
212
+ return {
213
+ // 页面提示信息定时器
214
+ interval: null,
215
+ newTipShow: false,
216
+ newTipContextShow: false,
217
+ AppDaiBan: '',
218
+ OrderDaiBan: '',
219
+ // 左侧树下部三个小图标
220
+ job_total: 0,
221
+ imgs: {
222
+ open: '/images/lefticon/菜单伸缩.png',
223
+ set: '/images/lefticon/系统设置.png',
224
+ out: '/images/lefticon/退出系统.png',
225
+ img1: '/images/newStyle/login-user.png',
226
+ logoimg: '/static/newStyle/fife.png'
227
+ // img2: '/images/lefticon/退出系统.png',
228
+ },
229
+ progress: 0,
230
+
231
+ jobProgressList:{rows:[]},
232
+ progressListShow: false,
233
+ treeOrIcon: false,
234
+ qrCode:false,
235
+ isShowbg: false,
236
+ isManger: false,
237
+ show: false,
238
+ orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
239
+ systemname: '客服系统',
240
+ date: this.$login.toStandardDateString(),
241
+ tabs: [], //已初始化页签数组
242
+ selecttab: '',
243
+ setting: true,
244
+ srcsetting: '../../static/newStyle/setting.png',
245
+ showwatermakeflag: false,
246
+ }
247
+ },
248
+ ready() {
249
+ getwartermakr(this);
250
+ let component = this.$login.getUrlCompileParames('component')
251
+ if (component) {
252
+ this.isManger = true
253
+ this.$refs.route.init(component, {data: this.functions.functions})
254
+ }
255
+ if (this.$login.f.password == '1') {
256
+ this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
257
+ if (res == 'confirm')
258
+ this.show = true
259
+ })
260
+ }
261
+ console.log("系统名称", this.$appdata.getSingleValue("系统名称"))
262
+ this.systemname = this.$appdata.getSingleValue("系统名称") ? this.$appdata.getSingleValue("系统名称") : '客服系统'
263
+ this.changeShow()
264
+ this.gotoWorkOrderSite()
265
+ // 获取预约列表
266
+ this.functions.f_role_name && this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
267
+ },
268
+ methods: {
269
+ getOrderList(){
270
+ let times = this.config.times * 60 * 1000
271
+ console.log("=定时提示间隔=", times)
272
+ try {
273
+ this.interval = setInterval(() => {
274
+ this.getDaiBan()
275
+ }, times)
276
+ } catch (error) {
277
+ console.log('捕获到异常', error)
278
+ }
279
+ },
280
+ JobProgress(){
281
+ console.log("点击显示任务列表,当前状态:"+this.progressListShow)
282
+ this.isShowbg = true
283
+ this.progressListShow = true
284
+ },
285
+ async getProgressList(){
286
+ let list = {}
287
+ list = await new HttpResetClass().load('POST', 'rs/sql/getJobProgressList', {
288
+ data: {
289
+ condition: `and f_operator_id = '${this.$login.f.id}'`
290
+ }
291
+ },{resolveMsg: null, rejectMsg: '获取任务进度失败'})
292
+ let dataList = []
293
+ let rows = []
294
+ dataList = list.data
295
+ for (let i = 0; i < dataList.length; i++) {
296
+ rows.push(dataList[i])
297
+ }
298
+ this.jobProgressList.rows = rows
299
+ },
300
+ async getDaiBan(){
301
+ this.OrderDaiBan = ''
302
+ this.AppDaiBan = ''
303
+ let http = new HttpResetClass()
304
+ await http.load('POST', '/api/af-system/sql/singleTable', {data: {
305
+ tablename:'t_order_center',
306
+ condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
307
+ }}, {
308
+ resolveMsg: null,
309
+ rejectMsg: null
310
+ }).then((res) => {
311
+ let OrderDaiBan = {}
312
+ res.data.forEach(item=>{
313
+ OrderDaiBan[item.f_ordertype] = OrderDaiBan[item.f_ordertype] || []
314
+ OrderDaiBan[item.f_ordertype].push(item)
315
+ })
316
+ if (res.data.length> 0){
317
+ this.OrderDaiBan = `您有${res.data.length}条需要处理的微信预约业务!`
318
+ this.OrderDaiBan += `其中 ${Object.keys(OrderDaiBan).map(key=>`${key}:${OrderDaiBan[key].length}条`).join(', ')}`
319
+ }
320
+ })
321
+ let data = {
322
+ condition: '1 = 1',
323
+ data: {
324
+ orgid: this.$login.f.orgid,
325
+ id: this.$login.f.id
326
+ }
327
+ }
328
+ await http.load('POST', '/rs/sql/checkuser', {data: data}, {
329
+ resolveMsg: null,
330
+ rejectMsg: null
331
+ }).then((res) => {
332
+ let AppDaiBan = {}
333
+ res.data.forEach(item=>{
334
+ AppDaiBan[item.defname] = AppDaiBan[item.defname] || []
335
+ AppDaiBan[item.defname].push(item)
336
+ })
337
+ if (res.data.length> 0){
338
+ this.AppDaiBan = `您有${res.data.length}条需要处理的报建待办业务!`
339
+ this.AppDaiBan += `其中 ${Object.keys(AppDaiBan).map(key=>`${key}:${AppDaiBan[key].length}条`).join(', ')}`
340
+ }
341
+ }).catch((e)=>{
342
+ console.error(e)
343
+ })
344
+ if(this.AppDaiBan || this.OrderDaiBan){
345
+ this.newTipShow = true
346
+ }
347
+ },
348
+ // 提醒框被点击
349
+ tipClick(){
350
+ this.newTipShow = false
351
+ this.newTipContextShow = true
352
+ },
353
+ gotoWorkOrderSite(){
354
+ const isRemind =this.$appdata.getSingleValue("站点工单提醒")
355
+ console.log('站点工单是否提醒',isRemind)
356
+ if(isRemind && isRemind !== '是'){
357
+ return
358
+ }
359
+ if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('派单员') !== -1){
360
+ const data = {
361
+ "condition":
362
+ {
363
+ "condition":" 1=1 ",
364
+ "sign":"1=1"
365
+ },
366
+ "userid":this.functions.name
367
+ }
368
+ new HttpResetClass().load('POST','rs/path/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
369
+ if(res.data && res.data.n !== 0){
370
+ this.$showMessage('你有'+res.data.n+'个工单待处理,请尽快前往站点工单页面进行处理')
371
+ }
372
+ })
373
+ }
374
+ },
375
+ openUrl() {
376
+ var url = `http://123.60.214.109:8406/submitTicket?personName=${this.$login.f.name}&orgName=${this.$login.f.orgs}`
377
+ window.open(url, '_blank')
378
+ },
379
+ hindsetting() {
380
+ this.setting = !this.setting
381
+ if (this.setting) {
382
+ this.srcsetting = '../../static/newStyle/setting.png'
383
+ } else {
384
+ this.srcsetting = '../../static/newStyle/setting1.png'
385
+ }
386
+
387
+ },
388
+ jobHidden(){
389
+ this.isShowbg = false
390
+ this.progressListShow = false
391
+ },
392
+ hindsetting1() {
393
+ this.jobHidden()
394
+ if (!this.setting) {
395
+ this.srcsetting = '../../static/newStyle/setting.png'
396
+ this.setting = true
397
+ }
398
+ },
399
+
400
+ isnodo(val) {
401
+ console.log(val, 'ss')
402
+ this.selecttab = val
403
+ },
404
+ unfurl() {
405
+ if (this.showsum) {
406
+ this.showsum = false
407
+ } else {
408
+ this.showsum = true
409
+ }
410
+ },
411
+ changeShow() {
412
+ this.treeOrIcon = !this.treeOrIcon
413
+ },
414
+ changeMain(userid) {
415
+ this.$goto('res-main', {userid: this.userid}, 'self')
416
+ },
417
+ tabChange(name) {
418
+ console.log(name, 'tabchanage')
419
+ this.selecttab = name
420
+ this.$refs.tree.changeSelect(name)
421
+ },
422
+ tabcg(val) {
423
+ console.log(val)
424
+ this.tabs = val
425
+ },
426
+ logOut() {
427
+ console.log(this.$login.f)
428
+ this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
429
+ if (res == 'confirm') {
430
+ let data = {
431
+ userid: this.$login.f.id,
432
+ username: this.$login.f.name,
433
+ usertelephone: this.$login.f.f_user_telephone
434
+ }
435
+ // todo v4
436
+ await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
437
+ window.location.reload()
438
+ }
439
+ })
440
+ }
441
+ },
442
+ watch: {
443
+ 'jobProgressList.rows.length'(){
444
+ let total = 0
445
+ if(this.jobProgressList.rows.length>0){
446
+ for (let i = 0; i < this.jobProgressList.rows.length; i++) {
447
+ if (this.jobProgressList.rows[i].f_job_state != '已完成'){
448
+ total+= 1
449
+ }
450
+ }
451
+ this.job_total = total
452
+ }
453
+ }
454
+ },
455
+ computed: {
456
+ nowDate() {
457
+ return this.$login.getNowDate()
458
+ }
459
+ }
460
+ }
461
+ </script>
462
+ <style lang="less">
463
+ th {
464
+ text-align: center;
465
+ vertical-align: middle;
466
+ }
467
+
468
+ /*表格主体_完成*/
469
+ .my_table_sy tbody tr:nth-child(odd){background-color: #f0f9ec !important;border: solid 1px #f0f4fa !important;color: #666666!important;font-size: 15px!important;font-family: PingFang!important;}
470
+ /*表格主体_未完成*/
471
+ .my_table_sy tbody tr:nth-child(even){background-color: #eff7ff !important;border: solid 1px #f0f4fa !important;color: #666666!important;font-size: 15px!important;font-family: PingFang!important;}
472
+
473
+ .progress-list {
474
+ background-color: #e8f4ff;
475
+ position: absolute;
476
+ top: 55px;
477
+ right: 430px;
478
+ width: 723px;
479
+ height: 342px;
480
+ z-index: 10001;
481
+ color: #9eb3c0;
482
+ border: 1px solid #7e7c81;
483
+ border-radius: 15px;
484
+ }
485
+ .my_button_search{width: auto; height: 25px;position: relative; padding-left:2px;top: 0px;line-height: 25px; background-color: #6aa6e2; border-radius: 4px; border:none; font-family: PingFang; font-size: 15px; color: #ffffff;}
486
+ .my_button_search:hover{ background-color: #3592ef;}
487
+
488
+ .m-progress{
489
+ width: 5px;
490
+ margin: 0 auto;
491
+ display: flex;
492
+ .m-progress-outer{
493
+ width: 100%;
494
+ .m-progress-inner{
495
+ display: inline-block;
496
+ width: 100%;
497
+ background-color: #f5f5f5;
498
+
499
+ }
500
+ }
501
+ }
502
+ .bg{
503
+ position: fixed;
504
+ top: 0;
505
+ left: 0;
506
+ bottom: 0;
507
+ right: 0;
508
+ z-index: 999;
509
+ background-color: rgba(0,0,0,.4);
510
+ }
511
+
512
+ .newTip-transition {
513
+ transition: all .4s ease;
514
+ }
515
+ .newTip-enter, .newTip-leave {
516
+ height: 0;
517
+ padding: 0 10px;
518
+ opacity: 0;
519
+ }
520
+ .newTip a {
521
+ color: #333;
522
+ }
523
+ .newTip {
524
+ cursor: pointer;
525
+ text-align: center;
526
+ position: absolute;
527
+ top: 3em;
528
+ margin: 0 auto;
529
+ width: 200px;
530
+ left: 48%;
531
+ line-height: 2;
532
+ z-index: 10010;
533
+ box-shadow: 0 4px 12px rgba(0,0,0,0.38);
534
+ pointer-events: all;
535
+ border-radius: 4px;
536
+ background-color: whitesmoke;
537
+ }
538
+ /* 组件内通用样式 */
539
+ .select-error {
540
+ button {
541
+ border-bottom: 1px solid #a94442 !important;
542
+ }
543
+ }
544
+
545
+ // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
546
+ // -webkit-appearance:textfield;
547
+ // }
548
+ /* 表单输入框组 */
549
+ .form-input-group {
550
+ display: flex;
551
+
552
+ label {
553
+ width: 100px;
554
+ text-align: right;
555
+
556
+ + * {
557
+ flex: 1;
558
+ }
559
+ }
560
+ }
561
+
562
+ // 日期组件在表单中沾满
563
+ .form-horizontal .datepicker {
564
+ width: 100%;
565
+ }
566
+
567
+ // 下拉选择框占据剩余全部空间
568
+ .select-overspread {
569
+ .form-group {
570
+ // margin: 0px 5px 10px 0px;
571
+ .form-control {
572
+ margin-right: 0px;
573
+ }
574
+ }
575
+
576
+ .btn-group, .btn-group-vertical {
577
+ width: 100%;
578
+ // padding-right: 5px;
579
+ button {
580
+ width: 100%;
581
+ display: flex;
582
+ justify-content: space-between;
583
+ align-items: center;
584
+ }
585
+ }
586
+
587
+ .dropdown-menu {
588
+ width: 100%
589
+ }
590
+ }
591
+
592
+ // 需要特定宽度的的样式
593
+ .width-60 {
594
+ width: 60px;
595
+ }
596
+
597
+ .userpanel {
598
+ font-weight: 300;
599
+ color: #333;
600
+ position: fixed;
601
+ right: 30px;
602
+ top: 45px;
603
+ background-color: white;
604
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
605
+ padding: 4px 10px 4px 10px;
606
+ border-radius: 2px;
607
+ }
608
+
609
+ .width-80 {
610
+ width: 80px;
611
+ }
612
+
613
+ .width-100 {
614
+ width: 100px;
615
+ }
616
+
617
+
618
+ /*右侧区域的背景*/
619
+ .right-bg {
620
+ width: 100%;
621
+ flex: 1;
622
+ color: #304A66;
623
+ }
624
+
625
+ .tree-flex {
626
+ height: 100%;
627
+ // width: 150px;
628
+ /*width: 60px;*/
629
+ background: #4a7cae;
630
+ color: #fff;
631
+
632
+ }
633
+
634
+ .tree-flex-icon {
635
+ width: 50px;
636
+ /*transition: 0.5s;*/
637
+
638
+ > .span {
639
+ overflow-x: visible;
640
+ }
641
+ }
642
+
643
+ .tree-flex h3 {
644
+ text-align: center;
645
+ margin: 1em 0;
646
+ }
647
+
648
+ .tree-flex-footer {
649
+ height: 50px;
650
+ display: flex;
651
+ flex-direction: column;
652
+ color: #fff;
653
+ }
654
+
655
+ .tree-flex-footer a, .tree-flex-footer button {
656
+ flex: 1;
657
+ padding: 8px 5px;
658
+ font-size: 1.2em;
659
+ // border-top: 1px solid #697D93;
660
+ border-top: 1px solid #4a7cae;
661
+ text-decoration: none;
662
+ color: #fff;
663
+ cursor: pointer;
664
+ }
665
+
666
+ .tree-flex-footer button {
667
+ height: auto;
668
+ width: 100%;
669
+ border-radius: 0px;
670
+ background-color: rgba(255, 255, 255, 0);
671
+ border: none;
672
+ border-top: 1px solid #4a7cae;
673
+ // border-top: 1px solid #697D93;
674
+ text-align: left;
675
+ }
676
+
677
+ .tree-flex-footer button:hover {
678
+ outline: none;
679
+ background-color: rgba(255, 255, 255, 0.2);
680
+ }
681
+
682
+ .tree-flex-footer button:focus {
683
+ outline: none;
684
+ background-color: rgba(255, 255, 255, 0.5);
685
+ }
686
+
687
+ .tree-flex-footer a:hover {
688
+ color: #FFF;
689
+ background-color: rgba(255, 255, 255, 0.2);
690
+ }
691
+
692
+ .tree-flex .btn-group {
693
+ height: 50px !important;
694
+ }
695
+
696
+ .tree-flex .dropdown-menu {
697
+ /* 控制显示列表的样式 */
698
+ background: #4a7cae;
699
+ border-radius: 0px;
700
+ color: #fff;
701
+ width: auto;
702
+ margin: 0px;
703
+ padding: 0px;
704
+ }
705
+
706
+ .tree-flex .dropdown-menu-up {
707
+ /* bottom,top控制上下,left和right控制左右*/
708
+ left: 100% !important;
709
+ top: auto !important;
710
+ bottom: 0;
711
+ }
712
+
713
+ .tree-flex .dropdown-menu-down {
714
+ /* bottom,top控制上下,left和right控制左右*/
715
+ left: 100% !important;
716
+ top: 0 !important;
717
+ }
718
+
719
+ .tree-flex .dropdown-menu li {
720
+ text-align: center;
721
+ line-height: 50px;
722
+ border-bottom: 1px solid #697D93;
723
+ font-size: 1.2em;
724
+ width: auto;
725
+ white-space: nowrap;
726
+ cursor: default;
727
+
728
+ }
729
+
730
+ .tree-flex .dropdown-menu li + li {
731
+ text-align: left;
732
+ border: 0;
733
+ line-height: 40px;
734
+ padding-left: 15px;
735
+ padding-right: 15px;
736
+ font-size: 1em;
737
+ cursor: pointer;
738
+ }
739
+
740
+ .tree-flex .dropdown-menu li + li:hover {
741
+ background-color: rgba(255, 255, 255, 0.2);
742
+ }
743
+
744
+ .tree-flex .dropdown-menu li a {
745
+ border: none;
746
+ color: #fff;
747
+ height: 40px;
748
+ line-height: 40px;
749
+ font-size: 1em;
750
+ padding: 0px;
751
+ }
752
+
753
+ .tree-flex .dropdown-menu li a:hover {
754
+ color: #fff;
755
+ background-color: rgba(255, 255, 255, 0);
756
+ }
757
+
758
+ .tree-flex img {
759
+ height: 1.2em;
760
+ width: 1.2em;
761
+ margin-right: 15px;
762
+ margin-left: 5px;
763
+ }
764
+
765
+ .line {
766
+ height: 100%;
767
+ width: 5px;
768
+ background: #4C637B;
769
+ cursor: e-resize;
770
+ }
771
+
772
+ /*为树(tree)组件写的样式*/
773
+ .tree-img {
774
+ font-size: 1.2em;
775
+ }
776
+
777
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
778
+ .cutout50 {
779
+ max-width: 50px;
780
+ overflow: hidden;
781
+ text-overflow: ellipsis;
782
+ white-space: nowrap;
783
+ }
784
+
785
+ /* 滚动条样式 */
786
+ /*---滚动条默认显示样式--*/
787
+ ::-webkit-scrollbar-thumb {
788
+ // display: none;
789
+ background-color: rgba(0, 0, 0, 0.4);
790
+ /*background-color:red;*/
791
+ height: 50px;
792
+ outline-offset: -2px;
793
+ /*outline:2px solid #fff;*/
794
+ -webkit-border-radius: 4px;
795
+ /*border: 2px solid #fff;*/
796
+ }
797
+
798
+ /*---鼠标点击滚动条显示样式--*/
799
+ ::-webkit-scrollbar-thumb:hover {
800
+ // display: inherit;
801
+ background-color: rgba(0, 0, 0, 0.4);
802
+ height: 50px;
803
+ -webkit-border-radius: 4px;
804
+ }
805
+
806
+ /*---滚动条大小--*/
807
+ ::-webkit-scrollbar {
808
+ width: 8px;
809
+ height: 8px;
810
+ }
811
+
812
+ /*---滚动框背景样式--*/
813
+ ::-webkit-scrollbar-track-piece {
814
+ /* 全透明,不显示 */
815
+ background-color: rgba(255, 255, 255, 0);
816
+ -webkit-border-radius: 0;
817
+ }
818
+ </style>