|
@@ -155,9 +155,9 @@ export default {
|
155
|
155
|
this.loading=true
|
156
|
156
|
// this.$loading(this.$loadingConfig)
|
157
|
157
|
let config_list_finally=[]
|
158
|
|
- this.config_list.assigned.threshold = this.config_list.assigned.threshold*60
|
159
|
|
- this.config_list.charged.threshold = this.config_list.charged.threshold*60
|
160
|
|
- this.config_list.auto_recycle.threshold = this.config_list.auto_recycle.threshold*60
|
|
158
|
+ this.config_list.assigned.threshold = this.config_list.assigned.threshold*1440
|
|
159
|
+ this.config_list.charged.threshold = this.config_list.charged.threshold*1440
|
|
160
|
+ this.config_list.auto_recycle.threshold = this.config_list.auto_recycle.threshold*1440
|
161
|
161
|
config_list_finally.push(this.config_list.assigned,this.config_list.charged,this.config_list.auto_recycle)
|
162
|
162
|
this.$axios.post(this.URL.BASEURL + this.URL.editConfig, {
|
163
|
163
|
config_list:config_list_finally
|
|
@@ -190,7 +190,7 @@ export default {
|
190
|
190
|
configData.assigned = res.rst.assigned
|
191
|
191
|
|
192
|
192
|
configData.assigned.enable = true
|
193
|
|
- configData.assigned.threshold = res.rst.assigned.threshold/60
|
|
193
|
+ configData.assigned.threshold = res.rst.assigned.threshold/1440
|
194
|
194
|
let users = configData.assigned.notice_users
|
195
|
195
|
if(users.split(',')){
|
196
|
196
|
this.user_id_list = users.split(',')
|
|
@@ -203,7 +203,7 @@ export default {
|
203
|
203
|
configData.assigned.config_id = res.rst.assigned.config_id
|
204
|
204
|
}
|
205
|
205
|
if(res.rst.assigned.threshold){
|
206
|
|
- configData.assigned.threshold = res.rst.assigned.threshold/60
|
|
206
|
+ configData.assigned.threshold = res.rst.assigned.threshold/1440
|
207
|
207
|
}
|
208
|
208
|
}
|
209
|
209
|
|
|
@@ -211,7 +211,7 @@ export default {
|
211
|
211
|
configData.charged = res.rst.charged
|
212
|
212
|
|
213
|
213
|
configData.charged.enable = true
|
214
|
|
- configData.charged.threshold = res.rst.charged.threshold/60
|
|
214
|
+ configData.charged.threshold = res.rst.charged.threshold/1440
|
215
|
215
|
}else{
|
216
|
216
|
configData.charged.enable = false
|
217
|
217
|
|
|
@@ -220,7 +220,7 @@ export default {
|
220
|
220
|
}
|
221
|
221
|
|
222
|
222
|
if(res.rst.charged.threshold){
|
223
|
|
- configData.charged.threshold = res.rst.charged.threshold/60
|
|
223
|
+ configData.charged.threshold = res.rst.charged.threshold/1440
|
224
|
224
|
}
|
225
|
225
|
}
|
226
|
226
|
|
|
@@ -228,7 +228,7 @@ export default {
|
228
|
228
|
configData.auto_recycle = res.rst.auto_recycle
|
229
|
229
|
|
230
|
230
|
configData.auto_recycle.enable = true
|
231
|
|
- configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/60
|
|
231
|
+ configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/1440
|
232
|
232
|
}else{
|
233
|
233
|
configData.auto_recycle.enable = false
|
234
|
234
|
|
|
@@ -236,7 +236,7 @@ export default {
|
236
|
236
|
configData.auto_recycle.config_id = res.rst.auto_recycle.config_id
|
237
|
237
|
}
|
238
|
238
|
if(res.rst.auto_recycle.threshold){
|
239
|
|
- configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/60
|
|
239
|
+ configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/1440
|
240
|
240
|
}
|
241
|
241
|
}
|
242
|
242
|
|