Browse Source

启动也设置

master
jiangyy 5 years ago
parent
commit
6ea683ef92
  1. 27
      epmet-oper-web/src/views/modules/customer/customize/StartPage.vue

27
epmet-oper-web/src/views/modules/customer/customize/StartPage.vue

@ -276,16 +276,25 @@ export default {
//
changeDefault (type) {
let params = {}
if (type === 'resi') {
this.resiForm.url = this.resiForm.defUrl
params = this.resiForm
} else {
this.workForm.url = this.workForm.defUrl
params = this.workForm
}
this.$confirm('确认恢复默认', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
let params = {}
if (type === 'resi') {
this.resiForm.url = this.resiForm.defUrl
this.resiForm.time = this.resiForm.defTime
params = this.resiForm
} else {
this.workForm.url = this.workForm.defUrl
this.workForm.time = this.workForm.defTime
params = this.workForm
}
this.saveImage(params)
})
this.saveImage(params)
},
handelBack () {

Loading…
Cancel
Save