Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 b2e98371
authored
Dec 30, 2021
by
test
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户H5状态调整
1 parent
ebdeb462
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
linkwe-mobile/src/api/seas.js
linkwe-mobile/src/views/highSeas/index.vue
linkwe-mobile/src/api/seas.js
View file @
b2e9837
...
@@ -2,7 +2,15 @@ import request from '@/utils/request'
...
@@ -2,7 +2,15 @@ import request from '@/utils/request'
export
function
getTypeList
(
data
)
{
export
function
getTypeList
(
data
)
{
return
request
({
return
request
({
url
:
'/wecom/seas/findEmployeeCustomer'
,
url
:
"/wecom/seas/findEmployeeCustomer"
,
params
:
data
params
:
data
})
})
}
}
export
function
setState
(
data
)
{
return
request
({
url
:
"/wecom/seas/setState"
,
method
:
"post"
,
data
:
data
})
}
\ No newline at end of file
\ No newline at end of file
linkwe-mobile/src/views/highSeas/index.vue
View file @
b2e9837
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</van-cell>
</van-cell>
</van-cell-group>
</van-cell-group>
</van-tab>
</van-tab>
<van-tab
:title=
"'待通过(' + total2 + ')'"
>
<
!-- <
van-tab :title="'待通过(' + total2 + ')'">
<van-cell-group>
<van-cell-group>
<van-cell>
<van-cell>
<template v-for="(unit, key) in list2">
<template v-for="(unit, key) in list2">
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</template>
</template>
</van-cell>
</van-cell>
</van-cell-group>
</van-cell-group>
</van-tab>
</van-tab>
-->
<van-tab
:title=
"'已添加(' + total2 + ')'"
>
<van-tab
:title=
"'已添加(' + total2 + ')'"
>
<van-cell-group>
<van-cell-group>
<van-cell>
<van-cell>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<
script
src=
"https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"
></
script
>
<
script
src=
"https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"
></
script
>
<
script
>
<
script
>
import
ClipboardJS
from
'clipboard'
import
ClipboardJS
from
'clipboard'
import
{
getTypeList
}
from
'@/api/seas.js'
import
{
getTypeList
,
setState
}
from
'@/api/seas.js'
export
default
{
export
default
{
name
:
'highSeas-index'
,
name
:
'highSeas-index'
,
...
@@ -114,10 +114,12 @@
...
@@ -114,10 +114,12 @@
const
clipboard
=
new
ClipboardJS
(
e
.
target
,
{
text
:
()
=>
text
})
const
clipboard
=
new
ClipboardJS
(
e
.
target
,
{
text
:
()
=>
text
})
clipboard
.
on
(
'success'
,
e
=>
{
clipboard
.
on
(
'success'
,
e
=>
{
this
.
$toast
({
type
:
'success'
,
message
:
'复制成功'
})
this
.
$toast
({
type
:
'success'
,
message
:
'复制成功'
})
wx
.
invoke
(
'navigateToAddCustomer'
,
setState
({
phone
:
text
}).
then
(
res
=>
{
{},
wx
.
invoke
(
'navigateToAddCustomer'
,
function
(
res
)
{
{},
})
function
(
res
)
{
})
})
// 释放内存
// 释放内存
clipboard
.
off
(
'error'
)
clipboard
.
off
(
'error'
)
clipboard
.
off
(
'success'
)
clipboard
.
off
(
'success'
)
...
...
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