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
a5be4eff
Commit
a5be4eff
authored
Feb 26, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
合并jzl
parents
7c8202cd
39cfd826
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
UserCenter.vue
...afetyprogress-web/src/components/bigWindow/UserCenter.vue
+1
-1
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+7
-3
No files found.
gassafetyprogress-web/src/components/bigWindow/UserCenter.vue
View file @
a5be4eff
...
@@ -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 @
a5be4eff
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-26 22:
06:2
6
* @LastEditTime: 2022-02-26 22:
54:4
6
* @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
...
@@ -270,7 +270,7 @@ export default {
...
@@ -270,7 +270,7 @@ export default {
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
(
getUser
,
this
.
addDevice
,
User
);
this
.
goMap
(
detectorUserList
,
this
.
addDevice
,
User
);
// getVideo().then((res) => {
// getVideo().then((res) => {
// console.log("getVideo", res);
// console.log("getVideo", res);
// });
// });
...
@@ -302,7 +302,11 @@ export default {
...
@@ -302,7 +302,11 @@ 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
){
res
.
data
.
forEach
(
item
=>
{
item
.
iconType
=
6
;
})
}
// 根据数据格式不同,赋值不同,如果是个数组,就用res,如果不是就用res.data
// 根据数据格式不同,赋值不同,如果是个数组,就用res,如果不是就用res.data
let
config
=
{};
let
config
=
{};
if
(
Array
.
isArray
(
res
))
{
if
(
Array
.
isArray
(
res
))
{
...
...
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