Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
7fa3afbe
Commit
7fa3afbe
authored
Jul 14, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
ee91fb51
ffaca1b9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
5 deletions
+27
-5
common.js
dsk-operate-ui/src/api/common.js
+7
-0
edit_11.png
dsk-operate-ui/src/assets/images/project/edit_11.png
+0
-0
edit_22.png
dsk-operate-ui/src/assets/images/project/edit_22.png
+0
-0
khrl1.png
dsk-operate-ui/src/assets/images/project/khrl1.png
+0
-0
khrl2.png
dsk-operate-ui/src/assets/images/project/khrl2.png
+0
-0
index.vue
...operate-ui/src/views/custom/historicalCustomers/index.vue
+20
-5
No files found.
dsk-operate-ui/src/api/common.js
View file @
7fa3afbe
...
@@ -17,3 +17,10 @@ export const claim= function claim(param) {
...
@@ -17,3 +17,10 @@ export const claim= function claim(param) {
data
:
param
data
:
param
})
})
}
}
// 历史客户认领
export
const
historyClaim
=
function
historyClaim
(
name
)
{
return
request
({
url
:
'/customer/historyClaim/'
+
name
,
method
:
'Put'
,
})
}
dsk-operate-ui/src/assets/images/project/edit_11.png
0 → 100644
View file @
7fa3afbe
297 Bytes
dsk-operate-ui/src/assets/images/project/edit_22.png
0 → 100644
View file @
7fa3afbe
308 Bytes
dsk-operate-ui/src/assets/images/project/khrl1.png
0 → 100644
View file @
7fa3afbe
626 Bytes
dsk-operate-ui/src/assets/images/project/khrl2.png
0 → 100644
View file @
7fa3afbe
651 Bytes
dsk-operate-ui/src/views/custom/historicalCustomers/index.vue
View file @
7fa3afbe
...
@@ -40,7 +40,13 @@
...
@@ -40,7 +40,13 @@
<div
class=
"wordprimary ps2"
@
click=
"toDetail(scope.row,'')"
>
{{
scope
.
row
.
companyName
}}
</div>
<div
class=
"wordprimary ps2"
@
click=
"toDetail(scope.row,'')"
>
{{
scope
.
row
.
companyName
}}
</div>
<div
class=
"ps3"
>
<div
class=
"ps3"
>
<div
@
click=
"toRL(scope.row)"
><img
class=
"i"
src=
"@/assets/images/project/khrl1.png"
><img
class=
"o"
src=
"@/assets/images/project/khrl2.png"
></div>
<div
@
click=
"toRL(scope.row)"
><img
class=
"i"
src=
"@/assets/images/project/khrl1.png"
><img
class=
"o"
src=
"@/assets/images/project/khrl2.png"
></div>
</div>
</div>
<div
class=
"delform"
v-if=
"scope.row.companyName == '重庆市永川区惠通建设发展有限公司'"
>
<div
class=
"words"
>
再次认领将会恢复默认客户数据
</div>
<div>
<div
class=
"btnsmall btn_primary h28"
>
确定
</div>
<div
class=
"btnsmall btn_cancel h28"
>
取消
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -194,7 +200,7 @@
...
@@ -194,7 +200,7 @@
import
{
getCustomerList
,
importData
,
addCustomer
}
from
'@/api/custom/custom'
import
{
getCustomerList
,
importData
,
addCustomer
}
from
'@/api/custom/custom'
import
{
getEnterprise
,
getDictType
,}
from
'@/api/main'
import
{
getEnterprise
,
getDictType
,}
from
'@/api/main'
import
{
encodeStr
}
from
"@/assets/js/common"
import
{
encodeStr
}
from
"@/assets/js/common"
import
{
c
laim
}
from
"@/api/common"
//认领
import
{
historyC
laim
}
from
"@/api/common"
//认领
export
default
{
export
default
{
name
:
'CustomList'
,
name
:
'CustomList'
,
data
()
{
data
()
{
...
@@ -289,7 +295,13 @@ export default {
...
@@ -289,7 +295,13 @@ export default {
this
.
$router
.
push
({
path
:
'/enterprise/'
+
encodeStr
(
companyId
),
query
:{
customerId
:
customerId
,
path
:
path
}})
this
.
$router
.
push
({
path
:
'/enterprise/'
+
encodeStr
(
companyId
),
query
:{
customerId
:
customerId
,
path
:
path
}})
},
},
//认领客户
//认领客户
toRL
(
row
){
async
toRL
(
row
){
let
param
=
row
.
companyName
let
res
=
await
historyClaim
(
param
)
if
(
res
.
code
==
200
){
this
.
$message
.
success
(
'认领成功!'
)
this
.
handleCurrentChange
(
1
)
}
},
},
clearname
(
value
){
clearname
(
value
){
...
@@ -299,8 +311,6 @@ export default {
...
@@ -299,8 +311,6 @@ export default {
},
},
//翻页
//翻页
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
pldr
=
false
// this.isNew = false
this
.
searchParam
.
pageNum
=
val
this
.
searchParam
.
pageNum
=
val
this
.
getCustomerList
()
this
.
getCustomerList
()
},
},
...
@@ -309,6 +319,11 @@ export default {
...
@@ -309,6 +319,11 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.delform
{
right
:
5px
;
top
:
40px
;
width
:
228px
;
}
.app-container
{
.app-container
{
height
:
calc
(
100vh
-
134px
)
height
:
calc
(
100vh
-
134px
)
}
}
...
...
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