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
26a77c75
Commit
26a77c75
authored
Aug 07, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除菜单
parent
5407ddaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
application.vue
src/views/equipment/application.vue
+13
-1
equipmentAbandonment.vue
src/views/equipment/equipmentAbandonment.vue
+14
-0
No files found.
src/views/equipment/application.vue
View file @
26a77c75
...
...
@@ -20,7 +20,7 @@
<el-input
ref=
"input3"
v-model=
"form.prank"
placeholder=
"请输入prank"
:style=
"
{ width: '400px', height: '30px' }" :maxlength="10" @keyup.enter.native="handelTab(3,$event)" />
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"pissb"
style=
"flex-basis: 50%;"
prop=
"pissb"
>
<el-select
v-model=
"form.pissb"
...
...
@@ -76,6 +76,8 @@ export default {
name
:
'Role'
,
data
()
{
return
{
// 判断是否存在缓存
exist
:
false
,
form
:
{
pn
:
''
,
phd
:
''
,
...
...
@@ -109,7 +111,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 @
26a77c75
...
...
@@ -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