Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
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
达摩4.0重构
welfare
Commits
f37c91c9
Commit
f37c91c9
authored
Feb 24, 2021
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 自提点
parent
4a6dfe79
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
pickup-update-dialog.vue
src/views/gift-manage/module/pickup-update-dialog.vue
+1
-1
pickup-form copy.vue
src/views/gift-manage/pickup-form copy.vue
+0
-0
pickup-form.vue
src/views/gift-manage/pickup-form.vue
+5
-2
pickup-list.vue
src/views/gift-manage/pickup-list.vue
+4
-2
No files found.
src/views/gift-manage/module/pickup-update-dialog.vue
View file @
f37c91c9
...
...
@@ -70,7 +70,7 @@ export default {
return
{
ruleForm
:
{
type
:
1
,
chooseTimeFlag
:
1
,
chooseTimeFlag
:
0
,
dateType
:
1
,
// 日期类型 1、动态日期 2、固定日期
fixedTime
:
[
{
dataRange
:
''
}
],
// 固定日期
// 动态日期start
...
...
src/views/gift-manage/pickup-form copy.vue
deleted
100644 → 0
View file @
4a6dfe79
This diff is collapsed.
Click to expand it.
src/views/gift-manage/pickup-form.vue
View file @
f37c91c9
...
...
@@ -93,7 +93,7 @@ export default {
pickupId
:
this
.
$route
.
query
.
id
,
// 主键
ruleForm
:
{
type
:
1
,
chooseTimeFlag
:
1
,
chooseTimeFlag
:
0
,
dateType
:
1
,
// 日期类型 1、动态日期 2、固定日期
fixedTime
:
[
{
dataRange
:
''
}
],
// 固定日期
// 动态日期start
...
...
@@ -143,9 +143,12 @@ export default {
this
.
info
=
info
;
// 表单的
Object
.
keys
(
this
.
ruleForm
).
map
(
key
=>
{
const
obj
=
{};
if
(
key
in
res
.
result
)
{
this
.
ruleForm
[
key
]
=
info
[
key
];
obj
[
key
]
==
info
[
key
];
// this.ruleForm[key] = info[key];
}
Object
.
assign
(
this
.
ruleForm
,
obj
);
});
if
(
info
.
chooseTimeFlag
)
{
const
pickupDateInfo
=
JSON
.
parse
(
info
.
pickupDateInfo
);
...
...
src/views/gift-manage/pickup-list.vue
View file @
f37c91c9
...
...
@@ -31,7 +31,7 @@
<div
class=
"clearfix"
>
<dm-pagination
class=
"fr mb0"
v-if=
"tableList.length"
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"listParams.currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"listParams.pageSize"
layout=
"total, sizes, prev, pager, next"
:total=
"total"
></dm-pagination>
</div>
<pickup-update-dialog
:dialog-visible
.
sync=
"dialogVisible"
:ids=
"selectList.map(v => v.
ids
)"
@
mutiUpdate=
"mutiUpdate"
></pickup-update-dialog>
<pickup-update-dialog
:dialog-visible
.
sync=
"dialogVisible"
:ids=
"selectList.map(v => v.
pickupId
)"
@
mutiUpdate=
"mutiUpdate"
></pickup-update-dialog>
</div>
</template>
...
...
@@ -71,7 +71,9 @@ export default {
},
methods
:
{
exportExcel
()
{
window
.
location
=
exportPickupStoreExcel
+
`?dataUrl=/welfare/setting/pickup-list&areaId=
${
this
.
currentAreaId
}
&name=
${
this
.
listParams
.
name
}
`
;
exportPickupStoreExcel
;
// window.location = exportPickupStoreExcel + `?dataUrl=/welfare/setting/pickup-list&name=${this.listParams.name}`;
window
.
location
=
`https://four.gicdev.com/api-welfare/export-pickup-store-excel?dataUrl=/welfare/setting/pickup-list&name=
${
this
.
listParams
.
name
}
`
;
},
mutiUpdate
()
{
this
.
selectList
=
[];
...
...
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