system-clients 3.0.14-akyh-1 → 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,429 +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'
128
+ import vue from 'vue'
129
+ import co from 'co'
130
+ import {HttpResetClass} from 'vue-client'
129
131
 
130
- window.onunload = () => {
131
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
132
- }
133
- window.onbeforeunload = () => {
134
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
135
- }
136
- export default {
137
- title: '主界面',
138
- props: ['functions', 'userid'],
139
- data () {
140
- return {
141
- // 左侧树下部三个小图标
142
- imgs: {
143
- open: '/images/lefticon/菜单伸缩.png',
144
- set: '/images/lefticon/系统设置.png',
145
- out: '/images/lefticon/退出系统.png',
146
- img1: '/images/newStyle/login-user.png',
147
- logoimg: '/static/newStyle/fife.png'
148
- // img2: '/images/lefticon/退出系统.png',
149
- },
150
- treeOrIcon: false,
151
- userpane: false,
152
- isManger: false,
153
- show: false,
154
- orgpathnames: this.$login.f.orgpathnames,
155
- systemname: '客服系统',
156
- date: this.$login.toStandardDateString(),
157
- tabs:[], //已初始化页签数组
158
- selecttab:'',
159
- setting:true,
160
- 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'
161
163
 
162
- // headerHint: true, // 右侧顶部提示信息
163
- // value: 25645.26,
164
- // AddChangeMsgShow: false,
165
- // 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'
166
229
  }
230
+
167
231
  },
168
- ready () {
169
- let component = this.$login.getUrlCompileParames('component')
170
- if (component) {
171
- this.isManger = true
172
- 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
173
237
  }
174
- if(this.$login.f.password == '1'){
175
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
176
- if(res == 'confirm')
177
- this.show = true
178
- })
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
179
255
  }
180
- console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
181
- this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
182
- 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
183
262
  // let oBox = this.getElement("box")
184
263
  // let oTop = this.getElement("top")
185
264
  // let oBottom = this.getElement("bottom")
186
265
  // let oLine = this.getElement("line")
187
- // let that = this
188
- // oLine.onmousedown = function(e) {
189
- // let disX = (e || event).clientX
190
- // oLine.left = oLine.offsetLeft
191
- // document.onmousemove = function(e) {
192
- // let iT = oLine.left + ((e || event).clientX - disX)
193
- // var e = e || window.event
194
- // let tarnameb = e.target || e.srcElement
195
- // let maxT = oBox.clientWight - oLine.offsetWidth
196
- // oLine.style.margin = 0
197
- // iT < 0 && (iT = 0)
198
- // iT > maxT && (iT = maxT)
199
- // oLine.style.left = oTop.style.width = iT + "px"
200
- // oBottom.style.width = oBox.clientWidth - iT + "px"
201
- // that.$set('treeWidth', iT)
202
- // return false
203
- // }
204
- // document.onmouseup = function() {
205
- // document.onmousemove = null
206
- // document.onmouseup = null
207
- // oLine.releaseCapture && oLine.releaseCapture()
208
- // }
209
- // oLine.setCapture && oLine.setCapture()
210
- // return false
211
- // }
212
- this.changeShow()
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
+ // }
213
283
  },
214
- methods: {
215
- hindsetting(){
216
-
217
- this.setting=!this.setting
218
- if(this.setting){
219
- this.srcsetting='../../static/newStyle/setting.png'
220
- }else {
221
- this.srcsetting='../../static/newStyle/setting1.png'
222
- }
223
-
224
- },
225
- hindsetting1(){
226
-
227
- if(!this.setting){
228
- this.srcsetting='../../static/newStyle/setting.png'
229
- this.setting=true
230
- }
231
-
232
- },
233
- isnodo(val){
234
- console.log(val,'ss')
235
- this.selecttab = val
236
- },
237
- mouseenteruser(){
238
- this.userpane=true
239
- },
240
- mouseleaveuser(){
241
- this.userpane=false
242
- },
243
- unfurl () {
244
- if(this.showsum){
245
- this.showsum = false
246
- } else {
247
- this.showsum = true
248
- }
249
- },
250
- // getElement(id) {
251
- // return document.getElementById(id)
252
- // },
253
- changeShow () {
254
- // this.treeOrIcon = !this.treeOrIcon
255
- // let oBox = this.getElement("box")
256
- // let oTop = this.getElement("top")
257
- // let oBottom = this.getElement("bottom")
258
- // let oLine = this.getElement("line")
259
- // if (this.treeOrIcon) {
260
- // // oLine.style.left = oTop.style.width = 300 + "px"
261
- // oTop.style.width = 150 + "px"
262
- // oBottom.style.width = oBox.clientWidth - 150 + "px"
263
- // }else {
264
- // oLine.style.left = oTop.style.width = 50 + "px"
265
- // oBottom.style.width = oBox.clientWidth - 50 + "px"
266
- // }
267
- // }
268
- this.treeOrIcon = !this.treeOrIcon
269
- // if (this.treeOrIcon) {
270
- // this.$els.top.style.width = 14 + "%"
271
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
272
- // }else {
273
- // this.$els.top.style.width = 8 + "%"
274
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
275
- // }
276
- },
277
- changeMain(userid) {
278
- this.$goto('res-main', {userid: this.userid}, 'self')
279
- },
280
- tabChange (name) {
281
- console.log(name,'tabchanage')
282
- this.$refs.tree.changeSelect(name)
283
- },
284
- tabcg(val){
285
- console.log(val)
286
- this.tabs = val
287
- }
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
288
294
  },
