system-phone 3.0.49-4 → 3.0.49-40

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.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/src/assets/images//346/211/223/345/215/241.png +0 -0
  3. package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
  4. package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.png +0 -0
  5. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  6. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  7. package/src/assets//345/233/236/350/256/277.png +0 -0
  8. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  9. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
  10. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  11. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  12. package/src/assets//346/226/275/345/260/201.png +0 -0
  13. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  14. package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  15. package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.png +0 -0
  16. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  17. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  18. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  19. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  20. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  21. package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  22. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  23. package/src/components/AttendManage.vue +534 -415
  24. package/src/components/LoginApp.vue +13 -7
  25. package/src/components/ModifyPassWord.vue +2 -2
  26. package/src/components/OnlineManage.vue +256 -255
  27. package/src/components/PhoneImageInfo.vue +102 -0
  28. package/src/components/PhoneSafeInfo.vue +101 -101
  29. package/src/components/RightTree.vue +217 -217
  30. package/src/components/SystemSetUp.vue +332 -326
  31. package/src/components/ToolsPage.vue +182 -180
  32. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  33. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  34. package/src/filiale/yulinyuchuan/LoginApp.vue +736 -0
  35. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  36. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  37. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  38. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  39. package/src/stores/AppData.js +18 -16
  40. package/src/systemphonegrid.js +11 -40
