Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
esb-demo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhuwj
esb-demo
Commits
cdd4b055
Commit
cdd4b055
authored
Nov 23, 2022
by
wenju-zhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改与取消基础功能
parent
e3fd3a80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
src/components/showDailog/index.vue
src/components/showDailog/index.vue
+5
-2
src/views/search/index.vue
src/views/search/index.vue
+9
-3
No files found.
src/components/showDailog/index.vue
View file @
cdd4b055
...
...
@@ -24,7 +24,7 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
完成修改
</el-button>
<el-button>
取消
</el-button>
<el-button
@
click=
"onCancel"
>
取消
</el-button>
</el-form-item>
</el-form>
</
template
>
...
...
@@ -44,7 +44,10 @@ export default {
},
methods
:
{
onSubmit
()
{
console
.
log
(
'
submit!
'
)
this
.
$emit
(
'
changeIsShowEditDailog
'
,
false
)
},
onCancel
()
{
this
.
$emit
(
'
changeIsShowEditDailog
'
,
false
)
}
}
}
...
...
src/views/search/index.vue
View file @
cdd4b055
...
...
@@ -379,7 +379,10 @@
:visible.sync=
"isShowEditDailog"
width=
"40%"
>
<showEditDailog
:showDailogData=
"showDailogData"
/>
<showEditDailog
:showDailogData=
"showDailogData"
@
changeIsShowEditDailog=
"changeIsShowEditDailog(false)"
/>
</el-dialog>
</div>
</template>
...
...
@@ -651,6 +654,9 @@ export default {
}
}
},
changeIsShowEditDailog
(
condition
)
{
this
.
isShowEditDailog
=
condition
},
// 表格操作,弹出框
handleDailog
(
row
)
{
console
.
log
(
'
row
'
,
row
)
...
...
@@ -684,7 +690,7 @@ export default {
if
(
res
.
status
===
'
200
'
)
{
// vm.currentRow = res.data.list[0]
// vm.type = 'flow'
vm
.
handleDailog
(
row
.
ftype
)
vm
.
handleDailog
(
row
)
}
})
break
...
...
@@ -693,7 +699,7 @@ export default {
if
(
res
.
status
===
'
200
'
)
{
// vm.currentRow = res.data.list[0]
// vm.type = 'agency'
vm
.
handleDailog
(
row
.
ftype
)
vm
.
handleDailog
(
row
)
}
})
break
...
...
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