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
5e5f0513
Commit
5e5f0513
authored
Sep 13, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修复bug
parent
3b6e2463
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
list.vue
src/views/ecm/list.vue
+2
-2
index.vue
src/views/game/dzp/index.vue
+2
-2
index.vue
src/views/game/ggk/index.vue
+2
-2
index.vue
src/views/game/klfl/index.vue
+2
-2
index.vue
src/views/game/ptyx/index.vue
+2
-2
index.vue
src/views/game/znm/index.vue
+2
-2
No files found.
src/views/ecm/list.vue
View file @
5e5f0513
...
...
@@ -84,8 +84,8 @@
<el-table-column
label=
"操作"
align=
"left"
width=
"160"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<!--
<template
v-if=
"scope.row.canEdit !== false"
>
-->
<el-button
type=
"text"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId) && (scope.row.effectType == 0 || scope.row.effectType == 1)
&& scope.row.onlineStatus != 2"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
@
click=
"$router.push(`/ecm/info/$
{scope.row.ecmPlanId}`)">详情
</el-button>
<el-button
type=
"text"
v-if=
"
scope.row.canEdit
&& scope.row.onlineStatus != 2"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
@
click=
"$router.push(`/ecm/info/$
{scope.row.ecmPlanId}`)">详情
</el-button>
<!--
</
template
>
-->
<!-- <dm-delete v-if="scope.row.effectType !== 2 && scope.row.onlineStatus === 1 && scope.row.canEdit !== false" @confirm="offlineEcmPlan(scope.row)" tips="是否下线该计划?">
<el-button type="text">下线</el-button>
...
...
src/views/game/dzp/index.vue
View file @
5e5f0513
...
...
@@ -21,8 +21,8 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setLinks(scope.row, 1)"
>
链接
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/dzp/record/' + scope.row.gameId)"
>
中奖记录
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/dzp/edit/' + scope.row.gameId)"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId)
&& scope.row.gameStatus != '3'"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/dzp/detail/' + scope.row.gameId)"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
>
详情
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/dzp/edit/' + scope.row.gameId)"
v-if=
"
scope.row.canEdit
&& scope.row.gameStatus != '3'"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/dzp/detail/' + scope.row.gameId)"
v-else
>
详情
</el-button>
<dm-delete
@
confirm=
"delData(scope.row)"
v-if=
"scope.row.canEdit !== false"
tips=
"是否删除该游戏?"
>
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
...
...
src/views/game/ggk/index.vue
View file @
5e5f0513
...
...
@@ -21,8 +21,8 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setLinks(scope.row, 2)"
>
链接
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/ggk/record/' + scope.row.gameId)"
>
中奖记录
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/ggk/edit/' + scope.row.gameId)"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId)
&& scope.row.gameStatus != '3'"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/ggk/detail/' + scope.row.gameId)"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
>
详情
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/ggk/edit/' + scope.row.gameId)"
v-if=
"
scope.row.canEdit
&& scope.row.gameStatus != '3'"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('/game/ggk/detail/' + scope.row.gameId)"
v-else
>
详情
</el-button>
<dm-delete
@
confirm=
"delData(scope.row)"
v-if=
"scope.row.canEdit !== false"
tips=
"是否删除该游戏?"
>
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
...
...
src/views/game/klfl/index.vue
View file @
5e5f0513
...
...
@@ -23,8 +23,8 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setLinks(scope.row, 5)"
>
链接
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.sendStatus !== 0"
@
click=
"$router.push('/game/klfl/record/' + scope.row.gameActivityId)"
>
中奖记录
</el-button>
<el-button
type=
"text"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId)
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/klfl/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
@
click=
"$router.push('/game/klfl/info/' + scope.row.gameActivityId)"
>
详情
</el-button>
<el-button
type=
"text"
v-if=
"
scope.row.canEdit
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/klfl/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
@
click=
"$router.push('/game/klfl/info/' + scope.row.gameActivityId)"
>
详情
</el-button>
<dm-delete
@
confirm=
"delData(scope.row)"
tips=
"是否删除该游戏?"
v-if=
"scope.row.canEdit !== false"
>
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
...
...
src/views/game/ptyx/index.vue
View file @
5e5f0513
...
...
@@ -21,8 +21,8 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setLinks(scope.row, 3)"
>
链接
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.activityStatus !== 0"
@
click=
"$router.push('/game/ptyx/record/' + scope.row.gameActivityId)"
>
记录
</el-button>
<el-button
type=
"text"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId)
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/ptyx/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
@
click=
"$router.push('/game/ptyx/query/' + scope.row.gameActivityId)"
>
详情
</el-button>
<el-button
type=
"text"
v-if=
"
scope.row.canEdit
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/ptyx/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
@
click=
"$router.push('/game/ptyx/query/' + scope.row.gameActivityId)"
>
详情
</el-button>
<dm-delete
@
confirm=
"delData(scope.row)"
tips=
"是否删除该游戏?"
v-if=
"scope.row.canEdit !== false"
>
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
...
...
src/views/game/znm/index.vue
View file @
5e5f0513
...
...
@@ -20,8 +20,8 @@
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setLinks(scope.row, 4)"
>
链接
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.activityStatus !== 0"
@
click=
"$router.push('/game/znm/record/' + scope.row.gameActivityId)"
>
记录
</el-button>
<el-button
type=
"text"
v-if=
"
($store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId)
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/znm/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
-if=
"$store.state.marketing.superAdmin == 1 || $store.state.marketing.userId == scope.row.creatorId || [2, 3].includes($store.state.marketing.departAuth)"
@
click=
"$router.push('/game/znm/info/' + scope.row.gameActivityId)"
>
详情
</el-button>
<el-button
type=
"text"
v-if=
"
scope.row.canEdit
&& (scope.row.activityStatus === 0 || scope.row.activityStatus === 1)"
@
click=
"$router.push('/game/znm/edit/' + scope.row.gameActivityId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
@
click=
"$router.push('/game/znm/info/' + scope.row.gameActivityId)"
>
详情
</el-button>
<dm-delete
@
confirm=
"delData(scope.row)"
tips=
"是否删除该游戏?"
v-if=
"scope.row.canEdit !== false"
>
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
...
...
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