@@ -0,0 +1,195 @@
1
+ <template>
2
+ <div class="nav-bgcolor">
3
+ <img src="../../assets/首页大图.png" style="height: 20vh; width: 96vw; margin: 8px 0 0 8px; border-radius: 10px">
4
+ <div class="auto">
5
+ <div class="row nav-bgcolor" >
6
+ <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
7
+ <img class="imgs" :src="imgback(tab.name)">
8
+ <p></p>
9
+ <p class="pagesfoot">{{tab.name}}</p>
10
+ <!--<p class="pagesfoot">{{tab.name}}&nbsp;{{tab.icon}}</p>-->
11
+ <p></p>
12
+ </div>
13
+ </div>
14
+ <!--<div class="row" style="overflow:auto;">-->
15
+ <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
16
+ <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
17
+ <!--</div>-->
18
+ </div>
19
+ </div>
20
+ </template>
21
+
22
+ <script scoped>
23
+ import Vue from 'vue'
24
+ export default {
25
+ title: '上传工作导航',
26
+ data () {
27
+ return {
28
+ titleName:'上传工作',
29
+ isMenu:true,
30
+ tabs: this.getTabs(),
31
+ text: '导航组件this',
32
+ beforeName:'上传工作',
33
+ componentName:'upload-manage',
34
+ sourcet:'竖屏'
35
+ }
36
+ },
37
+ ready () {
38
+ // this.getModelSum()
39
+ },
40
+
41
+ methods: {
42
+ // 查询本地所有需要上传得任务
43
+ getModelSum(){
44
+ for(var i = 0;i<this.tabs.length;i++){
45
+ if(this.tabs[i].link == 'zhiup-load' ){
46
+ this.getZhihuan()
47
+ }
48
+ if(this.tabs[i].link == 'weiup-load' ){
49
+ this.getRepair()
50
+ }
51
+ if(this.tabs[i].link == 'upload-page' ){
52
+ this.getSafeCheck()
53
+ }
54
+ }
55
+
56
+ },
57
+ getRepair(){
58
+ var _this = this;
59
+ this.timeoutRepair = window.setInterval(function() {
60
+ let result = _this.$androidUtil.path({'alias':'notUpload','data': {f_workorder_type: '报修单'}})
61
+ if (result.code === 200) {
62
+ console.log('查询得到的代办2' + JSON.stringify(result))
63
+ var crv = {
64
+ title: '维修上传',
65
+ sum: result.data.length
66
+ }
67
+ _this.changesum(crv)
68
+ }
69
+ }, 6000)
70
+ },
71
+ getSafeCheck(){
72
+ var _this = this;
73
+ this.timeoutRepair = window.setInterval(function() {
74
+ let result = _this.$androidUtil.path({'alias':'safecheckNotUpload','data': {}})
75
+ if (result.code === 200) {
76
+ console.log('查询得到的安检上传' + JSON.stringify(result))
77
+ var crv = {
78
+ title: '安检上传',
79
+ sum: result.data.length
80
+ }
81
+ _this.changesum(crv)
82
+ }
83
+ }, 6000)
84
+ },
85
+ getZhihuan(){
86
+ var _this = this;
87
+ this.timeoutZhihuan = window.setInterval(function() {
88
+ let result = _this.$androidUtil.path({'alias':'notUpload','data': {f_workorder_type: '置换通气单'}})
89
+ if (result.code === 200) {
90
+ console.log('查询得到的代办2' + JSON.stringify(result))
91
+ var crv = {
92
+ title: '置换上传',
93
+ sum: result.data.length
94
+ }
95
+ _this.changesum(crv)
96
+ }
97
+ }, 6000)
98
+ },
99
+ changesum(titdata){
100
+ for(var i = 0;i<this.tabs.length;i++){
101
+ if(this.tabs[i].name == titdata.title){
102
+ this.tabs[i].icon = titdata.sum + '单'
103
+ console.log(JSON.stringify(this.tabs[i].icon))
104
+ return
105
+ }
106
+ }
107
+ },
108
+ getTabs(){
109
+ for(let funs in Vue.functions){
110
+ if(Vue.functions[funs].link == 'upload-manage'){
111
+ return Vue.functions[funs].children
112
+ }
113
+ }
114
+ },
115
+ imgback(val){
116
+ return require('../../assets/'+val+'.png')
117
+ },
118
+ // 返回主界面
119
+ back(){
120
+ this.titleName = '主界面'
121
+ this.isMenu = true
122
+
123
+ },
124
+ gotopage(param,title) {
125
+ console.log('进入子组件')
126
+ var prpdata = {
127
+ _this:this,
128
+ title:title,
129
+ safe:false
130
+ }
131
+ this.$dispatch('gotoson',prpdata)
132
+ this.$goto(param,{sourcet:'竖屏',tabname:title})
133
+ },
134
+ mute () {
135
+ HostApp.mute()
136
+ }
137
+ },
138
+ }
139
+ </script>
140
+ <style lang="less">
141
+ .tab-befor-img {
142
+ content: '';
143
+ background-size: 30px;
144
+ display: inline-block;
145
+ margin-right: 8px;
146
+ height: 30px;
147
+ width: 30px;
148
+ vertical-align: -35%;
149
+ }
150
+ .pageskuang{
151
+ vertical-align:middle;
152
+ display:table-cell;
153
+ width: 32%;
154
+ top:-50%;
155
+ margin-top: 1%;
156
+ margin-left: 1%;
157
+ border:1px solid #e3e3e3;
158
+ text-align: center;
159
+ background-color: #ffffff;
160
+ }
161
+ .pgesfoot{
162
+ font-size: 14px;
163
+ color: #666666;
164
+ /* font-family: "Pingfhs";*/
165
+ }
166
+ .imgs{
167
+ width: 35px;
168
+ margin-top: 15px;
169
+ height: 39px;
170
+ }
171
+ .pages-bgcolor{
172
+ text-align: center;
173
+ background-color: #f0f0ef;
174
+ }
175
+ img[src=""],img:not([src]){
176
+ opacity: 0;
177
+ border:none;
178
+ visibility: hidden;
179
+ max-width: none;
180
+ }
181
+
182
+ .manbiankuang{
183
+ width: 44%;
184
+ margin-top: 15px;
185
+ margin-left: 4%;
186
+ border:1px solid #e3e3e3;
187
+ border-radius:10px 10px 10px 10px;
188
+ text-align: center;
189
+ background-color: #ffffff;
190
+ }
191
+
192
+ .nav-bgcolor{
193
+ background-color: #ffffff;
194
+ }
195
+ </style>
@@ -0,0 +1,9 @@
1
+ let specialComp = {
2
+ 'login-app': (resolve) => { require(['./LoginApp'], resolve) },
3
+ 'already-service': (resolve) => { require(['./AlreadyService'], resolve) },
4
+ 'attend-manage': (resolve) => { require(['./AttendManage'], resolve) },
5
+ 'upload-manage': (resolve) => { require(['./UploadManage'], resolve) },
6
+ 'online-manage': (resolve) => { require(['./OnlineManage'], resolve) },
7
+ 'system-setup': (resolve) => { require(['./SystemSetUp'], resolve) },
8
+ }
9
+ exports.specialComp = specialComp
@@ -7,7 +7,7 @@ let GetAppDataService = {
7
7
  },
8
8
 
9
9
  // 开启卡监听
