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
820a2803
Commit
820a2803
authored
Nov 22, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新客户延期,间接客户
parent
ff7ca453
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
25 deletions
+68
-25
indirectCustomer.js
src/api/ecw/indirectCustomer.js
+47
-0
delay.vue
src/views/ecw/customer/delay.vue
+6
-4
editIndirect.vue
src/views/ecw/customer/editIndirect.vue
+11
-13
indirectCustomer.vue
src/views/ecw/customer/indirectCustomer.vue
+2
-5
indirectInfo.vue
src/views/ecw/customer/indirectInfo.vue
+2
-3
No files found.
src/api/ecw/indirectCustomer.js
0 → 100644
View file @
820a2803
// 导出客户 Excel
import
request
from
'
@/utils/request
'
import
query
from
"
@/views/ecw/customer/query
"
;
import
*
as
url
from
"
url
"
;
export
function
exportCustomerExcel
(
query
)
{
return
request
({
url
:
'
/ecw/indirect-customer/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
// 获得客户
export
function
getCustomer
(
id
)
{
return
request
({
url
:
'
/ecw/indirect-customer/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得客户分页
export
function
getCustomerPage
(
query
)
{
return
request
({
url
:
'
/ecw/indirect-customer/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 更新客户
export
function
updateCustomer
(
data
)
{
return
request
({
url
:
'
/ecw/indirect-customer/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 根据客户ID获得联系人列表
export
function
getCustomerContactsListByCustomer
(
id
)
{
return
request
({
url
:
'
/ecw/indirect-customer-contacts/list-by-customer/get?customerId=
'
+
id
,
method
:
'
get
'
})
}
src/views/ecw/customer/delay.vue
View file @
820a2803
...
...
@@ -133,11 +133,13 @@
// this.$modal.msgError(this.$t('请上传报关资料'));
// return
// }
this
.
handlerParams
.
ccIds
=
Array
.
isArray
(
this
.
handlerParams
.
ccIds
)
?
this
.
handlerParams
.
ccIds
.
join
(
'
,
'
)
:
this
.
handlerParams
.
ccIds
this
.
handlerParams
.
voucher
=
Array
.
isArray
(
this
.
handlerParams
.
voucher
)
?
this
.
handlerParams
.
voucher
.
join
(
'
,
'
)
:
this
.
handlerParams
.
voucher
var
params
=
Object
.
assign
({},
this
.
handlerParams
)
var
ccIds
=
Array
.
isArray
(
this
.
handlerParams
.
ccIds
)
?
this
.
handlerParams
.
ccIds
.
join
(
'
,
'
)
:
this
.
handlerParams
.
ccIds
params
.
ccIds
=
ccIds
params
.
voucher
=
Array
.
isArray
(
this
.
handlerParams
.
voucher
)
?
this
.
handlerParams
.
voucher
.
join
(
'
,
'
)
:
this
.
handlerParams
.
voucher
this
.
$set
(
this
.
handlerParams
,
'
createTime
'
,
this
.
formatDate
())
this
.
handlerP
arams
.
estimateEnterOpenSeaTime
=
this
.
getNowDate
(
this
.
handlerParams
.
estimateEnterOpenSeaTime
)
creatDelayApproval
(
this
.
handlerP
arams
).
then
(
res
=>
{
p
arams
.
estimateEnterOpenSeaTime
=
this
.
getNowDate
(
this
.
handlerParams
.
estimateEnterOpenSeaTime
)
creatDelayApproval
(
p
arams
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
提交成功
'
));
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
...
...
src/views/ecw/customer/editIndirect.vue
View file @
820a2803
...
...
@@ -407,10 +407,8 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict';
import
upload
from
'
@/components/ImageUpload
'
import
{
createCustomer
,
getCustomer
,
getCustomerList
,
getCustomerPage
,
memberUserList
,
updateCustomer
,
memberUserList
,
userMemberUserList
,
getCustomerLines
,
fillupCustomeInfo
}
from
'
@/api/ecw/customer
'
...
...
@@ -420,10 +418,10 @@ import { getProductList } from '@/api/ecw/product'
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
CustomerLineTable
from
'
@/components/CustomerLineTable
'
import
{
getCustomerSelect
}
from
"
@/api/ecw/c
ustomer
"
import
{
getCustomerSelect
,
getCustomerContactsListByCustomer
,
getCustomer
,
getCustomerPage
,
updateCustomer
}
from
"
@/api/ecw/indirectC
ustomer
"
import
{
listServiceUser
,
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
getZhongPaoBest
,
getZhongPaoPage
}
from
'
@/api/ecw/zhongPao
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
//
import { getCustomerContactsListByCustomer } from '@/api/ecw/customerContacts'
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
Template
from
"
@/views/cms/template
"
;
import
{
validatorMobile
}
from
"
@/api/ecw/validate
"
...
...
@@ -696,14 +694,14 @@ export default {
}
// 添加的提交
//我的客户页面跳转直接
form
.
isCustomerServiceConfirmed
=
true
;
createCustomer
(
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
新增成功
'
));
this
.
open
=
false
;
// this.getList();
const
obj
=
{
path
:
"
/customer/customer
"
};
this
.
$tab
.
closeOpenPage
(
obj
);
})
//
form.isCustomerServiceConfirmed = true;
//
createCustomer(form).then(response => {
//
this.$modal.msgSuccess(this.$t('新增成功'));
//
this.open = false;
//
// this.getList();
//
const obj = { path: "/customer/customer" };
//
this.$tab.closeOpenPage(obj);
//
})
});
})
},
...
...
src/views/ecw/customer/indirectCustomer.vue
View file @
820a2803
...
...
@@ -84,14 +84,11 @@
</template>
<
script
>
import
{
createCustomer
,
updateCustomer
,
dele
teCustomer
,
getCustomer
,
getCustomerPage
,
exportCustomerExcel
}
from
"
@/api/ecw/
c
ustomer
"
;
import
{
upda
teCustomer
,
getCustomer
,
getCustomerPage
,
exportCustomerExcel
}
from
"
@/api/ecw/
indirectC
ustomer
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
CommonStatusEnum
}
from
'
@/utils/constants
'
import
{
getNodeList
}
from
"
@/api/ecw/node
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
getCreditPage
}
from
"
@/api/customer/credit
"
;
export
default
{
name
:
"
IndirectCustomer
"
,
...
...
src/views/ecw/customer/indirectInfo.vue
View file @
820a2803
...
...
@@ -395,7 +395,6 @@
<
script
>
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
,
levelLogPage
,
...
...
@@ -405,7 +404,7 @@ import {
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
userMemberUserList
,
memberUserList
infoListReceiptPage
,
memberUserList
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
'
@/utils/dict
'
import
{
getProductTypeList
}
from
'
@/api/ecw/productType
'
...
...
@@ -414,7 +413,7 @@ import CustomerFollow from "@/components/CustomerFollow"
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
CustomerComplaint
from
'
@/views/ecw/customerComplaint
'
import
{
listServiceUser
}
from
'
@/api/system/user
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsListByCustomer
,
getCustomer
}
from
'
@/api/ecw/indirectCustomer
'
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getCreditRulePage
}
from
"
@/api/customer/creditRule
"
;
...
...
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