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
| (function(vc) {
| vc.extends({
| data: {
| propertyIndexInfo: {
| storeTypeCd: '',
| }
| },
| _initMethod: function() {
| setTimeout(function(){
| $that._computeStoreTypeCd();
|
| },1000)
| },
| _initEvent: function() {
|
| },
| methods: {
| _computeStoreTypeCd:function(){
| let _getUserInfo = vc.getData('/nav/getUserInfo')
| if(_getUserInfo){
| $that.propertyIndexInfo.storeTypeCd = _getUserInfo.storeTypeCd
| }
|
| if($that.propertyIndexInfo.storeTypeCd == '800900000003'){
| vc.emit('indexCommunityView','initData',{});
| vc.emit('indexNotice','initData',{});
| vc.emit('indexRepairComplaint','initData',{});
| vc.emit('indexOwnerRoom','initData',{});
| }
|
| if($that.propertyIndexInfo.storeTypeCd == '800900000001'){
| vc.emit('adminIndex', 'initData',{})
| }
|
| if($that.propertyIndexInfo.storeTypeCd == '800900000000'){
| vc.emit('devIndex', 'initData',{})
| }
|
| }
| }
| })
| })(window.vc);
|
|