Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
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
gic-web
marketing-opeartion
Commits
2f9d7d25
Commit
2f9d7d25
authored
Mar 29, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
a543c7ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
holiday-category-dialog.vue
src/views/activity/component/holiday-category-dialog.vue
+1
-2
holiday-dialog.vue
src/views/activity/component/holiday-dialog.vue
+6
-6
No files found.
src/views/activity/component/holiday-category-dialog.vue
View file @
2f9d7d25
...
...
@@ -106,8 +106,7 @@ export default {
});
saveHolidayCategory
(
list
)
.
then
((
res
)
=>
{
let
code
=
res
.
code
;
if
(
code
===
'0'
)
this
.
$message
.
success
(
'提交成功'
);
this
.
$message
.
success
(
'提交成功'
);
this
.
handleClose
();
this
.
$emit
(
'refresh'
);
this
.
loading
=
false
;
...
...
src/views/activity/component/holiday-dialog.vue
View file @
2f9d7d25
<
template
>
<el-dialog
title=
"编辑"
:visible
.
sync=
"visible"
width=
"600px"
@
close=
"onClose"
>
<el-form
:model=
"submitData"
:rules=
"rules"
ref=
"submitData"
label-width=
"120px"
>
<el-form-item
label=
"节日分类
:
"
prop=
"categoryCode"
>
<el-form-item
label=
"节日分类"
prop=
"categoryCode"
>
<el-select
v-model=
"submitData.categoryCode"
clearable
placeholder=
"全部分类"
>
<el-option
v-for=
"item in categoryList"
:key=
"item.activityCategoryId"
:label=
"item.categoryName"
:value=
"item.activityCategoryId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"节日名称
:
"
prop=
"name"
>
<el-form-item
label=
"节日名称"
prop=
"name"
>
<el-input
v-model=
"submitData.name"
placeholder=
"请输入节日名称,不超过 10 个字"
maxlength=
"10"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"节日日期
:
"
prop=
"customFlag"
>
<el-form-item
label=
"节日日期"
prop=
"customFlag"
>
<el-radio
v-model=
"submitData.customFlag"
label=
"0"
>
固定日期
</el-radio>
<el-radio
v-model=
"submitData.customFlag"
label=
"1"
>
灵活日期
</el-radio>
</el-form-item>
<el-form-item
label=
"选择日期
:
"
prop=
"date"
v-if=
"submitData.customFlag == 0"
>
<el-form-item
label=
"选择日期"
prop=
"date"
v-if=
"submitData.customFlag == 0"
>
<div>
<el-radio
v-model=
"submitData.dateType"
label=
"1"
>
<div
style=
"display: inline-block"
>
阳历
</div>
...
...
@@ -36,7 +36,7 @@
</div>
</el-form-item>
<el-form-item
label=
"选择日期
:
"
v-if=
"submitData.customFlag == 1"
>
<el-form-item
label=
"选择日期"
v-if=
"submitData.customFlag == 1"
>
<el-row
type=
"flex"
align=
"middle"
>
<el-form-item
prop=
"month"
style=
"margin-right: 10px"
>
<el-select
v-model=
"submitData.month"
placeholder=
"请选择月份"
class=
"selector-item"
>
...
...
@@ -58,7 +58,7 @@
</el-row>
</el-form-item>
<el-form-item
label=
"排序号
:
"
prop=
"sort"
>
<el-form-item
label=
"排序号"
prop=
"sort"
>
<el-input
v-model=
"submitData.sort"
placeholder=
"请输入排序号,1-1000"
max=
"1000"
min=
"1"
step=
"1"
clearable
></el-input>
</el-form-item>
...
...
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