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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
6 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 {
...
@@ -76,7 +76,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
})
})
})
},
},
tagLength
(
children
)
{
tagLength
(
children
)
{
...
@@ -184,7 +183,6 @@ export default {
...
@@ -184,7 +183,6 @@ export default {
},
},
//创建人群
//创建人群
groupConfirmDialog
()
{
groupConfirmDialog
()
{
if
(
this
.
tagCheckItem
.
length
==
0
)
{
if
(
this
.
tagCheckItem
.
length
==
0
)
{
this
.
$message
.
error
(
'必须选择一个标签'
)
this
.
$message
.
error
(
'必须选择一个标签'
)
return
return
...
...
src/views/clientDataOverview/group.vue
View file @
66b3833
...
@@ -126,6 +126,29 @@ export default {
...
@@ -126,6 +126,29 @@ export default {
label
:
'否'
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
:
{},
crowdForm
:
{},
...
@@ -243,6 +266,23 @@ export default {
...
@@ -243,6 +266,23 @@ export default {
this
.
getStaffList
()
this
.
getStaffList
()
},
},
methods
:
{
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
// 跳转到营销SOP
async
createMarketSOP
()
{
async
createMarketSOP
()
{
let
marketQuery
let
marketQuery
...
@@ -300,7 +340,6 @@ export default {
...
@@ -300,7 +340,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
})
})
})
},
},
handleSearch
()
{
handleSearch
()
{
...
...
src/views/tagsManage/index.vue
View file @
66b3833
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</div>
</div>
</div>
</div>
<!-- noDataText="你当前还没有添加的标签" -->
<!-- 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
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
v-for=
"(list, idx) in scope.scope.nickNameList"
:key=
"idx"
>
<div
v-for=
"(list, idx) in scope.scope.nickNameList"
:key=
"idx"
>
...
@@ -323,7 +323,7 @@ export default {
...
@@ -323,7 +323,7 @@ export default {
dialogRuleVisible
:
false
,
dialogRuleVisible
:
false
,
expand
:
false
,
expand
:
false
,
heightBox
:
0
,
heightBox
:
0
,
isReload
:
true
,
//
isReload: true,
isAllowCloseDialog
:
false
,
isAllowCloseDialog
:
false
,
isHasSameTag
:
false
,
isHasSameTag
:
false
,
tagNameRules
:
false
,
tagNameRules
:
false
,
...
@@ -384,6 +384,30 @@ export default {
...
@@ -384,6 +384,30 @@ export default {
label
:
'否'
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'
,
layout
:
'sizes, prev, pager, next, jumper, ->, total'
,
...
@@ -585,6 +609,7 @@ export default {
...
@@ -585,6 +609,7 @@ export default {
// toViewCustomer(info) {
// toViewCustomer(info) {
// this.$router.push('/tagsManage/viewCustomers')
// this.$router.push('/tagsManage/viewCustomers')
// },
// },
// 跳转到营销SOP
// 跳转到营销SOP
createMarketSOP
()
{
createMarketSOP
()
{
let
getDatas
=
JSON
.
parse
(
let
getDatas
=
JSON
.
parse
(
...
@@ -677,6 +702,24 @@ export default {
...
@@ -677,6 +702,24 @@ export default {
this
.
numberObj
=
res
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
()
{
handleSearch
()
{
this
.
getCustomersListData
()
this
.
getCustomersListData
()
...
@@ -1231,7 +1274,6 @@ export default {
...
@@ -1231,7 +1274,6 @@ export default {
padding
:
16px
;
padding
:
16px
;
margin-top
:
10px
;
margin-top
:
10px
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
&
-title
{
&
-title
{
font-size
:
16px
;
font-size
:
16px
;
...
...
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