Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b24c3da7
authored
Apr 10, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改messageBox
1 parent
29a57c7a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
26 deletions
pages/common/login.vue
pages/detail/components/Media_1.vue
pages/detail/detail.vue
pages/common/login.vue
View file @
b24c3da
...
@@ -66,8 +66,8 @@ const phoneRex = /^[1]([3-9])[0-9]{9}$/;
...
@@ -66,8 +66,8 @@ const phoneRex = /^[1]([3-9])[0-9]{9}$/;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
mobile
:
'
15626599738
'
,
mobile
:
''
,
code
:
'
8888
'
,
code
:
''
,
count
:
''
,
count
:
''
,
};
};
},
},
...
...
pages/detail/components/Media_1.vue
View file @
b24c3da
...
@@ -55,8 +55,8 @@
...
@@ -55,8 +55,8 @@
</
template
>
</
template
>
</view>
</view>
<MessageBox
<MessageBox
ref=
"carBoxVisible"
position=
"bottom"
position=
"bottom"
v-if=
"carBoxVisible"
:isFooter=
"false"
:isFooter=
"false"
title=
"请选择车型"
title=
"请选择车型"
@
cancel=
"carBoxVisible = false"
@
cancel=
"carBoxVisible = false"
...
@@ -73,26 +73,25 @@
...
@@ -73,26 +73,25 @@
</view>
</view>
</view>
</view>
</MessageBox>
</MessageBox>
<
template
v-if=
"employeeBoxVisible"
>
<MessageBox
<MessageBox
ref=
"employeeBoxVisible"
position=
"bottom"
position=
"bottom"
:isFooter=
"false"
:isFooter=
"false"
title=
"请选择销售"
title=
"请选择销售"
@
cancel=
"employeeBoxVisible = false"
@
cancel=
"employeeBoxVisible = false"
>
>
<view
class=
"select-box"
>
<view
class=
"select-box"
>
<view
<view
class=
"select-item"
class=
"select-item"
:class=
"
{ checked: customerInfo.salesUuid == item.uuid }"
:class=
"{ checked: customerInfo.salesUuid == item.uuid }"
@click="handleSelect(item,'employeeBoxVisible')"
@
click=
"handleSelect(item,'employeeBoxVisible')"
v-for="(item, index) in employeeList"
v-for=
"(item, index) in employeeList"
:key="index"
:key=
"index"
>
>
{{
item
.
staffName
}}
{{ item.staffName }}
</view>
</view>
</view>
</
MessageBox
>
</
view
>
</
template
>
</
MessageBox
>
</view>
</view>
</template>
</template>
...
@@ -169,7 +168,7 @@ export default {
...
@@ -169,7 +168,7 @@ export default {
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
this
.
customerInfo
)
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
this
.
customerInfo
)
},
},
showPopup
(
e
)
{
showPopup
(
e
)
{
this
[
e
]
=
true
this
.
$refs
[
e
].
open
()
},
},
}
}
}
}
...
...
pages/detail/detail.vue
View file @
b24c3da
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
</
template
>
</
template
>
<MessageBox
<MessageBox
v-if=
"finishVisible
"
ref=
"finish
"
@
cancel=
"
finishVisible = false
"
@
cancel=
"
$refs.finish.close()
"
@
confirm=
"done"
@
confirm=
"done"
content=
"是否返回首页并结束本次接待"
content=
"是否返回首页并结束本次接待"
confirmBtnText=
"确认"
confirmBtnText=
"确认"
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
this
.
$refs
.
pay
.
show
();
this
.
$refs
.
pay
.
show
();
},
},
back
()
{
back
()
{
if
(
this
.
type
!=
"preview"
)
return
(
this
.
finishVisible
=
true
);
if
(
this
.
type
!=
"preview"
)
return
this
.
$refs
.
finish
.
open
()
this
.
$store
.
dispatch
(
"clearCustomerInfo"
);
this
.
$store
.
dispatch
(
"clearCustomerInfo"
);
uni
.
navigateBack
();
uni
.
navigateBack
();
},
},
...
...
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