Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
web-monitor
Commits
ebd42b59
Commit
ebd42b59
authored
Mar 04, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3/4
parent
532c6f37
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
188 additions
and
82 deletions
+188
-82
index.vue
src/components/Del/index.vue
+64
-0
FSU.js
src/store/modules/FSU.js
+8
-1
leaky.js
src/store/modules/leaky.js
+14
-7
monitor.js
src/store/modules/monitor.js
+8
-1
railWay.js
src/store/modules/railWay.js
+9
-2
station.js
src/store/modules/station.js
+9
-1
global_main_loader.js
src/utils/global_main_loader.js
+2
-0
index.vue
src/views/login/index.vue
+1
-1
FSU.vue
src/views/setting/add/comp/FSU.vue
+9
-8
monitorEquip.vue
src/views/setting/add/comp/monitorEquip.vue
+28
-14
fsuTable.vue
src/views/setting/statistics/comp/fsuTable.vue
+10
-10
leakyTable.vue
src/views/setting/statistics/comp/leakyTable.vue
+5
-9
monitorTable.vue
src/views/setting/statistics/comp/monitorTable.vue
+5
-9
railWayTable.vue
src/views/setting/statistics/comp/railWayTable.vue
+10
-9
stationTable.vue
src/views/setting/statistics/comp/stationTable.vue
+6
-10
No files found.
src/components/Del/index.vue
0 → 100644
View file @
ebd42b59
<
template
>
<el-button
:type=
"multipleSelection.data.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.data.length"
@
click=
"del()"
>
删 除
</el-button>
</
template
>
<
script
>
import
{
mapGetters
,
mapActions
}
from
'vuex'
;
import
{
warningAlert
}
from
"../../utils/alert"
;
export
default
{
props
:
{
multipleSelection2
:
{
type
:
Array
,
default
:
()
=>
{}
}
},
components
:
{},
data
()
{
return
{
multipleSelection
:
formInit
(),
};
},
watch
:
{
multipleSelection2
:
{
immediate
:
true
,
handler
(
newV
)
{
this
.
multipleSelection
=
!!
newV
this
.
multipleSelection
=
formInit
(
this
.
multipleSelection2
)
console
.
log
(
this
.
multipleSelection
.
data
.
length
);
},
},
},
computed
:
{
...
mapGetters
({}),
},
methods
:
{
...
mapActions
({}),
del
(){
this
.
$confirm
(
'继续操作将永久删除, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$emit
(
"del"
)
}).
catch
(()
=>
{
warningAlert
(
"取消删除"
)
});
},
},
mounted
()
{},
};
function
formInit
(
data
=
[])
{
return
{
data
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/store/modules/FSU.js
View file @
ebd42b59
...
...
@@ -8,6 +8,9 @@ const mutations = {
changeList
(
state
,
arr
)
{
state
.
list
=
arr
},
changePagesize
(
state
,
total
){
state
.
pageSize
=
total
}
}
const
actions
=
{
asyncList
(
context
)
{
...
...
@@ -15,7 +18,11 @@ const actions = {
current
:
context
.
state
.
pageNum
,
size
:
context
.
state
.
pageSize
,
}).
then
(
res
=>
{
let
total
=
res
.
total
if
(
res
.
total
>
state
.
pageSize
)
{
context
.
commit
(
"changePagesize"
,
total
)
context
.
dispatch
(
"asyncList"
)
}
let
arr
=
res
.
records
?
res
.
records
:[]
context
.
commit
(
"changeList"
,
arr
)
...
...
src/store/modules/leaky.js
View file @
ebd42b59
import
{
leakyCablelist
}
from
"../../views/setting/api"
const
state
=
{
list
:
[],
pageNum
:
1
,
pageSize
:
10
,
pageNum
:
1
,
pageSize
:
10
,
}
const
mutations
=
{
changeList
(
state
,
arr
)
{
state
.
list
=
arr
},
changePagesize
(
state
,
total
)
{
state
.
pageSize
=
total
}
}
const
actions
=
{
asyncList
(
context
)
{
leakyCablelist
(
{
leakyCablelist
({
current
:
context
.
state
.
pageNum
,
size
:
context
.
state
.
pageSize
,
}).
then
(
res
=>
{
let
arr
=
res
.
records
?
res
.
records
:[]
}).
then
(
res
=>
{
let
total
=
res
.
total
if
(
res
.
total
>
state
.
pageSize
)
{
context
.
commit
(
"changePagesize"
,
total
)
context
.
dispatch
(
"asyncList"
)
}
let
arr
=
res
.
records
?
res
.
records
:
[]
context
.
commit
(
"changeList"
,
arr
)
})
}
...
...
src/store/modules/monitor.js
View file @
ebd42b59
...
...
@@ -8,6 +8,9 @@ const mutations = {
changeList
(
state
,
arr
)
{
state
.
list
=
arr
},
changePagesize
(
state
,
total
){
state
.
pageSize
=
total
}
}
const
actions
=
{
asyncList
(
context
)
{
...
...
@@ -15,7 +18,11 @@ const actions = {
current
:
context
.
state
.
pageNum
,
size
:
context
.
state
.
pageSize
,
}).
then
(
res
=>
{
let
total
=
res
.
total
if
(
res
.
total
>
state
.
pageSize
)
{
context
.
commit
(
"changePagesize"
,
total
)
context
.
dispatch
(
"asyncList"
)
}
let
arr
=
res
.
records
?
res
.
records
:[]
context
.
commit
(
"changeList"
,
arr
)
...
...
src/store/modules/railWay.js
View file @
ebd42b59
...
...
@@ -7,7 +7,10 @@ const state = {
const
mutations
=
{
changeList
(
state
,
arr
)
{
state
.
list
=
arr
}
},
changePagesize
(
state
,
total
){
state
.
pageSize
=
total
}
}
const
actions
=
{
asyncList
(
context
)
{
...
...
@@ -15,7 +18,11 @@ const actions = {
current
:
context
.
state
.
pageNum
,
size
:
context
.
state
.
pageSize
,
}).
then
(
res
=>
{
let
total
=
res
.
total
if
(
res
.
total
>
state
.
pageSize
)
{
context
.
commit
(
"changePagesize"
,
total
)
context
.
dispatch
(
"asyncList"
)
}
let
arr
=
res
.
records
?
res
.
records
:[]
context
.
commit
(
"changeList"
,
arr
)
...
...
src/store/modules/station.js
View file @
ebd42b59
...
...
@@ -7,7 +7,11 @@ const state = {
const
mutations
=
{
changeList
(
state
,
arr
)
{
state
.
list
=
arr
},
changePagesize
(
state
,
total
){
state
.
pageSize
=
total
}
}
const
actions
=
{
asyncList
(
context
)
{
...
...
@@ -15,7 +19,11 @@ const actions = {
current
:
context
.
state
.
pageNum
,
size
:
context
.
state
.
pageSize
,
}).
then
(
res
=>
{
let
total
=
res
.
total
if
(
res
.
total
>
state
.
pageSize
)
{
context
.
commit
(
"changePagesize"
,
total
)
context
.
dispatch
(
"asyncList"
)
}
let
arr
=
res
.
records
?
res
.
records
:[]
context
.
commit
(
"changeList"
,
arr
)
...
...
src/utils/global_main_loader.js
View file @
ebd42b59
import
Pagination
from
'@/components/Pagination/index.vue'
import
delids
from
'@/components/Del/index.vue'
// import VueSocketIO from 'vue-socket.io'
export
default
function
performLoader
(
Vue
)
{
// self component
function
plugins
(
Vue
)
{
Vue
.
component
(
'Pagination'
,
Pagination
)
Vue
.
component
(
'delids'
,
delids
)
}
Vue
.
use
(
plugins
)
...
...
src/views/login/index.vue
View file @
ebd42b59
...
...
@@ -120,7 +120,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
handleLogin
();
}
};
...
...
src/views/setting/add/comp/FSU.vue
View file @
ebd42b59
...
...
@@ -56,7 +56,7 @@
v-for=
"item in backupModeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option
></el-select>
</el-form-item>
...
...
@@ -66,7 +66,7 @@
v-for=
"item in connectModeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -76,7 +76,7 @@
v-for=
"item in equipTypeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -89,7 +89,7 @@
v-for=
"item in equipSubTypeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -214,11 +214,12 @@ export default {
asyncstationList
:
"station/asyncList"
,
}),
changerailWay
()
{
console
.
log
(
this
.
FSUForm
.
wayId
);
this
.
stationSelect2
=
this
.
stationlist
.
filter
(
(
item
)
=>
item
.
way
Id
===
this
.
FSUForm
.
wayId
(
item
)
=>
item
.
parent
Id
===
this
.
FSUForm
.
wayId
);
console
.
log
(
this
.
stationlist
);
},
readNodes
(
aaa
=
[],
arrarea
=
[])
{
for
(
let
item
of
aaa
)
{
...
...
@@ -237,8 +238,8 @@ export default {
if
(
valid
)
{
this
.
FSUForm
.
parentId
=
this
.
FSUForm
.
siteId
;
this
.
FSUForm
.
fsuPort
=
Number
(
this
.
FSUForm
.
fsuPort
);
fsusave
(
this
.
FSU
f
orm
).
then
((
res
)
=>
{
console
.
log
(
this
.
FSUForm
);
fsusave
(
this
.
FSU
F
orm
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
successAlert
(
"添加成功"
);
...
...
src/views/setting/add/comp/monitorEquip.vue
View file @
ebd42b59
...
...
@@ -75,7 +75,7 @@
v-for=
"item in equipTypeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -85,7 +85,7 @@
v-for=
"item in equipModeSelect"
:key=
"item.id"
:label=
"item.dictValue"
:value=
"item.
dictValue
"
:value=
"item.
id
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -103,17 +103,26 @@
/>
</el-form-item>
<el-form-item
label=
"安装日期:"
prop=
"installDate"
>
<el-input
v-model=
"monitorForm.installDate"
placeholder=
"请输入安装日期"
/>
<el-date-picker
v-model=
"monitorForm.installDate"
type=
"datetime"
placeholder=
"请选择安装日期"
format=
"yyyy-MM-dd HH:mm:ss"
style=
"width:400px"
value-format=
"yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
" 维护日期:"
prop=
"repairDate"
>
<el-input
v-model=
"monitorForm.repairDate"
placeholder=
"请输入维护日期"
/>
<el-date-picker
v-model=
"monitorForm.repairDate"
type=
"datetime"
placeholder=
"请选择维护日期"
format=
"yyyy-MM-dd HH:mm:ss"
style=
"width:400px"
value-format=
"yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
</el-form>
<div
class=
"btn"
>
...
...
@@ -160,10 +169,10 @@ export default {
equipName
:
""
,
equipSerialNumber
:
""
,
equipType
:
""
,
installDate
:
"
2022-02-24 12:24:84
"
,
installDate
:
""
,
kmSign
:
""
,
repairDate
:
"
2022-02-24 12:24:84
"
,
repairDate
:
""
,
},
rules
:
{
parentId
:
[
...
...
@@ -220,6 +229,7 @@ export default {
asyncfsuList
:
"FSU/asyncList"
,
}),
changerailWay
()
{
this
.
stationSelect2
=
this
.
stationlist
.
filter
(
(
item
)
=>
item
.
parentId
===
this
.
monitorForm
.
wayId
);
...
...
@@ -230,12 +240,14 @@ export default {
);
},
reset
()
{
this
.
$refs
.
monitorForm
.
resetFields
();
},
submit
()
{
this
.
$refs
.
monitorForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
monitorForm
.
parentId
=
this
.
monitorForm
.
fsuId
;
console
.
log
(
this
.
monitorForm
);
monitorEquipsave
(
this
.
monitorForm
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
successAlert
(
"添加成功"
);
...
...
@@ -256,13 +268,15 @@ export default {
equipName
:
""
,
equipSerialNumber
:
""
,
equipType
:
""
,
installDate
:
"
2022-02-22 12:24:84
"
,
installDate
:
""
,
kmSign
:
""
,
repairDate
:
"
2022-02-24 12:24:84
"
,
repairDate
:
""
,
};
});
},
},
created
()
{
selectMonitorItem
().
then
((
res
)
=>
{
...
...
src/views/setting/statistics/comp/fsuTable.vue
View file @
ebd42b59
...
...
@@ -4,12 +4,8 @@
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
>
删除
</el-button
>
<delids
:multipleSelection2=
"multipleSelection"
@
del=
"del()"
>
删除
</delids>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"block = !block"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
...
...
@@ -94,7 +90,7 @@
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"equipName"
label=
"设备名称"
align=
"center"
/>
<el-table-column
prop=
"
wayId
"
label=
"所在铁路线"
align=
"center"
/>
<el-table-column
prop=
"
railWayName
"
label=
"所在铁路线"
align=
"center"
/>
<el-table-column
prop=
"siteId"
label=
"所在站点"
...
...
@@ -236,6 +232,9 @@ export default {
}),
},
methods
:
{
onkeydown_at_phone
(
event
)
{
console
.
log
(
event
.
keyCode
);
},
...
mapActions
({
asyncrailWayList
:
"railWay/asyncList"
,
asyncstationList
:
"station/asyncList"
,
...
...
@@ -252,7 +251,7 @@ export default {
changeType
(
item
)
{
this
.
activeName
=
item
.
key
;
},
del
Data
()
{
del
()
{
let
ids
=
this
.
ids
;
fsubatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -318,8 +317,9 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
console
.
log
(
this
.
FSUForm
);
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
if
(
this
.
tableData
.
length
!=
0
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
...
...
@@ -333,7 +333,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
searchQuery
();
}
};
...
...
src/views/setting/statistics/comp/leakyTable.vue
View file @
ebd42b59
...
...
@@ -4,12 +4,8 @@
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
>
删除
</el-button
>
<delids
:multipleSelection2=
"multipleSelection"
@
del=
"del()"
>
删除
</delids>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"block = !block"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
...
...
@@ -134,7 +130,7 @@
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"
wayId
"
label=
"所在铁路线"
align=
"center"
/>
<el-table-column
prop=
"
railWayName
"
label=
"所在铁路线"
align=
"center"
/>
<el-table-column
prop=
"hundredMetersLoss"
...
...
@@ -299,7 +295,7 @@ export default {
changeType
(
item
)
{
this
.
activeName
=
item
.
key
;
},
del
Data
()
{
del
()
{
let
ids
=
this
.
ids
;
leakyCablebatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -389,7 +385,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
searchQuery
();
}
};
...
...
src/views/setting/statistics/comp/monitorTable.vue
View file @
ebd42b59
...
...
@@ -4,12 +4,8 @@
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
>
删除
</el-button
>
<delids
:multipleSelection2=
"multipleSelection"
@
del=
"del()"
>
删除
</delids>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"block = !block"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
...
...
@@ -110,7 +106,7 @@
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"
wayId
"
label=
"站点所属铁路线"
align=
"center"
/>
<el-table-column
prop=
"
railWayName
"
label=
"站点所属铁路线"
align=
"center"
/>
<el-table-column
prop=
"equipCode"
label=
"设备身份编号"
align=
"center"
/>
<el-table-column
prop=
"ip"
label=
"IP"
align=
"center"
/>
<el-table-column
...
...
@@ -255,7 +251,7 @@ export default {
changeType
(
item
)
{
this
.
activeName
=
item
.
key
;
},
del
Data
()
{
del
()
{
let
ids
=
this
.
ids
;
monitorEquipbatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -336,7 +332,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
searchQuery
();
}
};
...
...
src/views/setting/statistics/comp/railWayTable.vue
View file @
ebd42b59
...
...
@@ -4,15 +4,15 @@
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
>
删除
</el-button
>
<delids
:multipleSelection2=
"multipleSelection"
@
del=
"del()"
>
删除
</delids>
<el-button
type=
"primary"
@
click=
"refresh()"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"block = !block"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
</div>
</div>
<el-form
...
...
@@ -161,7 +161,8 @@ export default {
changeType
(
item
)
{
this
.
activeName
=
item
.
key
;
},
delData
()
{
del
()
{
let
ids
=
this
.
ids
;
railWaybatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -194,7 +195,7 @@ export default {
exportData
()
{},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
// console.log(val);
this
.
ids
=
this
.
multipleSelection
.
map
((
i
)
=>
i
.
id
);
},
...
...
@@ -239,7 +240,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
searchQuery
();
}
};
...
...
src/views/setting/statistics/comp/stationTable.vue
View file @
ebd42b59
...
...
@@ -4,12 +4,8 @@
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
>
删除
</el-button
>
<delids
:multipleSelection2=
"multipleSelection"
@
del=
"del()"
>
删除
</delids>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"block = !block"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
...
...
@@ -81,7 +77,7 @@
@selection-change="handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"
wayId
"
label=
"站点所属铁路线"
align=
"center"
/>
<el-table-column
prop=
"
railWayName
"
label=
"站点所属铁路线"
align=
"center"
/>
<el-table-column
prop=
"siteCode"
label=
"站点编号"
align=
"center"
/>
<el-table-column
prop=
"siteName"
label=
"站名"
align=
"center"
/>
<el-table-column
...
...
@@ -199,7 +195,7 @@ export default {
changeType
(
item
)
{
this
.
activeName
=
item
.
key
;
},
delData
()
{
del
()
{
let
ids
=
this
.
ids
;
sitebatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -235,7 +231,7 @@ export default {
exportData
()
{},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
console
.
log
(
val
);
this
.
ids
=
this
.
multipleSelection
.
map
((
i
)
=>
i
.
id
);
},
...
...
@@ -281,7 +277,7 @@ export default {
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
if
(
key
==
13
)
{
that
.
searchQuery
();
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment