|
@@ -54,7 +54,7 @@ $(document).ready(function () {
|
|
|
const newVal = $('#gr-search').val();
|
|
|
let html = '';
|
|
|
if (newVal && newVal === oldSearchVal) {
|
|
|
- accountList.filter(item => item && stage_uid !== item.id && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
|
|
|
+ accountList.filter(item => item && settle !== 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 !== stage_uid) {
|
|
|
+ if (item.id !== settle) {
|
|
|
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>
|
|
@@ -229,7 +229,7 @@ $(document).ready(function () {
|
|
|
const code = $(this).attr('data-code');
|
|
|
let html = '';
|
|
|
if (newVal && newVal === oldSearchVal2) {
|
|
|
- accountList.filter(item => item && item.id !== stage_uid && (item.name.indexOf(newVal) !== -1 || (item.mobile && item.mobile.indexOf(newVal) !== -1))).forEach(item => {
|
|
|
+ accountList.filter(item => item && item.id !== settle && (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><span
|
|
|
class="ml-auto">${item.mobile || ''}</span></p>
|
|
@@ -246,7 +246,7 @@ $(document).ready(function () {
|
|
|
</a> ${group.groupName}</dt>
|
|
|
<div class="dd-content" data-toggleid="${idx}">`;
|
|
|
group.groupList.forEach(item => {
|
|
|
- if (item.id !== stage_uid) {
|
|
|
+ if (item.id !== settle) {
|
|
|
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>
|
|
@@ -426,7 +426,7 @@ $(document).ready(function () {
|
|
|
let didivhtml = '';
|
|
|
if(group) {
|
|
|
group.groupList.forEach(item => {
|
|
|
- didivhtml += item.id !== stage_uid ? '<dd class="border-bottom p-2 mb-0 " data-id="' + item.id + '" >\n' +
|
|
|
+ didivhtml += item.id !== settle ? '<dd class="border-bottom p-2 mb-0 " data-id="' + item.id + '" >\n' +
|
|
|
'<p class="mb-0 d-flex"><span class="text-primary">' + item.name + '</span><span\n' +
|
|
|
' class="ml-auto">' + item.mobile + '</span></p>\n' +
|
|
|
' <span class="text-muted">' + item.role + '</span>\n' +
|