|
@@ -54,7 +54,7 @@ $(document).ready(function () {
|
|
|
const newVal = $('#gr-search').val();
|
|
|
let html = '';
|
|
|
if (newVal && newVal === oldSearchVal) {
|
|
|
- accountList.filter(item => item && cur_uid !== item.id && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
|
|
|
+ accountList.filter(item => item && stage_uid !== item.id && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
|
|
|
html += `<dd class="border-bottom p-2 mb-0" data-id="${item.id}">
|
|
|
<p class="mb-0 d-flex"><span class="text-primary">${item.name}</span><spanclass="ml-auto">${item.mobile || ''}</span></p>
|
|
|
<span class="text-muted">${item.role || ''}</span>
|
|
@@ -68,7 +68,7 @@ $(document).ready(function () {
|
|
|
if (!group) return;
|
|
|
html += `<dt><a href="javascript: void(0);" class="acc-btn" data-groupid="${idx}" data-type="hide"><i class="fa fa-plus-square"></i></a> ${group.groupName}</dt><div class="dd-content" data-toggleid="${idx}">`;
|
|
|
group.groupList.forEach(item => {
|
|
|
- if (item.id !== cur_uid) {
|
|
|
+ if (item.id !== stage_uid) {
|
|
|
html += `<dd class="border-bottom p-2 mb-0" data-id="${item.id}">
|
|
|
<p class="mb-0 d-flex"><span class="text-primary">${item.name}</span><span class="ml-auto">${item.mobile || ''}</span></p>
|
|
|
<span class="text-muted">${item.role || ''}</span>
|
|
@@ -449,4 +449,4 @@ $(document).ready(function () {
|
|
|
' </li>';
|
|
|
return html;
|
|
|
}
|
|
|
-});
|
|
|
+});
|