Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
7ba9d347
Commit
7ba9d347
authored
Sep 24, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 按钮禁用
parent
4108c9f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
list.vue
src/views/ecm/list.vue
+4
-1
No files found.
src/views/ecm/list.vue
View file @
7ba9d347
...
...
@@ -16,7 +16,7 @@
<el-option
v-for=
"(v, i) in onlineOptions"
:key=
"i"
:label=
"v.label"
:value=
"v.value"
></el-option>
</el-select>
<el-button
type=
"text"
@
click=
"showSearch = !showSearch"
class=
"senior-search"
>
高级搜索
<i
:class=
"showSearch ? 'el-icon-d-arrow-left' : 'el-icon-d-arrow-right'"
></i></el-button>
<el-button
type=
"primary"
@
click=
"resetFilter"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"resetFilter"
:disabled=
"resetDisable"
>
重置
</el-button>
<!--
<el-checkbox
class=
"vertical-middle"
v-if=
"$store.state.marketing.isShowSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"search"
/>
-->
<!--
<el-date-picker
v-model=
"dateTime"
style=
"width:250px"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"search"
></el-date-picker>
-->
<el-button
class=
"fr"
type=
"primary"
@
click=
"$router.push('/ecm/add')"
>
新建计划
</el-button>
...
...
@@ -470,6 +470,9 @@ export default {
}
},
computed
:
{
resetDisable
()
{
return
!
this
.
listParams
.
searchName
&&
this
.
listParams
.
effectType
===
''
&&
!
this
.
listParams
.
marketingType
&&
this
.
listParams
.
onlineStatus
===
''
&&
!
this
.
dateTime
&&
!
this
.
listParams
.
marketingActivityId
&&
!
this
.
listParams
.
showSelfFlag
;
},
isOpenFlag
(
item
)
{
return
item
=>
{
if
(
!
item
)
return
false
;
...
...
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