system-clients 3.0.14-akyh-2 → 3.0.14-akyh-3

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.
@@ -9,6 +9,7 @@
9
9
  <span>{{orgpathnames}}</span>
10
10
  </div>
11
11
  <!--<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>-->
12
+ <a class="system-logo-chi-span-1" style=" cursor: pointer;float: right; padding-top: 2px" @click="openUrl()"> 售后服务</a>
12
13
  <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>
13
14
  <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
15
  <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">
@@ -21,7 +22,7 @@
21
22
  <img :src="srcsetting" alt=""><span>系统设置</span>
22
23
  </span>
23
24
  <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >
24
- <!-- <li>系统信息及设置</li>-->
25
+ <!-- <li>系统信息及设置</li>-->
25
26
  <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>
26
27
  <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>
27
28
  </ul>
@@ -34,7 +35,7 @@
34
35
  <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
35
36
  <div class="span system-left-tree" >
36
37
  <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
37
- <!-- <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>-->
38
+ <!-- <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>-->
38
39
  </div>
39
40
  </div>
40
41
  <div class="system-foot-stretch" >
@@ -49,68 +50,68 @@
49
50
  <dynamic :comps='[]' :showup="true" :showhide="false" name='main' :selecttab="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
50
51
  </div>
51
52
  </div>
52
- <!-- <div class="system-foot" v-el:bottom>-->
53
- <!-- -->
54
- <!-- <div class="system-foot-box">-->
53
+ <!-- <div class="system-foot" v-el:bottom>-->
54
+ <!-- -->
55
+ <!-- <div class="system-foot-box">-->
55
56
 
56
- <!-- </div>-->
57
- <!-- </div>-->
57
+ <!-- </div>-->
58
+ <!-- </div>-->
58
59
  </div>
59
60
 
60
- <!-- <div class='flex-row aaa' id="box" v-el:box v-if="!isManger">-->
61
- <!-- <div class="auto" style="position: fixed;right: 30px;top: 20px;color: #333">-->
62
- <!-- <span>-->
63
- <!-- <img-->
64
- <!-- src="../assets/people.png" height="15" width="15">-->
65
- <!-- 登录人:</span>-->
66
- <!-- <label>{{$login.f.name}}</label>-->
67
- <!-- <img-->
68
- <!-- src="../assets/arrow.png" height="6" width="10"-->
69
- <!-- @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"-->
70
- <!-- >-->
71
- <!-- </div>-->
72
- <!-- <div v-if="userpane" class="auto userpanel">-->
73
- <!-- <span>{{orgpathnames}}</span>-->
74
- <!-- </div>-->
75
- <!-- <div class="flex tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >-->
76
- <!-- <h3>{{systemname}}</h3>-->
77
- <!-- <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;">-->
78
- <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
79
- <!-- <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>-->
80
- <!-- </div>-->
61
+ <!-- <div class='flex-row aaa' id="box" v-el:box v-if="!isManger">-->
62
+ <!-- <div class="auto" style="position: fixed;right: 30px;top: 20px;color: #333">-->
63
+ <!-- <span>-->
64
+ <!-- <img-->
65
+ <!-- src="../assets/people.png" height="15" width="15">-->
66
+ <!-- 登录人:</span>-->
67
+ <!-- <label>{{$login.f.name}}</label>-->
68
+ <!-- <img-->
69
+ <!-- src="../assets/arrow.png" height="6" width="10"-->
70
+ <!-- @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"-->
71
+ <!-- >-->
72
+ <!-- </div>-->
73
+ <!-- <div v-if="userpane" class="auto userpanel">-->
74
+ <!-- <span>{{orgpathnames}}</span>-->
75
+ <!-- </div>-->
76
+ <!-- <div class="flex tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >-->
77
+ <!-- <h3>{{systemname}}</h3>-->
78
+ <!-- <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;">-->
79
+ <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
80
+ <!-- <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>-->
81
+ <!-- </div>-->
81
82
 
