spywork Ci sono un pò di opzioni nascoste nel menu....
Non solo, nell'app ci sono anche i riferimenti alla gestione della esim, che a questo punto direi dovrebbe essere solo nascosta...
"/gMN": function(t, e, n) {
"use strict";
var a = n("woOf"),
i = n.n(a),
s = n("Xxa5"),
o = n.n(s),
r = n("exGp"),
l = n.n(r),
c = n("ifNy"),
d = n("LbgS"),
u = n("5l0Q"),
p = n("KKOe"),
_ = n("CPdQ"),
h = n("daun"),
g = {
name: "Edit",
components: {
MessageBox: c.a,
ZyInputContainer: d.a,
ZyInput: u.a,
ZySwitch: p.a,
Note: _.a,
ZyButtonGroup: h.a
},
data: function() {
return {
cellwanEsimProfileList: [],
cellWanEsimProfile: {
Profile_Enable: !1,
ICCID: "",
Nickname: "",
SPN: "",
Name: "",
Class: 0,
Type: "",
Enable: !1
},
refreshTimer: null
}
},
created: function() {
var t = this;
return l()(o.a.mark(function e() {
var n;
return o.a.wrap(function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
if ("PUT" !== (n = t).$store.state.action) {
e.next = 4;
break
}
return e.next = 4, n.reloadPage();
case 4:
case "end":
return e.stop()
}
}, e, t)
}))()
},
methods: {
closePop: function() {
this.$popup.hide()
},
updateObj: function() {
var t = this;
return l()(o.a.mark(function e() {
var n;
return o.a.wrap(function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
return n = t, e.next = 3, n.httpReqSendAndRecv({
url: "/cgi-bin/DAL?oid=cellwan_esim_profile",
fnSuccess: function(t) {
if ("ZCFG_SUCCESS" === t.result) {
console.log("get cellwan_esim_profile success"), n.cellwanEsimProfileList = t.Object[0].profileList;
var e = n.$store.state.key.Index - 1;
n.cellWanEsimProfile = n.cellwanEsimProfileList[e], n.$set(n.cellWanEsimProfile, "Profile_Enable", n.cellWanEsimProfile.Enable), delete n.cellWanEsimProfile.Enable
} else console.log("get cellwan_esim fail")
}
});
case 3:
case "end":
return e.stop()
}
}, e, t)
}))()
},
reloadPage: function() {
this.$loading.show(), this.updateObj(), this.$loading.hide()
},
applyHandler: function() {
var t = this,
e = t.$store.state.key.Index - 1;
t.cellWanEsimProfile = t.cellwanEsimProfileList[e], t.cellWanEsimProfile.Nickname.length > 32 ? this.$alert.show({
ButtonClose: null,
Type: this.zylang.Common.warning,
Title: this.zylang.Common.warning,
Content: this.zylang.Broadband.CellWan.ESim.Warning.nickname_length_is_over_limited
}) : (t.$loading.show(), i()(t.cellWanEsimProfile, t.$store.state.key), console.log("that.cellWanEsimProfile", t.cellWanEsimProfile), t.httpReqSendAndRecv({
url: "/cgi-bin/DAL?oid=cellwan_esim_profile",
action: t.$store.state.action,
obj: t.cellWanEsimProfile,
fnSuccess: function(e) {
"ZCFG_SUCCESS" === e.result && t.displayResult()
}
}))
},
displayResult: function() {
this.refreshTimer = setInterval(this.getResult, 5e3)
},
getResult: function() {
var t = this;
return l()(o.a.mark(function e() {
var n;
return o.a.wrap(function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
(n = t).httpReqSendAndRecv({
url: "/cgi-bin/DAL?oid=cellwan_esim_profile",
fnSuccess: function(t) {
console.log("fnSuccess, response", t), "ZCFG_SUCCESS" === t.result ? "Setting" === t.Object[0].Status || "Done" === t.Object[0].Status && (console.log("!!! Status is Done !!!!"), clearInterval(n.refreshTimer), n.$store.commit("updateReloadState", "true"), n.$loading.hide(), n.$popup.hide()) : (console.log("DAL?oid=cellwan_esim_profile GET response.result !== ZCFG_SUCCESS"), clearInterval(n.refreshTimer), n.$loading.hide())
}
});
case 2:
case "end":
return e.stop()
}
}, e, t)
}))()
}
},
computed: {
zylang: function() {
return this.$store.getters.zylang
},
profileNumber: function() {
return " # " + this.$store.state.key.Index
}
}
},
m = {
render: function() {
var t = this,
e = t.$createElement,
n = t._self._c || e;
return n("div", {
staticClass: "maincontent",
attrs: {
id: "popupEsimEdit"
}
}, [n("h4", {
staticClass: "text-center"
}, [t._v("\n " + t._s(t.zylang.Broadband.CellWan.ESim.edit_profile + t.profileNumber) + "\n ")]), t._v(" "), n("div", {
staticClass: "col-md-11 inputbox"
}, [n("MessageBox", {
attrs: {
textContent: t.zylang.Broadband.CellWan.ESim.edit_esim_message
}
}), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.enable
}
}, [n("ZySwitch", {
attrs: {
id: "cwae_esim_profile_enable"
},
model: {
value: t.cellWanEsimProfile.Profile_Enable,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "Profile_Enable", e)
},
expression: "cellWanEsimProfile.Profile_Enable"
}
})], 1), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.iccid
}
}, [n("ZyInput", {
attrs: {
id: "cwae_esim_profile_iccid",
disabled: !0
},
model: {
value: t.cellWanEsimProfile.ICCID,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "ICCID", e)
},
expression: "cellWanEsimProfile.ICCID"
}
})], 1), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.nickname
}
}, [n("ZyInput", {
attrs: {
id: "cwae_esim_profile_nickname"
},
model: {
value: t.cellWanEsimProfile.Nickname,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "Nickname", e)
},
expression: "cellWanEsimProfile.Nickname"
}
})], 1), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.spn
}
}, [n("ZyInput", {
attrs: {
id: "cwae_esim_profile_spn",
disabled: !0
},
model: {
value: t.cellWanEsimProfile.SPN,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "SPN", e)
},
expression: "cellWanEsimProfile.SPN"
}
})], 1), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.name
}
}, [n("ZyInput", {
attrs: {
id: "cwae_esim_profile_name",
disabled: !0
},
model: {
value: t.cellWanEsimProfile.Name,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "Name", e)
},
expression: "cellWanEsimProfile.Name"
}
})], 1), t._v(" "), n("ZyInputContainer", {
attrs: {
labelText: t.zylang.Broadband.CellWan.ESim.class
}
}, [n("ZyInput", {
attrs: {
id: "cwae_esim_profile_class",
disabled: !0
},
model: {
value: t.cellWanEsimProfile.Class,
callback: function(e) {
t.$set(t.cellWanEsimProfile, "Class", e)
},
expression: "cellWanEsimProfile.Class"
}
})], 1), t._v(" "), n("Note", {
attrs: {
noteTitle: "Note",
noteContent: t.zylang.Broadband.CellWan.ESim.note[0]
}
})], 1), t._v(" "), n("ZyButtonGroup", {
attrs: {
buttonLeftId: "cellWanEsimEditCancelBtn",
buttonLeftText: t.zylang.Common.cancel,
buttonRightId: "cellWanEsimEditApplyBtn",
buttonRightText: t.zylang.Common.ok,
buttonRightExtraClass: "active"
},
on: {
leftBtnClick: t.closePop,
rightBtnClick: t.applyHandler
}
})], 1)
},
staticRenderFns: []
},
f = n("VU/8")(g, m, !1, null, null, null);
e.a = f.exports
},