Commit bc1538b2 authored by zhengke's avatar zhengke

修改

parent 025935b3
......@@ -41,8 +41,8 @@
class='blue point'>清空筛选条件</span>
</div>
<div style="margin-top:15px">
<el-button @click="tableSet(4)" style="margin-left:10px;" size="mini">上架</el-button>
<el-button @click="tableSet(5)" style="margin-left:10px;" size="mini">下架</el-button>
<el-button @click="tableSet(4)" style="margin-left:10px;" size="mini">启用</el-button>
<el-button @click="tableSet(5)" style="margin-left:10px;" size="mini">禁用</el-button>
<el-button @click="tableSet(6)" style="margin-left:10px;" size="mini">删除</el-button>
<!-- <el-button @click="plsetBtn" style="margin-left:10px;" size="mini">批量设置</el-button> -->
</div>
......@@ -134,8 +134,8 @@
</el-table-column>
<el-table-column prop="UpdateDate" width="100" label="状态">
<template slot-scope="scope">
<el-tag v-if="scope.row.GoodsStatus==1" type="success">销售</el-tag>
<el-tag v-if="scope.row.GoodsStatus==2" type="warning">下架</el-tag>
<el-tag v-if="scope.row.GoodsStatus==1" type="success">启用</el-tag>
<el-tag v-if="scope.row.GoodsStatus==2" type="warning">禁用</el-tag>
</template>
</el-table-column>
<el-table-column prop="address" width="200" label="操作">
......
......@@ -27,8 +27,8 @@
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<div style="margin-top:15px;">
<el-button @click="tableSet(1)" size="mini">上架</el-button>
<el-button @click="tableSet(2)" style="margin:0 10px;" size="mini">下架</el-button>
<el-button @click="tableSet(1)" size="mini">启用</el-button>
<el-button @click="tableSet(2)" style="margin:0 10px;" size="mini">禁用</el-button>
<el-button @click="tableSet(3)" size="mini">删除</el-button>
</div>
</div>
......@@ -44,8 +44,8 @@
</el-table-column>
<el-table-column label="资讯状态">
<template slot-scope="scope">
<p v-if="scope.row.ArticleStatus==1">上架</p>
<p v-if="scope.row.ArticleStatus==2">下架</p>
<el-tag v-if="scope.row.ArticleStatus==1" type="success">启用中</el-tag>
<el-tag v-if="scope.row.ArticleStatus==2" type="warning">禁用中</el-tag>
</template>
</el-table-column>
<el-table-column label="是否可以留言">
......
......@@ -43,8 +43,8 @@
</el-input>
<span @click="getList" class="el-icon-search" style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
</div>
<el-button @click="tableSet(1)" style="margin-left:10px;" size="mini">上架</el-button>
<el-button @click="tableSet(2)" style="margin-left:10px;" size="mini">下架</el-button>
<el-button @click="tableSet(1)" style="margin-left:10px;" size="mini">启用</el-button>
<el-button @click="tableSet(2)" style="margin-left:10px;" size="mini">禁用</el-button>
</div>
......@@ -104,8 +104,8 @@
width="100"
label="状态">
<template slot-scope="scope">
<el-tag v-if="scope.row.TeacherStatus==1" type="success">销售</el-tag>
<el-tag v-if="scope.row.TeacherStatus==2" type="warning">下架</el-tag>
<el-tag v-if="scope.row.TeacherStatus==1" type="success">启用</el-tag>
<el-tag v-if="scope.row.TeacherStatus==2" type="warning">禁用</el-tag>
</template>
</el-table-column>
......
......@@ -63,8 +63,8 @@
<div>
<el-radio-group v-model="addMsg.StoreType" @change="getStoreType(addMsg.StoreType)">
<el-radio :label="1" border>腾讯云COS</el-radio>
<el-radio :label="2" border>七牛云存储</el-radio>
<el-radio :label="3" border>阿里云</el-radio>
<el-radio style="display:none" :label="3" border>七牛云存储</el-radio>
<el-radio :label="2" border>阿里云</el-radio>
</el-radio-group>
</div>
</el-form-item>
......@@ -94,7 +94,7 @@
<el-input v-model="addMsg.SecretKey"></el-input>
</el-form-item>
</template>
<template v-if="addMsg.StoreType==2">
<template v-if="addMsg.StoreType==3">
<el-form-item prop="Bucket">
<p><span class="cred">*</span>存储空间名称(Bucket)</p>
<el-input v-model="addMsg.Bucket"></el-input>
......@@ -120,7 +120,7 @@
</el-form-item>
</template>
<template v-if="addMsg.StoreType==3">
<template v-if="addMsg.StoreType==2">
<el-form-item prop="Bucket">
<p><span class="cred">*</span>空间名称(Bucket)</p>
<el-input v-model="addMsg.Bucket"></el-input>
......
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