Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
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
lanbaoming
jiedao-app-operator-master
Commits
a895a0be
Commit
a895a0be
authored
Jul 04, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
4e4a96b2
95b1d12a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
37 deletions
+103
-37
customer.js
src/api/ecw/customer.js
+4
-2
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+72
-32
index.vue
src/views/ecw/oceanCustomer/index.vue
+24
-2
index.vue
src/views/member/user/index.vue
+3
-1
No files found.
src/api/ecw/customer.js
View file @
a895a0be
...
...
@@ -117,9 +117,11 @@ export function getPublicList(query) {
}
//捞取
export
function
setFishing
(
query
){
export
function
setFishing
(
data
){
return
request
({
url
:
''
,
url
:
'
/ecw/customer/catch-open-sea-customer
'
,
method
:
'
put
'
,
data
:
data
})
}
...
...
src/views/ecw/customerCommissionInfo/index.vue
View file @
a895a0be
This diff is collapsed.
Click to expand it.
src/views/ecw/oceanCustomer/index.vue
View file @
a895a0be
...
...
@@ -90,7 +90,7 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-folder-add"
@
click=
"distribution(scope.row)"
>
移交
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-crop"
>
捞取
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-crop"
@
click=
"fishingFn(scope.row)"
>
捞取
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -120,7 +120,7 @@
</template>
<
script
>
import
{
createCustomer
,
updateCustomer
,
deleteCustomer
,
handOverCustomer
,
getPublicList
,
exportCustomerExcel
}
from
"
@/api/ecw/customer
"
;
import
{
createCustomer
,
updateCustomer
,
deleteCustomer
,
handOverCustomer
,
getPublicList
,
exportCustomerExcel
,
setFishing
}
from
"
@/api/ecw/customer
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
upload
from
'
@/components/ImageUpload
'
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
...
...
@@ -365,6 +365,28 @@ export default {
}
})
},
fishingFn
(
row
){
this
.
$confirm
(
`是否要捞取
${
row
.
name
}
的客户`
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
setFishing
({
id
:
row
.
id
}
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
getList
()
this
.
$message
({
type
:
'
success
'
,
message
:
'
捞取成功!
'
});
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
info
'
,
message
:
'
已取消捞取
'
});
});
}
}
};
</
script
>
src/views/member/user/index.vue
View file @
a895a0be
...
...
@@ -504,6 +504,7 @@ export default {
img2
:
this
.
IdDetails
.
img2
,
name
:
this
.
IdDetails
.
name
,
userCardAuthId
:
this
.
IdDetails
.
id
,
auditPass
:
this
.
IdDetails
.
status
===
3
?
true
:
false
,
}
;
memberUserUpdateIdCard
(
p
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
...
...
@@ -526,7 +527,8 @@ export default {
img2
:
this
.
enterpriseFrom
.
img2
,
legalName
:
this
.
enterpriseFrom
.
legalName
,
name
:
this
.
enterpriseFrom
.
name
,
userEnterpriseAuthId
:
this
.
enterpriseFrom
.
id
userEnterpriseAuthId
:
this
.
enterpriseFrom
.
id
,
auditPass
:
this
.
enterpriseFrom
.
status
===
3
?
true
:
false
,
}
memberUserUpdateEnterprise
(
p
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
...
...
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