|
|
@@ -616,14 +616,14 @@ function getProductFactory() {
|
|
616
|
616
|
function getSubmitterManager() {
|
|
617
|
617
|
$("#searchNotifications").empty();
|
|
618
|
618
|
$("#searchNotifications").append('<option selected="selected" value="" deptId="">请选择通知人</option>');
|
|
619
|
|
- $.getJSON(huayi.config.callcenter_url + "UserAccount/GetList", {
|
|
|
619
|
+ $.getJSON(huayi.config.callcenter_url + "UserAccount/GetDeptUserAccount", {
|
|
620
|
620
|
"token": $.cookie("token"),
|
|
621
|
621
|
type: 1,
|
|
622
|
622
|
dptid: $("#searchRegionId").val(),
|
|
623
|
623
|
}, function (data) {
|
|
624
|
624
|
var content = data.rows;
|
|
625
|
625
|
$(content).each(function (i, n) {
|
|
626
|
|
- $("<option value='" + n.F_UserName + "'deptId='" + n.F_DeptId + "'>" + n.F_UserName + "</option>").appendTo($("#searchNotifications"));
|
|
|
626
|
+ $("<option value='" + n.F_UserCode + "'deptId='" + n.F_DeptId + "'>" + n.F_UserName + "</option>").appendTo($("#searchNotifications"));
|
|
627
|
627
|
})
|
|
628
|
628
|
})
|
|
629
|
629
|
}
|
|
|
@@ -632,14 +632,14 @@ function getSubmitterManager() {
|
|
632
|
632
|
function getSubmitterSalesman() {
|
|
633
|
633
|
$("#searchNotifications").empty();
|
|
634
|
634
|
$("#searchNotifications").append('<option selected="selected" value="" deptId="">请选择通知人</option>');
|
|
635
|
|
- $.getJSON(huayi.config.callcenter_url + "UserAccount/GetList", {
|
|
|
635
|
+ $.getJSON(huayi.config.callcenter_url + "UserAccount/GetDeptUserAccount", {
|
|
636
|
636
|
"token": $.cookie("token"),
|
|
637
|
637
|
type: 2,
|
|
638
|
638
|
dptid: $("#searchOfficeId").val(),
|
|
639
|
639
|
}, function (data) {
|
|
640
|
640
|
var content = data.rows;
|
|
641
|
641
|
$(content).each(function (i, n) {
|
|
642
|
|
- $("<option value='" + n.F_UserName + "'deptId='" + n.F_DeptId + "'>" + n.F_UserName + "</option>").appendTo($("#searchNotifications"));
|
|
|
642
|
+ $("<option value='" + n.F_UserCode + "'deptId='" + n.F_DeptId + "'>" + n.F_UserName + "</option>").appendTo($("#searchNotifications"));
|
|
643
|
643
|
})
|
|
644
|
644
|
})
|
|
645
|
645
|
}
|
|
|
@@ -680,8 +680,8 @@ var setting = {
|
|
680
|
680
|
enable: true,
|
|
681
|
681
|
autoCheckTrigger: true,
|
|
682
|
682
|
chkboxType: {
|
|
683
|
|
- "Y": "p",
|
|
684
|
|
- "N": "s"
|
|
|
683
|
+ "Y": "",
|
|
|
684
|
+ "N": ""
|
|
685
|
685
|
},
|
|
686
|
686
|
chkStyle: "checkbox",
|
|
687
|
687
|
},
|
|
|
@@ -727,7 +727,6 @@ function onCheck(e, treeId, treeNode) {
|
|
727
|
727
|
$('#searchOfficeId').attr("value",officeId);
|
|
728
|
728
|
getSubmitterSalesman();
|
|
729
|
729
|
}
|
|
730
|
|
- e.stopPropagation();
|
|
731
|
730
|
}
|
|
732
|
731
|
|
|
733
|
732
|
function addRegion() {
|