system-phone 3.0.45 → 3.0.47
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 +100 -100
- package/src/assets//347/263/273/347/273/237/347/211/210/346/234/254.png +0 -0
- package/src/assets//351/231/220/350/264/255/347/256/241/347/220/206.png +0 -0
- package/src/components/AttendManage.vue +415 -471
- package/src/components/LoginApp.vue +724 -724
- package/src/components/OnlineManage.vue +15 -122
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/PhoneUserFind.vue +138 -138
- package/src/components/SystemSetUp.vue +10 -0
- package/src/components/info/ConfigInfo.vue +122 -122
- package/src/components/info/FindUserInfo.vue +157 -157
- package/src/components/info/InfoTable.vue +37 -37
- package/src/systemphonegrid.js +206 -206
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
isMenu: true,
|
|
41
41
|
tabs: this.getTabs(),
|
|
42
42
|
text: '导航组件this',
|
|
43
|
-
isShowRedNum:this.$appdata.getSingleValue('
|
|
43
|
+
isShowRedNum:this.$appdata.getSingleValue('手机端获取任务条数'),
|
|
44
44
|
beforeName: '在线业务',
|
|
45
45
|
sourcet: '竖屏',
|
|
46
46
|
pointNum: null,
|
|
@@ -49,67 +49,11 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
ready() {
|
|
52
|
-
|
|
52
|
+
this.getRepairNum()
|
|
53
|
+
this.getInfoNum()
|
|
54
|
+
this.getmeterNum()
|
|
53
55
|
},
|
|
54
|
-
|
|
55
56
|
methods: {
|
|
56
|
-
//看去哪个页面
|
|
57
|
-
getModelSum() {
|
|
58
|
-
for (var i = 0; i < this.tabs.length; i++) {
|
|
59
|
-
if (this.tabs[i].link == 'readmeter-home') {
|
|
60
|
-
this.getZhihuan()
|
|
61
|
-
}
|
|
62
|
-
if (this.tabs[i].link == 'weiup-load') {
|
|
63
|
-
this.getRepair()
|
|
64
|
-
}
|
|
65
|
-
if (this.tabs[i].link == 'upload-page') {
|
|
66
|
-
this.getSafeCheck()
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
getRepair() {
|
|
72
|
-
var _this = this;
|
|
73
|
-
this.timeoutRepair = window.setInterval(function () {
|
|
74
|
-
let result = _this.$androidUtil.path({'alias': 'notUpload', 'data': {f_workorder_type: '报修单'}})
|
|
75
|
-
if (result.code === 200) {
|
|
76
|
-
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
77
|
-
var crv = {
|
|
78
|
-
title: '维修上传',
|
|
79
|
-
sum: result.data.length
|
|
80
|
-
}
|
|
81
|
-
_this.changesum(crv)
|
|
82
|
-
}
|
|
83
|
-
}, 6000)
|
|
84
|
-
},
|
|
85
|
-
getSafeCheck() {
|
|
86
|
-
var _this = this;
|
|
87
|
-
this.timeoutRepair = window.setInterval(function () {
|
|
88
|
-
let result = _this.$androidUtil.path({'alias': 'safecheckNotUpload', 'data': {}})
|
|
89
|
-
if (result.code === 200) {
|
|
90
|
-
console.log('查询得到的安检上传' + JSON.stringify(result))
|
|
91
|
-
var crv = {
|
|
92
|
-
title: '安检上传',
|
|
93
|
-
sum: result.data.length
|
|
94
|
-
}
|
|
95
|
-
_this.changesum(crv)
|
|
96
|
-
}
|
|
97
|
-
}, 6000)
|
|
98
|
-
},
|
|
99
|
-
getZhihuan() {
|
|
100
|
-
var _this = this;
|
|
101
|
-
this.timeoutZhihuan = window.setInterval(function () {
|
|
102
|
-
let result = {code: 200}
|
|
103
|
-
if (result.code === 200) {
|
|
104
|
-
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
105
|
-
var crv = {
|
|
106
|
-
title: '置换上传',
|
|
107
|
-
sum: result.data.length
|
|
108
|
-
}
|
|
109
|
-
_this.changesum(crv)
|
|
110
|
-
}
|
|
111
|
-
}, 6000)
|
|
112
|
-
},
|
|
113
57
|
changesum(titdata) {
|
|
114
58
|
for (var i = 0; i < this.tabs.length; i++) {
|
|
115
59
|
if (this.tabs[i].name == titdata.title) {
|
|
@@ -120,85 +64,35 @@
|
|
|
120
64
|
}
|
|
121
65
|
},
|
|
122
66
|
getTabs() {
|
|
123
|
-
|
|
124
|
-
this.getInfoNum()
|
|
125
|
-
this.getmeterNum()
|
|
67
|
+
debugger
|
|
126
68
|
for (let funs in Vue.functions) {
|
|
127
69
|
if (Vue.functions[funs].link == 'online-manage') {
|
|
128
70
|
return Vue.functions[funs].children
|
|
129
71
|
}
|
|
130
72
|
}
|
|
73
|
+
this.getRepairNum()
|
|
74
|
+
this.getInfoNum()
|
|
75
|
+
this.getmeterNum()
|
|
131
76
|
},
|
|
132
77
|
getmeterNum() {
|
|
133
78
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
134
79
|
return
|
|
135
80
|
}
|
|
136
|
-
window.setInterval(() => {
|
|
137
|
-
let val = {
|
|
138
|
-
items: "*",
|
|
139
|
-
tablename: "t_handplan",
|
|
140
|
-
orderitem: "id desc",
|
|
141
|
-
condition: `1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
|
|
142
|
-
f_orgid: `'${Vue.user.orgid}'`
|
|
143
|
-
}
|
|
144
|
-
let http = new HttpResetClass()
|
|
145
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
|
|
146
|
-
resolveMsg: null,
|
|
147
|
-
rejectMsg: null
|
|
148
|
-
}).then((res) => {
|
|
149
|
-
this.meterNum = res.data.length
|
|
150
|
-
})
|
|
151
|
-
}, 100000)
|
|
152
81
|
this.timeOutGetmeterNum()
|
|
153
82
|
},
|
|
154
83
|
getInfoNum() {
|
|
155
84
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
156
85
|
return
|
|
157
86
|
}
|
|
158
|
-
window.setInterval(() => {
|
|
159
|
-
let condition = " 1 = 1 and (f_enddate >= '" + Util.toStandardTimeString()+ "' or f_state = '公告中') "
|
|
160
|
-
let val = {
|
|
161
|
-
items: "*",
|
|
162
|
-
tablename: "T_STOPGAS",
|
|
163
|
-
orderitem: "f_date desc",
|
|
164
|
-
condition: condition,
|
|
165
|
-
f_orgstr: `'${Vue.user.orgid}'`
|
|
166
|
-
}
|
|
167
|
-
let http = new HttpResetClass()
|
|
168
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
|
|
169
|
-
resolveMsg: null,
|
|
170
|
-
rejectMsg: null
|
|
171
|
-
}).then((res) => {
|
|
172
|
-
this.infoNum = res.data.length
|
|
173
|
-
})
|
|
174
|
-
}, 100000)
|
|
175
87
|
this.timeOutGetInfoNum()
|
|
176
88
|
},
|
|
177
89
|
getRepairNum() {
|
|
178
90
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
179
91
|
return
|
|
180
92
|
}
|
|
181
|
-
window.setInterval(() => {
|
|
182
|
-
let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
|
|
183
|
-
let val = {
|
|
184
|
-
condition: {
|
|
185
|
-
condition: condition,
|
|
186
|
-
sign: '1 = 1'
|
|
187
|
-
},
|
|
188
|
-
userid: Vue.user.name
|
|
189
|
-
}
|
|
190
|
-
let http = new HttpResetClass()
|
|
191
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorServiceAndroid`, {data: val}, {
|
|
192
|
-
resolveMsg: null,
|
|
193
|
-
rejectMsg: null
|
|
194
|
-
}).then((res) => {
|
|
195
|
-
this.pointNum = res.data.length
|
|
196
|
-
})
|
|
197
|
-
}, 100000)
|
|
198
93
|
this.timeOutGetRepairNum()
|
|
199
94
|
},
|
|
200
95
|
timeOutGetRepairNum() {
|
|
201
|
-
|
|
202
96
|
let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
|
|
203
97
|
let val = {
|
|
204
98
|
condition: {
|
|
@@ -218,9 +112,9 @@
|
|
|
218
112
|
timeOutGetInfoNum() {
|
|
219
113
|
let condition = " 1 = 1 and (f_enddate >= '" + Util.toStandardTimeString() + "' or f_state = '公告中') "
|
|
220
114
|
let val = {
|
|
221
|
-
items: "*",
|
|
115
|
+
items: "count(*) as count_num",
|
|
222
116
|
tablename: "T_STOPGAS",
|
|
223
|
-
orderitem: "
|
|
117
|
+
orderitem: "1",
|
|
224
118
|
condition: condition,
|
|
225
119
|
f_orgstr: `'${Vue.user.orgid}'`
|
|
226
120
|
}
|
|
@@ -229,14 +123,14 @@
|
|
|
229
123
|
resolveMsg: null,
|
|
230
124
|
rejectMsg: null
|
|
231
125
|
}).then((res) => {
|
|
232
|
-
this.infoNum = res.data.
|
|
126
|
+
this.infoNum = res.data[0].count_num
|
|
233
127
|
})
|
|
234
128
|
},
|
|
235
129
|
timeOutGetmeterNum() {
|
|
236
130
|
let val = {
|
|
237
|
-
items: "*",
|
|
131
|
+
items: "count(*) as count_num",
|
|
238
132
|
tablename: "t_handplan",
|
|
239
|
-
orderitem: "
|
|
133
|
+
orderitem: "1",
|
|
240
134
|
condition: `1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
|
|
241
135
|
f_orgid: `'${Vue.user.orgid}'`
|
|
242
136
|
}
|
|
@@ -245,7 +139,7 @@
|
|
|
245
139
|
resolveMsg: null,
|
|
246
140
|
rejectMsg: null
|
|
247
141
|
}).then((res) => {
|
|
248
|
-
this.meterNum = res.data.
|
|
142
|
+
this.meterNum = res.data[0].count_num
|
|
249
143
|
})
|
|
250
144
|
},
|
|
251
145
|
imgback(val) {
|
|
@@ -268,7 +162,7 @@
|
|
|
268
162
|
if (navigate) {
|
|
269
163
|
this.$goto('embbed-page', {domainName: navigate, title: title, compName: param, login: Vue.user})
|
|
270
164
|
} else {
|
|
271
|
-
this.$goto(param, {sourcet: '竖屏', tabname: title})
|
|
165
|
+
this.$goto(param, {sourcet: '竖屏', tabname: title},'self',this.getTabs)
|
|
272
166
|
}
|
|
273
167
|
},
|
|
274
168
|
mute() {
|
|
@@ -327,7 +221,6 @@
|
|
|
327
221
|
.pgesfoot {
|
|
328
222
|
font-size: 14px;
|
|
329
223
|
color: #666666;
|
|
330
|
-
/* font-family: "Pingfhs";*/
|
|
331
224
|
}
|
|
332
225
|
|
|
333
226
|
.imgs {
|
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body">
|
|
4
|
-
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
-
<div class="bg-info">
|
|
6
|
-
<div class="row form-group">
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
9
|
-
旧表底数: {{row.f_meter_base}}
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
12
|
-
新表底数: {{row.f_newmeter_base}}
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
15
|
-
旧表品牌: {{row.f_meter_brand}}
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
18
|
-
新表品牌: {{row.newf_meter_brand}}
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
21
|
-
旧表号: {{row.f_meternumber}}
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
24
|
-
新表号: {{row.f_newmeternumber}}
|
|
25
|
-
</div>
|
|
26
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
27
|
-
换表员: {{row.f_change_operator}}
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
30
|
-
换表日期: {{row.f_changemeter_date}}
|
|
31
|
-
</div>
|
|
32
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
33
|
-
操作员: {{row.f_operator}}
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
36
|
-
营业网点: {{row.f_outlets}}
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</template>
|
|
46
|
-
|
|
47
|
-
<script>
|
|
48
|
-
import { PagedList } from 'vue-client'
|
|
49
|
-
import { HttpResetClass } from 'vue-client'
|
|
50
|
-
export default {
|
|
51
|
-
title: '换表记录',
|
|
52
|
-
data () {
|
|
53
|
-
return {
|
|
54
|
-
model: [],
|
|
55
|
-
show: false,
|
|
56
|
-
row: Object
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
props: {
|
|
60
|
-
user: {
|
|
61
|
-
type: Object
|
|
62
|
-
},
|
|
63
|
-
f_userinfo_id:''
|
|
64
|
-
},
|
|
65
|
-
methods: {
|
|
66
|
-
getmodel () {
|
|
67
|
-
|
|
68
|
-
let userinfoid
|
|
69
|
-
if(this.f_userinfo_id){
|
|
70
|
-
userinfoid = this.f_userinfo_id
|
|
71
|
-
}else{
|
|
72
|
-
userinfoid = this.user.f_userinfo_id
|
|
73
|
-
console.log(this.user.f_userinfo_id)
|
|
74
|
-
}
|
|
75
|
-
console.log(userinfoid)
|
|
76
|
-
let http = new HttpResetClass()
|
|
77
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/PhoneChangeMeter`, {
|
|
78
|
-
data: {
|
|
79
|
-
f_userinfo_id:userinfoid
|
|
80
|
-
}
|
|
81
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
82
|
-
console.log(res.data)
|
|
83
|
-
console.log("查找用户返回的结果")
|
|
84
|
-
this.model = res.data
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
back(){
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
watch: {
|
|
92
|
-
'user' (val) {
|
|
93
|
-
if(this.user){
|
|
94
|
-
if (!(this.user.isNuN)) {
|
|
95
|
-
this.model = []
|
|
96
|
-
this.getmodel()
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
'f_userinfo_id'(){
|
|
101
|
-
if(this.f_userinfo_id){
|
|
102
|
-
this.model= []
|
|
103
|
-
this.getmodel()
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
ready () {
|
|
108
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
-
this.getmodel()
|
|
110
|
-
}
|
|
111
|
-
if(this.f_userinfo_id){
|
|
112
|
-
this.getmodel()
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
</script>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
9
|
+
旧表底数: {{row.f_meter_base}}
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
12
|
+
新表底数: {{row.f_newmeter_base}}
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
15
|
+
旧表品牌: {{row.f_meter_brand}}
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
18
|
+
新表品牌: {{row.newf_meter_brand}}
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
21
|
+
旧表号: {{row.f_meternumber}}
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
24
|
+
新表号: {{row.f_newmeternumber}}
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
27
|
+
换表员: {{row.f_change_operator}}
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
30
|
+
换表日期: {{row.f_changemeter_date}}
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
33
|
+
操作员: {{row.f_operator}}
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
36
|
+
营业网点: {{row.f_outlets}}
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
|
|
47
|
+
<script>
|
|
48
|
+
import { PagedList } from 'vue-client'
|
|
49
|
+
import { HttpResetClass } from 'vue-client'
|
|
50
|
+
export default {
|
|
51
|
+
title: '换表记录',
|
|
52
|
+
data () {
|
|
53
|
+
return {
|
|
54
|
+
model: [],
|
|
55
|
+
show: false,
|
|
56
|
+
row: Object
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
props: {
|
|
60
|
+
user: {
|
|
61
|
+
type: Object
|
|
62
|
+
},
|
|
63
|
+
f_userinfo_id:''
|
|
64
|
+
},
|
|
65
|
+
methods: {
|
|
66
|
+
getmodel () {
|
|
67
|
+
|
|
68
|
+
let userinfoid
|
|
69
|
+
if(this.f_userinfo_id){
|
|
70
|
+
userinfoid = this.f_userinfo_id
|
|
71
|
+
}else{
|
|
72
|
+
userinfoid = this.user.f_userinfo_id
|
|
73
|
+
console.log(this.user.f_userinfo_id)
|
|
74
|
+
}
|
|
75
|
+
console.log(userinfoid)
|
|
76
|
+
let http = new HttpResetClass()
|
|
77
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/PhoneChangeMeter`, {
|
|
78
|
+
data: {
|
|
79
|
+
f_userinfo_id:userinfoid
|
|
80
|
+
}
|
|
81
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
82
|
+
console.log(res.data)
|
|
83
|
+
console.log("查找用户返回的结果")
|
|
84
|
+
this.model = res.data
|
|
85
|
+
})
|
|
86
|
+
},
|
|
87
|
+
back(){
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
watch: {
|
|
92
|
+
'user' (val) {
|
|
93
|
+
if(this.user){
|
|
94
|
+
if (!(this.user.isNuN)) {
|
|
95
|
+
this.model = []
|
|
96
|
+
this.getmodel()
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
'f_userinfo_id'(){
|
|
101
|
+
if(this.f_userinfo_id){
|
|
102
|
+
this.model= []
|
|
103
|
+
this.getmodel()
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
ready () {
|
|
108
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
+
this.getmodel()
|
|
110
|
+
}
|
|
111
|
+
if(this.f_userinfo_id){
|
|
112
|
+
this.getmodel()
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
</script>
|