taizhang.vue
15.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
<template>
<view class="box">
<!-- 任务分配 -->
<view class="unlogin" @click="tuichulogin">退出登录</view>
<view class="taizhangpage">
<!-- -->
<view class="fenxi" v-if="showhide==''?false:showhide[4].status==0||showhide[4].status!=2">
<!-- v-if="showhide[4].status==0||showhide[4].status!=2" -->
<view class="fenxiname" >任务分配</view>
<view class="renwulist">
<!-- v-if="showhide[4].status==0" -->
<view class="renwulistitem item" @click="xiangmufen" v-if="showhide==''?false:showhide[4].status==0">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/fenpei.png" mode=""></image>
</view>
<view class="renwuname">项目组分配</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem item" @click="danweifen" v-if="showhide==''?false:showhide[4].status!=2">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/danwei.png" mode=""></image>
</view>
<view class="renwuname">咨询单位分配</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<!-- v-if="showhide[1].status==0" -->
<view class="renwulistitem item" @click="zhuanjiafen" v-if="showhide==''?false:showhide[1].status==0">
<view class="renwuleft">
<view class="renwulimg zimg">
<image src="../../static/img/zhuanjia.png" mode=""></image>
</view>
<view class="renwuname">专家分配</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
</view>
<!-- 审结项目台账 -->
<!-- v-if="showhide[4].status!=2" -->
<view class="fenxi" v-if="showhide==''?false:showhide[4].status!=2">
<view class="fenxiname">在审项目</view>
<view class="renwulist">
<view class="renwulistitem" @click="examine" :data-id="1">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/yudauntai.png" mode=""></image>
</view>
<view class="renwuname">预算项目审核</view>
</view>
</view>
<view class="renwulistitem" @click="examine" :data-id="2">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/shenjie.png" mode=""></image>
</view>
<view class="renwuname">结算项目审核</view>
</view>
</view>
</view>
<view class="renwulist">
<view class="renwulistitem" @click="examine" :data-id="3">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/juesuantai.png" mode=""></image>
</view>
<view class="renwuname">决算项目审核</view>
</view>
</view>
<view class="renwulistitem" @click="examine" :data-id="4">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/tudi.png" mode=""></image>
</view>
<view class="renwuname">土地成本项目审核</view>
</view>
</view>
</view>
</view>
<!-- 项目过程 -->
<view class="fenxi">
<view class="fenxiname">项目过程</view>
<view class="renwulist">
<view class="renwulistitem" @click="progressproject">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/fenpei.png" mode=""></image>
</view>
<view class="renwuname">项目在审过程</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
</view>
<!-- 所有项目台账 -->
<view class="fenxi">
<view class="fenxiname">所有项目台账</view>
<view class="renwulist">
<view class="renwulistitem taiitem1" @click="yusuan">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/yudauntai.png" mode=""></image>
</view>
<view class="renwuname">预算项目台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem taiitem1" @click="xiangmuzu">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/tudi.png" mode=""></image>
</view>
<view class="renwuname">项目组台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem taiitem1" @click="xiangmutai">
<view class="renwuleft">
<view class="renwulimg zimg">
<image src="../../static/img/xiangtai.png" mode=""></image>
</view>
<view class="renwuname">项目台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
<view class="renwulist">
<view class="renwulistitem taiitem2" @click="jiesuan">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/jiesuantai.png" mode=""></image>
</view>
<view class="renwuname">结算项目台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem taiitem2" @click="juesuan">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/juesuantai.png" mode=""></image>
</view>
<view class="renwuname">决算项目台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem taiitem2" @click="zhuguan">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/tudi.png" mode=""></image>
</view>
<view class="renwuname">主管部门台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
<view class="renwulist">
<view class="renwulistitem taiitem3" @click="land">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/tudi.png" mode=""></image>
</view>
<view class="renwuname">土地成本台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
</view>
<!-- 审结项目台账 -->
<view class="fenxi">
<view class="fenxiname">审结项目台账</view>
<view class="renwulist">
<view class="renwulistitem shenjieitem" @click="zixundanei">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/zixun.png" mode=""></image>
</view>
<view class="renwuname">咨询单位分类台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem shenjieitem" @click="shenjian">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/shenjian.png" mode=""></image>
</view>
<view class="renwuname">审减率分类台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem shenjieitem" @click="songshen">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/songshen.png" mode=""></image>
</view>
<view class="renwuname">送审金额分类台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem shenjieitem" @click="leixing">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/xiangfenlei.png" mode=""></image>
</view>
<view class="renwuname">项目类型分类台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem shenjieitem" @click="zhuanjia">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/zhuanjaifenlei.png" mode=""></image>
</view>
<view class="renwuname">专家分类台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
<view class="renwulistitem shenjieitem" @click="qushi">
<view class="renwuleft">
<view class="renwulimg">
<image src="../../static/img/qushi.png" mode=""></image>
</view>
<view class="renwuname">项目趋势台账</view>
</view>
<!-- <view class="renwuright">
<image src="../../static/img/yourow.png" mode=""></image>
</view> -->
</view>
</view>
</view>
</view>
<view class="tabfooter">
<!-- v-if="isshow" -->
<!-- v-if="showhide[3].status==0" -->
<view class="tabfooteritem" @click="gocenter" v-if="showhide==''?false:showhide[3].status==0">
<view class="tabfooteritemimg">
<image src='../../static/img/daiban.png'></image>
</view>
<view class="tabfooteritemtop ">
我的任务
</view>
</view>
<view class="tabfooteritem">
<view class="tabfooteritemimg">
<image src='../../static/img/renwuactive.png'></image>
</view>
<view class="tabfooteritemtop tabfooteritemtopactive">
功能中心
</view>
</view>
</view>
</view>
</template>
<script>
import app from "../../App.vue";
export default {
data() {
return {
showhide: [
{
"menuname": "bd_distribution",
"status": "1"
}, {
"menuname": "bd_expertdistribution",
"status": "1"
}, {
"menuname": "bd_advisory",
"status": "1"
}, {
"menuname": "prj_votesub",
"status": "1"
},
{
"menuname": "prj_votesub",
"status": "1"
}
],
renwushow:false,
isshow:false
}
},
onLoad() {
// 获取台账列表
this.showhideproject()
},
methods: {
// 项目审核sss
examine(e){
let id=e.currentTarget.dataset.id;
uni.navigateTo({
url:'/pages/budgetshenhe/budgetshenhe?type='+id
})
},
// 菜单显示和隐藏 项目组分配
async showhideproject() {
let that = this;
console.log(9988776655)
let url = "project/Get_Menuhiding";
let param = {
fuserid: uni.getStorageSync("userid"),
role: uni.getStorageSync("role")
}
console.log('8877665544', param)
let r=await app.post(url,param,'get')
try{
that.showhide = r.data;;
console.log('我是showhide',that.showhide)
// if(that.showhide[3].status==0){
// that.isshow=true
// }
// if(showhide[4].status==0||showhide[4].status!=2){
// }
uni.setStorageSync("showhide", r.data)
}catch(err){
console.log(err)
}
// app.post(url, param, 'get').then(r => {
// console.log(r);
// that.showhide = r.data;
// uni.setStorageSync("showhide", r.data)
// console.log(that.showhide)
// }).catch(err => {
// console.log(err)
// })
},
// 任务分配
xiangmufen() {
uni.navigateTo({
url: '../zixunfen/zixunfen'
})
},
// 咨询单位
danweifen() {
uni.navigateTo({
url: '../danweizixun/danweizixun'
})
},
// 专家分配
zhuanjiafen() {
uni.navigateTo({
url: '../zhuanjiafenpei/zhuanjiafenpei'
})
},
// 项目过程
progressproject() {
uni.navigateTo({
url: '../guocheng/guocheng',
})
},
xiangmutai() {
uni.navigateTo({
url: '../xiangmutaizhang/xiangmutaizhang'
})
},
// 预算项目台账
yusuan: function(event) {
console.log(event)
// let type=
uni.navigateTo({
url: '../yusuantaizhang/yusuantaizhang?type=1'
})
},
jiesuan() {
uni.navigateTo({
url: '../yusuantaizhang/yusuantaizhang?type=2'
})
},
juesuan() {
uni.navigateTo({
url: '../yusuantaizhang/yusuantaizhang?type=3'
})
},
land() {
uni.navigateTo({
url: '../yusuantaizhang/yusuantaizhang?type=4'
})
},
// 主管部门台账
zhuguan() {
uni.navigateTo({
url: '../zhuguantaizhang/zhugauntaizhang?type=5'
})
},
// 项目组台账
xiangmuzu() {
uni.navigateTo({
url: '../xiangmuzutaizhang/xiangmuzutaizhang'
})
},
// 咨询单位分台账
zixundanei() {
uni.navigateTo({
url: '../zixundanweihuizong/zixundanweihuizong'
})
},
// 审减率汇总
shenjian() {
uni.navigateTo({
url: '../shenjianhuizong/shenjianhuizong?type=1'
})
},
// 送审
songshen() {
uni.navigateTo({
url: '../songshenjine/songshenjine?type=2'
})
},
// 项目类型台账
leixing() {
uni.navigateTo({
url: '../xiangmuleixinghui/xiangmuleixinghui'
})
},
// 专家分类台账
zhuanjia() {
uni.navigateTo({
url: '../zhuanjiahui/zhuanjiahui'
})
},
// 项目趋势
qushi() {
uni.navigateTo({
url: '../tubiao/tubiao'
})
},
tuichulogin() {
uni.navigateTo({
url: '../index/index'
})
},
gocenter() {
uni.navigateTo({
url: '../daiban/daiban'
})
}
}
}
</script>
<style>
.unlogin {
width: 150rpx;
height: 64rpx;
background: rgba(0, 147, 255, 1);
opacity: 1;
border-radius: 8rpx;
color: #fff;
font-size: 24rpx;
text-align: center;
line-height: 64rpx;
position: absolute;
right: 0;
top: 40rpx;
}
.fenxiname {
padding: 44rpx 32rpx 28rpx;
box-sizing: border-box;
color: #3D444D;
font-size: 36rpx;
font-weight: bold;
}
.renwulimg {
width: 68rpx;
height: 68rpx;
font-size: 0;
}
.renwulimg image {
width: 100%;
height: 100%;
}
.renwuright {
width: 13rpx;
height: 23rpx;
font-size: 0;
}
.renwuright image {
width: 100%;
height: 100%;
}
.renwulist {
padding: 0 32rpx;
box-sizing: border-box;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.renwulistitem {
/* width:180rpx; */
display: flex;
align-items: center;
/* justify-content: space-between; */
padding: 32rpx 0;
box-sizing: border-box;
margin-right: 20rpx;
/* border-bottom: 1rpx solid #EEEEEE; */
}
.renwuleft {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.renwuname {
color: #3D444D;
font-size: 28rpx;
margin-left: 20rpx;
letter-spacing: 2rpx;
margin-top: 15rpx;
}
/* .item{
width: 210rpx;
justify-content: flex-start;
margin-right:0;
align-items: center;
} */
.taiitem1 {
width: 226rpx;
justify-content: flex-start;
margin-right: 0
}
.shenjieitem {
width: 280rpx;
justify-content: center;
}
.zimg {
margin-left: 20rpx;
}
.taizhangpage {
margin-bottom: 150rpx;
}
</style>