10
- async load () {
10
+ async load (noSale) {
11
11
  let result = await new HttpResetClass().load('POST',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getInitData`, {data: {f_filialeids: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
12
12
  console.log('system加载参数')
13
13
  console.log(JSON.stringify(result))
@@ -23,22 +23,24 @@ let GetAppDataService = {
23
23
  })
24
24
  this.params[item.name] = value
25
25
  })
26
- let getParams = await new HttpResetClass().load('post',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getSaleInitData`, {data: {f_orgid: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
27
- console.log('获取营收参数')
28
- console.log(JSON.stringify(getParams))
29
- if (getParams.data) {
30
- getParams.data.gasbrands.forEach((item, index) => {
31
- this.saleParams.gasbrands[index] = {}
32
- this.saleParams.gasbrands[index].label = item.f_meter_brand
33
- this.saleParams.gasbrands[index].value = item.f_meter_brand
34
- let gasmodel = []
35
- item.gasmodel.forEach((item, index) => {
36
- gasmodel[index] = {}
37
- gasmodel[index].label = item.f_meter_style
38
- gasmodel[index].value = item.f_meter_style
26
+ if (!noSale){
27
+ let getParams = await new HttpResetClass().load('post',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getSaleInitData`, {data: {f_orgid: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
28
+ console.log('获取营收参数')
29
+ console.log(JSON.stringify(getParams))
30
+ if (getParams.data) {
31
+ getParams.data.gasbrands.forEach((item, index) => {
32
+ this.saleParams.gasbrands[index] = {}
33
+ this.saleParams.gasbrands[index].label = item.f_meter_brand
34
+ this.saleParams.gasbrands[index].value = item.f_meter_brand
35
+ let gasmodel = []
36
+ item.gasmodel.forEach((item, index) => {
37
+ gasmodel[index] = {}
38
+ gasmodel[index].label = item.f_meter_style
39
+ gasmodel[index].value = item.f_meter_style
40
+ })
41
+ this.params[item.f_meter_brand] = gasmodel
39
42
  })
40
- this.params[item.f_meter_brand] = gasmodel
41
- })
43
+ }
42
44
  }
43
45
  },
44
46
 
@@ -7,7 +7,7 @@ import GetStringData from './plugins/GetStringData'
7
7
 
8
8
  /** **************************通用组件******************************/
9
9
 
10
- export default function () {
10
+ export default function (filiale) {
11
11
  Vue.use(GetAppDataService)
12
12
  Vue.use(GetStringData)
13
13
  // 测试
@@ -78,6 +78,9 @@ export default function () {
78
78
  Vue.component('phone-repair-info', (resolve) => {
79
79
  require(['./components/PhoneRepairInfo'], resolve)
80
80
  })
81
+ Vue.component('phone-image-info', (resolve) => {
82
+ require(['./components/PhoneImageInfo'], resolve)
83
+ })
81
84
  // 用户信息查找
82
85
  Vue.component('phone-safe-info', (resolve) => {
83
86
  require(['./components/PhoneSafeInfo'], resolve)
@@ -167,44 +170,12 @@ export default function () {
167
170
  Vue.component('config-info', (resolve) => {
168
171
  require(['./components/info/ConfigInfo'], resolve)
169
172
  })
170
- //手机大屏
171
- // Vue.component('total-user-number', (resolve) => {
172
- // require(['./components/screen/TotalUserNumber'], resolve)
173
- // })
174
- // Vue.component('content-page', (resolve) => {
175
- // require(['./components/screen/ContentPage'], resolve)
176
- // })
177
- // Vue.component('module-title', (resolve) => {
178
- // require(['./components/screen/ModuleTitle'], resolve)
179
- // })
180
- // Vue.component('work-order-item', (resolve) => {
181
- // require(['./components/screen/WorkOrderItem'], resolve)
182
- // })
183
- // Vue.component('gongdan-content-page', (resolve) => {
184
- // require(['./components/screen/GongdanContentPage'], resolve)
185
- // })
186
- // Vue.component('work-order-right-item', (resolve) => {
187
- // require(['./components/screen/WorkOrderRightItem'], resolve)
188
- // })
189
- // Vue.component('work-order-right-down-item', (resolve) => {
190
- // require(['./components/screen/WorkOrderRightDownItem'], resolve)
191
- // })
192
- // Vue.component('total-item', (resolve) => {
193
- // require(['./components/screen/TotalItem'], resolve)
194
- // })
195
- // Vue.component('charge-content-page', (resolve) => {
196
- // require(['./components/screen/ChargeContentPage'], resolve)
197
- // })
198
- // Vue.component('list-count-item', (resolve) => {
199
- // require(['./components/screen/ListCountItem'], resolve)
200
- // })
201
- // Vue.component('safeorder-content-page', (resolve) => {
202
- // require(['./components/screen/SafeOrderContentPage'], resolve)
203
- // })
204
- // Vue.component('security-check-item', (resolve) => {
205
- // require(['./components/screen/SecurityCheckItem'], resolve)
206
- // })
207
173
 
208
- // // 只加载参数(只有下拉框所需参数)
209
- // Vue.component('alone-load-params', (resolve) => { require(['./components/AloneLoadParams'], resolve) })
174
+ // 分公司特殊页面注册替换
175
+ if (filiale) {
176
+ let filialeComp = require(`./filiale/${filiale}/systemphonegrid`).specialComp
177
+ for (let key in filialeComp) {
178
+ Vue.component(key, filialeComp[key])
179
+ }
180
+ }
210
181
  }