Commit 2c777d8c authored by Mac's avatar Mac

1

parent a5ee0681
<template> <template>
<div class="goodsList"> <div class="goodsList">
<div class="head-title"> <div class="head-title">
商品列表 课程列表
<el-button @click="Export" style="float:right;margin-top: -5px;margin-left:20px;" size="small" type="primary">商品导出 <el-button @click="Export" style="float:right;margin-top: -5px;margin-left:20px;" size="small" type="primary">课程导出
</el-button> </el-button>
<el-button @click="CommonJump('educationEdit',{hpState:hpState,FxState:FxState})" <el-button @click="CommonJump('educationEdit',{hpState:hpState,FxState:FxState})"
style="float:right;margin-top: -5px;margin-left:20px;" size="small" type="primary">添加商品</el-button> style="float:right;margin-top: -5px;margin-left:20px;" size="small" type="primary">添加课程</el-button>
</div> </div>
<div class="content"> <div class="content">
<div> <div>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="address" width="300" label="商品名称"> <el-table-column prop="address" width="300" label="课程名称">
<template slot-scope="scope"> <template slot-scope="scope">
<div flex="box:first"> <div flex="box:first">
<el-image title="点击查看大图" style="width:50px;height:50px;margin-right:1px" :src="scope.row.CoverImage" <el-image title="点击查看大图" style="width:50px;height:50px;margin-right:1px" :src="scope.row.CoverImage"
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
</el-dialog> </el-dialog>
<!-- 批量修改 --> <!-- 批量修改 -->
<el-dialog custom-class="plxg" title="批量修改" :visible.sync="plDig" width="960px"> <el-dialog custom-class="plxg" title="批量修改" :visible.sync="plDig" width="960px">
<span class="absoSpan">已选商品{{GoodsIds.length}}个</span> <span class="absoSpan">已选课程{{GoodsIds.length}}个</span>
<div class="batch-remark c99 f14">注:每次只能修改一项,修改后点击确定即可生效。如需修改多项,需多次操作。</div> <div class="batch-remark c99 f14">注:每次只能修改一项,修改后点击确定即可生效。如需修改多项,需多次操作。</div>
<div style="margin-top:15px" flex="dir:left box:first"> <div style="margin-top:15px" flex="dir:left box:first">
<div flex="dir:top" class="batch-box-left"> <div flex="dir:top" class="batch-box-left">
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
<el-button @click="chooseyfDig=true" style="margin-left:10px;" size="small">选择运费</el-button> <el-button @click="chooseyfDig=true" style="margin-left:10px;" size="small">选择运费</el-button>
</el-form-item> </el-form-item>
<el-form-item v-if="plszMsg.Type==8" label="每人限购"> <el-form-item v-if="plszMsg.Type==8" label="每人限购">
<el-form-item label-width="50px" label="商品"> <el-form-item label-width="50px" label="课程">
<el-input :disabled="BuyGoodsNumState" v-model="plszMsg.LimitBuyGoodsNum" <el-input :disabled="BuyGoodsNumState" v-model="plszMsg.LimitBuyGoodsNum"
style="width:254px;margin-left:15px" type="number" min="1" size="small" placeholder="请输入内容" style="width:254px;margin-left:15px" type="number" min="1" size="small" placeholder="请输入内容"
class="input-with-select"> class="input-with-select">
...@@ -295,8 +295,8 @@ ...@@ -295,8 +295,8 @@
<el-switch v-model="plszMsg.IsQuickBuy" active-color="#409EFF" :active-value="1" :inactive-value="0"> <el-switch v-model="plszMsg.IsQuickBuy" active-color="#409EFF" :active-value="1" :inactive-value="0">
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<el-form-item class="spmy" v-if="plszMsg.Type==11" label-width="160px" label="是否加入商品面议"> <el-form-item class="spmy" v-if="plszMsg.Type==11" label-width="160px" label="是否加入课程面议">
<el-tooltip class="item" effect="dark" content="如果开启面议,则商品无法在线支付" placement="top" <el-tooltip class="item" effect="dark" content="如果开启面议,则课程无法在线支付" placement="top"
style="position: absolute;left: -22px;top:12px"> style="position: absolute;left: -22px;top:12px">
<i class="el-tooltip el-icon-info"></i> <i class="el-tooltip el-icon-info"></i>
</el-tooltip> </el-tooltip>
...@@ -494,7 +494,7 @@ ...@@ -494,7 +494,7 @@
}, },
plsetBtn() { plsetBtn() {
if (this.GoodsIds.length == 0) { if (this.GoodsIds.length == 0) {
this.Error("请先勾选要设置的商品!"); this.Error("请先勾选要设置的课程!");
return; return;
} }
let idList = []; let idList = [];
...@@ -533,7 +533,7 @@ ...@@ -533,7 +533,7 @@
// 上架 下架 删除 // 上架 下架 删除
tableSet(num) { tableSet(num) {
if (this.GoodsIds.length == 0) { if (this.GoodsIds.length == 0) {
this.Error("请先勾选要设置的商品!"); this.Error("请先勾选要设置的课程!");
return; return;
} }
let idList = []; let idList = [];
...@@ -553,7 +553,7 @@ ...@@ -553,7 +553,7 @@
str = "批量下架,是否继续"; str = "批量下架,是否继续";
} }
if (num == 6) { if (num == 6) {
str = "是否确认删除选中的商品?"; str = "是否确认删除选中的课程?";
} }
let that = this; let that = this;
that.$confirm(str, '提示', { that.$confirm(str, '提示', {
......
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
</el-table-column> </el-table-column>
<el-table-column prop="ID" label="ID" width="80"> <el-table-column prop="ID" label="ID" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="ArticleName" label="资讯名称" width="200">
</el-table-column>
<el-table-column prop="UserName" label="用户" width="100"> <el-table-column prop="UserName" label="用户" width="100">
</el-table-column> </el-table-column>
<el-table-column label="平台" width="80"> <el-table-column label="平台" width="80">
...@@ -136,8 +138,8 @@ ...@@ -136,8 +138,8 @@
PlatformSource: 0, PlatformSource: 0,
ArticleName: '', //咨询标题 ArticleName: '', //咨询标题
Content: '', //评价内容 Content: '', //评价内容
StartTime: '', //评价时间 StartTime: '', //评价时间
EndTime: '', //评价时间 EndTime: '', //评价时间
UserName: '', //用户昵称 UserName: '', //用户昵称
ArticleId: 0 //资讯id ArticleId: 0 //资讯id
}, },
......
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