Commit f590da27 by wangzhihui

fixed

1 parent c0ca1891
...@@ -20,7 +20,9 @@ ...@@ -20,7 +20,9 @@
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header title="课程配置列表"> <d2-table-header title="课程配置列表">
<span> <span>
<el-button size="small" @click="handleExport"> 导出 </el-button></span <el-button size="small" @click="handleExport" type="primary">
导出
</el-button></span
> >
</d2-table-header> </d2-table-header>
<d2-table <d2-table
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
短课程配课 短课程配课
</el-button> </el-button>
<span style="margin-left: 10px"> <span style="margin-left: 10px">
<el-button size="small" @click="handleExport"> <el-button size="small" @click="handleExport" type="primary">
导出 导出
</el-button></span </el-button></span
> >
......
...@@ -496,6 +496,7 @@ export default { ...@@ -496,6 +496,7 @@ export default {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 4px;
} }
.video-poster { .video-poster {
position: absolute; position: absolute;
...@@ -506,6 +507,7 @@ export default { ...@@ -506,6 +507,7 @@ export default {
right: 0; right: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
border-radius: 4px;
} }
.mask { .mask {
display: flex; display: flex;
...@@ -520,6 +522,7 @@ export default { ...@@ -520,6 +522,7 @@ export default {
left: 0; left: 0;
bottom: 0; bottom: 0;
z-index: 999; z-index: 999;
border-radius: 4px;
.pic-pane-close { .pic-pane-close {
width: 16px; width: 16px;
height: 16px; height: 16px;
......
...@@ -121,13 +121,13 @@ ${this.title}:${params[0].value}辆 ...@@ -121,13 +121,13 @@ ${this.title}:${params[0].value}辆
show: false show: false
}, },
axisTick: { axisTick: {
show: true, show: false,
lineStyle: { lineStyle: {
color: "#E9E9E9" color: "#fff"
} }
}, },
splitLine: { splitLine: {
show: false, // 根据截图隐藏网格线 show: false, // 隐藏网格线
color: "#E9E9E9" color: "#E9E9E9"
}, },
axisLine: { axisLine: {
...@@ -165,7 +165,7 @@ ${this.title}:${params[0].value}辆 ...@@ -165,7 +165,7 @@ ${this.title}:${params[0].value}辆
fontSize: "12px" fontSize: "12px"
}, },
splitLine: { splitLine: {
show: true, // 根据截图隐藏网格线 show: true, // 根据隐藏网格线
color: "#E9E9E9" color: "#E9E9E9"
}, },
axisTick: { axisTick: {
......
...@@ -577,7 +577,7 @@ export default { ...@@ -577,7 +577,7 @@ export default {
.none-icon { .none-icon {
// width: 20px; // width: 20px;
height: 20px; height: 20px;
margin-top: 5px; margin-top: 4px;
} }
} }
} }
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
::v-deep .el-form-item__label { ::v-deep .el-form-item__label {
color: #666666; color: #666666;
font-size: 14px; font-size: 14px;
line-height: 20px;
} }
.itemDiv { .itemDiv {
display: flex; display: flex;
...@@ -39,9 +40,16 @@ ...@@ -39,9 +40,16 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
::v-deep .el-col {
margin-bottom: 20px;
}
::v-deep .el-form-item__content { ::v-deep .el-form-item__content {
max-width: calc(100% - 150px); width: calc(100% - 150px);
word-break: break-all; word-break: break-all;
line-height: 20px;
}
::v-deep el-form-item--medium .el-form-item__label {
line-height: 20px;
} }
} }
.unit { .unit {
...@@ -69,6 +77,7 @@ ...@@ -69,6 +77,7 @@
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;
position: static !important; position: static !important;
border-radius: 4px;
} }
::v-deep .pic-box { ::v-deep .pic-box {
margin-right: 16px; margin-right: 16px;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
::v-deep .el-form-item__label { ::v-deep .el-form-item__label {
color: #666666; color: #666666;
font-size: 14px; font-size: 14px;
line-height: 20px;
} }
.itemDiv { .itemDiv {
display: flex; display: flex;
...@@ -49,17 +50,27 @@ ...@@ -49,17 +50,27 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
::v-deep .el-col {
margin-bottom: 20px;
}
::v-deep .el-form-item__content { ::v-deep .el-form-item__content {
width: calc(100% - 150px); width: calc(100% - 150px);
word-break: break-all; word-break: break-all;
line-height: 20px;
}
::v-deep .el-form-item--medium .el-form-item__label {
line-height: 20px;
} }
} }
::v-deep .edit-form-item { ::v-deep .edit-form-item {
width: 100%; width: 100%;
} }
.flex { .flex {
display: flex; display: flex;
align-items: center; align-items: align-items;
} }
.unit { .unit {
margin-left: 8px; margin-left: 8px;
...@@ -86,6 +97,7 @@ ...@@ -86,6 +97,7 @@
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;
position: static !important; position: static !important;
border-radius: 4px;
} }
::v-deep .pic-box { ::v-deep .pic-box {
margin-right: 16px; margin-right: 16px;
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
::v-deep .el-form-item__label { ::v-deep .el-form-item__label {
color: #666666; color: #666666;
font-size: 14px; font-size: 14px;
line-height: 20px;
} }
.itemDiv { .itemDiv {
display: flex; display: flex;
...@@ -39,9 +40,14 @@ ...@@ -39,9 +40,14 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
::v-deep .el-col {
margin-bottom: 20px;
}
::v-deep .el-form-item__content { ::v-deep .el-form-item__content {
max-width: calc(100% - 150px); width: calc(100% - 150px);
word-break: break-all; word-break: break-all;
line-height: 20px;
.unit { .unit {
// margin-left: 8px; // margin-left: 8px;
flex-shrink: 0; flex-shrink: 0;
...@@ -84,5 +90,6 @@ ...@@ -84,5 +90,6 @@
.flex { .flex {
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 20px;
} }
} }
...@@ -241,7 +241,12 @@ export default { ...@@ -241,7 +241,12 @@ export default {
{ {
title: "激励价格", title: "激励价格",
key: "sunlightInspiresPrice", key: "sunlightInspiresPrice",
suffixText: "元" formatter: (row) => {
return row.sunlightInspiresPrice ||
row.sunlightInspiresPrice === 0
? row.sunlightInspiresPrice + "元"
: "-"
}
}, },
{ {
title: "录入时间", title: "录入时间",
...@@ -307,7 +312,8 @@ export default { ...@@ -307,7 +312,8 @@ export default {
}, },
getSunlightLog() { getSunlightLog() {
return new Promise((resolve) => { return new Promise((resolve) => {
getSunlightLog({ id: this.paramsObj.id }).then((res) => { let params = { t: { id: this.paramsObj.id } }
getSunlightLog(params).then((res) => {
this.loglist = res.records this.loglist = res.records
}) })
resolve() resolve()
......
...@@ -267,7 +267,9 @@ export default { ...@@ -267,7 +267,9 @@ export default {
handleDetailClose() { handleDetailClose() {
this.detailVisible = !this.detailVisible this.detailVisible = !this.detailVisible
}, },
handleAddConfirm() {}, handleAddConfirm() {
this.handleSearch()
},
getStatusItem(baseData, optKey, row, rowKey) { getStatusItem(baseData, optKey, row, rowKey) {
if (!baseData || !baseData[optKey] || !row) return null if (!baseData || !baseData[optKey] || !row) return null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!