289
- computed: {
290
- nowDate () {
291
- return this.$login.getNowDate()
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
303
+ }
292
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("您有需要处理的报建待办业务!")
313
+ }
314
+ })
315
+
316
+ }
317
+ },
318
+ computed: {
319
+ nowDate () {
320
+ return this.$login.getNowDate()
293
321
  }
294
322
  }
323
+ }
295
324
  </script>
296
325
  <style lang="less">
297
- /* 组件内通用样式 */
298
- .select-error {
299
- button {
300
- 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;
301
344
  }
302
345
  }
303
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
304
- // -webkit-appearance:textfield;
305
- // }
306
- /* 表单输入框组 */
307
- .form-input-group {
308
- display: flex;
309
-
310
- label {
311
- width: 100px;
312
- text-align: right;
313
- + * {
314
- flex: 1;
315
- }
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;
316
357
  }
317
358
  }
318
- // 日期组件在表单中沾满
319
- .form-horizontal .datepicker {
359
+ .btn-group, .btn-group-vertical {
320
360
  width: 100%;
321
- }
322
- // 下拉选择框占据剩余全部空间
323
- .select-overspread {
324
- .form-group {
325
- // margin: 0px 5px 10px 0px;
326
- .form-control {
327
- margin-right: 0px;
328
- }
329
- }
330
- .btn-group, .btn-group-vertical {
361
+ // padding-right: 5px;
362
+ button {
331
363
  width: 100%;
332
- // padding-right: 5px;
333
- button {
334
- width: 100%;
335
- display: flex;
336
- justify-content: space-between;
337
- align-items: center;
338
- }
339
- }
340
- .dropdown-menu {
341
- width: 100%
364
+ display: flex;
365
+ justify-content: space-between;
366
+ align-items: center;
342
367
  }
343
368
  }
344
- // 需要特定宽度的的样式
345
- .width-60 {
346
- width: 60px;
347
- }
348
- .userpanel {
349
- font-weight: 300;
350
- color: #333;
351
- position: fixed;
352
- right: 30px;
353
- top: 45px;
354
- background-color: white;
355
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
356
- padding: 4px 10px 4px 10px;
357
- border-radius:2px;
358
- }
359
- .width-80 {
360
- width: 80px;
361
- }
362
- .width-100 {
363
- width: 100px;
364
- }
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
+ }
365
394
 
366
395
 
367
396
 
368
- /*右侧区域的背景*/
369
- .right-bg {
370
- width: 100%;
371
- flex: 1;
372
- padding: 10px 25px;
373
- color: #304A66;
374
- }
375
- .tree-flex {
376
- height: 100%;
377
- // width: 150px;
378
- /*width: 60px;*/
379
- background: #4a7cae;
380
- 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;
381
410
 
382
- }
383
- .tree-flex-icon {
384
- width: 50px;
385
- /*transition: 0.5s;*/
386
- > .span {
387
- overflow-x: visible;
388
- }
389
- }
390
- .tree-flex h3 {
391
- text-align: center;
392
- margin: 1em 0;
393
- }
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
+ }
394
423
 
