Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
3b978147
Commit
3b978147
authored
Feb 26, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一下
parent
d5f69714
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
UserCenter.vue
...afetyprogress-web/src/components/bigWindow/UserCenter.vue
+1
-1
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+6
-8
No files found.
gassafetyprogress-web/src/components/bigWindow/UserCenter.vue
View file @
3b978147
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
size=
"mini"
size=
"mini"
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
:height=
"tableHeight"
class=
"el-bottom"
class=
"el-bottom"
:key=
"Math.random()"
:key=
"Math.random()"
>
>
...
...
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
3b978147
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-26 2
1:14:21
* @LastEditTime: 2022-02-26 2
2:11:45
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
* @FilePath: /test/hello-world/src/views/Home.vue
...
@@ -285,11 +285,11 @@ export default {
...
@@ -285,11 +285,11 @@ export default {
}));
}));
this
.
selarr
=
this
.
company
.
map
((
item
)
=>
item
.
conpanyId
);
this
.
selarr
=
this
.
company
.
map
((
item
)
=>
item
.
conpanyId
);
// getPipe() getTyx() getFm() getCz() getVideo() getUser()
// getPipe() getTyx() getFm() getCz() getVideo() getUser()
//
this.goMap(getPipe, this.addPipeLine, Line);
this
.
goMap
(
getPipe
,
this
.
addPipeLine
,
Line
);
//
this.goMap(getTyx, this.addDevice, DeviceA);
this
.
goMap
(
getTyx
,
this
.
addDevice
,
DeviceA
);
this
.
goMap
(
getFm
,
this
.
addDevice
,
DeviceA
);
this
.
goMap
(
getFm
,
this
.
addDevice
,
DeviceA
);
//
this.goMap(getCz, this.addDevice, DeviceA);
this
.
goMap
(
getCz
,
this
.
addDevice
,
DeviceA
);
//
this.goMap(getVideo, this.addDevice, VideoView);
this
.
goMap
(
getVideo
,
this
.
addDevice
,
VideoView
);
this
.
goMap
(
detectorUserList
,
this
.
addDevice
,
User
);
this
.
goMap
(
detectorUserList
,
this
.
addDevice
,
User
);
// getVideo().then((res) => {
// getVideo().then((res) => {
// console.log("getVideo", res);
// console.log("getVideo", res);
...
@@ -322,9 +322,7 @@ export default {
...
@@ -322,9 +322,7 @@ export default {
},
},
goMap
(
httpFunc
,
addFunc
,
component
)
{
goMap
(
httpFunc
,
addFunc
,
component
)
{
httpFunc
().
then
((
res
)
=>
{
httpFunc
().
then
((
res
)
=>
{
console
.
log
(
"resresres"
,
res
);
if
(
res
.
data
&&!
res
.
data
[
0
].
iconType
){
if
(
!
res
.
data
[
0
].
iconType
){
res
.
data
.
forEach
(
item
=>
{
res
.
data
.
forEach
(
item
=>
{
item
.
iconType
=
6
;
item
.
iconType
=
6
;
})
})
...
...
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