82
- <!-- <div class="tree-flex-footer">-->
83
- <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
84
- <!-- &lt;!&ndash; <a><img src="../../../static/treeset.png" alt="">系统设置</a> &ndash;&gt;-->
85
- <!-- <dropdown class="auto">-->
86
- <!-- <button type="button" data-toggle="dropdown">-->
87
- <!-- <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>-->
88
- <!-- </button>-->
89
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">-->
90
- <!-- <li>系统信息及设置</li>-->
91
- <!-- &lt;!&ndash; <li>{{name}}</li> &ndash;&gt;-->
92
- <!-- <li>{{date}}</li>-->
93
- <!-- <li @click="show=true">修改密码</li>-->
94
- <!-- <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>-->
95
- <!-- </ul>-->
83
+ <!-- <div class="tree-flex-footer">-->
84
+ <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
85
+ <!-- &lt;!&ndash; <a><img src="../../../static/treeset.png" alt="">系统设置</a> &ndash;&gt;-->
86
+ <!-- <dropdown class="auto">-->
87
+ <!-- <button type="button" data-toggle="dropdown">-->
88
+ <!-- <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>-->
89
+ <!-- </button>-->
90
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">-->
91
+ <!-- <li>系统信息及设置</li>-->
92
+ <!-- &lt;!&ndash; <li>{{name}}</li> &ndash;&gt;-->
93
+ <!-- <li>{{date}}</li>-->
94
+ <!-- <li @click="show=true">修改密码</li>-->
95
+ <!-- <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>-->
96
+ <!-- </ul>-->
96
97
 
97
- <!-- </dropdown>-->
98
- <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');">-->
99
- <!-- <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>-->
100
- <!-- </a>-->
101
- <!-- </div>-->
102
- <!-- </div>-->
98
+ <!-- </dropdown>-->
99
+ <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');">-->
100
+ <!-- <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>-->
101
+ <!-- </a>-->
102
+ <!-- </div>-->
103
+ <!-- </div>-->
103
104
 
104
- <!-- &lt;!&ndash; <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> &ndash;&gt;-->
105
+ <!-- &lt;!&ndash; <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> &ndash;&gt;-->
105
106
 
106
- <!-- <div class="flex right-bg" id="bottom" v-el:bottom>-->
107
- <!-- &lt;!&ndash; <operator-badge></operator-badge> &ndash;&gt;-->
108
- <!-- <div class="span">-->
109
- <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
110
- <!-- <dynamic :comps='[]' name='main' :selecttab="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
111
- <!-- </div>-->
112
- <!-- </div>-->
113
- <!-- </div>-->
107
+ <!-- <div class="flex right-bg" id="bottom" v-el:bottom>-->
108
+ <!-- &lt;!&ndash; <operator-badge></operator-badge> &ndash;&gt;-->
109
+ <!-- <div class="span">-->
110
+ <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
111
+ <!-- <dynamic :comps='[]' name='main' :selecttab="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
112
+ <!-- </div>-->
113
+ <!-- </div>-->
114
+ <!-- </div>-->
114
115
  <div v-show="isManger">
115
116
  <route v-ref:route></route>
116
117
  </div>
@@ -119,453 +120,457 @@
119
120
  <add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
120
121
  <!-- 修改密码组件 -->
121
122
  <modify-pw :show.sync="show" v-if="show"></modify-pw>
122
- <!-- 修改密码模态框 -->
123
+ <!-- 修改密码模态框 -->
123
124
  </div>
124
125
  </template>
125
126
 
126
127
  <script>
127
- import vue from 'vue'
128
- import co from 'co'
129
- import {HttpResetClass} from 'vue-client'
128
+ import vue from 'vue'
129
+ import co from 'co'
130
+ import {HttpResetClass} from 'vue-client'
130
131
 
