Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-manager-ui
Commits
859ed8be
Commit
859ed8be
authored
Apr 01, 2024
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
ce4cb858
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
3 deletions
+16
-3
src/views/Home.vue
src/views/Home.vue
+1
-1
src/views/device/alarm/info/drawershow.vue
src/views/device/alarm/info/drawershow.vue
+2
-0
src/views/device/drawershow.vue
src/views/device/drawershow.vue
+4
-0
src/views/device/drawerview.vue
src/views/device/drawerview.vue
+2
-0
src/views/device/list.vue
src/views/device/list.vue
+6
-1
src/views/sitestat/mapDetail.vue
src/views/sitestat/mapDetail.vue
+1
-1
No files found.
src/views/Home.vue
View file @
859ed8be
...
@@ -338,7 +338,7 @@ export default {
...
@@ -338,7 +338,7 @@ export default {
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
this
.
$message
.
error
(
error
.
message
);
this
.
$message
.
error
(
'
同步统计设备中,请稍后再统计!
'
);
});
});
},
},
...
...
src/views/device/alarm/info/drawershow.vue
View file @
859ed8be
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
:visible.sync=
"open"
:visible.sync=
"open"
:direction=
"direction"
:direction=
"direction"
size=
"50%"
size=
"50%"
:append-to-body=
"true"
:modal-append-to-body=
"false"
>
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-row>
<el-row>
...
...
src/views/device/drawershow.vue
View file @
859ed8be
...
@@ -266,6 +266,10 @@ export default {
...
@@ -266,6 +266,10 @@ export default {
},
},
methods
:
{
methods
:
{
beforeSubmit
(
data
){
data
.
defectsLiabilityPeriod
=
new
Date
(
data
.
defectsLiabilityPeriod
)
return
data
},
changeProduct
(
val
)
{
changeProduct
(
val
)
{
this
.
form
.
productCode
=
this
.
dict
.
productCode
[
val
];
this
.
form
.
productCode
=
this
.
dict
.
productCode
[
val
];
},
},
...
...
src/views/device/drawerview.vue
View file @
859ed8be
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
:direction=
"direction"
:direction=
"direction"
:destroy-on-close=
"true"
:destroy-on-close=
"true"
size=
"80%"
size=
"80%"
:append-to-body=
"true"
:modal-append-to-body=
"false"
>
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-tabs
style=
"margin-left: 10px"
v-model=
"activeName"
>
<el-tabs
style=
"margin-left: 10px"
v-model=
"activeName"
>
...
...
src/views/device/list.vue
View file @
859ed8be
...
@@ -279,6 +279,10 @@ export default {
...
@@ -279,6 +279,10 @@ export default {
},
},
// 用户导入参数
// 用户导入参数
upload
:
{
upload
:
{
// 请求头
headers
:{
Authorization
:
''
},
// 是否显示弹出层(设备导入)
// 是否显示弹出层(设备导入)
open
:
false
,
open
:
false
,
// 弹出层标题(设备导入)
// 弹出层标题(设备导入)
...
@@ -467,7 +471,8 @@ export default {
...
@@ -467,7 +471,8 @@ export default {
this
.
siteId
=
this
.
$route
.
query
.
siteId
;
this
.
siteId
=
this
.
$route
.
query
.
siteId
;
this
.
info
=
this
.
$route
.
query
;
this
.
info
=
this
.
$route
.
query
;
this
.
query
=
{
siteId
:
this
.
siteId
};
this
.
query
=
{
siteId
:
this
.
siteId
};
this
.
upload
.
headers
.
Authorization
=
window
.
sessionStorage
.
getItem
(
"
token
"
)
||
""
console
.
log
(
this
.
upload
);
this
.
$get
(
"
/sitestat/siteInfo
"
,
{
this
.
$get
(
"
/sitestat/siteInfo
"
,
{
siteId
:
this
.
siteId
,
siteId
:
this
.
siteId
,
})
})
...
...
src/views/sitestat/mapDetail.vue
View file @
859ed8be
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
val
=
val
+
"
%
"
;
val
=
val
+
"
%
"
;
}
}
this
.
query
=
Object
.
assign
({},
this
.
query
,
{
device
Nam
e
:
val
});
this
.
query
=
Object
.
assign
({},
this
.
query
,
{
device
Cod
e
:
val
});
this
.
getData
();
this
.
getData
();
},
},
editSite
()
{
editSite
()
{
...
...
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