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 66b3833c
authored
Aug 03, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v2.8.0' into 'v2.8.0'
更新2.8.0代码 See merge request
!139
2 parents
866ab9c0
7963cfba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
9 deletions
src/mixins/tag.js
src/views/clientDataOverview/group.vue
src/views/tagsManage/index.vue
src/mixins/tag.js
View file @
66b3833
...
...
@@ -76,7 +76,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
})
},
tagLength
(
children
)
{
...
...
@@ -184,7 +183,6 @@ export default {
},
//创建人群
groupConfirmDialog
()
{
if
(
this
.
tagCheckItem
.
length
==
0
)
{
this
.
$message
.
error
(
'必须选择一个标签'
)
return
...
...
src/views/clientDataOverview/group.vue
View file @
66b3833
...
...
@@ -126,6 +126,29 @@ export default {
label
:
'否'
}
]
},
{
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'购车时间'
,
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
}
}
},
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'carVin'
,
label
:
'车架号'
},
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'carNumber'
,
label
:
'车牌号'
}
],
crowdForm
:
{},
...
...
@@ -243,6 +266,23 @@ export default {
this
.
getStaffList
()
},
methods
:
{
beforeSearchFn
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
this
.
tableSearchForm
=
this
.
getParams
()
resolve
()
})
},
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableSearchForm
))
if
(
params
.
daterange
)
{
params
.
beginTime
=
this
.
tableSearchForm
.
daterange
[
0
]
params
.
endTime
=
this
.
tableSearchForm
.
daterange
[
1
]
}
else
{
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
}
delete
params
.
daterange
return
params
},
// 跳转到营销SOP
async
createMarketSOP
()
{
let
marketQuery
...
...
@@ -275,7 +315,7 @@ export default {
}
}
params
.
info
.
crowdList
.
push
(
marketQuery
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
this
.
$history
.
push
({
path
:
'marketing/sop/editSop'
...
...
@@ -300,7 +340,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
})
},
handleSearch
()
{
...
...
src/views/tagsManage/index.vue
View file @
66b3833
...
...
@@ -101,7 +101,7 @@
</div>
</div>
<!-- noDataText="你当前还没有添加的标签" -->
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
v-if=
"isReload"
ref=
"viewCustomers"
:layout=
"layout"
:hasNum=
"true"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:noDataImg=
"url"
:pageConf=
"pageConf"
@
refreshTable=
"getCustomersListData"
:tableParams=
"tableParams"
>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
@
refreshTable=
"getCustomersListData"
ref=
"viewCustomers"
:layout=
"layout"
:hasNum=
"true"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:noDataImg=
"url"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
>
<!-- 企微名称 -->
<div
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
v-for=
"(list, idx) in scope.scope.nickNameList"
:key=
"idx"
>
...
...
@@ -323,7 +323,7 @@ export default {
dialogRuleVisible
:
false
,
expand
:
false
,
heightBox
:
0
,
isReload
:
true
,
//
isReload: true,
isAllowCloseDialog
:
false
,
isHasSameTag
:
false
,
tagNameRules
:
false
,
...
...
@@ -384,6 +384,30 @@ export default {
label
:
'否'
}
]
},
{
type
:
'datePicker'
,
// prop: 'daterange',
name
:
'createTime'
,
label
:
'购车时间'
,
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
}
}
},
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'carVin'
,
label
:
'车架号'
},
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'carNumber'
,
label
:
'车牌号'
}
],
layout
:
'sizes, prev, pager, next, jumper, ->, total'
,
...
...
@@ -585,6 +609,7 @@ export default {
// toViewCustomer(info) {
// this.$router.push('/tagsManage/viewCustomers')
// },
// 跳转到营销SOP
createMarketSOP
()
{
let
getDatas
=
JSON
.
parse
(
...
...
@@ -677,6 +702,24 @@ export default {
this
.
numberObj
=
res
})
},
// beforeSearchFn() {
// console.log('生效')
// return new Promise(async (resolve, reject) => {
// this.tableParams = this.getParams()
// resolve()
// })
// },
// getParams() {
// var params = JSON.parse(JSON.stringify(this.tableParams))
// if (params.createTime) {
// params.beginTime = this.tableParams.createTime[0]
// params.endTime = this.tableParams.createTime[1]
// } else {
// if (params.beginTime) delete params.beginTime && delete params.endTime
// }
// delete params.daterange
// return params
// },
//搜索表格
handleSearch
()
{
this
.
getCustomersListData
()
...
...
@@ -1217,7 +1260,7 @@ export default {
.client-tag
{
width
:
260px
;
margin-right
:
10px
;
margin-top
:
10px
;
background-color
:
#fff
;
}
...
...
@@ -1231,7 +1274,6 @@ export default {
padding
:
16px
;
margin-top
:
10px
;
background-color
:
#fff
;
}
&
-title
{
font-size
:
16px
;
...
...
@@ -1290,7 +1332,7 @@ export default {
.pageContent
{
overflow-y
:
auto
;
padding
:
20px
20px
30px
;
margin-top
:
10px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
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