system-clients 3.2.67 → 3.2.69
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.
- package/package.json +1 -1
- package/src/App.vue +24 -24
- package/src/components/Main.vue +42 -0
- package/src/components/server/Login.vue +3 -1
- package/src/filiale/yuchuan/Main.vue +864 -869
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
<template>
|
2
|
-
<app-base class="bg">
|
3
|
-
<div class='flex'>
|
4
|
-
<article>
|
5
|
-
<!--<route :comp="{name: 'check-model'}"></route>-->
|
6
|
-
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
7
|
-
<route :comp="{name: 'login'}"></route>
|
8
|
-
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
9
|
-
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
10
|
-
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
11
|
-
</article>
|
12
|
-
</div>
|
13
|
-
</app-base>
|
14
|
-
</template>
|
15
|
-
|
16
|
-
<script>
|
17
|
-
// import cardListen from './plugins/CardListen'
|
18
|
-
|
19
|
-
export default {
|
20
|
-
// ready () {
|
21
|
-
// cardListen.startListen()
|
22
|
-
// }
|
23
|
-
}
|
24
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<app-base class="bg">
|
3
|
+
<div class='flex'>
|
4
|
+
<article>
|
5
|
+
<!--<route :comp="{name: 'check-model'}"></route>-->
|
6
|
+
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
7
|
+
<route :comp="{name: 'login'}"></route>
|
8
|
+
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
9
|
+
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
10
|
+
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
11
|
+
</article>
|
12
|
+
</div>
|
13
|
+
</app-base>
|
14
|
+
</template>
|
15
|
+
|
16
|
+
<script>
|
17
|
+
// import cardListen from './plugins/CardListen'
|
18
|
+
|
19
|
+
export default {
|
20
|
+
// ready () {
|
21
|
+
// cardListen.startListen()
|
22
|
+
// }
|
23
|
+
}
|
24
|
+
</script>
|
package/src/components/Main.vue
CHANGED
@@ -128,6 +128,10 @@
|
|
128
128
|
<label class="col-sm-2">预约待办:</label>
|
129
129
|
<span style="font-weight:normal">{{OrderDaiBan}}</span>
|
130
130
|
</div>
|
131
|
+
<div class="col-sm-12 " v-if="flowDaiBan !==''">
|
132
|
+
<label class="col-sm-2">流程审核待办:</label>
|
133
|
+
<span style="font-weight:normal">{{flowDaiBan}}</span>
|
134
|
+
</div>
|
131
135
|
</div>
|
132
136
|
</form>
|
133
137
|
</article>
|
@@ -220,6 +224,7 @@ let createWaterMark = function (userName) {
|
|
220
224
|
newTipContextShow: false,
|
221
225
|
AppDaiBan: '',
|
222
226
|
OrderDaiBan: '',
|
227
|
+
flowDaiBan: '',
|
223
228
|
// 左侧树下部三个小图标
|
224
229
|
imgs: {
|
225
230
|
open: '/images/lefticon/菜单伸缩.png',
|
@@ -304,6 +309,9 @@ let createWaterMark = function (userName) {
|
|
304
309
|
}
|
305
310
|
// 获取预约列表
|
306
311
|
this.functions.f_role_name && this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
|
312
|
+
if (this.config.approve) {
|
313
|
+
this.getFlowList()
|
314
|
+
}
|
307
315
|
},
|
308
316
|
methods: {
|
309
317
|
getOrderList(){
|
@@ -317,6 +325,19 @@ let createWaterMark = function (userName) {
|
|
317
325
|
console.log('捕获到异常', error)
|
318
326
|
}
|
319
327
|
},
|
328
|
+
// 获取审核待办
|
329
|
+
getFlowList(){
|
330
|
+
console.log('======获取流程审核待办=====')
|
331
|
+
let times = this.config.approveTimes * 60 * 1000
|
332
|
+
console.log("=定时提示间隔=", times)
|
333
|
+
try {
|
334
|
+
this.interval = setInterval(() => {
|
335
|
+
this.getFlowDaiBan()
|
336
|
+
}, times)
|
337
|
+
} catch (error) {
|
338
|
+
console.log('捕获到异常', error)
|
339
|
+
}
|
340
|
+
},
|
320
341
|
getTimesgotoWorkOrderSite(){
|
321
342
|
let teltimes = 2*60*1000 // 两分钟
|
322
343
|
try {
|
@@ -327,6 +348,27 @@ let createWaterMark = function (userName) {
|
|
327
348
|
console.log('捕获到异常', e)
|
328
349
|
}
|
329
350
|
},
|
351
|
+
async getFlowDaiBan(){
|
352
|
+
this.flowDaiBan = ''
|
353
|
+
let http = new HttpResetClass()
|
354
|
+
let data = {
|
355
|
+
condition: `f_handler = '${this.$login.f.name}'`
|
356
|
+
}
|
357
|
+
await http.load('POST', 'rs/sql/future_getMyWorkFlowList', {data: data}, {
|
358
|
+
resolveMsg: null,
|
359
|
+
rejectMsg: null
|
360
|
+
}).then((res) => {
|
361
|
+
if (res.data.length > 0){
|
362
|
+
this.flowDaiBan = `您有${res.data.length}条需要处理的审核流程业务!`
|
363
|
+
}
|
364
|
+
}).catch((e)=>{
|
365
|
+
console.log('报错了!!')
|
366
|
+
console.error(e)
|
367
|
+
})
|
368
|
+
if(this.flowDaiBan){
|
369
|
+
this.newTipShow = true
|
370
|
+
}
|
371
|
+
},
|
330
372
|
async getDaiBan(){
|
331
373
|
this.OrderDaiBan = ''
|
332
374
|
this.AppDaiBan = ''
|
@@ -85,7 +85,7 @@
|
|
85
85
|
技术支持:西安奥枫软件有限公司
|
86
86
|
</div>
|
87
87
|
<div class="login-foot" v-show="$login.BAinformation">
|
88
|
-
{{ $login.BAinformation }}
|
88
|
+
{{{ $login.BAinformation }}}
|
89
89
|
</div>
|
90
90
|
|
91
91
|
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
|
@@ -314,6 +314,8 @@ export default {
|
|
314
314
|
msgRole : '预约处理人员',
|
315
315
|
// 定时获取提示间隔 单位:分钟
|
316
316
|
times: 25,
|
317
|
+
approve: false, // 是否获取审核提醒
|
318
|
+
approveTimes: 1 // 审核时间见间隔
|
317
319
|
},
|
318
320
|
titleShow: true, //标题显示
|
319
321
|
otherLogin:false,
|