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
c2e74e03
Commit
c2e74e03
authored
Nov 12, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
38089aef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
customer.ts
src/api/customer.ts
+8
-1
customerModule.ts
src/module/customer/customerModule.ts
+1
-1
customerField.vue
src/pages/customer/components/customerField.vue
+1
-2
customerSetup.vue
src/pages/customer/customerSetup.vue
+7
-3
No files found.
src/api/customer.ts
View file @
c2e74e03
...
@@ -30,7 +30,14 @@
...
@@ -30,7 +30,14 @@
data
data
})
})
}
}
// 获取客户线索规则列表
static
async
getCustomerClueRuleList
(
data
:
any
):
Promise
<
HttpResponse
>
{
return
Axios
(
'QYCustomer/GetCustomerClueRuleList'
,
{
method
:
'post'
,
responseType
:
'json'
,
data
})
}
}
}
export
default
customerService
export
default
customerService
src/module/customer/customerModule.ts
View file @
c2e74e03
...
@@ -122,7 +122,7 @@ const CustomerModule = () => {
...
@@ -122,7 +122,7 @@ const CustomerModule = () => {
}
}
}
}
const
changePage
=
(
val
:
any
)
=>
{
const
changePage
=
(
val
:
any
)
=>
{
console
.
log
(
val
);
console
.
log
(
125
,
val
)
}
}
return
{
getCustomerList
,
data
,
msg
,
title
,
TypeList
,
SeletObj
,
getSelectWay
,
TimeObj
,
TimeList
,
changePage
,
pagination
}
return
{
getCustomerList
,
data
,
msg
,
title
,
TypeList
,
SeletObj
,
getSelectWay
,
TimeObj
,
TimeList
,
changePage
,
pagination
}
...
...
src/pages/customer/components/customerField.vue
View file @
c2e74e03
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<tr
v-if=
"data && data.length==0"
>
<tr
v-if=
"data && data.length==0"
>
<td
:colspan=
"8"
align=
"center"
>
暂无数据
</td>
<td
:colspan=
"8"
align=
"center"
>
暂无数据
</td>
</tr>
</tr>
<draggable
v-model=
"data"
tag=
"tbody"
item-key=
"Id"
@
update=
"datadragEnd"
:clone=
"cloneFun"
>
<draggable
v-model=
"data"
tag=
"tbody"
item-key=
"Id"
@
update=
"datadragEnd"
>
<template
#
item=
"
{ element }">
<template
#
item=
"
{ element }">
<tr>
<tr>
<td><span>
{{
element
.
Name
}}
</span></td>
<td><span>
{{
element
.
Name
}}
</span></td>
...
@@ -66,7 +66,6 @@
...
@@ -66,7 +66,6 @@
const
data
=
ref
([]);
const
data
=
ref
([]);
const
changePage
=
()
=>
{
const
changePage
=
()
=>
{
customerService
.
getCustomerFiledList
({
Enable
:
-
1
}).
then
((
res
)
=>
{
customerService
.
getCustomerFiledList
({
Enable
:
-
1
}).
then
((
res
)
=>
{
console
.
log
(
132
,
res
)
data
.
value
=
res
.
data
.
Data
data
.
value
=
res
.
data
.
Data
})
})
}
}
...
...
src/pages/customer/customerSetup.vue
View file @
c2e74e03
...
@@ -13,9 +13,11 @@
...
@@ -13,9 +13,11 @@
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"label"
label=
"标签"
/>
<q-tab
name=
"label"
label=
"标签"
/>
<q-tab
name=
"clue"
label=
"线索分配规则"
/>
</q-tabs>
</q-tabs>
<div
v-if=
"tab == 'field'"
>
<div>
<customer-Field></customer-Field>
<customer-Field
v-if=
"tab == 'field'"
></customer-Field>
<clue-rule
v-if=
"tab == 'clue'"
></clue-rule>
</div>
</div>
</q-page>
</q-page>
</div>
</div>
...
@@ -23,13 +25,15 @@
...
@@ -23,13 +25,15 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
customerField
from
'./components/customerField.vue'
import
customerField
from
'./components/customerField.vue'
import
clueRule
from
'./components/clueRule.vue'
import
{
import
{
defineComponent
,
defineComponent
,
ref
ref
}
from
'vue'
}
from
'vue'
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
customerField
customerField
,
clueRule
},
},
setup
()
{
setup
()
{
return
{
return
{
...
...
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