防火墙f1050 设备登不进去 要用户名密码怎么办 现在要我来升级
(0)
最佳答案
';
var imgDom = '
';
$(this).append(imgDom);
var $Doma = $($(this).find('a'));
$Doma.attr('data-tooltip', '已有解决方案无法修改问题级别');
if (fieldname == "new_casetype") {
$Doma.attr('data-tooltip', '已有解决方案无法修改问题类型');
}
$Doma.darkTooltip({
animation: 'flipIn',
gravity: 'south',
theme: 'light'
});
}
}
setSelected($(this).attr("ref"), editer);
editer.val(val);
if (fieldname == "new_casetype") {
editer.change(function () {
var selectedVal = $(this).val();
if (new_casetype == '100000002' && selectedVal != '100000002') {
alert('无法将问题单由故障类型更改为其他类型');
$(this).val(new_casetype);
return false;
}
if (selectedVal == "100000002") {
$("#new_caselevel select").val("100000002");
var $html = '';
$('#td_devicestage').append($html);
}
else {
$("#new_caselevel select").val("100000003");
$('#td_devicestage>label').remove();
}
});
}
if (fieldname == "new_caselevel") {
editer.change(function () {
var selectedVal = $(this).val();
var selectedCaseTypeValue = $("#new_casetype select").val();
if (new_caselevel >= '100000000' && new_caselevel <= '100000002' && selectedVal == '100000003') {
alert('无法将问题级别由故障级别更改为咨询级别');
$(this).val(new_caselevel);
return false;
}
if (selectedVal == "100000000" || selectedVal == "100000001" || selectedVal == "100000002") {
$("#new_casetype select").val("100000002");
} else if (selectedCaseTypeValue == "100000002") {
$("#new_casetype select").val("100000000");
}
});
}
break;
case "new_barcode":
editer = $("");
editer.val(val);
break;
}
editer.appendTo(this);
});
callback(btn);
};
/********************change the status as display ********************/
var changeForDisplay = function (btn, saved) {
$("#aphone0").click(function () { CallPhoneSpan(this); });
var trg = $(btn).attr("target");
var tab = $(trg);
tab.find("span[fieldtype]").each(function () {
if ($(this).hasClass("readonly")) {
return;
}
var fieldtype = $(this).attr("fieldtype");
var fieldname = $(this).attr("id");
var editer = $(this).find("*[name]:first");
var val;
switch (fieldtype) {
case "bool":
if (saved) {
val = editer.get(0).checked;
case_context.data[fieldname] = val;
}
else {
val = case_context.data[fieldname];
val = Boolean((val == "false") ? false : val);
}
$(this).html(val ? "是" : "否");
break;
case "lookup":
if (saved) {
val = { id: editer.attr("guid"), name: editer.val() };
case_context.data[fieldname] = val;
$(this).html(val.name);
}
else {
val = case_context.data[fieldname];
$(this).html((val && val.name) ? val.name : "--");
}
break;
case "reference":
if (saved) {
val = editer.val();
case_context.data[fieldname] = val;
}
else {
val = case_context.data[fieldname];
}
$(this).html(refSelected($(this).attr("ref"), val));
break;
case "textarea":
if (saved) {
val = editer.val();
case_context.data[fieldname] = val;
}
else {
val = case_context.data[fieldname];
}
if (val == null || $.trim(val) == "")
val = "--";
$(this).html("");
$(this).find("pre").text(val);//避免‘<>’字符被html替换内容
break;
case "datetime":
if (saved) {
val = editer.val();
case_context.data[fieldname] = val;
}
else {
val = case_context.data[fieldname];
}
if (val == null || $.trim(val) == "")
val = "--";
$(this).html(val);
break;
default:
if (saved) {
val = editer.val();
case_context.data[fieldname] = val;
}
else {
val = case_context.data[fieldname];
}
if (val == null || $.trim(val) == "")
val = "--";
$(this).html(val);
break;
}
$(editer).remove();
});
};
/******************** commit the all value to server ********************/
var updateForRefrush = function (btn, callback) {
var trg = $(btn).attr("target");
var tab = $(trg);
var parameters = {
'submitstatus': submitstatus,
'new_callincustomer': tab.find("*[name='new_callincustomer']").attr("guid"),//'F298D183-9595-4C57-94BB-0004CB16C2A9',
'new_callincustomertype': tab.find("*[name='new_callincustomertype']").val(),//'100000003',
'new_callincontact': tab.find("*[name='new_callincontact']").attr("guid"),//'1C4BEDDF-5A53-4676-9DA3-000119C69569',
'new_agentcode': tab.find("*[name='new_agentcode']").val(),//代理商编码 '3456',
'new_phonenumber': tab.find("*[name='new_phonenumber']").val(), //联系人电话
'EMailAddress1': tab.find("*[name='EMailAddress1']").val(), //联系人邮箱
'new_natural': tab.find("*[name='new_natural']").val(),//'100000003', ????????
'new_barcode': tab.find("*[name='new_barcode']").val(),//'210231A563N127007483',
'new_productid': tab.find("*[name='new_productid']").attr("guid"),//'3223C2F7-450E-E411-BBC1-0CDA411D94B9',
//'new_FreeServiceDesc': tab.find("*[name='new_FreeServiceDesc']").val(),//维保状态 '基本维保5x10xNBD发出',
//'new_projectname': tab.find("*[name='new_projectname']").val(),//项目名称 '华三呼叫中心',
'new_productline': tab.find("*[name='new_productline']").attr("guid"),//'6ACE0837-CF07-E411-BBC1-0CDA411D94B9',
'new_productserie': tab.find("*[name='new_productserie']").attr("guid"),//'E23FA3DC-FA0A-E411-BBC1-0CDA411D94B9',
'new_productversion': tab.find("*[name='new_productversion']").attr("guid"),//'1BE04EFD-3FE6-E311-A045-0CDA411D94B9',
'new_productgroup': tab.find("*[name='new_productgroup']").attr("guid"),//'1BE04EFD-3FE6-E311-A045-0CDA411D94B9',
'new_casesource': tab.find("*[name='new_casesource']").val(),//'100000003',
'new_title': tab.find("*[name='new_title']").val(),//'PD002_自助工单',
'new_usercategory': tab.find("*[name='new_usercategory']").val(),//'100000002',
'new_processer1': case_context.data.new_processer1.id,// 'CAD578B3-56A5-4A96-A818-067950146892',
//'new_finalcustomer': tab.find("*[name='new_finalcustomer']").attr("guid"),// 最终客户名称 'B951E94D-18FB-45E4-91B1-0005D1425552',
//'new_finalcustomertype': tab.find("*[name='new_finalcustomertype']").val(),//最终客户类型 '100000003',
//'new_ServiceLevelNew': tab.find("*[name='new_ServiceLevelNew']").val(),//服务级别 '运营商高级维保7x24xNBD发出',
//'new_valuedcustomertype': tab.find("*[id='new_valuedcustomertype']").val(),//'true',
//'new_isofficevalued': tab.find("*[name='new_isofficevalued']").val(),//办事处重要客户 'true',
//'new_customertypesub': tab.find("*[name='new_customertypesub']").val(),//客户类型细分 '100000012',
//'new_h3carelevel': tab.find("*[name='new_h3carelevel']").val(),//H3Care会员级别 '100000004',
//'new_h3careno': tab.find("*[name='new_h3careno']").val(), //H3Care会员卡号 '345677',
//'new_InsideNew': tab.find("*[name='new_InsideNew']").val(),//Inside总代 '100000000',
//'new_ServiceLevelNew': tab.find("*[name='new_ServiceLevelNew']").val(),//'100000000',
//'new_contractnumber': tab.find("*[name='new_contractnumber']").val(),//服务合同号 'A1120110113A',
//'new_servcontractname': tab.find("*[name='new_servcontractname']").val(),//服务合同名称 'h3c呼叫中心支持',
//'new_serviceid': tab.find("*[name='new_serviceid']").val(),//服务ID
'new_valuedcustomertype': tab.find("*[id='new_valuedcustomertype']").attr("guid"),//'true',
'new_casedescription': tab.find("*[name='new_casedescription']").val(),//'1、编号、创建者、责任人、处理人能不能隐藏? 2、选择提单客户后会关联出联系人,选择联系人后再修改提单客户联系人和联系电话应该清空 3、选择产品时也会报异常,版本输入后有异常'
//'workItemStatus': new_caseBase.new_casestauts,
'new_casetype': tab.find("*[name='new_casetype']").val(),
'new_caselevel': tab.find("*[name='new_caselevel']").val(),
'new_ProductDescription': tab.find("*[name='new_ProductDescription']").val(),
'new_responsible': case_context.data.new_responsible.id,// tab.find("*[name='new_responsible']").val(),
'new_casestauts': new_caseBase.new_casestauts,
'new_is_soho': tab.find("*[name='new_is_soho']").prop("checked"),
'new_distribution_type': tab.find("*[id='new_distribution_type']").attr("key"),
//最终客户信息
'new_FreeServiceDesc': tab.find("[id='new_FreeServiceDesc']").text(),//维保状态
'new_warranty_status': tab.find("[id='new_warranty_status']").text(),//维保状态选项值
'new_projectname': tab.find("[id='new_projectname']").text(),//项目名称
'new_InsideNew': tab.find("[id='new_InsideNew']").attr("guid"),//Inside总代 new_InsideNew
'new_finalcustomer': tab.find("[id='new_finalcustomer']").attr("guid"), //最终客户名称 finalcustomer
'new_finalcustomertype': tab.find("[id='new_finalcustomertype']").attr("guid"), //最终客户类型 new_finalcustomertype
'new_servcontractname': tab.find("[id='new_servcontractname']").text(), //服务合同名称 new_servcontractname
'new_contractnumber': tab.find("[id='new_contractnumber']").text(), //服务合同号 new_contractnumber
'new_support_branch': tab.find("[id='new_support_branch']").text(),//合同所属部门
'new_support_branch_number': tab.find("[id='new_support_branch_number']").text(),//合同所属部门编码
'new_customertypesub': tab.find("[id='new_customertypesub']").attr("guid"),//客户类型细分 new_customertypesub
'new_isofficevalued': tab.find("[id='new_isofficevalued']").text() == '是' ? "true" : "false",//办事处重要客户 new_isofficevalued
'new_serviceid': tab.find("[id='new_serviceid']").attr("guid"),//服务ID new_serviceid
'new_ServiceLevelNew': tab.find("[id='new_ServiceLevelNew']").text(), //服务级别 new_ServiceLevelNew
'new_h3carelevel': tab.find("[id='new_h3carelevel']").attr("guid"),//H3Care会员级别 new_h3carelevel
'new_h3careno': tab.find("[id='new_h3careno']").text(),//H3Care会员卡号 new_h3careno
'new_agency': tab.find("[id='new_agencyname']").attr("guid"), //所属办事处
'new_finalcustomername1': tab.find("*[name='new_finalcustomername1']").val(), //真实客户
'new_secondagent': tab.find("[id='new_secondagent']").text(),//二级代理商
'new_servicequai': tab.find("[id='new_servicequai']").text(),//代理商服务资质
'new_InsideAgentName': tab.find("[id='new_InsideAgentName']").text(),//inside总代
'new_cndtServiceStartDate': tab.find("[id='new_cndtServiceStartDate']").text(),//服务开始时间
'new_cndtServiceEndDate': tab.find("[id='new_cndtServiceEndDate']").text(),//服务结束时间
'new_cndtLatestDate': tab.find("[id='new_cndtLatestDate']").text(),//最迟维保截至日期总代
'new_firstordernum': tab.find("[id='new_firstordernum']").text(),//一级订单号
'new_account_service_type': tab.find("[id='new_account_service_type']").text(),//客户服务级别
'new_devicestage': tab.find("*[name='new_devicestage']").val(),//'100000003',,//设备应用阶段
'new_factorysendtime': $('#id_factorysendtime1').val(),//厂商发货时间
'new_productnamess': $('#new_productname').text(),//条码对应产品
'new_barcodechangereason': $('[name="new_barcodechangereason"]').val(),//条码更改原因
'new_businessFeedback': $('[name="new_businessFeedback"]').val(),//保外商机反馈
'new_countrysource': $('[name="new_countrysource"]').val(),
'new_productgroupsolution': $('[name="new_productgroupsolution"]').val()//解决方案名称
};
$.ajax({
url: '/Case/UpdateCase?new_caseId=' + case_id,
data: parameters,
type: "POST",
dataType: 'json',
cache: false,
async: true,
beforeSend: function () {
loading();
},
success: function (data) {
if (data.message) {
alert(data.message);
}
if (data.status != 0) {
return;
}
callback(btn, true);
$(btn).attr("updating", "false");
$(btn).text("编辑");
$($(btn).attr("cancelbtn")).hide();
$("#btn_submit").hide();
$("#btn_submit").attr("updating", false);
window.location.href = currentUrl + "¤tTab=" + $("#currentTab").val();
},
complete: function (xhr) {
unloading();
}
});
};
var submitstatus = false;
/******************** init the event for operation button ********************/
$("#btn_editbasic").click(function () {
var updating = $(this).attr("updating");
$(".reqSpan").show();
debugger;
if (updating && updating == "true") {
//判断
if ($("select[name='new_casetype']").val().length == 0) {
alert("请选择问题类型!");
} else if ($("select[name='new_caselevel']").val().length == 0) {
alert("请选择问题级别!");
//} else if ($("input[name='new_productversion']").val().length == 0) {
// alert("请选择产品版本!");
} else if ($("textarea[name='new_casedescription']").val().length > 2000) {
alert("问题描述长度超过2000!");
} else if ($("textarea[name='new_ProductDescription']").val().length > 2000) {
alert("产品描述长度超过2000!");
} else if ($("select[name='new_casetype']").val() == '100000002' && $("select[name='new_devicestage']").val().length == 0) {
alert("设备应用阶段不能为空");
} else if (!$('#id_tr_barcodechangereason').is(':hidden') && !$('[name="new_barcodechangereason"]').val()) {
alert("新条码产品线与原产品线不一致,请填写更换条码原因");
}
else {
updateForRefrush(this, changeForDisplay);
}
}
else if (updating == "false") {
$('#id_tr_barcodechangereason').hide();
changeForUpdate(this, function (e) {
$(e).attr("updating", "true");
$(e).text("保存");
$("#btn_submit").attr("updating", "true");
$("#btn_submit").show();
$("#btn_cancelbasic").show();
});
}
});
$("#btn_submit").click(function () {
submitstatus = true;
case_context.setValue("new_casestauts", 100000000);
$("#btn_editbasic").click();
});
$("#btn_cancelbasic").click(function () {
confirm("取消编辑?", function () {
var new_barcode = case_context.data["new_barcode"];// $("#").text();
$("input[name='new_barcode']").val(new_barcode).trigger("change"); //刷新条形码
var $btn_cancelbasic = $("#btn_cancelbasic")
var btn_edit = $(".btn_edit[updating='true'][cancelbtn='#" + $btn_cancelbasic.attr("id") + "']");
changeForDisplay(btn_edit, false);
btn_edit.attr("updating", false);
$("#btn_submit").attr("updating", false);
btn_edit.text("编辑");
$btn_cancelbasic.hide();
$("#btn_submit").hide();
$(".reqSpan").hide(); //隐藏*
});
});
/******************** init the event for operation button end ********************/
/********* loading 工单处理过程 start *********/
var loadDealprodure = function () {
listDataLoad({
parameters: requestParam, url: "/Case/GetDealprodureList", obj: "tb_DealprodureList"
});
};
var loadRmaList = function () {
listDataLoad({
parameters: requestParam, url: "/Case/GetRmaList", obj: "tb_RmaList", operating: { "查看": viewRma }
});
};
/********* loading 工单处理过程 end *********/
var requestParam = { new_case: case_id };
/********* loading progress *********/
$("#btnAddprogress").click(function () {
openModelDialog("添加处理进展", "/Case/CreateProgressPage?new_case=" + new_caseBase.new_caseId + "&status=2", 500, 500);
});
var updateProgress = function (data) {
openModelDialog("更新处理进展", "/Case/CreateProgressPage?new_case=" + new_caseBase.new_caseId + "&status=3&new_progress查看处理进展", "/Case/CreateProgressPage?new_case=" + new_caseBase.new_caseId + "&status=4&new_progress/Case/GetProgressList", obj: "tb_ProgressList", operating: { "编辑": updateProgress, "查看": viewProgress } });
};
/********* loading progress end *********/
/********* loading Solution *********/
$("#btnAddSolution").click(function () {
if (!$('#new_casetype').text() || !$('#new_caselevel').text() || $('#new_casetype').text() == '--' || $('#new_caselevel').text() == '--') {
alert("请先填写问题单的问题级别以及问题类型信息");
return false;
}
//2019-04-26 SLL
var versiOnID= $('#new_productversion').attr('guid');
var caselevel = $('#new_caselevel').attr('guid');
if (caselevel == 100000000 || caselevel == 100000001 || caselevel == 100000002) {
if (!versionID) {
alert("请先输入版本信息再提交解决方案");
return false;
}
}
openModelDialog("添加解决方案", "/Case/CreateSolutionPage?new_case=" + new_caseBase.new_caseId + "&status=2", 500, 500);
});
$("#btnAddSolution_crm").click(function () {
//2019-04-26 SLL
var versiOnID= $('#new_productversion').attr('guid');
var caselevel = $('#new_caselevel').attr('guid');
if (caselevel == 100000000 || caselevel == 100000001 || caselevel == 100000002) {
if (!versionID) {
alert("请先输入版本信息再提交解决方案");
return false;
}
}
});
//crm的解决方案
var crmlink = "http://crm.h3c.com:5555/H3C/main.aspx?etc=10043&extraqs=%3f_CreateFromId%3d%257b" + new_caseBase.new_caseId + "%257d%26_CreateFromType%3d10027%26etc%3d10043&pagetype=entityrecord#80196053";
$("#btnAddSolution_crm").attr("href", crmlink);
var updateSolution = function (data) {
openModelDialog("编辑解决方案", "/Case/CreateSolutionPage?new_case=" + new_caseBase.new_caseId + "&status=3&new_solutiOn查看解决方案", "/Case/CreateSolutionPage?new_case=" + new_caseBase.new_caseId + "&status=4&new_solutiOn解决方案反馈", "/Case/SolutionFeedbackPage?new_solutiOn请先提交解决方案!");
return false;
}
};
var loadSolution = function () {
listDataLoad({ parameters: requestParam, url: "/Case/GetSolutionList", obj: "tb_SolutionList", operating: { "编辑": updateSolution, "查看": viewSolution, "反馈": solutionFeedback } });
};
/********* loading Solution end *********/
/********* loading Additional *********/
$("#btnApplyAdditional").click(function () {
openModelDialog("申请补充信息", "/Case/CreateAdditionalPage?new_case=" + new_caseBase.new_caseId + "&status=2", 500, 500);
});
$("#btnAddAdditional").click(function () {
openModelDialog("添加补充信息", "/Case/CreateAdditionalPage?new_case=" + new_caseBase.new_caseId + "&status=3", 500, 500);
});
var updateAddition = function (data) {
openModelDialog("编辑补充信息", "/Case/CreateAdditionalPage?new_case=" + new_caseBase.new_caseId + "&status=3&new_additiOnalinfo编辑补充信息", "/Case/CreateAdditionalPage?new_case=" + new_caseBase.new_caseId + "&status=4&new_additiOnalinfo/Case/GetAdditionList", obj: "tb_AdditionList", operating: { "补充": updateAddition, "查看": viewAddition } });
};
/********* loading Additional end *********/
/********* loading 回访 *********/
$("#btn_addvisit").click(function () {
openModelDialog("添加回访记录", '/Content/WorkItemCallback.html#{ url: "/Case/CaseCallBack", caseId: "' + case_context.caseID
+ '",new_isonsite:"' + case_context.data.new_isonsite
+ '",isserver:"' + case_context.data.IsServer
+ '" }', 520, 400);
});
var loadVisit = function () {
listDataLoad({
parameters: requestParam, url: "/Case/GetCallBackList", obj: "tb_CallBackList", operating: { "查看": viewCallBack }
});
};
var viewRma = function (data) {
var rma_link = "http://crm.h3c.com:5555/H3C/main.aspx?etn=new_rma&extraqs=&id=%7b" + data.rma_id + "%7d&newWindow=true&pagetype=entityrecord";
window.open(rma_link);
}
var viewCallBack = function (data) {
openModelDialog("查看回访记录", '/Content/WorkItemCallback.html#{ url: "/Case/CaseCallBack", new_score: "' + data.new_score
+ '",new_isonsite:"' + case_context.data.new_isonsite
+ '",new_visitresult:"' + data.new_visitresult.replace(/\n/g, "| 设备重启时ctrl+B,然后又一个跳过当前密码,去登录即可,8是跳过密码登录设备 ===========================<EXTENDED-BOOTWARE MENU>=========================== |<1> Boot System |<2> Enter Serial SubMenu |<3> Enter Ethernet SubMenu |<4> File Control |<5> Restore to Factory Default Configuration |<6> Skip Current System Configuration |<7> BootWare Operation Menu |<8> Skip Authentication for Console Login |<9> Storage Device Operation |<0> Reboot |
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论