Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
97414985
Commit
97414985
authored
Aug 07, 2023
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project1' into project1
parents
288a6428
26a77c75
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
application.vue
src/views/equipment/application.vue
+12
-0
equipmentAbandonment.vue
src/views/equipment/equipmentAbandonment.vue
+14
-0
No files found.
src/views/equipment/application.vue
View file @
97414985
...
...
@@ -85,6 +85,8 @@ export default {
name
:
'Role'
,
data
()
{
return
{
// 判断是否存在缓存
exist
:
false
,
form
:
{
pn
:
''
,
phd
:
''
,
...
...
@@ -118,7 +120,17 @@ export default {
this
.
$refs
.
input1
.
$refs
.
input
.
focus
()
})
},
// 路由跳转,是存储页面的值
beforeRouteLeave
(
to
,
from
,
next
)
{
console
.
log
(
'form'
)
localStorage
.
setItem
(
'form'
,
JSON
.
stringify
(
this
.
form
))
next
()
},
created
()
{
localStorage
.
getItem
(
'form'
)
?
this
.
exist
=
true
:
this
.
exist
=
false
if
(
this
.
exist
)
{
this
.
form
=
JSON
.
parse
(
localStorage
.
getItem
(
'form'
))
}
this
.
init
()
},
methods
:
{
...
...
src/views/equipment/equipmentAbandonment.vue
View file @
97414985
...
...
@@ -267,6 +267,9 @@ export default {
name
:
'Role'
,
data
()
{
return
{
Rowform
:
{
},
abandonTitle
:
''
,
abandonOpen
:
false
,
abandonFrom
:
{
...
...
@@ -779,7 +782,18 @@ export default {
handleDelete
(
row
)
{
console
.
log
(
'row'
,
row
)
this
.
abandonTitle
=
'废弃表单信息'
this
.
Rowform
=
row
this
.
abandonFrom
.
businessId
=
row
.
businessId
this
.
abandonFrom
.
pn
=
row
.
pn
this
.
abandonFrom
.
createBy
=
row
.
createBy
this
.
abandonFrom
.
createDate
=
row
.
createDate
this
.
abandonFrom
.
delFlag
=
row
.
delFlag
this
.
abandonFrom
.
lot
=
row
.
lot
this
.
abandonFrom
.
phd
=
row
.
phd
this
.
abandonFrom
.
plocation
=
row
.
plocation
this
.
abandonFrom
.
prank
=
row
.
prank
this
.
abandonFrom
.
psm
=
row
.
psm
this
.
abandonFrom
.
pzl
=
row
.
pzl
this
.
abandonOpen
=
true
// const EquipmentIds = row.businessId || this.ids;
...
...
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