Commit f7b568aa authored by liudong1993's avatar liudong1993

活动页面

parent 6cf0bd67
......@@ -44,7 +44,7 @@
<el-table-column
prop="Id"
label="Id"
width="100">
width="60">
</el-table-column>
<el-table-column
......@@ -101,13 +101,12 @@
<div>开始时间:{{scope.row.StartTime}}</div>
<div>结束时间:{{scope.row.EndTime}}</div>
<div>兑换期限:{{scope.row.ReceiveTime}}</div>
<div>创建时间:{{scope.row.CreateDate}}</div>
</template>
</el-table-column>
<el-table-column
label="验证码长度"
prop="CodeLength">
label="验证码"
prop="CodeLength" width="80">
<template slot-scope="scope">
<div >{{scope.row.CodeLength}}</div>
......@@ -115,14 +114,21 @@
</el-table-column>
<el-table-column
label="是否启用"
prop="Enable">
label="状态"
prop="Enable" width="60">
<template slot-scope="scope">
<div >{{scope.row.Enable==1?'是':'否'}}</div>
<div >{{scope.row.Enable==1?'启用':'禁用'}}</div>
</template>
</el-table-column>
<el-table-column
label="创建时间"
prop="CreateDate" width="120">
<template slot-scope="scope">
<div>{{scope.row.CreateDate}}</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
......@@ -130,15 +136,15 @@
width="180"
>
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="编辑" placement="top" >
<img src="../../assets/img/setup/edit.png" alt="" class="imgstyle" @click="Edit(scope.row)">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="启用" placement="top" v-if="scope.row.Enable==2">
<img src="../../assets/img/userman/pass.png" alt="" class="imgstyle" @click="grant(scope.row,1)" v-if="scope.row.Enable==2">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="禁止" placement="top" v-if="scope.row.Enable==1">
<img src="../../assets/img/userman/nopass.png" alt="" class="imgstyle" @click="grant(scope.row,2)" v-if="scope.row.Enable==1">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="编辑" placement="top" >
<img src="../../assets/img/setup/edit.png" alt="" class="imgstyle" @click="Edit(scope.row)">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top" >
<img src="../../assets/img/setup/del.png" alt="" class="imgstyle" @click="delete_b(scope.row)">
</el-tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment