Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
2d65a378
Commit
2d65a378
authored
May 09, 2023
by
huyf
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
fea7a58e
f73ea2f1
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
49 additions
and
17 deletions
+49
-17
index.vue
src/components/UserSelector/index.vue
+17
-4
index.vue
src/views/ecw/channel/index.vue
+4
-1
query.vue
src/views/ecw/customer/query.vue
+1
-1
allAchievement.vue
src/views/ecw/deptTarget/allAchievement.vue
+6
-2
index.vue
src/views/ecw/deptTarget/index.vue
+6
-2
myAchievement.vue
src/views/ecw/deptTarget/myAchievement.vue
+6
-2
myDeptAchievement.vue
src/views/ecw/deptTarget/myDeptAchievement.vue
+1
-1
myDeptTarget.vue
src/views/ecw/deptTarget/myDeptTarget.vue
+7
-3
index.vue
src/views/ecw/order/index.vue
+1
-1
No files found.
src/components/UserSelector/index.vue
View file @
2d65a378
...
@@ -17,11 +17,15 @@
...
@@ -17,11 +17,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
listSimpleUsers
}
from
'
@/api/system/user
'
import
{
listS
erviceUser
,
listS
impleUsers
}
from
'
@/api/system/user
'
export
default
{
export
default
{
props
:{
props
:{
value
:
[
String
,
Number
],
value
:
[
String
,
Number
],
clearable
:
Boolean
clearable
:
Boolean
,
manage
:{
type
:
Boolean
,
default
:
false
}
},
},
data
(){
data
(){
return
{
return
{
...
@@ -44,9 +48,18 @@ export default {
...
@@ -44,9 +48,18 @@ export default {
}
}
},
},
created
(){
created
(){
if
(
this
.
manage
){
// 客户经理
listServiceUser
().
then
(
r
=>
{
this
.
list
=
r
.
data
;
})
}
else
{
// 全部客户
listSimpleUsers
().
then
(
res
=>
{
listSimpleUsers
().
then
(
res
=>
{
this
.
list
=
res
.
data
this
.
list
=
res
.
data
})
})
}
// this.init()
// this.init()
},
},
methods
:{
methods
:{
...
@@ -81,4 +94,4 @@ export default {
...
@@ -81,4 +94,4 @@ export default {
} */
} */
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/views/ecw/channel/index.vue
View file @
2d65a378
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
import
{
createChannel
,
updateChannel
,
deleteChannel
,
getChannel
,
getChannelPage
,
exportChannelExcel
}
from
"
@/api/ecw/channel
"
;
import
{
createChannel
,
updateChannel
,
deleteChannel
,
getChannel
,
getChannelPage
,
exportChannelExcel
}
from
"
@/api/ecw/channel
"
;
export
default
{
export
default
{
name
:
"
Channel
"
,
name
:
"
EcwChannelIndex
"
,
components
:
{
components
:
{
},
},
data
()
{
data
()
{
...
@@ -163,6 +163,9 @@ export default {
...
@@ -163,6 +163,9 @@ export default {
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
},
},
activated
()
{
this
.
getList
();
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
...
...
src/views/ecw/customer/query.vue
View file @
2d65a378
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<
el
-
image
v
-
show
=
"
!!customer.picture
"
:
src
=
"
customer.picture
"
style
=
"
width: 100px;height: 100px
"
><
/el-image
>
<
el
-
image
v
-
show
=
"
!!customer.picture
"
:
src
=
"
customer.picture
"
style
=
"
width: 100px;height: 100px
"
><
/el-image
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('备注')
"
>
{{
customer
.
remarks
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('备注')
"
>
{{
customer
.
remarks
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('
新老客户
')
"
>
{{
customer
.
isNew
?
$t
(
'
新客户
'
)
:
$t
(
'
老客户
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('
业绩类型
')
"
>
{{
customer
.
isNew
?
$t
(
'
新客户
'
)
:
$t
(
'
老客户
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('付款人姓名')
"
>
{{
customer
.
payerName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('付款人姓名')
"
>
{{
customer
.
payerName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证姓名')
"
>
{{
customer
.
carName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证姓名')
"
>
{{
customer
.
carName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证号码')
"
>
{{
customer
.
carNo
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证号码')
"
>
{{
customer
.
carNo
}}
<
/el-descriptions-item
>
...
...
src/views/ecw/deptTarget/allAchievement.vue
View file @
2d65a378
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetAllachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -220,7 +220,11 @@
...
@@ -220,7 +220,11 @@
}
}
}
}
},
},
created
()
{
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
created
()
{
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
listServiceUser
().
then
(
r
=>
{
listServiceUser
().
then
(
r
=>
{
...
...
src/views/ecw/deptTarget/index.vue
View file @
2d65a378
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
export
default
{
export
default
{
name
:
"
DeptTarget
"
,
name
:
"
EcwDepttargetIndex
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -266,7 +266,11 @@ import { parseTime } from '@/utils/ruoyi';
...
@@ -266,7 +266,11 @@ import { parseTime } from '@/utils/ruoyi';
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
methods
:
{
/** 查询部门列表 */
/** 查询部门列表 */
getDeptList
(){
getDeptList
(){
this
.
loading
=
true
;
this
.
loading
=
true
;
...
...
src/views/ecw/deptTarget/myAchievement.vue
View file @
2d65a378
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetMyachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -216,7 +216,11 @@
...
@@ -216,7 +216,11 @@
}
}
}
}
},
},
created
()
{
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
created
()
{
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
listServiceUser
().
then
(
r
=>
{
listServiceUser
().
then
(
r
=>
{
...
...
src/views/ecw/deptTarget/myDeptAchievement.vue
View file @
2d65a378
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetMydeptachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/ecw/deptTarget/myDeptTarget.vue
View file @
2d65a378
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
export
default
{
export
default
{
name
:
"
DeptT
arget
"
,
name
:
"
EcwDepttargetMydeptt
arget
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -267,13 +267,17 @@ import { parseTime } from '@/utils/ruoyi';
...
@@ -267,13 +267,17 @@ import { parseTime } from '@/utils/ruoyi';
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
methods
:
{
/** 查询部门列表 */
/** 查询部门列表 */
getDeptList
(){
getDeptList
(){
this
.
loading
=
true
;
this
.
loading
=
true
;
myListDept
(
this
.
queryParams
).
then
(
response
=>
{
myListDept
(
this
.
queryParams
).
then
(
response
=>
{
this
.
deptList
=
this
.
handleTree
(
response
.
data
,
"
id
"
);
this
.
deptList
=
this
.
handleTree
(
response
.
data
,
"
id
"
);
console
.
log
(
"
this.deptList:
"
+
JSON
.
stringify
(
this
.
deptList
));
//
console.log("this.deptList:"+JSON.stringify(this.deptList));
this
.
deptList
.
forEach
((
item
)
=>
{
this
.
deptList
.
forEach
((
item
)
=>
{
this
.
normalizer
(
item
);
this
.
normalizer
(
item
);
// this.deptData.push(item);
// this.deptData.push(item);
...
...
src/views/ecw/order/index.vue
View file @
2d65a378
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehouseType"
clearable
/>
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehouseType"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('客户经理')"
>
<el-form-item
:label=
"$t('客户经理')"
>
<user-selector
v-model=
"queryParams.salesmanId"
clearable
@
change=
"handleQuery"
/>
<user-selector
manage
v-model=
"queryParams.salesmanId"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
...
...
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