Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shhjwpgl-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
李苏
shhjwpgl-vue
Commits
f3d6b81f
Commit
f3d6b81f
authored
Nov 20, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增按钮
parent
68265d68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
index.vue
src/views/analysis/query/index.vue
+3
-0
index.vue
src/views/baseData/store/index.vue
+9
-4
No files found.
src/views/analysis/query/index.vue
View file @
f3d6b81f
...
...
@@ -28,6 +28,9 @@
<
script
>
import
Dialog
from
'./dialog.vue'
export
default
{
/*
@param {string}=>title
*/
data
()
{
return
{
config
:
{
...
...
src/views/baseData/store/index.vue
View file @
f3d6b81f
...
...
@@ -6,7 +6,7 @@
<
template
#
toolbar=
"ctx"
>
<AttachFileButton
:app=
'ctx.basePage'
></AttachFileButton>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<
!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
--
>
<
el-button
@
click=
"cds(ctx.basePage)"
size=
'mini'
type=
"primary"
>
创建默认仓库
</el-button
>
</
template
>
</BasePage>
...
...
@@ -82,9 +82,14 @@
},
methods
:
{
/* 示例*/
// demo(basePage){
// }
cds
(
ctx
){
this
.
$post
(
'jcsj/u_ckwh/createDefaultCk'
,{}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
},
components
:{
Edit
...
...
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