Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 48b73c27
authored
Apr 18, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'yangm_dev_v2.1.0' into 'v2.1.0'
fixed See merge request
!36
2 parents
e266cb3f
ca1eaf73
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
16 deletions
package.json
src/api/modules/clientManage.js
src/api/modules/tagsManage.js
src/components/selectEmp/index.vue
src/mixins/tag.js
src/utils/filters.js
src/views/clientManage/clientDetail.vue
src/views/guestGroup/index.vue
src/views/leadManage/index.vue
package.json
View file @
48b73c2
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
"echarts"
:
"^5.2.0"
,
"echarts"
:
"^5.2.0"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.
3.9
"
,
"glsx-components"
:
"^1.
4.1
"
,
"glsx-table"
:
"^1.1.0"
,
"glsx-table"
:
"^1.1.0"
,
"jquery"
:
"^3.6.0"
,
"jquery"
:
"^3.6.0"
,
"sha1"
:
"^1.1.1"
,
"sha1"
:
"^1.1.1"
,
...
...
src/api/modules/clientManage.js
View file @
48b73c2
...
@@ -126,7 +126,7 @@ export function clientManageExportApi(params) {
...
@@ -126,7 +126,7 @@ export function clientManageExportApi(params) {
export
function
perfectCustomerPhone
(
params
)
{
export
function
perfectCustomerPhone
(
params
)
{
params
.
method
=
`entmicro.api.customer.perfectCustomerPhone`
params
.
method
=
`entmicro.api.customer.perfectCustomerPhone`
return
http3
({
return
http3
({
url
:
'
http://192.168.3.193:8395
/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/tagsManage.js
View file @
48b73c2
...
@@ -16,7 +16,6 @@ export function getTableList(params) {
...
@@ -16,7 +16,6 @@ export function getTableList(params) {
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
//计算表格上面的数量
//计算表格上面的数量
...
@@ -29,7 +28,6 @@ export function getTableTagNum(params) {
...
@@ -29,7 +28,6 @@ export function getTableTagNum(params) {
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
...
@@ -54,7 +52,6 @@ export function updateTag(params) {
...
@@ -54,7 +52,6 @@ export function updateTag(params) {
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//获取单条数据labelList数组
//获取单条数据labelList数组
...
@@ -67,7 +64,6 @@ export function queryLabelListByGroupId(params) {
...
@@ -67,7 +64,6 @@ export function queryLabelListByGroupId(params) {
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
...
...
src/components/selectEmp/index.vue
View file @
48b73c2
...
@@ -80,7 +80,7 @@ export default {
...
@@ -80,7 +80,7 @@ export default {
type
type
}
}
this
.
$apis
.
leadManage
.
selectableStaff
(
params
).
then
(
res
=>
{
this
.
$apis
.
leadManage
.
selectableStaff
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
list
this
.
tableData
=
res
.
list
?
res
.
list
:
[]
this
.
tableTotal
=
res
.
total
this
.
tableTotal
=
res
.
total
})
})
},
},
...
...
src/mixins/tag.js
View file @
48b73c2
...
@@ -157,11 +157,13 @@ export default {
...
@@ -157,11 +157,13 @@ export default {
if
(
this
.
tableTotal
==
0
)
{
if
(
this
.
tableTotal
==
0
)
{
this
.
$refs
.
viewCustomers
.
setTableHeightFun
()
this
.
$refs
.
viewCustomers
.
setTableHeightFun
()
}
}
if
(
tagLists
.
length
==
0
)
{
// this.$nextTick(() => {
document
.
querySelector
(
'.noDataText'
).
innerText
=
'请选择标签'
// if (tagLists.length == 0) {
}
else
{
// document.querySelector('.noDataText').innerText = '请选择标签'
document
.
querySelector
(
'.noDataText'
).
innerText
=
'暂无数据'
// } else {
}
// document.querySelector('.noDataText').innerText = '暂无数据'
// }
// })
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
userLoading
=
false
this
.
userLoading
=
false
...
...
src/utils/filters.js
View file @
48b73c2
...
@@ -16,12 +16,14 @@ const toLabel = value => {
...
@@ -16,12 +16,14 @@ const toLabel = value => {
if
(
value
!==
0
&&
!
value
)
{
if
(
value
!==
0
&&
!
value
)
{
return
return
}
}
let
sourceList
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
let
sourceList
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
if
(
sourceList
)
{
let
curElement
=
sourceList
.
find
(
item
=>
{
let
curElement
=
sourceList
.
find
(
item
=>
{
return
item
.
value
===
value
return
item
.
value
===
value
})
})
return
curElement
.
label
return
curElement
.
label
}
}
}
const
tagType
=
value
=>
{
const
tagType
=
value
=>
{
let
type
=
''
let
type
=
''
...
...
src/views/clientManage/clientDetail.vue
View file @
48b73c2
...
@@ -815,6 +815,8 @@ export default {
...
@@ -815,6 +815,8 @@ export default {
if
(
res
)
{
if
(
res
)
{
this
.
getPageDetail
()
this
.
getPageDetail
()
this
.
$message
.
success
(
'设置成功'
)
this
.
$message
.
success
(
'设置成功'
)
}
else
{
this
.
$message
.
error
(
'设置失败'
)
}
}
})
})
this
.
phoneVisible
=
false
this
.
phoneVisible
=
false
...
@@ -1010,7 +1012,7 @@ export default {
...
@@ -1010,7 +1012,7 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
}
}
.leftWrapTop
{
.leftWrapTop
{
.leftWrapBottom{
.leftWrapBottom
{
text-align
:
left
;
text-align
:
left
;
}
}
padding
:
0
20px
;
padding
:
0
20px
;
...
...
src/views/guestGroup/index.vue
View file @
48b73c2
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
{
{
label
:
'操作'
,
label
:
'操作'
,
prop
:
'optionBtns'
,
prop
:
'optionBtns'
,
width
:
'1
4
0px'
,
width
:
'1
8
0px'
,
addHtml
:
'optionBtns'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
fixed
:
'right'
}
}
...
...
src/views/leadManage/index.vue
View file @
48b73c2
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</
template
>
</
template
>
<!-- 跟进员工 -->
<!-- 跟进员工 -->
<
template
slot=
"userName"
slot-scope=
"scope"
>
<
template
slot=
"userName"
slot-scope=
"scope"
>
<el-tag
type=
"info"
:disable-transitions=
"false"
v-if=
"scope.scope.userName
!== null
"
>
<el-tag
type=
"info"
:disable-transitions=
"false"
v-if=
"scope.scope.userName"
>
<i
class=
"el-icon-user-solid"
></i>
<i
class=
"el-icon-user-solid"
></i>
{{
scope
.
scope
.
userName
}}
{{
scope
.
scope
.
userName
}}
</el-tag>
</el-tag>
...
...
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