system-phone 3.0.49-1 → 3.0.49-11
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 +1 -1
- package/src/assets/images//346/211/223/345/215/241.png +0 -0
- package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.png +0 -0
- package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.png +0 -0
- package/src/assets//347/273/264/344/277/256/350/256/260/345/275/225.png +0 -0
- package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/components/AttendManage.vue +120 -1
- package/src/components/LoginApp.vue +7 -6
- package/src/components/OnlineManage.vue +256 -256
- package/src/components/SystemSetUp.vue +273 -251
- package/src/components/ToolsPage.vue +8 -4
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -56,6 +56,56 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</modal>
|
|
58
58
|
</validator>
|
|
59
|
+
<modal :show.sync="shownotices" backdrop="false">
|
|
60
|
+
<header slot="modal-header" class="modal-header">
|
|
61
|
+
<h3 style="text-align: center;">新公告提醒</h3>
|
|
62
|
+
</header>
|
|
63
|
+
<article slot="modal-body" class="modal-body">
|
|
64
|
+
<div class="auto app-text" style="margin-top: 5px;">
|
|
65
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
|
66
|
+
<div class="panel-body panel-self">
|
|
67
|
+
<div class="col-xs-12">
|
|
68
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>标题:</b></p>
|
|
69
|
+
<p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{notices.f_title}}</p>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-xs-12">
|
|
72
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>内容:</b></p>
|
|
73
|
+
<p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ notices.f_explain }}</p>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-xs-12">
|
|
76
|
+
<p class="panel-title text-left font" style="width: 23%;float: left"><b>状态:</b></p>
|
|
77
|
+
<p class="panel-title text-left input-font" style="width: 77%">{{notices.f_state}}</p>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<div class="col-xs-12">
|
|
81
|
+
<p class="panel-title text-left font" style="width: 30%;float: left"><b>发布时间:</b></p>
|
|
82
|
+
<p class="panel-title text-left input-font" style="width: 100%">{{notices.f_date}}</p>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-xs-12">
|
|
85
|
+
<p class="panel-title text-left font" style="width: 30%;float: left"><b>结束时间:</b></p>
|
|
86
|
+
<p class="panel-title text-left input-font" style="width: 100%">{{notices.f_enddate}}</p>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="col-xs-12">
|
|
89
|
+
<p class="panel-title text-left font" style="width: 30%;float: left"><b>操作人:</b></p>
|
|
90
|
+
<p class="panel-title text-left input-font" style="width: 100%">{{notices.f_operator}}</p>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="col-xs-12">
|
|
93
|
+
<p class="panel-title text-left font" style="width: 30%;float: left"><b>紧急公告:</b></p>
|
|
94
|
+
<p class="panel-title text-left input-font" style="width: 100%">{{notices.f_urgency ? '是' : '否'}}</p>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-xs-12">
|
|
97
|
+
<img-self :width="300" :height="400" alt="无照片!!!" :src="notices.f_downloadfile.split(':')[1]"></img-self>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="col-xs-12">
|
|
100
|
+
<button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="closeshowModal()">确认</button>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</article>
|
|
106
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
107
|
+
</footer>
|
|
108
|
+
</modal>
|
|
59
109
|
</div>
|
|
60
110
|
</template>
|
|
61
111
|
|
|
@@ -71,9 +121,15 @@
|
|
|
71
121
|
showModal: false,
|
|
72
122
|
isMenu: true,
|
|
73
123
|
isshowTag:false,
|
|
124
|
+
shownotices:false,
|
|
74
125
|
tabs: [],
|
|
75
126
|
safeckNum:0,
|
|
76
127
|
repairNum:0,
|
|
128
|
+
model:{},
|
|
129
|
+
notices:{},
|
|
130
|
+
weakPassword: false,
|
|
131
|
+
modifyPassword: false,
|
|
132
|
+
isShowStopGas:this.$appdata.getSingleValue('公告展示'),
|
|
77
133
|
text: '导航组件this',
|
|
78
134
|
beforeName: '待办工作',
|
|
79
135
|
componentName: 'repair-first',
|
|
@@ -96,8 +152,72 @@
|
|
|
96
152
|
this.getNoTagTabs()
|
|
97
153
|
this.getmeterNum()
|
|
98
154
|
this.getModelSum()
|
|
155
|
+
this.searchStopGas()
|
|
99
156
|
},
|
|
100
157
|
methods: {
|
|
158
|
+
closeshowModal(){
|
|
159
|
+
this.shownotices = false
|
|
160
|
+
this.saveIsShowStopGas()
|
|
161
|
+
},
|
|
162
|
+
searchStopGas(){
|
|
163
|
+
if(!this.isShowStopGas || !this.isShowStopGas == 'true'){
|
|
164
|
+
return
|
|
165
|
+
}
|
|
166
|
+
let http = new HttpResetClass()
|
|
167
|
+
var condition = `1=1 and f_state = '公告中' and f_typeofreceipt = '手机端'`
|
|
168
|
+
let data = {
|
|
169
|
+
items: '*',
|
|
170
|
+
tablename: 'T_STOPGAS',
|
|
171
|
+
condition: condition,
|
|
172
|
+
orderitem: 'id desc'
|
|
173
|
+
}
|
|
174
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable_OrderBy`, {data: data}, {
|
|
175
|
+
resolveMsg: null,
|
|
176
|
+
rejectMsg: null
|
|
177
|
+
}).then((res) => {
|
|
178
|
+
this.notices = res.data[0]
|
|
179
|
+
this.showStopGas(res.data[0].id,Vue.user.id)
|
|
180
|
+
}).catch((e)=>{
|
|
181
|
+
})
|
|
182
|
+
},
|
|
183
|
+
showStopGas(stopId,userid){
|
|
184
|
+
let http = new HttpResetClass()
|
|
185
|
+
var condition = `f_stopgas_id = '${stopId}' and f_user_id = '${userid}'`
|
|
186
|
+
let data = {
|
|
187
|
+
items: '*',
|
|
188
|
+
tablename: 't_notice_notarize',
|
|
189
|
+
condition: condition,
|
|
190
|
+
orderitem: 'f_id desc'
|
|
191
|
+
}
|
|
192
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable_OrderBy`, {data: data}, {
|
|
193
|
+
resolveMsg: null,
|
|
194
|
+
rejectMsg: null
|
|
195
|
+
}).then((res) => {
|
|
196
|
+
if (res.data.length === 0) {
|
|
197
|
+
this.shownotices = true
|
|
198
|
+
}else if (res.data[0].f_phstate !== '已确认' ){
|
|
199
|
+
this.model.f_id = res.data[0].f_id
|
|
200
|
+
this.shownotices = true
|
|
201
|
+
} else {
|
|
202
|
+
this.shownotices = false
|
|
203
|
+
}
|
|
204
|
+
}).catch((e)=>{
|
|
205
|
+
console.log('报错了!!')
|
|
206
|
+
console.error(e)
|
|
207
|
+
})
|
|
208
|
+
},
|
|
209
|
+
saveIsShowStopGas(){
|
|
210
|
+
this.model.f_stopgas_id = this.notices.id
|
|
211
|
+
this.model.f_phstate = '已确认'
|
|
212
|
+
this.model.f_user_id = Vue.user.id
|
|
213
|
+
console.log('保存', this.model)
|
|
214
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/savenoticenotarize`, {data:this.model}).then((res) => {
|
|
215
|
+
this.model.f_stopgas_id = ''
|
|
216
|
+
this.model.f_user_id = ''
|
|
217
|
+
}).catch((res) => {
|
|
218
|
+
console.log('打印报错信息'+ res)
|
|
219
|
+
})
|
|
220
|
+
},
|
|
101
221
|
click (row) {
|
|
102
222
|
let _this = this
|
|
103
223
|
this.$dispatch('gotoson', {
|
|
@@ -184,7 +304,6 @@
|
|
|
184
304
|
this.getSafeCheck()
|
|
185
305
|
}
|
|
186
306
|
}
|
|
187
|
-
|
|
188
307
|
},
|
|
189
308
|
getRepair(){
|
|
190
309
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
@@ -274,6 +274,7 @@ export default {
|
|
|
274
274
|
this.$androidUtil.setPreference('login_user_cache', userStr)
|
|
275
275
|
this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
|
|
276
276
|
this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
|
|
277
|
+
this.$androidUtil.setPreference('f_orgid', Util.f.orgid)
|
|
277
278
|
this.$androidUtil.setPreference('f_role_name', Util.f.f_role_name || '')
|
|
278
279
|
console.log("自动登陆标识" + Util.f.f_role_name)
|
|
279
280
|
console.log(this.showauto)
|
|
@@ -289,13 +290,13 @@ export default {
|
|
|
289
290
|
return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
|
|
290
291
|
}, toStandardTimeString () {
|
|
291
292
|
let dt = new Date()
|
|
292
|
-
let month = dt.getMonth()
|
|
293
|
+
let month = dt.getMonth()+1
|
|
293
294
|
let date = dt.getDate()
|
|
294
295
|
let hour = dt.getHours()
|
|
295
296
|
let min = dt.getMinutes()
|
|
296
297
|
let sec = dt.getSeconds()
|
|
297
|
-
return dt.getFullYear() + '-' + (month
|
|
298
|
-
+ ' ' + (hour
|
|
298
|
+
return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
|
|
299
|
+
+ ' ' + (hour<10? '0'+ hour : hour) + ':' + (min<10? '0'+ min : min) + ':' + (sec<10? '0'+ sec : sec)
|
|
299
300
|
}}
|
|
300
301
|
} else {
|
|
301
302
|
Vue.$login = Vue.prototype.$login = {jwt: ret.data.id,
|
|
@@ -306,13 +307,13 @@ export default {
|
|
|
306
307
|
return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
|
|
307
308
|
}, toStandardTimeString () {
|
|
308
309
|
let dt = new Date()
|
|
309
|
-
let month = dt.getMonth()
|
|
310
|
+
let month = dt.getMonth()+1
|
|
310
311
|
let date = dt.getDate()
|
|
311
312
|
let hour = dt.getHours()
|
|
312
313
|
let min = dt.getMinutes()
|
|
313
314
|
let sec = dt.getSeconds()
|
|
314
|
-
return dt.getFullYear() + '-' + (month
|
|
315
|
-
+ ' ' + (hour
|
|
315
|
+
return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
|
|
316
|
+
+ ' ' + (hour<10? '0'+ hour : hour) + ':' + (min<10? '0'+ min : min) + ':' + (sec<10? '0'+ sec : sec)
|
|
316
317
|
}}
|
|
317
318
|
}
|
|
318
319
|
// 获取参数
|