system-phone 3.0.49-6 → 3.0.49-61

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 (64) 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/205/266/344/273/226/346/224/266/350/264/271.png +0 -0
  5. package/src/assets//345/205/266/344/273/226/346/224/266/350/264/271/346/212/245/350/241/250.png +0 -0
  6. package/src/assets//345/206/214/345/206/205/346/216/222/345/272/217/344/277/256/346/224/271.png +0 -0
  7. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  8. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  9. package/src/assets//345/233/236/350/256/277.png +0 -0
  10. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  11. package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
  12. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
  13. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
  14. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  15. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  16. package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  17. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  18. package/src/assets//345/256/211/346/243/200/346/203/205/345/206/265/346/237/245/347/234/213.png +0 -0
  19. 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
  20. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  21. package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
  22. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  23. package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
  24. package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
  25. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  26. package/src/assets//346/212/245/345/273/272/344/270/232/345/212/241.png +0 -0
  27. package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
  28. package/src/assets//346/212/245/345/273/272/346/224/266/350/264/271/346/237/245/350/257/242.png +0 -0
  29. package/src/assets//346/226/275/345/260/201.png +0 -0
  30. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  31. package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  32. package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  33. package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
  34. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  35. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  36. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  37. package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
  38. package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
  39. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  40. package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
  41. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  42. package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
  43. package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  44. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  45. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  46. package/src/components/AttendManage.vue +534 -415
  47. package/src/components/LoginApp.vue +19 -11
  48. package/src/components/ModifyPassWord.vue +2 -2
  49. package/src/components/OnlineManage.vue +256 -255
  50. package/src/components/PhoneImageInfo.vue +102 -0
  51. package/src/components/PhoneSafeInfo.vue +101 -101
  52. package/src/components/PhoneSellInfo.vue +25 -0
  53. package/src/components/RightTree.vue +217 -217
  54. package/src/components/SystemSetUp.vue +332 -326
  55. package/src/components/ToolsPage.vue +199 -180
  56. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  57. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  58. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
  59. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  60. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  61. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  62. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  63. package/src/stores/AppData.js +47 -19
  64. package/src/systemphonegrid.js +181 -210
@@ -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,14 +7,28 @@ let GetAppDataService = {
7
7
  },
8
8
 
9
9
  // 开启卡监听
10
- async load () {
11
- let result = await new HttpResetClass().load('POST',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getInitData`, {data: {f_filialeids: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
10
+ async load (noSale) {
11
+ let url1 = `${Vue.androidUtil.getProxyUrl()}/rs/logic/getInitData`
12
+ if(Vue.isv4){
13
+ url1 = `${Vue.androidUtil.getProxyUrl()}/api/af-system/logic/getInitData`
14
+ }
15
+ let result = await new HttpResetClass().load('POST',url1, {data: {f_filialeids: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
12
16
  console.log('system加载参数')
13
17
  console.log(JSON.stringify(result))
14
- result.data.singleValues.forEach((item) => {
18
+ let newdata = {
19
+ singleValues : result.data.singleValues,
20
+ params: result.data.params
21
+ }
22
+ if(Vue.isv4 && result.data.code == 200){
23
+ newdata = {
24
+ singleValues : result.data.data.singleValues,
25
+ params: result.data.data.params
26
+ }
27
+ }
28
+ newdata.singleValues.forEach((item) => {
15
29
  this.singleValues[item.name] = item.value
16
30
  })
17
- result.data.params.forEach((item) => {
31
+ newdata.params.forEach((item) => {
18
32
  let value = []
19
33
  item.f_paramvalues.forEach((item, index) => {
20
34
  value[index] = {}
@@ -23,22 +37,36 @@ let GetAppDataService = {
23
37
  })
24
38
  this.params[item.name] = value
25
39
  })
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
40
+ if (!noSale){
41
+ let url2 = `${Vue.androidUtil.getProxyUrl()}/rs/logic/getSaleInitData`
42
+ if(Vue.isv4){
43
+ url2 = `${Vue.androidUtil.getProxyUrl()}/api/af-revenue/logic/getSaleInitData`
44
+ }
45
+ let getParams = await new HttpResetClass().load('post',url2, {data: {f_orgid: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
46
+ console.log('获取营收参数')
47
+ console.log(JSON.stringify(getParams))
48
+ let newsaledata = {
49
+ gasbrands : getParams.data.gasbrands
50
+ }
51
+ if(Vue.isv4 && getParams.data.code == 200){
52
+ newsaledata = {
53
+ gasbrands : getParams.data.data.gasbrands
54
+ }
55
+ }
56
+ if (newsaledata) {
57
+ newsaledata.gasbrands.forEach((item, index) => {
58
+ this.saleParams.gasbrands[index] = {}
59
+ this.saleParams.gasbrands[index].label = item.f_meter_brand
60
+ this.saleParams.gasbrands[index].value = item.f_meter_brand
61
+ let gasmodel = []
62
+ item.gasmodel.forEach((item, index) => {
63
+ gasmodel[index] = {}
64
+ gasmodel[index].label = item.f_meter_style
65
+ gasmodel[index].value = item.f_meter_style
66
+ })
67
+ this.params[item.f_meter_brand] = gasmodel
39
68
  })
40
- this.params[item.f_meter_brand] = gasmodel
41
- })
69
+ }
42
70
  }
43
71
  },
44
72