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
6b32c1f6
Commit
6b32c1f6
authored
Apr 28, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时修改设备管理保修期
parent
6d038320
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/views/device/drawershow.vue
src/views/device/drawershow.vue
+1
-4
src/views/device/list.vue
src/views/device/list.vue
+2
-2
No files found.
src/views/device/drawershow.vue
View file @
6b32c1f6
...
...
@@ -266,10 +266,7 @@ export default {
},
methods
:
{
beforeSubmit
(
data
){
data
.
defectsLiabilityPeriod
=
new
Date
(
data
.
defectsLiabilityPeriod
)
return
data
},
changeProduct
(
val
)
{
this
.
form
.
productCode
=
this
.
dict
.
productCode
[
val
];
},
...
...
src/views/device/list.vue
View file @
6b32c1f6
...
...
@@ -470,7 +470,8 @@ export default {
this
.
info
=
this
.
$route
.
query
;
this
.
query
=
{
siteId
:
this
.
siteId
};
this
.
upload
.
headers
.
Authorization
=
window
.
sessionStorage
.
getItem
(
"
token
"
)
||
""
console
.
log
(
this
.
upload
);
console
.
log
(
"
upload
"
,
this
.
upload
);
console
.
log
(
"
query
"
,
this
.
$route
.
query
);
this
.
$get
(
"
/sitestat/siteInfo
"
,
{
siteId
:
this
.
siteId
,
})
...
...
@@ -555,7 +556,6 @@ export default {
row
.
siteId
=
this
.
siteId
;
row
.
siteName
=
this
.
siteName
;
row
.
siteCode
=
this
.
siteCode
;
this
.
$refs
.
drawerform
.
add
(
row
);
},
/** 重写编辑方法 */
...
...
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