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
29dd5bb1
Commit
29dd5bb1
authored
Jul 23, 2019
by
Kyle_Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传接口
parent
8d85892f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
17 deletions
+52
-17
url.js
src/components/axios/url.js
+4
-1
bulkIntegral.vue
src/components/wechatmembers/bulkIntegral.vue
+0
-0
total.js
src/components/wechatmembers/total.js
+48
-16
No files found.
src/components/axios/url.js
View file @
29dd5bb1
...
...
@@ -66,7 +66,10 @@ const urlConfig = {
batchUpdateStore
:
'/api-member/batch-update-members-store'
,
// 回收站修改主门店
getStorePicture
:
'/api-member/enterprise-info'
,
// 获取企业配置信息
getReturnMember
:
'/api-member/query-members-page'
,
// 回收站门店
getSubStoreList
:
'api-member/members-sub-store-list'
// 获取选中会员的协管门店
getSubStoreList
:
'api-member/members-sub-store-list'
,
// 获取选中会员的协管门店
getBatchRecord
:
'/api-member/queryBatchRecord'
,
// 批量积分导入-获取积分导入数据
downLoadExcelTemplate
:
'/api-member/downLoadExcelTemplate'
,
// 批量积分导入-下载积分导入模板
uploadExecl
:
'/api-member/uploadExecl'
,
// 批量积分导入-导入数据
}
const
defaultUrl
=
Object
.
assign
({},
urlConfig
);
...
...
src/components/wechatmembers/bulkIntegral.vue
View file @
29dd5bb1
This diff is collapsed.
Click to expand it.
src/components/wechatmembers/total.js
View file @
29dd5bb1
...
...
@@ -789,12 +789,54 @@ export default {
checkStatus
(
err
);
});
},
handleVisibleBatch
(
val
)
{
if
(
this
.
multipleList
.
length
<
1
)
{
this
.
batchValue
=
''
;
checkFalse
(
'请勾选会员'
);
return
false
;
}
// handleVisibleBatch(val) {
// if (this.batchValue == "bulkIntegral") {
// this.$router.push({ path: '/bulkIntegral', query: { ids: 123 } });
// } else if(this.multipleList.length < 1) {
// this.batchValue = '';
// checkFalse('请勾选会员');
// return false;
// }
// if (!val) {
// if (this.batchValue == "integral") {
// this.dilogIntegralVisible = true;
// this.getEnterpriseInfo();
// if (this.$refs.IntegralForm) {
// this.$refs.IntegralForm.resetFields();
// }
// }
// if (this.batchValue == "grade") {
// this.dilogGradeVisible = true;
// if (this.$refs.gradeForm) {
// this.$refs.gradeForm.resetFields();
// }
// }
// if (this.batchValue == "mainstore") {
// this.dilogMainstoreVisible = true;
// this.selectStore(val);
// if (this.$refs.mainstoreForm) {
// this.$refs.mainstoreForm.resetFields();
// }
// this.storeName = '';
// }
// if (this.batchValue == "store") {
// this.dilogSubStoreVisible = true;
// if (this.$refs.storeForm) {
// this.$refs.storeForm.resetFields();
// }
// this.getSubStoreList();
// }
// }
// },
handleFocusBatch
()
{
if
(
this
.
batchValue
==
"bulkIntegral"
)
{
this
.
batchValue
=
''
;
this
.
$router
.
push
({
path
:
'/bulkIntegral'
,
query
:
{
ids
:
123
}
});
}
else
if
(
this
.
multipleList
.
length
<
1
)
{
this
.
batchValue
=
''
;
checkFalse
(
'请勾选会员'
);
return
false
;
}
if
(
!
val
)
{
if
(
this
.
batchValue
==
"integral"
)
{
this
.
dilogIntegralVisible
=
true
;
...
...
@@ -824,16 +866,6 @@ export default {
}
this
.
getSubStoreList
();
}
if
(
this
.
batchValue
==
"bulkIntegral"
)
{
this
.
$router
.
push
({
path
:
'/bulkIntegral'
,
query
:
{
ids
:
123
}
});
}
}
},
handleFocusBatch
()
{
if
(
this
.
multipleList
.
length
<
1
)
{
this
.
batchValue
=
""
;
checkFalse
(
"请勾选会员"
);
return
false
;
}
},
selectAllmultipleList
()
{
...
...
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