Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
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
向伟
horse
Commits
ad9716dc
Commit
ad9716dc
authored
Dec 08, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/xiangwei/horse
parents
91905e0f
7e48797a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
30 deletions
+42
-30
rule2.jpg
src/assets/images/customer/customerSet/rule2.jpg
+0
-0
CustomerLibrary.vue
...customerManage/customerSet/components/CustomerLibrary.vue
+35
-23
customerSetup.vue
src/pages/customerManage/customerSet/customerSetup.vue
+4
-4
createStageRange.vue
src/pages/customerManage/editor/createStageRange.vue
+0
-0
editRule.vue
src/pages/customerManage/editor/editRule.vue
+0
-0
manageStageRange.vue
src/pages/customerManage/editor/manageStageRange.vue
+0
-0
routes.ts
src/router/routes.ts
+3
-3
No files found.
src/assets/images/customer/customerSet/r
i
le2.jpg
→
src/assets/images/customer/customerSet/r
u
le2.jpg
View file @
ad9716dc
File moved
src/pages/customerManage/customerSet/components/
highSeas
.vue
→
src/pages/customerManage/customerSet/components/
CustomerLibrary
.vue
View file @
ad9716dc
...
@@ -49,33 +49,44 @@
...
@@ -49,33 +49,44 @@
</q-card-section>
</q-card-section>
<q-card-section>
<q-card-section>
<div
style=
"width:750px"
>
<div
style=
"width:750px"
>
<q-item
tag=
"label"
v-ripple
>
<q-item
tag=
"label"
>
<q-item-section
avatar
top
>
<q-item-section
avatar
top
>
<q-radio
v-model=
"LookRepeat"
:val=
"1"
color=
"primary"
/>
<q-radio
v-model=
"LookRepeat"
:val=
"1"
color=
"primary"
/>
</q-item-section>
</q-item-section>
<q-item-section>
<q-item-section>
<div
class=
"ruleset-title"
>
全局查重 (一个客户在整个企业
内,只允许被一个员工跟进)
</div>
<div
class=
"ruleset-title"
style=
"color:#858598"
><span
style=
"color:#606266"
>
全局查重
</span>
(一个客户在
<span
style=
"color:#f00"
>
整个企业
</span>
内,只允许被一个员工跟进)
</div>
<div
class=
"ruleset-box"
>
<div
class=
"ruleset-box"
>
<div
class=
"ruleset-txt"
>
<div
class=
"ruleset-txt"
>
一个客户,在整个企业内查重(整个企业不允许创建重复客户)
一个客户,在整个企业内查重(整个企业不允许创建重复客户)
</div>
</div>
<div
class=
"ruleset-img"
>
<div
class=
"ruleset-img"
>
<div
class=
"ruleset-icon"
>
<img
src=
"@/assets/images/customer/customerSet/rule1.jpg"
/>
<i
class=
"iconfont icon-customer"
style=
"font-size:38px"
></i>
</div>
</div>
</div>
</q-item-section>
</q-item>
<q-item
tag=
"label"
>
<q-item-section
avatar
top
>
<q-radio
v-model=
"LookRepeat"
:val=
"2"
color=
"primary"
/>
</q-item-section>
<q-item-section>
<div
class=
"ruleset-title"
style=
"color:#858598"
><span
style=
"color:#606266"
>
客户库查重
</span>
(一个客户在
<span
style=
"color:#f00"
>
单个客户库
</span>
内,只允许被一个员工跟进)
</div>
<div
class=
"ruleset-img-center"
>
<div
class=
"ruleset-box"
>
<div
class=
"ruleset-txt"
>
一个客户,在整个企业内查重(整个企业不允许创建重复客户)
</div>
</div>
<div
class=
"ruleset-img"
>
<img
src=
"@/assets/images/customer/customerSet/rule2.jpg"
/>
</div>
</div>
</div>
</div>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
</div>
</div>
</q-card-section>
</q-card-section>
<q-card-actions
align=
"
righ
t"
class=
"bg-white text-teal"
>
<q-card-actions
align=
"
lef
t"
class=
"bg-white text-teal"
>
<q-btn
color=
"
accent"
unelevated
label=
"确定"
/>
<q-btn
color=
"
primary"
unelevated
label=
"确定"
class=
"q-ml-lg"
@
click=
"setLookRepeatRule"
/>
</q-card-actions>
</q-card-actions>
</q-card>
</q-card>
</q-dialog>
</q-dialog>
...
@@ -89,9 +100,8 @@
...
@@ -89,9 +100,8 @@
toRefs
,
toRefs
,
onMounted
onMounted
}
from
'vue'
}
from
'vue'
// import draggable from "vuedraggable";
// import { Dialog } from 'quasar'
// import { Dialog } from 'quasar'
//
import message from '@/utils/message'
import
message
from
'@/utils/message'
import
customerSetService
from
'@/api/customerSet'
;
import
customerSetService
from
'@/api/customerSet'
;
// import router from '@/router/index'
// import router from '@/router/index'
...
@@ -152,19 +162,25 @@
...
@@ -152,19 +162,25 @@
const
LookRepeatMsg
=
reactive
({
//查重规则 1客户库查重 2全局查重
const
LookRepeatMsg
=
reactive
({
//查重规则 1客户库查重 2全局查重
LookRepeat
:
1
LookRepeat
:
1
})
})
const
getLookRepeat
=
()
=>
{
const
getLookRepeat
Rule
=
()
=>
{
customerSetService
.
getCustomerLibraryLookRepeat
({}).
then
(
res
=>
{
customerSetService
.
getCustomerLibraryLookRepeat
({}).
then
(
res
=>
{
console
.
log
(
res
.
data
.
Data
)
LookRepeatMsg
.
LookRepeat
=
res
.
data
.
Data
LookRepeatMsg
.
LookRepeat
=
res
.
data
.
Data
})
})
}
}
const
setLookRepeatRule
=
()
=>
{
customerSetService
.
setCustomerLibraryLookRepeat
(
LookRepeatMsg
).
then
(
res
=>
{
message
.
successMsg
(
res
.
data
.
Message
)
data
.
showRuleDig
=
false
})
}
onMounted
(()
=>
{
onMounted
(()
=>
{
getList
()
getList
()
getLookRepeat
()
getLookRepeat
Rule
()
})
})
return
{
return
{
...
toRefs
(
data
),
...
toRefs
(
data
),
...
toRefs
(
LookRepeatMsg
),
...
toRefs
(
LookRepeatMsg
),
setLookRepeatRule
}
}
}
}
})
})
...
@@ -179,7 +195,7 @@
...
@@ -179,7 +195,7 @@
align-items
:
center
;
align-items
:
center
;
color
:
#333
;
color
:
#333
;
padding
:
30px
0
42px
0
;
padding
:
30px
0
42px
0
;
margin
:
10px
0
35px
0px
;
margin
:
10px
0
;
border-radius
:
8px
;
border-radius
:
8px
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
.ruleset-txt
{
.ruleset-txt
{
...
@@ -187,12 +203,8 @@
...
@@ -187,12 +203,8 @@
}
}
.ruleset-img
{
.ruleset-img
{
margin-top
:
24px
;
margin-top
:
24px
;
display
:
flex
;
.ruleset-icon
{
justify-content
:
center
;
text-align
:
center
;
color
:
#91d170
;
font-size
:
33px
;
}
}
}
}
}
...
...
src/pages/customerManage/customerSet/customerSetup.vue
View file @
ad9716dc
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<q-tab
name=
"clue"
label=
"线索分配规则"
/>
<q-tab
name=
"clue"
label=
"线索分配规则"
/>
<q-tab
name=
"phase"
label=
"客户阶段"
/>
<q-tab
name=
"phase"
label=
"客户阶段"
/>
<q-tab
name=
"operation"
label=
"客户操作"
/>
<q-tab
name=
"operation"
label=
"客户操作"
/>
<q-tab
name=
"
seas
"
label=
"客户库-公海"
/>
<q-tab
name=
"
lib
"
label=
"客户库-公海"
/>
</q-tabs>
</q-tabs>
<div
class=
"container fit"
>
<div
class=
"container fit"
>
<businessModel
v-if=
"tab == 'model'"
></businessModel>
<businessModel
v-if=
"tab == 'model'"
></businessModel>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<customer-phase
v-if=
"tab == 'phase'"
></customer-phase>
<customer-phase
v-if=
"tab == 'phase'"
></customer-phase>
<customerlabel
v-if=
"tab == 'label'"
></customerlabel>
<customerlabel
v-if=
"tab == 'label'"
></customerlabel>
<CustomerOperation
v-if=
"tab == 'operation'"
></CustomerOperation>
<CustomerOperation
v-if=
"tab == 'operation'"
></CustomerOperation>
<
highSeas
v-if=
"tab == 'seas'"
></highSeas
>
<
CustomerLibrary
v-if=
"tab == 'lib'"
></CustomerLibrary
>
</div>
</div>
</q-page>
</q-page>
</div>
</div>
...
@@ -38,7 +38,7 @@ import clueRule from './components/clueRule.vue'
...
@@ -38,7 +38,7 @@ import clueRule from './components/clueRule.vue'
import
customerPhase
from
'./components/customerPhase.vue'
import
customerPhase
from
'./components/customerPhase.vue'
import
customerlabel
from
'./components/customerlabel.vue'
import
customerlabel
from
'./components/customerlabel.vue'
import
CustomerOperation
from
"./components/CustomerOperation.vue"
import
CustomerOperation
from
"./components/CustomerOperation.vue"
import
highSeas
from
"./components/highSeas
.vue"
import
CustomerLibrary
from
"./components/CustomerLibrary
.vue"
import
router
from
'@/router/index'
import
router
from
'@/router/index'
import
{
useMeta
}
from
'quasar'
import
{
useMeta
}
from
'quasar'
import
{
import
{
...
@@ -55,7 +55,7 @@ export default defineComponent({
...
@@ -55,7 +55,7 @@ export default defineComponent({
customerPhase
,
customerPhase
,
customerlabel
,
customerlabel
,
CustomerOperation
,
CustomerOperation
,
highSeas
,
CustomerLibrary
,
},
},
setup
()
{
setup
()
{
useMeta
({
title
:
'客户设置'
})
useMeta
({
title
:
'客户设置'
})
...
...
src/pages/editor/createStageRange.vue
→
src/pages/
customerManage/
editor/createStageRange.vue
View file @
ad9716dc
File moved
src/pages/editor/editRule.vue
→
src/pages/
customerManage/
editor/editRule.vue
View file @
ad9716dc
File moved
src/pages/editor/manageStageRange.vue
→
src/pages/
customerManage/
editor/manageStageRange.vue
View file @
ad9716dc
File moved
src/router/routes.ts
View file @
ad9716dc
...
@@ -37,17 +37,17 @@ const routes: RouteRecordRaw[] = [
...
@@ -37,17 +37,17 @@ const routes: RouteRecordRaw[] = [
// 编辑规则
// 编辑规则
{
{
path
:
'/editor/editRule'
,
path
:
'/editor/editRule'
,
component
:
()
=>
import
(
'@/pages/editor/editRule.vue'
)
component
:
()
=>
import
(
'@/pages/
customerManage/
editor/editRule.vue'
)
},
},
// 编辑阶段规则
// 编辑阶段规则
{
{
path
:
'/editor/manageStageRange'
,
path
:
'/editor/manageStageRange'
,
component
:
()
=>
import
(
'@/pages/editor/manageStageRange.vue'
)
component
:
()
=>
import
(
'@/pages/
customerManage/
editor/manageStageRange.vue'
)
},
},
// 创建阶段
// 创建阶段
{
{
path
:
'/editor/createStageRange'
,
path
:
'/editor/createStageRange'
,
component
:
()
=>
import
(
'@/pages/editor/createStageRange.vue'
)
component
:
()
=>
import
(
'@/pages/
customerManage/
editor/createStageRange.vue'
)
},
},
{
{
...
...
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