Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa0789b6
authored
Jul 25, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改组件内关闭弹框前方法
1 parent
7cd0c143
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
src/components/select-muti-pro/index.vue
src/components/selectMutiProDialog/index.vue
src/components/selectMutiProDialog/indexForCoupon.vue
src/components/selectSingleProDialog/index.vue
src/components/select-muti-pro/index.vue
View file @
fa0789b
<!-- 选择商品弹窗 -->
<
template
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:before-close=
"handleMutiSelectClose"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
>
<div
class=
"flex"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"商品名称:"
>
...
...
src/components/selectMutiProDialog/index.vue
View file @
fa0789b
<!-- 选择商品弹窗 -->
<
template
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
v-loading=
"loading"
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:
before-close=
"handleMutiSelectClose"
:
okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
v-loading=
"loading"
>
<div
class=
"noproDiv"
v-show=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
<p
class=
"noproP"
>
系统暂无已创建的商品
</p>
...
...
src/components/selectMutiProDialog/indexForCoupon.vue
View file @
fa0789b
<!-- 选择商品弹窗 -->
<
template
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
:noClose=
"false"
:noCancel=
"true"
:showClose=
"true"
>
<GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:
before-close=
"handleMutiSelectClose"
:
okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel=
"handleMutiSelectClose"
:noClose=
"false"
:noCancel=
"true"
:showClose=
"true"
>
<div
style=
"max-height:60vh"
>
<div
class=
"noproDiv"
v-if=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
...
...
src/components/selectSingleProDialog/index.vue
View file @
fa0789b
<!-- 选择商品 - 单选 -->
<
template
>
<GLDialog
class=
"single-pro"
bigTitle=
"选择商品"
mode=
"big"
:okText=
"productList.length ? '确定' : '创建商品'"
:visible
.
sync=
"isSingleSelectVisible"
@
onOk=
"handleSingleSelectConfirm"
@
onCancel=
"handleSingleSelectClose"
>
<GLDialog
class=
"single-pro"
bigTitle=
"选择商品"
mode=
"big"
:
before-close=
"handleSingleSelectClose"
:
okText=
"productList.length ? '确定' : '创建商品'"
:visible
.
sync=
"isSingleSelectVisible"
@
onOk=
"handleSingleSelectConfirm"
@
onCancel=
"handleSingleSelectClose"
>
<div
style=
"max-height:60vh"
>
<div
class=
"noproDiv"
v-if=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment