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 7128de28
authored
Aug 19, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新v2.9.0代码
1 parent
09dd9b75
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/clientManage/clientDetail.vue
View file @
7128de2
This diff is collapsed.
Click to expand it.
src/views/clientManage/index.vue
View file @
7128de2
...
@@ -15,7 +15,8 @@
...
@@ -15,7 +15,8 @@
<span
slot=
"customerName"
slot-scope=
"scope"
>
<span
slot=
"customerName"
slot-scope=
"scope"
>
<GLFull
:labelWidth=
"70"
:identification=
"`node_$
{scope.scope.id}`">
{{
scope
.
scope
.
customerName
?
scope
.
scope
.
customerName
:
'--'
}}
</GLFull>
<GLFull
:labelWidth=
"70"
:identification=
"`node_$
{scope.scope.id}`">
{{
scope
.
scope
.
customerName
?
scope
.
scope
.
customerName
:
'--'
}}
</GLFull>
</span>
</span>
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<!--
<span
slot=
"customerSex"
slot-scope=
"scope"
>
-->
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
''
}}
</span>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
''
}}
</span>
</span>
</span>
<!-- 企微名称 -->
<!-- 企微名称 -->
...
@@ -236,12 +237,12 @@ export default {
...
@@ -236,12 +237,12 @@ export default {
// mutiSelectUniqueKey: 'id',
// mutiSelectUniqueKey: 'id',
tableColumns
:
[
tableColumns
:
[
{
//
{
label
:
'客户ID'
,
//
label: '客户ID',
prop
:
'oneId'
,
//
prop: 'oneId',
width
:
290
,
//
width: 290,
line
:
1
//
line: 1
},
//
},
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
...
@@ -443,7 +444,7 @@ export default {
...
@@ -443,7 +444,7 @@ export default {
setTableHeightEvent
()
{
setTableHeightEvent
()
{
this
.
$refs
.
clientManage
.
setTableHeightFun
()
this
.
$refs
.
clientManage
.
setTableHeightFun
()
},
},
setTableFinishFun
(
content
)
{
setTableFinishFun
()
{
//关闭默认时间30天再刷新,showDefaultTime也要设置false
//关闭默认时间30天再刷新,showDefaultTime也要设置false
// if (!this.flushTime) {
// if (!this.flushTime) {
// this.flushTime = true
// this.flushTime = true
...
@@ -457,7 +458,7 @@ export default {
...
@@ -457,7 +458,7 @@ export default {
this
.
$refs
.
clientManage
.
data
.
length
?
(
this
.
$refs
.
clientManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientManage
.
setTableHeightFun
()
this
.
$refs
.
clientManage
.
data
.
length
?
(
this
.
$refs
.
clientManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientManage
.
setTableHeightFun
()
},
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
if
(
params
.
daterange
)
{
if
(
params
.
daterange
)
{
params
.
beginTime
=
this
.
searchForm
.
daterange
[
0
]
params
.
beginTime
=
this
.
searchForm
.
daterange
[
0
]
params
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
params
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
...
@@ -487,14 +488,13 @@ export default {
...
@@ -487,14 +488,13 @@ export default {
// resolve()
// resolve()
// })
// })
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
return
new
Promise
(
async
(
resolve
)
=>
{
if
(
Object
.
keys
(
this
.
$route
.
query
).
length
&&
this
.
queryFlag
==
0
)
{
if
(
Object
.
keys
(
this
.
$route
.
query
).
length
&&
this
.
queryFlag
==
0
)
{
const
res
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
const
res
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
let
add_way
=
this
.
$route
.
query
.
addWay
||
''
let
add_way
=
this
.
$route
.
query
.
addWay
||
''
let
isJoinVal
=
this
.
$route
.
query
.
isJoin
||
null
let
isJoinVal
=
this
.
$route
.
query
.
isJoin
||
null
let
addWayObj
=
res
.
find
(
i
=>
i
.
label
===
add_way
)
let
addWayObj
=
res
.
find
(
i
=>
i
.
label
===
add_way
)
let
addWayVal
=
addWayObj
.
value
this
.
searchForm
.
addWay
=
addWayObj
.
value
this
.
searchForm
.
addWay
=
addWayVal
this
.
searchForm
.
isJoin
=
isJoinVal
===
null
?
null
:
Number
(
isJoinVal
)
this
.
searchForm
.
isJoin
=
isJoinVal
===
null
?
null
:
Number
(
isJoinVal
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$refs
.
combiForm
.
expandFn
()
this
.
$refs
.
combiForm
.
expandFn
()
...
@@ -568,7 +568,7 @@ export default {
...
@@ -568,7 +568,7 @@ export default {
},
},
//导出
//导出
handleExport
()
{
handleExport
()
{
var
params
=
this
.
getParams
()
let
params
=
this
.
getParams
()
clientManageExportApi
(
params
).
then
(
res
=>
{
clientManageExportApi
(
params
).
then
(
res
=>
{
this
.
$Utils
.
exportFn
(
res
)
this
.
$Utils
.
exportFn
(
res
)
})
})
...
@@ -675,8 +675,6 @@ export default {
...
@@ -675,8 +675,6 @@ export default {
}
}
}
}
padding
:
20px
20px
30px
;
padding
:
20px
20px
30px
;
//
min-width
:
1300px
;
background-color
:
#fff
;
background-color
:
#fff
;
.el-button
+
.el-button
{
.el-button
+
.el-button
{
margin-left
:
10px
;
margin-left
:
10px
;
...
...
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