|
@@ -882,27 +882,6 @@ export default {
|
882
|
882
|
},
|
883
|
883
|
toEdit(row) {
|
884
|
884
|
this.initData();
|
885
|
|
- if (!row.padid) {
|
886
|
|
- this.strategyInfo = {
|
887
|
|
- model: "add", //添加
|
888
|
|
- userid: row.userid,
|
889
|
|
- username: row.username,
|
890
|
|
- padid: null,
|
891
|
|
- rversion: null,
|
892
|
|
- show: true,
|
893
|
|
- hastime: false, // 是否开启时间策略:0否 1是
|
894
|
|
- padTimes: [], // 平板策略时间
|
895
|
|
- hasapp: false, //是否开启应用策略:0否 1是
|
896
|
|
- padApps: [], //appid集合
|
897
|
|
- hasdevice: false, //是否开启设备策略:0否 1是
|
898
|
|
- padDevices: [], //授权应用
|
899
|
|
- haswifi: false, //是否开启wifi白名单策略:0否 1是
|
900
|
|
- padWifis: [], //wifi白名单
|
901
|
|
- hasviolate: false, //是否开启违规通知:0否 1是
|
902
|
|
- padViolates: [] //设备违规
|
903
|
|
- };
|
904
|
|
- return;
|
905
|
|
- }
|
906
|
885
|
this.showLoading = true;
|
907
|
886
|
stPad_detail_web({ objectid: row.userid }).then((res) => {
|
908
|
887
|
this.showLoading = false;
|