Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
2c777d8c
Commit
2c777d8c
authored
Oct 22, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a5ee0681
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
CourseManagement.vue
src/components/education/CourseManagement.vue
+12
-12
informationEvalution.vue
src/components/education/informationEvalution.vue
+4
-2
No files found.
src/components/education/CourseManagement.vue
View file @
2c777d8c
<
template
>
<div
class=
"goodsList"
>
<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
@
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
class=
"content"
>
<div>
...
...
@@ -80,7 +80,7 @@
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"300"
label=
"
商品
名称"
>
<el-table-column
prop=
"address"
width=
"300"
label=
"
课程
名称"
>
<
template
slot-scope=
"scope"
>
<div
flex=
"box:first"
>
<el-image
title=
"点击查看大图"
style=
"width:50px;height:50px;margin-right:1px"
:src=
"scope.row.CoverImage"
...
...
@@ -214,7 +214,7 @@
</el-dialog>
<!-- 批量修改 -->
<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
style=
"margin-top:15px"
flex=
"dir:left box:first"
>
<div
flex=
"dir:top"
class=
"batch-box-left"
>
...
...
@@ -233,7 +233,7 @@
<el-button
@
click=
"chooseyfDig=true"
style=
"margin-left:10px;"
size=
"small"
>
选择运费
</el-button>
</el-form-item>
<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"
style=
"width:254px;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
...
...
@@ -295,8 +295,8 @@
<el-switch
v-model=
"plszMsg.IsQuickBuy"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"0"
>
</el-switch>
</el-form-item>
<el-form-item
class=
"spmy"
v-if=
"plszMsg.Type==11"
label-width=
"160px"
label=
"是否加入
商品
面议"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"如果开启面议,则
商品
无法在线支付"
placement=
"top"
<el-form-item
class=
"spmy"
v-if=
"plszMsg.Type==11"
label-width=
"160px"
label=
"是否加入
课程
面议"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"如果开启面议,则
课程
无法在线支付"
placement=
"top"
style=
"position: absolute;left: -22px;top:12px"
>
<i
class=
"el-tooltip el-icon-info"
></i>
</el-tooltip>
...
...
@@ -494,7 +494,7 @@
},
plsetBtn
()
{
if
(
this
.
GoodsIds
.
length
==
0
)
{
this
.
Error
(
"请先勾选要设置的
商品
!"
);
this
.
Error
(
"请先勾选要设置的
课程
!"
);
return
;
}
let
idList
=
[];
...
...
@@ -533,7 +533,7 @@
// 上架 下架 删除
tableSet
(
num
)
{
if
(
this
.
GoodsIds
.
length
==
0
)
{
this
.
Error
(
"请先勾选要设置的
商品
!"
);
this
.
Error
(
"请先勾选要设置的
课程
!"
);
return
;
}
let
idList
=
[];
...
...
@@ -553,7 +553,7 @@
str
=
"批量下架,是否继续"
;
}
if
(
num
==
6
)
{
str
=
"是否确认删除选中的
商品
?"
;
str
=
"是否确认删除选中的
课程
?"
;
}
let
that
=
this
;
that
.
$confirm
(
str
,
'提示'
,
{
...
...
src/components/education/informationEvalution.vue
View file @
2c777d8c
...
...
@@ -41,6 +41,8 @@
</el-table-column>
<el-table-column
prop=
"ID"
label=
"ID"
width=
"80"
>
</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>
<el-table-column
label=
"平台"
width=
"80"
>
...
...
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