Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
Overview
Overview
Details
Activity
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
member
member
Commits
1cfd07f5
Commit
1cfd07f5
authored
Dec 22, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 客户列表批量导入去任务中心
parent
293ffc29
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
6 deletions
+15
-6
allCustomersList.vue
src/components/allCustomers/allCustomersList.vue
+4
-0
batchgradeDialog.vue
src/components/allCustomers/components/batchgradeDialog.vue
+1
-0
importDialog.vue
src/components/allCustomers/components/importDialog.vue
+2
-1
integralDialog.vue
src/components/allCustomers/components/integralDialog.vue
+2
-0
mainstoreDialog.vue
src/components/allCustomers/components/mainstoreDialog.vue
+2
-2
substoreDialog.vue
src/components/allCustomers/components/substoreDialog.vue
+1
-0
index.js
src/components/allCustomers/index.js
+3
-3
No files found.
src/components/allCustomers/allCustomersList.vue
View file @
1cfd07f5
...
...
@@ -253,6 +253,7 @@
:
integralFlag
=
"integralFlag"
:
ajaxObj
=
"{...ajaxObj
}
"
:
selectObj
=
"{...selectObj
}
"
@
successImport
=
"successImport"
/>
<!--
批量修改等级弹窗
-->
<
grade
-
dailog
...
...
@@ -261,6 +262,7 @@
:
gradeList
=
"showEditClique?cliqueMemberGrade:memberGrade"
:
ajaxObj
=
"{...ajaxObj
}
"
:
selectObj
=
"{...selectObj
}
"
@
successImport
=
"successImport"
/>
<!--
批量修改服务门店弹窗
-->
<
mainstore
-
dailog
...
...
@@ -268,6 +270,7 @@
@
refresh
=
"batchRefresh"
:
selectObj
=
"{...selectObj
}
"
:
ajaxObj
=
"{...ajaxObj
}
"
@
successImport
=
"successImport"
/>
<!--
批量修改协管门店弹窗
-->
<
substore
-
dailog
...
...
@@ -275,6 +278,7 @@
@
refresh
=
"batchRefresh"
:
selectObj
=
"{...selectObj
}
"
:
ajaxObj
=
"{...ajaxObj
}
"
@
successImport
=
"successImport"
/>
<!--
批量导入
-->
<
import
-
dialog
:
dialogVisible
.
sync
=
"dialogImportVisible"
@
successImport
=
"successImport"
/>
...
...
src/components/allCustomers/components/batchgradeDialog.vue
View file @
1cfd07f5
...
...
@@ -148,6 +148,7 @@ export default {
checkSuccess
();
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'update:dialogVisible'
,
false
);
this
.
$emit
(
'successImport'
,
res
.
data
.
result
);
this
.
$emit
(
'refresh'
);
}
else
{
checkFalse
();
...
...
src/components/allCustomers/components/importDialog.vue
View file @
1cfd07f5
...
...
@@ -177,7 +177,8 @@ export default {
checkSuccess
(
'上传成功'
);
this
.
load
=
false
;
this
.
$refs
.
memberUpload
.
clearFiles
();
this
.
$emit
(
'successImport'
)
this
.
$emit
(
'update:dialogVisible'
,
false
);
this
.
$emit
(
'successImport'
,
response
.
result
)
}
else
{
this
.
$refs
.
memberUpload
.
clearFiles
();
this
.
load
=
false
;
...
...
src/components/allCustomers/components/integralDialog.vue
View file @
1cfd07f5
...
...
@@ -189,10 +189,12 @@ export default {
pageName
:
pageName
,
}))
.
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
errorCode
===
0
)
{
checkSuccess
(
''
);
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'update:dialogVisible'
,
false
);
this
.
$emit
(
'successImport'
,
res
.
data
.
result
);
this
.
$emit
(
'refresh'
);
}
else
{
checkFalse
();
...
...
src/components/allCustomers/components/mainstoreDialog.vue
View file @
1cfd07f5
...
...
@@ -139,6 +139,7 @@ export default {
checkSuccess
();
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'update:dialogVisible'
,
false
);
this
.
$emit
(
'successImport'
,
res
.
data
.
result
);
this
.
$emit
(
'refresh'
);
}
else
{
checkFalse
();
...
...
@@ -198,4 +199,4 @@ export default {
line-height
:
17px
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/components/allCustomers/components/substoreDialog.vue
View file @
1cfd07f5
...
...
@@ -171,6 +171,7 @@ export default {
checkSuccess
();
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'update:dialogVisible'
,
false
);
this
.
$emit
(
'successImport'
,
res
.
data
.
result
);
this
.
$emit
(
'refresh'
);
}
else
{
checkFalse
();
...
...
src/components/allCustomers/index.js
View file @
1cfd07f5
...
...
@@ -438,8 +438,8 @@ export default {
openDialogImport
()
{
this
.
dialogImportVisible
=
true
;
},
successImport
()
{
this
.
dialogImportVisible
=
false
;
successImport
(
taskId
)
{
//
this.dialogImportVisible = false;
this
.
$confirm
(
"任务发起成功,请去【企业管理】-【任务中心】查看处理结果和执行进度"
,
"任务发起成功"
,
...
...
@@ -452,7 +452,7 @@ export default {
}
)
.
then
(()
=>
{
window
.
open
(
`/
/
${
window
.
location
.
host
}
/gic-web/#/taskCenter
`
)
window
.
open
(
`/
gic-web/#/taskDetail/
${
taskId
}
`
)
this
.
batchRefresh
()
})
.
catch
(()
=>
{
...
...
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