commit
This commit is contained in:
@@ -1124,7 +1124,7 @@ export default {
|
||||
this.selectedAccInfoSearchList.map(item => {
|
||||
let addList;
|
||||
addList = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id == item.id
|
||||
return items.id === item.id
|
||||
})
|
||||
if(addList > -1){
|
||||
// this.$refs.accessTypeSelect.clearSelection()
|
||||
@@ -1211,7 +1211,7 @@ export default {
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
return items.id === item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
|
||||
@@ -1093,7 +1093,7 @@ export default {
|
||||
let addList;
|
||||
|
||||
addList = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id == item.id
|
||||
return items.id === item.id
|
||||
})
|
||||
if(addList > -1){
|
||||
// this.$refs.accessTypeSelect.clearSelection()
|
||||
@@ -1183,7 +1183,7 @@ export default {
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
return items.id === item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
|
||||
+2
-2
@@ -1092,7 +1092,7 @@ export default {
|
||||
this.selectedAccInfoSearchList.map(item => {
|
||||
let addList;
|
||||
addList = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id == item.id
|
||||
return items.id === item.id
|
||||
})
|
||||
if(addList > -1){
|
||||
// this.$refs.accessTypeSelect.clearSelection()
|
||||
@@ -1182,7 +1182,7 @@ export default {
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
return items.id === item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
|
||||
@@ -631,7 +631,7 @@ export default {
|
||||
this.selectList.map(item => {
|
||||
let index;
|
||||
index = this.dataList.findIndex(items => {
|
||||
return items.id = item;
|
||||
return items.id === item;
|
||||
});
|
||||
if (index > -1) {
|
||||
this.dataList.splice(index, 1);
|
||||
@@ -743,6 +743,11 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.data === null){
|
||||
this.standardData = ''
|
||||
this.totalDo =''
|
||||
this.standModel = true;
|
||||
}
|
||||
this.standardData = res.data.records
|
||||
this.totalDo = res.data.total
|
||||
this.standModel = true;
|
||||
|
||||
Reference in New Issue
Block a user