395
- .tree-flex-footer {
396
- height: 150px;
397
- display: flex;
398
- flex-direction:column;
399
- color: #fff;
400
- }
401
- .tree-flex-footer a,.tree-flex-footer button{
402
- flex: 1;
403
- padding: 8px 5px;
404
- font-size: 1.2em;
405
- // border-top: 1px solid #697D93;
406
- border-top: 1px solid #4a7cae;
407
- text-decoration: none;
408
- color: #fff;
409
- cursor: pointer;
410
- }
411
- .tree-flex-footer button {
412
- height: auto;
413
- width: 100%;
414
- border-radius: 0px;
415
- background-color: rgba(255,255,255,0);
416
- border: none;
417
- border-top: 1px solid #4a7cae;
418
- // border-top: 1px solid #697D93;
419
- text-align: left;
420
- }
421
- .tree-flex-footer button:hover{
422
- outline: none;
423
- background-color: rgba(255,255,255,0.2);
424
- }
425
- .tree-flex-footer button:focus {
426
- outline: none;
427
- background-color: rgba(255,255,255,0.5);
428
- }
429
- .tree-flex-footer a:hover {
430
- color: #FFF;
431
- background-color: rgba(255,255,255,0.2);
432
- }
433
- .tree-flex .btn-group {
434
- height: 50px!important;
435
- }
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
+ }
436
465
 
437
- .tree-flex .dropdown-menu {
438
- /* 控制显示列表的样式 */
439
- background: #4C637B;
440
- border-radius: 0px;
441
- color: #fff;
442
- width: auto;
443
- margin: 0px;
444
- padding: 0px;
445
- }
446
- .tree-flex .dropdown-menu-up {
447
- /* bottom,top控制上下,left和right控制左右*/
448
- left: 100%!important;
449
- top: auto!important;
450
- bottom: 0;
451
- }
452
- .tree-flex .dropdown-menu-down {
453
- /* bottom,top控制上下,left和right控制左右*/
454
- left: 100%!important;
455
- top: 0!important;
456
- }
457
- .tree-flex .dropdown-menu li{
458
- text-align: center;
459
- line-height: 50px;
460
- border-bottom: 1px solid #697D93;
461
- font-size: 1.2em;
462
- width: auto;
463
- white-space: nowrap;
464
- 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;
465
494
 
466
- }
467
- .tree-flex .dropdown-menu li + li {
468
- text-align: left;
469
- border: 0;
470
- line-height: 40px;
471
- padding-left: 15px;
472
- padding-right: 15px;
473
- font-size: 1em;
474
- cursor: pointer;
475
- }
476
- .tree-flex .dropdown-menu li + li:hover {
477
- background-color: rgba(255,255,255,0.2);
478
- }
479
- .tree-flex .dropdown-menu li a {
480
- border: none;
481
- color: #fff;
482
- height: 40px;
483
- line-height: 40px;
484
- font-size: 1em;
485
- padding: 0px;
486
- }
487
- .tree-flex .dropdown-menu li a:hover {
488
- color: #fff;
489
- background-color: rgba(255,255,255,0);
490
- }
491
- .tree-flex img{
492
- height: 1.2em;
493
- width: 1.2em;
494
- margin-right: 15px;
495
- margin-left: 5px;
496
- }
497
- .line {
498
- height: 100%;
499
- width: 5px;
500
- background: #4C637B;
501
- cursor: e-resize;
502
- }
503
- /*为树(tree)组件写的样式*/
504
- .tree-img {
505
- font-size: 1.2em;
506
- }
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
+ }
507
536
 
508
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
509
- .cutout50 {
510
- max-width: 50px;
511
- overflow:hidden;
512
- text-overflow: ellipsis;
513
- white-space: nowrap;
514
- }
537
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
538
+ .cutout50 {
539
+ max-width: 50px;
540
+ overflow:hidden;
541
+ text-overflow: ellipsis;
542
+ white-space: nowrap;
543
+ }
515
544
 
516
- /* 滚动条样式 */
517
- /*---滚动条默认显示样式--*/
518
- ::-webkit-scrollbar-thumb{
519
- // display: none;
520
- background-color:rgba(0,0,0,0.4);
521
- /*background-color:red;*/
522
- height:50px;
523
- outline-offset:-2px;
524
- /*outline:2px solid #fff;*/
525
- -webkit-border-radius:4px;
526
- /*border: 2px solid #fff;*/
527
- }
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
+ }
528
557
 
529
- /*---鼠标点击滚动条显示样式--*/
530
- ::-webkit-scrollbar-thumb:hover{
531
- // display: inherit;
532
- background-color:rgba(0,0,0,0.4);
533
- height:50px;
534
- -webkit-border-radius:4px;
535
- }
536
- /*---滚动条大小--*/
537
- ::-webkit-scrollbar{
538
- width:8px;
539
- height:8px;
540
- }
541
- /*---滚动框背景样式--*/
542
- ::-webkit-scrollbar-track-piece{
543
- /* 全透明,不显示 */
544
- background-color:rgba(255,255,255,0);
545
- -webkit-border-radius:0;
546
- }
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
+ }
547
576
  </style>