131
- window.onunload = () => {
132
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
133
- }
134
- window.onbeforeunload = () => {
135
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
136
- }
137
- export default {
138
- title: '主界面',
139
- props: ['functions', 'userid'],
140
- data () {
141
- return {
142
- // 左侧树下部三个小图标
143
- imgs: {
144
- open: '/images/lefticon/菜单伸缩.png',
145
- set: '/images/lefticon/系统设置.png',
146
- out: '/images/lefticon/退出系统.png',
147
- img1: '/images/newStyle/login-user.png',
148
- logoimg: '/static/newStyle/fife.png'
149
- // img2: '/images/lefticon/退出系统.png',
150
- },
151
- treeOrIcon: false,
152
- userpane: false,
153
- isManger: false,
154
- show: false,
155
- orgpathnames: this.$login.f.orgpathnames,
156
- systemname: '客服系统',
157
- date: this.$login.toStandardDateString(),
158
- tabs:[], //已初始化页签数组
159
- selecttab:'',
160
- setting:true,
161
- srcsetting:'../../static/newStyle/setting.png'
132
+ window.onunload = () => {
133
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
134
+ }
135
+ window.onbeforeunload = () => {
136
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
137
+ }
138
+ export default {
139
+ title: '主界面',
140
+ props: ['functions', 'userid'],
141
+ data () {
142
+ return {
143
+ // 左侧树下部三个小图标
144
+ imgs: {
145
+ open: '/images/lefticon/菜单伸缩.png',
146
+ set: '/images/lefticon/系统设置.png',
147
+ out: '/images/lefticon/退出系统.png',
148
+ img1: '/images/newStyle/login-user.png',
149
+ logoimg: '/static/newStyle/fife.png'
150
+ // img2: '/images/lefticon/退出系统.png',
151
+ },
152
+ treeOrIcon: false,
153
+ userpane: false,
154
+ isManger: false,
155
+ show: false,
156
+ orgpathnames: this.$login.f.orgpathnames,
157
+ systemname: '客服系统',
158
+ date: this.$login.toStandardDateString(),
159
+ tabs:[], //已初始化页签数组
160
+ selecttab:'',
161
+ setting:true,
162
+ srcsetting:'../../static/newStyle/setting.png'
162
163
 
163
- // headerHint: true, // 右侧顶部提示信息
164
- // value: 25645.26,
165
- // AddChangeMsgShow: false,
166
- // showsum: false
164
+ // headerHint: true, // 右侧顶部提示信息
165
+ // value: 25645.26,
166
+ // AddChangeMsgShow: false,
167
+ // showsum: false
168
+ }
169
+ },
170
+ ready () {
171
+ let component = this.$login.getUrlCompileParames('component')
172
+ if (component) {
173
+ this.isManger = true
174
+ this.$refs.route.init(component, {data: this.functions.functions})
175
+ }
176
+ if(this.$login.f.password == '1'){
177
+ this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
178
+ if(res == 'confirm')
179
+ this.show = true
180
+ })
181
+ }
182
+ console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
183
+ this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
184
+ this.imgs.logoimg = '/static/newStyle/' + this.systemname + '.png'
185
+ // let oBox = this.getElement("box")
186
+ // let oTop = this.getElement("top")
187
+ // let oBottom = this.getElement("bottom")
188
+ // let oLine = this.getElement("line")
189
+ // let that = this
190
+ // oLine.onmousedown = function(e) {
191
+ // let disX = (e || event).clientX
192
+ // oLine.left = oLine.offsetLeft
193
+ // document.onmousemove = function(e) {
194
+ // let iT = oLine.left + ((e || event).clientX - disX)
195
+ // var e = e || window.event
196
+ // let tarnameb = e.target || e.srcElement
197
+ // let maxT = oBox.clientWight - oLine.offsetWidth
198
+ // oLine.style.margin = 0
199
+ // iT < 0 && (iT = 0)
200
+ // iT > maxT && (iT = maxT)
201
+ // oLine.style.left = oTop.style.width = iT + "px"
202
+ // oBottom.style.width = oBox.clientWidth - iT + "px"
203
+ // that.$set('treeWidth', iT)
204
+ // return false
205
+ // }
206
+ // document.onmouseup = function() {
207
+ // document.onmousemove = null
208
+ // document.onmouseup = null
209
+ // oLine.releaseCapture && oLine.releaseCapture()
210
+ // }
211
+ // oLine.setCapture && oLine.setCapture()
212
+ // return false
213
+ // }
214
+ this.changeShow()
215
+ this.applyinfo()
216
+ },
217
+ methods: {
218
+ openUrl() {
219
+ var url = `http://123.60.214.109:8406/submitTicket?contact=${this.$login.f.name}&orgName=${this.$login.f.orgs}&phone=${this.$login.f.f_user_telephone}`
220
+ window.open(url, '_blank')
221
+ },
222
+ hindsetting(){
223
+
224
+ this.setting=!this.setting
225
+ if(this.setting){
226
+ this.srcsetting='../../static/newStyle/setting.png'
227
+ }else {
228
+ this.srcsetting='../../static/newStyle/setting1.png'
167
229
  }
230
+
168
231
  },
169
- ready () {
170
- let component = this.$login.getUrlCompileParames('component')
171
- if (component) {
172
- this.isManger = true
173
- this.$refs.route.init(component, {data: this.functions.functions})
232
+ hindsetting1(){
233
+
234
+ if(!this.setting){
235
+ this.srcsetting='../../static/newStyle/setting.png'
236
+ this.setting=true
174
237
  }
175
- if(this.$login.f.password == '1'){
176
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
177
- if(res == 'confirm')
178
- this.show = true
179
- })
238
+
239
+ },
240
+ isnodo(val){
241
+ console.log(val,'ss')
242
+ this.selecttab = val
243
+ },
244
+ mouseenteruser(){
245
+ this.userpane=true
246
+ },
247
+ mouseleaveuser(){
248
+ this.userpane=false
249
+ },
250
+ unfurl () {
251
+ if(this.showsum){
252
+ this.showsum = false
253
+ } else {
254
+ this.showsum = true
180
255
  }
181
- console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
182
- this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
183
- this.imgs.logoimg = '/static/newStyle/' + this.systemname + '.png'
256
+ },
257
+ // getElement(id) {
258
+ // return document.getElementById(id)
259
+ // },
260
+ changeShow () {
261
+ // this.treeOrIcon = !this.treeOrIcon
184
262
  // let oBox = this.getElement("box")
185
263
  // let oTop = this.getElement("top")
186
264
  // let oBottom = this.getElement("bottom")
187
265
  // let oLine = this.getElement("line")
188
- // let that = this
189
- // oLine.onmousedown = function(e) {
190
- // let disX = (e || event).clientX
191
- // oLine.left = oLine.offsetLeft
192
- // document.onmousemove = function(e) {
193
- // let iT = oLine.left + ((e || event).clientX - disX)
194
- // var e = e || window.event
195
- // let tarnameb = e.target || e.srcElement
196
- // let maxT = oBox.clientWight - oLine.offsetWidth
197
- // oLine.style.margin = 0
198
- // iT < 0 && (iT = 0)
199
- // iT > maxT && (iT = maxT)
200
- // oLine.style.left = oTop.style.width = iT + "px"
201
- // oBottom.style.width = oBox.clientWidth - iT + "px"
202
- // that.$set('treeWidth', iT)
203
- // return false
204
- // }
205
- // document.onmouseup = function() {
206
- // document.onmousemove = null
207
- // document.onmouseup = null
208
- // oLine.releaseCapture && oLine.releaseCapture()
209
- // }
210
- // oLine.setCapture && oLine.setCapture()
211
- // return false
212
- // }
213
- this.changeShow()
214
- this.applyinfo()
266
+ // if (this.treeOrIcon) {
267
+ // // oLine.style.left = oTop.style.width = 300 + "px"
268
+ // oTop.style.width = 150 + "px"
269
+ // oBottom.style.width = oBox.clientWidth - 150 + "px"
270
+ // }else {
271
+ // oLine.style.left = oTop.style.width = 50 + "px"
272
+ // oBottom.style.width = oBox.clientWidth - 50 + "px"
273
+ // }
274
+ // }
275
+ this.treeOrIcon = !this.treeOrIcon
276
+ // if (this.treeOrIcon) {
277
+ // this.$els.top.style.width = 14 + "%"
278
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
279
+ // }else {
280
+ // this.$els.top.style.width = 8 + "%"
281
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
282
+ // }
215
283
  },
216
- methods: {
217
- hindsetting(){
218
-
219
- this.setting=!this.setting
220
- if(this.setting){
221
- this.srcsetting='../../static/newStyle/setting.png'
222
- }else {
223
- this.srcsetting='../../static/newStyle/setting1.png'
224
- }
225
-
226
- },
227
- hindsetting1(){
228
-
229
- if(!this.setting){
230
- this.srcsetting='../../static/newStyle/setting.png'
231
- this.setting=true
232
- }
233
-
234
- },
235
- isnodo(val){
236
- console.log(val,'ss')
237
- this.selecttab = val
238
- },
239
- mouseenteruser(){
240
- this.userpane=true
241
- },
242
- mouseleaveuser(){
243
- this.userpane=false
244
- },
245
- unfurl () {
246
- if(this.showsum){
247
- this.showsum = false
248
- } else {
249
- this.showsum = true
284
+ changeMain(userid) {
285
+ this.$goto('res-main', {userid: this.userid}, 'self')
286
+ },
287
+ tabChange (name) {
288
+ console.log(name,'tabchanage')
289
+ this.$refs.tree.changeSelect(name)
290
+ },
291
+ tabcg(val){
292
+ console.log(val)
293
+ this.tabs = val
294
+ },
295
+ applyinfo() {
296
+ //如果当前登陆人有报建待办业务
297
+ let http = new HttpResetClass()
298
+ let data = {
299
+ condition: '1 = 1',
300
+ data: {
301
+ id: this.$login.f.id,
302
+ org: this.$login.f.orgs
250
303
  }
251
- },
252
- // getElement(id) {
253
- // return document.getElementById(id)
254
- // },
255
- changeShow () {
256
- // this.treeOrIcon = !this.treeOrIcon
257
- // let oBox = this.getElement("box")
258
- // let oTop = this.getElement("top")
259
- // let oBottom = this.getElement("bottom")
260
- // let oLine = this.getElement("line")
261
- // if (this.treeOrIcon) {
262
- // // oLine.style.left = oTop.style.width = 300 + "px"
263
- // oTop.style.width = 150 + "px"
264
- // oBottom.style.width = oBox.clientWidth - 150 + "px"
265
- // }else {
266
- // oLine.style.left = oTop.style.width = 50 + "px"
267
- // oBottom.style.width = oBox.clientWidth - 50 + "px"
268
- // }
269
- // }
270
- this.treeOrIcon = !this.treeOrIcon
271
- // if (this.treeOrIcon) {
272
- // this.$els.top.style.width = 14 + "%"
273
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
274
- // }else {
275
- // this.$els.top.style.width = 8 + "%"
276
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
277
- // }
278
- },
279
- changeMain(userid) {
280
- this.$goto('res-main', {userid: this.userid}, 'self')
281
- },
282
- tabChange (name) {
283
- console.log(name,'tabchanage')
284
- this.$refs.tree.changeSelect(name)
285
- },
286
- tabcg(val){
287
- console.log(val)
288
- this.tabs = val
289
- },
290
- applyinfo() {
291
- //如果当前登陆人有报建待办业务
292
- let http = new HttpResetClass()
293
- let data = {
294
- condition: '1 = 1',
295
- data: {
296
- id: this.$login.f.id,
297
- org: this.$login.f.orgs
298
- }
304
+ }
305
+ http.load('POST', 'rs/sql/checkuser', {data: data}, {
306
+ resolveMsg: null,
307
+ rejectMsg: null
308
+ }).then((res) => {
309
+ // console.log("报建待办数据:" + JSON.stringify(res.data))
310
+ // console.log("报建待办数据条数:" + JSON.stringify(res.data.length))
311
+ if (res.data.length > 0) {
312
+ this.$showMessage("您有需要处理的报建待办业务!")
299
313
  }
300
- http.load('POST', 'rs/sql/checkuser', {data: data}, {
301
- resolveMsg: null,
302
- rejectMsg: null
303
- }).then((res) => {
304
- // console.log("报建待办数据:" + JSON.stringify(res.data))
305
- // console.log("报建待办数据条数:" + JSON.stringify(res.data.length))
306
- if (res.data.length > 0) {
307
- this.$showMessage("您有需要处理的报建待办业务!")
308
- }
309
- })
314
+ })
310
315
 
311
- }
312
- },
313
- computed: {
314
- nowDate () {
315
- return this.$login.getNowDate()
316
- }
316
+ }
317
+ },
318
+ computed: {
319
+ nowDate () {
320
+ return this.$login.getNowDate()
317
321
  }
318
322
  }
323
+ }
319
324
  </script>
320
325
  <style lang="less">
321
- /* 组件内通用样式 */
322
- .select-error {
323
- button {
324
- border-bottom: 1px solid #a94442!important;
326
+ /* 组件内通用样式 */
327
+ .select-error {
328
+ button {
329
+ border-bottom: 1px solid #a94442!important;
330
+ }
331
+ }
332
+ // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
333
+ // -webkit-appearance:textfield;
334
+ // }
335
+ /* 表单输入框组 */
336
+ .form-input-group {
337
+ display: flex;
338
+
339
+ label {
340
+ width: 100px;
341
+ text-align: right;
342
+ + * {
343
+ flex: 1;
325
344
  }
326
345
  }
327
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
328
- // -webkit-appearance:textfield;
329
- // }
330
- /* 表单输入框组 */
331
- .form-input-group {
332
- display: flex;
333
-
334
- label {
335
- width: 100px;
336
- text-align: right;
337
- + * {
338
- flex: 1;
339
- }
346
+ }
347
+ // 日期组件在表单中沾满
348
+ .form-horizontal .datepicker {
349
+ width: 100%;
350
+ }
351
+ // 下拉选择框占据剩余全部空间
352
+ .select-overspread {
353
+ .form-group {
354
+ // margin: 0px 5px 10px 0px;
355
+ .form-control {
356
+ margin-right: 0px;
340
357
  }
341
358
  }
342
- // 日期组件在表单中沾满
343
- .form-horizontal .datepicker {
359
+ .btn-group, .btn-group-vertical {
344
360
  width: 100%;
345
- }
346
- // 下拉选择框占据剩余全部空间
347
- .select-overspread {
348
- .form-group {
349
- // margin: 0px 5px 10px 0px;
350
- .form-control {
351
- margin-right: 0px;
352
- }
353
- }
354
- .btn-group, .btn-group-vertical {
361
+ // padding-right: 5px;
362
+ button {
355
363
  width: 100%;
356
- // padding-right: 5px;
357
- button {
358
- width: 100%;
359
- display: flex;
360
- justify-content: space-between;
361
- align-items: center;
362
- }
363
- }
364
- .dropdown-menu {
365
- width: 100%
364
+ display: flex;
365
+ justify-content: space-between;
366
+ align-items: center;
366
367
  }
367
368
  }
368
- // 需要特定宽度的的样式
369
- .width-60 {
370
- width: 60px;
371
- }
372
- .userpanel {
373
- font-weight: 300;
374
- color: #333;
375
- position: fixed;
376
- right: 30px;
377
- top: 45px;
378
- background-color: white;
379
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
380
- padding: 4px 10px 4px 10px;
381
- border-radius:2px;
382
- }
383
- .width-80 {
384
- width: 80px;
385
- }
386
- .width-100 {
387
- width: 100px;
388
- }
369
+ .dropdown-menu {
370
+ width: 100%
371
+ }
372
+ }
373
+ // 需要特定宽度的的样式
374
+ .width-60 {
375
+ width: 60px;
376
+ }
377
+ .userpanel {
378
+ font-weight: 300;
379
+ color: #333;
380
+ position: fixed;
381
+ right: 30px;
382
+ top: 45px;
383
+ background-color: white;
384
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
385
+ padding: 4px 10px 4px 10px;
386
+ border-radius:2px;
387
+ }
388
+ .width-80 {
389
+ width: 80px;
390
+ }
391
+ .width-100 {
392
+ width: 100px;
393
+ }
389
394
 
390
395
 
391
396
 
392
- /*右侧区域的背景*/
393
- .right-bg {
394
- width: 100%;
395
- flex: 1;
396
- padding: 10px 25px;
397
- color: #304A66;
398
- }
399
- .tree-flex {
400
- height: 100%;
401
- // width: 150px;
402
- /*width: 60px;*/
403
- background: #4a7cae;
404
- color: #fff;
397
+ /*右侧区域的背景*/
398
+ .right-bg {
399
+ width: 100%;
400
+ flex: 1;
401
+ padding: 10px 25px;
402
+ color: #304A66;
403
+ }
404
+ .tree-flex {
405
+ height: 100%;
406
+ // width: 150px;
407
+ /*width: 60px;*/
408
+ background: #4a7cae;
409
+ color: #fff;
405
410
 
406
- }
407
- .tree-flex-icon {
408
- width: 50px;
409
- /*transition: 0.5s;*/
410
- > .span {
411
- overflow-x: visible;
412
- }
413
- }
414
- .tree-flex h3 {
415
- text-align: center;
416
- margin: 1em 0;
417
- }
411
+ }
412
+ .tree-flex-icon {
413
+ width: 50px;
414
+ /*transition: 0.5s;*/
415
+ > .span {
416
+ overflow-x: visible;
417
+ }
418
+ }
419
+ .tree-flex h3 {
420
+ text-align: center;
421
+ margin: 1em 0;
422
+ }
418
423
 
419
- .tree-flex-footer {
420
- height: 150px;
421
- display: flex;
422
- flex-direction:column;
423
- color: #fff;
424
- }
425
- .tree-flex-footer a,.tree-flex-footer button{
426
- flex: 1;
427
- padding: 8px 5px;
428
- font-size: 1.2em;
429
- // border-top: 1px solid #697D93;
430
- border-top: 1px solid #4a7cae;
431
- text-decoration: none;
432
- color: #fff;
433
- cursor: pointer;
434
- }
435
- .tree-flex-footer button {
436
- height: auto;
437
- width: 100%;
438
- border-radius: 0px;
439
- background-color: rgba(255,255,255,0);
440
- border: none;
441
- border-top: 1px solid #4a7cae;
442
- // border-top: 1px solid #697D93;
443
- text-align: left;
444
- }
445
- .tree-flex-footer button:hover{
446
- outline: none;
447
- background-color: rgba(255,255,255,0.2);
448
- }
449
- .tree-flex-footer button:focus {
450
- outline: none;
451
- background-color: rgba(255,255,255,0.5);
452
- }
453
- .tree-flex-footer a:hover {
454
- color: #FFF;
455
- background-color: rgba(255,255,255,0.2);
456
- }
457
- .tree-flex .btn-group {
458
- height: 50px!important;
459
- }
424
+ .tree-flex-footer {
425
+ height: 150px;
426
+ display: flex;
427
+ flex-direction:column;
428
+ color: #fff;
429
+ }
430
+ .tree-flex-footer a,.tree-flex-footer button{
431
+ flex: 1;
432
+ padding: 8px 5px;
433
+ font-size: 1.2em;
434
+ // border-top: 1px solid #697D93;
435
+ border-top: 1px solid #4a7cae;
436
+ text-decoration: none;
437
+ color: #fff;
438
+ cursor: pointer;
439
+ }
440
+ .tree-flex-footer button {
441
+ height: auto;
442
+ width: 100%;
443
+ border-radius: 0px;
444
+ background-color: rgba(255,255,255,0);
445
+ border: none;
446
+ border-top: 1px solid #4a7cae;
447
+ // border-top: 1px solid #697D93;
448
+ text-align: left;
449
+ }
450
+ .tree-flex-footer button:hover{
451
+ outline: none;
452
+ background-color: rgba(255,255,255,0.2);
453
+ }
454
+ .tree-flex-footer button:focus {
455
+ outline: none;
456
+ background-color: rgba(255,255,255,0.5);
457
+ }
458
+ .tree-flex-footer a:hover {
459
+ color: #FFF;
460
+ background-color: rgba(255,255,255,0.2);
461
+ }
462
+ .tree-flex .btn-group {
463
+ height: 50px!important;
464
+ }
460
465
 
461
- .tree-flex .dropdown-menu {
462
- /* 控制显示列表的样式 */
463
- background: #4C637B;
464
- border-radius: 0px;
465
- color: #fff;
466
- width: auto;
467
- margin: 0px;
468
- padding: 0px;
469
- }
470
- .tree-flex .dropdown-menu-up {
471
- /* bottom,top控制上下,left和right控制左右*/
472
- left: 100%!important;
473
- top: auto!important;
474
- bottom: 0;
475
- }
476
- .tree-flex .dropdown-menu-down {
477
- /* bottom,top控制上下,left和right控制左右*/
478
- left: 100%!important;
479
- top: 0!important;
480
- }
481
- .tree-flex .dropdown-menu li{
482
- text-align: center;
483
- line-height: 50px;
484
- border-bottom: 1px solid #697D93;
485
- font-size: 1.2em;
486
- width: auto;
487
- white-space: nowrap;
488
- cursor: default;
466
+ .tree-flex .dropdown-menu {
467
+ /* 控制显示列表的样式 */
468
+ background: #4C637B;
469
+ border-radius: 0px;
470
+ color: #fff;
471
+ width: auto;
472
+ margin: 0px;
473
+ padding: 0px;
474
+ }
475
+ .tree-flex .dropdown-menu-up {
476
+ /* bottom,top控制上下,left和right控制左右*/
477
+ left: 100%!important;
478
+ top: auto!important;
479
+ bottom: 0;
480
+ }
481
+ .tree-flex .dropdown-menu-down {
482
+ /* bottom,top控制上下,left和right控制左右*/
483
+ left: 100%!important;
484
+ top: 0!important;
485
+ }
486
+ .tree-flex .dropdown-menu li{
487
+ text-align: center;
488
+ line-height: 50px;
489
+ border-bottom: 1px solid #697D93;
490
+ font-size: 1.2em;
491
+ width: auto;
492
+ white-space: nowrap;
493
+ cursor: default;
489
494
 
490
- }
491
- .tree-flex .dropdown-menu li + li {
492
- text-align: left;
493
- border: 0;
494
- line-height: 40px;
495
- padding-left: 15px;
496
- padding-right: 15px;
497
- font-size: 1em;
498
- cursor: pointer;
499
- }
500
- .tree-flex .dropdown-menu li + li:hover {
501
- background-color: rgba(255,255,255,0.2);
502
- }
503
- .tree-flex .dropdown-menu li a {
504
- border: none;
505
- color: #fff;
506
- height: 40px;
507
- line-height: 40px;
508
- font-size: 1em;
509
- padding: 0px;
510
- }
511
- .tree-flex .dropdown-menu li a:hover {
512
- color: #fff;
513
- background-color: rgba(255,255,255,0);
514
- }
515
- .tree-flex img{
516
- height: 1.2em;
517
- width: 1.2em;
518
- margin-right: 15px;
519
- margin-left: 5px;
520
- }
521
- .line {
522
- height: 100%;
523
- width: 5px;
524
- background: #4C637B;
525
- cursor: e-resize;
526
- }
527
- /*为树(tree)组件写的样式*/
528
- .tree-img {
529
- font-size: 1.2em;
530
- }
495
+ }
496
+ .tree-flex .dropdown-menu li + li {
497
+ text-align: left;
498
+ border: 0;
499
+ line-height: 40px;
500
+ padding-left: 15px;
501
+ padding-right: 15px;
502
+ font-size: 1em;
503
+ cursor: pointer;
504
+ }
505
+ .tree-flex .dropdown-menu li + li:hover {
506
+ background-color: rgba(255,255,255,0.2);
507
+ }
508
+ .tree-flex .dropdown-menu li a {
509
+ border: none;
510
+ color: #fff;
511
+ height: 40px;
512
+ line-height: 40px;
513
+ font-size: 1em;
514
+ padding: 0px;
515
+ }
516
+ .tree-flex .dropdown-menu li a:hover {
517
+ color: #fff;
518
+ background-color: rgba(255,255,255,0);
519
+ }
520
+ .tree-flex img{
521
+ height: 1.2em;
522
+ width: 1.2em;
523
+ margin-right: 15px;
524
+ margin-left: 5px;
525
+ }
526
+ .line {
527
+ height: 100%;
528
+ width: 5px;
529
+ background: #4C637B;
530
+ cursor: e-resize;
531
+ }
532
+ /*为树(tree)组件写的样式*/
533
+ .tree-img {
534
+ font-size: 1.2em;
535
+ }
531
536
 
532
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
533
- .cutout50 {
534
- max-width: 50px;
535
- overflow:hidden;
536
- text-overflow: ellipsis;
537
- white-space: nowrap;
538
- }
537
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
538
+ .cutout50 {
539
+ max-width: 50px;
540
+ overflow:hidden;
541
+ text-overflow: ellipsis;
542
+ white-space: nowrap;
543
+ }
539
544
 
540
- /* 滚动条样式 */
541
- /*---滚动条默认显示样式--*/
542
- ::-webkit-scrollbar-thumb{
543
- // display: none;
544
- background-color:rgba(0,0,0,0.4);
545
- /*background-color:red;*/
546
- height:50px;
547
- outline-offset:-2px;
548
- /*outline:2px solid #fff;*/
549
- -webkit-border-radius:4px;
550
- /*border: 2px solid #fff;*/
551
- }
545
+ /* 滚动条样式 */
546
+ /*---滚动条默认显示样式--*/
547
+ ::-webkit-scrollbar-thumb{
548
+ // display: none;
549
+ background-color:rgba(0,0,0,0.4);
550
+ /*background-color:red;*/
551
+ height:50px;
552
+ outline-offset:-2px;
553
+ /*outline:2px solid #fff;*/
554
+ -webkit-border-radius:4px;
555
+ /*border: 2px solid #fff;*/
556
+ }
552
557
 
553
- /*---鼠标点击滚动条显示样式--*/
554
- ::-webkit-scrollbar-thumb:hover{
555
- // display: inherit;
556
- background-color:rgba(0,0,0,0.4);
557
- height:50px;
558
- -webkit-border-radius:4px;
559
- }
560
- /*---滚动条大小--*/
561
- ::-webkit-scrollbar{
562
- width:8px;
563
- height:8px;
564
- }
565
- /*---滚动框背景样式--*/
566
- ::-webkit-scrollbar-track-piece{
567
- /* 全透明,不显示 */
568
- background-color:rgba(255,255,255,0);
569
- -webkit-border-radius:0;
570
- }
558
+ /*---鼠标点击滚动条显示样式--*/
559
+ ::-webkit-scrollbar-thumb:hover{
560
+ // display: inherit;
561
+ background-color:rgba(0,0,0,0.4);
562
+ height:50px;
563
+ -webkit-border-radius:4px;
564
+ }
565
+ /*---滚动条大小--*/
566
+ ::-webkit-scrollbar{
567
+ width:8px;
568
+ height:8px;
569
+ }
570
+ /*---滚动框背景样式--*/
571
+ ::-webkit-scrollbar-track-piece{
572
+ /* 全透明,不显示 */
573
+ background-color:rgba(255,255,255,0);
574
+ -webkit-border-radius:0;
575
+ }
571
576
  </style>