mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
fix:编辑面授课上传组件传值,修改组件重叠样式
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<div class="file_img"></div>
|
<div class="file_img"></div>
|
||||||
<div class="file_detail">
|
<div class="file_detail">
|
||||||
<div class="file_name">
|
<div class="file_name">
|
||||||
<span style="color: #6f6f6f">{{ item.name }}</span>
|
<span style="color: #6f6f6f;width:200px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ item.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="file_size">-->
|
<!-- <div class="file_size">-->
|
||||||
<!-- <span style="color: #999ba3">{{ item.size }}</span>-->
|
<!-- <span style="color: #999ba3">{{ item.size }}</span>-->
|
||||||
@@ -167,21 +167,21 @@ function del(i) {
|
|||||||
|
|
||||||
.updataxq {
|
.updataxq {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 2px;
|
right: -62px;
|
||||||
top: -30px;
|
top: -30px;
|
||||||
color: #57c887;
|
color: #57c887;
|
||||||
}
|
}
|
||||||
|
|
||||||
.updataxq1 {
|
.updataxq1 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 2px;
|
right: -62px;
|
||||||
top: -30px;
|
top: -30px;
|
||||||
color: #388be1;
|
color: #388be1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.updataxq2 {
|
.updataxq2 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 2px;
|
right: -62px;
|
||||||
top: -30px;
|
top: -30px;
|
||||||
color: #ff7474;
|
color: #ff7474;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -667,7 +667,7 @@ export default defineComponent({
|
|||||||
console.log("state.auditDescription", state.auditDescription);
|
console.log("state.auditDescription", state.auditDescription);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log(item)
|
||||||
state.qdms_inputV1 = item.name;
|
state.qdms_inputV1 = item.name;
|
||||||
state.feng_mian_1 = item.picUrl;
|
state.feng_mian_1 = item.picUrl;
|
||||||
state.qdms_inputV2 = item.targetUser;
|
state.qdms_inputV2 = item.targetUser;
|
||||||
@@ -678,7 +678,13 @@ export default defineComponent({
|
|||||||
state.qdms_inputV6 = item.intro;
|
state.qdms_inputV6 = item.intro;
|
||||||
state.member = { value: item.teacherId, name: item.teacher };
|
state.member = { value: item.teacherId, name: item.teacher };
|
||||||
valueHtml.value = item.outline;
|
valueHtml.value = item.outline;
|
||||||
state.attach = item.attach;
|
let arrss = item.attach.split(',')
|
||||||
|
let str =''
|
||||||
|
for(let i=0;i<arrss.length;i++){
|
||||||
|
i == arrss.length -1 ? str += arrss[i].slice(arrss[i].lastIndexOf('/')+1) : str += arrss[i].slice(arrss[i].lastIndexOf('/')+1) + ','
|
||||||
|
}
|
||||||
|
console.log(str)
|
||||||
|
state.attach = str;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleTagChange = () => {
|
const handleTagChange = () => {
|
||||||
|
|||||||
@@ -1289,7 +1289,7 @@ import * as api from "../../api/index1";
|
|||||||
import { editRoutered } from "../../api/indexLearningPath";
|
import { editRoutered } from "../../api/indexLearningPath";
|
||||||
import { codeUrl } from "../../api/method";
|
import { codeUrl } from "../../api/method";
|
||||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||||
import * as student from "@/api/student";
|
// import * as student from "@/api/student";
|
||||||
export default {
|
export default {
|
||||||
name: "LevelAdd",
|
name: "LevelAdd",
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
Reference in New Issue
Block a user