Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-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
李苏
lxyl-vue
Commits
65520050
Commit
65520050
authored
Jul 03, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上架
parent
de0389e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
index.vue
src/views/ccgl/rkgl/cjbhghk/top/index.vue
+13
-13
index.vue
src/views/ccgl/rkgl/mpzy/top/index.vue
+2
-2
No files found.
src/views/ccgl/rkgl/cjbhghk/top/index.vue
View file @
65520050
...
...
@@ -7,8 +7,8 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!--
<el-button
@
click=
"sj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
上架
</el-button>
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
-->
<el-button
@
click=
"sj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
上架
</el-button>
<!--
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
-->
</
template
>
</BasePage>
...
...
@@ -226,15 +226,15 @@
}
})
},
//
sj(ctx) {
//
if (ctx.singleItem && ctx.singleItem.id) {
//
ctx.DialogTitle = '上架选择工位'
//
ctx.DialogWidth = '30vw'
//
ctx.showDialog = true
//
} else {
// this.
warning('请选中一条数据')
//
}
//
},
sj
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
ctx
.
DialogTitle
=
'上架选择工位'
ctx
.
DialogWidth
=
'30vw'
ctx
.
showDialog
=
true
}
else
{
this
.
$
warning
(
'请选中一条数据'
)
}
},
// close(ctx) {
// if (ctx.singleItem && ctx.singleItem.id) {
// this.$post('lxyl/rkgl/sjrw/cjhk/close', {
...
...
@@ -247,7 +247,7 @@
// })
// } else {
// this.warning('请选择一条数据!')
// this.
$
warning('请选择一条数据!')
// }
// }
...
...
src/views/ccgl/rkgl/mpzy/top/index.vue
View file @
65520050
...
...
@@ -212,7 +212,7 @@
})
}
else
{
this
.
warning
(
'请选中一条数据'
)
this
.
$
warning
(
'请选中一条数据'
)
}
},
...
...
@@ -228,7 +228,7 @@
})
}
else
{
this
.
warning
(
'请选中一条数据'
)
this
.
$
warning
(
'请选中一条数据'
)
}
}
...
...
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