Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
7cea1560
Commit
7cea1560
authored
May 18, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7467ba7c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2043 additions
and
2137 deletions
+2043
-2137
clueComponent.vue
src/components/clueManagement/clueComponent.vue
+799
-824
payroll.vue
src/components/dev/payroll.vue
+118
-87
allList.vue
src/components/myOrdersAllType/components/allList.vue
+555
-592
apipost.js
src/plugins/apipost.js
+47
-50
domainManager.js
src/plugins/domainManager.js
+1
-1
index.js
src/plugins/index.js
+0
-1
CustomerOperation.vue
src/views/customerSet/components/CustomerOperation.vue
+2
-6
addfield.vue
src/views/customerSet/components/addfield.vue
+129
-103
businessModel.vue
src/views/customerSet/components/businessModel.vue
+4
-8
clueRule.vue
src/views/customerSet/components/clueRule.vue
+0
-3
customerField.vue
src/views/customerSet/components/customerField.vue
+0
-2
customerPhase.vue
src/views/customerSet/components/customerPhase.vue
+131
-180
laqundistribution.vue
src/views/customerSet/components/laqundistribution.vue
+0
-4
DrainageRankingStatistics.vue
src/views/workstatistics/DrainageRankingStatistics.vue
+257
-276
No files found.
src/components/clueManagement/clueComponent.vue
View file @
7cea1560
This diff is collapsed.
Click to expand it.
src/components/dev/payroll.vue
View file @
7cea1560
This diff is collapsed.
Click to expand it.
src/components/myOrdersAllType/components/allList.vue
View file @
7cea1560
This diff is collapsed.
Click to expand it.
src/plugins/apipost.js
View file @
7cea1560
import
axios
from
'axios'
import
domainManager
from
'./domainManager'
const
getLocalStorage
=
function
()
{
...
...
@@ -8,10 +7,9 @@ const getLocalStorage = function () {
}
else
{
return
null
;
}
}
//CRM接口
export
default
function
(
cmd
,
content
,
msg
,
successCall
,
faildCall
)
{
console
.
log
(
'CRM接口'
,
content
)
}
//CRM接口
export
default
function
(
cmd
,
content
,
msg
,
successCall
,
faildCall
)
{
if
(
msg
==
null
||
msg
==
""
)
{
msg
=
{}
}
...
...
@@ -51,5 +49,4 @@ const getLocalStorage = function () {
successCall
(
res
)
}
},
faildCall
)
}
\ No newline at end of file
}
\ No newline at end of file
src/plugins/domainManager.js
View file @
7cea1560
...
...
@@ -5,7 +5,7 @@ export default function() {
//CRM API
let
domainUrl
=
""
;
// domainUrl = "http://192.168.10.46:8500";
domainUrl
=
"http://192.168.10.
226
:5003"
;
domainUrl
=
"http://192.168.10.
128
:5003"
;
// domainUrl = "http://crm.oytour.com"
//domainUrl = "http://localhost:5003";
let
locationName
=
window
.
location
.
hostname
;
...
...
src/plugins/index.js
View file @
7cea1560
...
...
@@ -135,7 +135,6 @@ export default {
if
(
msg
==
null
||
msg
==
""
)
{
msg
=
{}
}
console
.
log
(
'CRM接口'
,
this
)
var
apiurl
=
this
.
domainManager
().
PostUrl
+
cmd
;
var
timestamp
=
(
new
Date
()).
valueOf
();
var
token
=
""
;
...
...
src/views/customerSet/components/CustomerOperation.vue
View file @
7cea1560
...
...
@@ -246,7 +246,6 @@
//获取客户操作配置
const
getConfig
=
()
=>
{
customerSetService
.
getCustomerConfig
({}).
then
(
res
=>
{
console
.
log
(
'客户操作配置'
,
res
.
data
.
Data
)
data
.
data
=
res
.
data
.
Data
if
(
data
.
data
.
PublicGetDept
==
-
1
)
{
data
.
PublicGetDeptState
=
false
...
...
@@ -312,7 +311,6 @@
data
.
data
.
AbandonDept
=
ids
data
.
data
.
AbandonDeptList
=
dept
}
console
.
log
(
'dpt'
,
dept
)
}
//以下部门允许领取公海客户
const
ChangePublicGetDeptState
=
val
=>
{
...
...
@@ -324,7 +322,7 @@
watch
(
()
=>
data
.
data
,
val
=>
{
console
.
log
(
'watch'
,
val
)
},
{
deep
:
true
}
...
...
@@ -347,7 +345,6 @@
}
}
})
</
script
>
<
style
lang=
"scss"
scoped
>
.CustomerOperation
{
...
...
@@ -409,5 +406,4 @@
padding
:
0
14px
;
margin
:
6px
;
}
</
style
>
\ No newline at end of file
src/views/customerSet/components/addfield.vue
View file @
7cea1560
This diff is collapsed.
Click to expand it.
src/views/customerSet/components/businessModel.vue
View file @
7cea1560
...
...
@@ -11,7 +11,7 @@
</div>
</div>
<div
class=
"box-businessModel"
:class=
"
{ 'checked-border': msg.type == 2 }" @click="chooseChange(2)">
<div
>
<div>
<i
class=
"iconfont icon-customer"
style=
"font-size:38px"
></i>
<span
class=
"q-mx-md"
style=
"font-size:28px"
>
+
</span>
<i
class=
"iconfont icon-qiye"
style=
"font-size:38px"
></i>
...
...
@@ -32,14 +32,12 @@
}
from
'vue'
export
default
defineComponent
({
setup
()
{
const
msg
=
reactive
({
type
:
1
})
const
chooseChange
=
(
n
)
=>
{
msg
.
type
=
n
;
console
.
log
(
msg
)
}
return
{
msg
,
...
...
@@ -47,7 +45,6 @@
}
}
})
</
script
>
<
style
lang=
"scss"
scoped
>
.businessModel
{
...
...
@@ -106,5 +103,4 @@
border
:
2px
solid
#3470ff
!
important
;
color
:
#3470ff
;
}
</
style
>
\ No newline at end of file
src/views/customerSet/components/clueRule.vue
View file @
7cea1560
...
...
@@ -227,7 +227,6 @@
cancel
:
'取消'
,
ok
:
"确认"
}).
onOk
(()
=>
{
console
.
log
(
'>>>> OK'
,
id
)
let
msg
=
{
RuleId
:
id
,
Type
:
2
,
...
...
@@ -237,10 +236,8 @@
}
const
configChange
=
()
=>
{
customerSetService
.
setCustomerClueRuleConfig
(
configMsg
).
then
(
res
=>
{
console
.
log
(
228
,
res
.
data
)
})
}
const
setState
=
(
msg
)
=>
{
customerSetService
.
setCustomerClueRuleState
(
msg
).
then
(
res
=>
{
message
.
successMsg
(
res
.
data
.
Message
)
...
...
src/views/customerSet/components/customerField.vue
View file @
7cea1560
...
...
@@ -113,7 +113,6 @@
});
},
datadragEnd(e) {
// console.log('拖动结束',e)
let olddragId = 0
if (e.newIndex > 0) {
olddragId = data[e.newIndex - 1].Id
...
...
@@ -127,7 +126,6 @@
}
this.apipost('/api/Scene/SetCustomerFiledState',msg,(res) => {
if (res.data.Code == 1) {
console.log(res)
} else {//如果移动失败 重新获取列表
this.changePage()
}
...
...
src/views/customerSet/components/customerPhase.vue
View file @
7cea1560
...
...
@@ -2,28 +2,12 @@
<div
class=
"customerPhase page-body"
>
<div
style=
"display: flex;align-items: center;justify-content: space-between;"
>
<div
style=
"display: flex;align-items: center;"
>
<q-btn
v-if=
"state.data.length
<
20
"
color=
"accent"
style=
"margin-bottom: 10px;"
class=
"q-mr-md"
label=
"创建阶段流程"
@
click=
"jumpPage('/editor/createStageRange')"
size=
"sm"
></q-btn>
<span
style=
"margin-left: 20px;color: rgb(133, 133, 152);"
>
已添加:
{{
state
.
data
.
length
}}
/20
</span>
<q-btn
v-if=
"state.data.length
<
20
"
color=
"accent"
style=
"margin-bottom: 10px;"
class=
"q-mr-md"
label=
"创建阶段流程"
@
click=
"jumpPage('/editor/createStageRange')"
size=
"sm"
></q-btn>
<span
style=
"margin-left: 20px;color: rgb(133, 133, 152);"
>
已添加:
{{
state
.
data
.
length
}}
/20
</span>
</div>
<q-btn
color=
"white"
text-color=
"black"
style=
"margin-bottom: 10px;"
class=
"q-mr-md"
label=
"阶段管理"
size=
"sm"
@
click=
"jumpPage('/editor/manageStageRange')"
></q-btn>
<q-btn
color=
"white"
text-color=
"black"
style=
"margin-bottom: 10px;"
class=
"q-mr-md"
label=
"阶段管理"
size=
"sm"
@
click=
"jumpPage('/editor/manageStageRange')"
></q-btn>
</div>
<table
class=
"payTable"
>
<thead>
...
...
@@ -46,95 +30,64 @@
<td>
<div
v-if=
"item.DeptEmpList && item.DeptEmpList.length > 0"
>
<span
v-for=
"(x,y) in item.DeptEmpList"
:key=
"y"
>
<q-chip
color=
"blue-1"
text-color=
"blue"
icon=
"folder"
size=
"sm"
v-if=
"x.Type == 1"
>
{{
x
.
Name
}}
</q-chip>
<q-chip
color=
"green-1"
text-color=
"green"
icon=
"person"
size=
"sm"
v-if=
"x.Type == 2"
>
{{
x
.
Name
}}
</q-chip>
<q-chip
color=
"blue-1"
text-color=
"blue"
icon=
"folder"
size=
"sm"
v-if=
"x.Type == 1"
>
{{
x
.
Name
}}
</q-chip>
<q-chip
color=
"green-1"
text-color=
"green"
icon=
"person"
size=
"sm"
v-if=
"x.Type == 2"
>
{{
x
.
Name
}}
</q-chip>
</span>
</div>
<span
v-else
>
未适配其他规则的阶段
</span>
</td>
<td>
<q-toggle
v-if=
"item.IsDefault == 1"
v-model=
"item.Enable"
:true-value=
"1"
:false-value=
"2"
icon=
"lock"
disable
/>
<q-toggle
v-else
v-model=
"item.Enable"
:true-value=
"1"
:false-value=
"2"
@
update:model-value=
"setFiledState(item.Id, 1)"
/>
<q-toggle
v-if=
"item.IsDefault == 1"
v-model=
"item.Enable"
:true-value=
"1"
:false-value=
"2"
icon=
"lock"
disable
/>
<q-toggle
v-else
v-model=
"item.Enable"
:true-value=
"1"
:false-value=
"2"
@
update:model-value=
"setFiledState(item.Id, 1)"
/>
</td>
<td>
<span
v-for=
"(x,y) in item.StageList"
:key=
"y"
>
{{
x
}}{{
item
.
StageList
.
length
!=
y
+
1
?
'->'
:
''
}}
</span>
<span
v-for=
"(x,y) in item.StageList"
:key=
"y"
>
{{
x
}}{{
item
.
StageList
.
length
!=
y
+
1
?
'->'
:
''
}}
</span>
</td>
<td>
<div>
{{
item
.
UpdateByName
}}
</div>
<div>
{{
item
.
UpdateTime
}}
</div>
</td>
<td>
<q-btn
v-if=
"item.IsDefault != 1"
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #3FC4FF"
class=
"q-mr-xs"
label=
"编辑"
@
click=
"goedit(item.Id)"
/>
<q-btn
v-if=
"item.IsDefault != 1"
flat
size=
"xs"
icon=
"delete"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
@
click=
"godelete(item.Id)"
/>
<q-btn
v-if=
"item.IsDefault != 1"
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #3FC4FF"
class=
"q-mr-xs"
label=
"编辑"
@
click=
"goedit(item.Id)"
/>
<q-btn
v-if=
"item.IsDefault != 1"
flat
size=
"xs"
icon=
"delete"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
@
click=
"godelete(item.Id)"
/>
</td>
</tr>
</table>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
defineComponent
,
onMounted
,
reactive
}
from
'vue'
import
customerSetService
from
'@/api/customerSet'
import
{
useQuasar
}
from
'quasar'
import
router
from
'@/router/index'
import
{
defineComponent
,
onMounted
,
reactive
}
from
'vue'
import
customerSetService
from
'@/api/customerSet'
import
{
useQuasar
}
from
'quasar'
import
router
from
'@/router/index'
export
default
defineComponent
({
export
default
defineComponent
({
setup
()
{
const
$q
=
useQuasar
()
const
state
=
reactive
({
data
:
[],
})
const
getList
=
()
=>
{
customerSetService
.
getCustomerStageFlowList
({
Enable
:
0
}).
then
((
res
)
=>
{
customerSetService
.
getCustomerStageFlowList
({
Enable
:
0
}).
then
((
res
)
=>
{
if
(
res
.
data
.
Code
==
1
)
{
state
.
data
=
res
.
data
.
Data
}
else
{
//如果移动失败 重新获取列表
}
else
{
//如果移动失败 重新获取列表
}
})
...
...
@@ -156,7 +109,6 @@ export default defineComponent({
});
}
const
setFiledState
=
(
Id
:
number
,
Type
:
number
)
=>
{
console
.
log
(
Id
,
Type
)
let
msg
=
{
Type
:
Type
,
FlowId
:
Id
,
...
...
@@ -171,7 +123,7 @@ export default defineComponent({
position
:
'top'
})
getList
()
}
else
{
//如果移动失败 重新获取列表
}
else
{
//如果移动失败 重新获取列表
}
})
...
...
@@ -188,7 +140,7 @@ export default defineComponent({
router
.
push
({
path
:
'/editor/createStageRange'
,
query
:
{
FlowId
:
Id
FlowId
:
Id
}
})
}
...
...
@@ -205,35 +157,34 @@ export default defineComponent({
goedit
}
}
})
})
</
script
>
<
style
>
.customerPhase
.payTable
{
.customerPhase
.payTable
{
width
:
100%
;
border-collapse
:
collapse
;
}
.customerPhase
.payTable
tr
th
{
}
.customerPhase
.payTable
tr
th
{
background
:
#fff
;
height
:
40px
;
font-size
:
12px
;
font-weight
:
bold
;
color
:
#2d2d2d
;
background
:
#f5f5fa
;
}
}
.customerPhase
.payTable
tr
{
.customerPhase
.payTable
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
}
}
.customerPhase
.payTable
tr
td
{
.customerPhase
.payTable
tr
td
{
font-size
:
13px
;
text-align
:
center
;
color
:
#2d2d2d
;
padding
:
10px
0
;
font-weight
:
bold
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
</
style
>
\ No newline at end of file
src/views/customerSet/components/laqundistribution.vue
View file @
7cea1560
...
...
@@ -101,7 +101,6 @@ export default defineComponent({
{
Name
:
' 根据设置自动指定负责人 '
},
])
const
Addallocation
=
(
url
:
string
)
=>
{
//新增分配规则
console
.
log
(
'新增匹配规则'
)
router
.
push
({
path
:
url
,
query
:
{
...
...
@@ -109,9 +108,6 @@ export default defineComponent({
}
})
}
// onMounted(() => {
// })
return
{
Addallocation
,
icon
:
ref
(
false
),
...
...
src/views/workstatistics/DrainageRankingStatistics.vue
View file @
7cea1560
This diff is collapsed.
Click to expand it.
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