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
714f9103
Commit
714f9103
authored
Jul 29, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除菜单
parent
68c41a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
index.vue
src/views/sample/basicInformation/index.vue
+0
-5
No files found.
src/views/sample/basicInformation/index.vue
View file @
714f9103
...
@@ -226,7 +226,6 @@ export default {
...
@@ -226,7 +226,6 @@ export default {
}
)
}
)
}
else
{
}
else
{
add
(
this
.
form
).
then
(
res
=>
{
add
(
this
.
form
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
open
=
false
this
.
open
=
false
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
...
@@ -239,7 +238,6 @@ export default {
...
@@ -239,7 +238,6 @@ export default {
}
}
}
else
{
}
else
{
// 校验失败,显示错误信息或进行其他操作
// 校验失败,显示错误信息或进行其他操作
console
.
log
(
'22222'
)
}
}
}
)
}
)
}
,
}
,
...
@@ -248,7 +246,6 @@ export default {
...
@@ -248,7 +246,6 @@ export default {
this
.
reFrom
()
this
.
reFrom
()
}
,
}
,
handleDelete
(
row
)
{
handleDelete
(
row
)
{
console
.
log
(
'row'
,
row
)
const
id
=
row
.
businessId
const
id
=
row
.
businessId
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -267,10 +264,8 @@ export default {
...
@@ -267,10 +264,8 @@ export default {
// 编辑
// 编辑
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
title
=
'编辑基础信息表单'
this
.
title
=
'编辑基础信息表单'
console
.
log
(
'row'
,
row
)
const
id
=
row
.
businessId
const
id
=
row
.
businessId
getDetailById
(
id
).
then
(
res
=>
{
getDetailById
(
id
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
this
.
form
=
res
.
data
this
.
form
=
res
.
data
this
.
open
=
true
this
.
open
=
true
}
)
}
)
...
...
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