|
@@ -208,7 +208,7 @@
|
|
|
">
|
|
|
<div class="e_add_top">
|
|
|
<div class="e_add_title">
|
|
|
- <button class="c_pub_button_delete pub_btn_delete_img" @click="deleteEva()">清除</button>
|
|
|
+ <button class="c_pub_button_delete pub_btn_delete_img" @click="deleteEva()" v-if="evalua">清除</button>
|
|
|
<button class="c_pub_button_confirm pub_btn_add_img2" @click="dialogVisiblemb = true">添加</button>
|
|
|
<!-- <span>当前使用目标管理</span>
|
|
|
<span>{{ eTitle ? eTitle : "请添加目标" }}</span>
|
|
@@ -532,7 +532,7 @@
|
|
|
<div class="chapter_contentbox">
|
|
|
<!-- <div>第{{ unitIndex + 1 }}阶段</div> -->
|
|
|
<div class="cc_input">
|
|
|
- <input ref="dyInput" type="text" placeholder="阶段标题" class="binfo_input"
|
|
|
+ <input ref="dyInput" type="text" placeholder="请输入阶段标题" class="binfo_input"
|
|
|
v-model="unitJson[unitIndex].dyName" />
|
|
|
</div>
|
|
|
<div class="remove" v-if="unitJson.length > 1 &&
|
|
@@ -667,12 +667,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input v-if="item1.type == 2 ||
|
|
|
+ <input readonly="true" v-if="item1.type == 2 ||
|
|
|
item1.type == 3 ||
|
|
|
item1.type == 12 ||
|
|
|
item1.type == 13 ||
|
|
|
item1.type == 7
|
|
|
- " v-model="item1.name" :placeholder="item1.name" @change="
|
|
|
+ " :placeholder="item1.name" @click="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
|
unitIndex,
|
|
@@ -731,6 +731,27 @@
|
|
|
)
|
|
|
"></div>
|
|
|
</div>
|
|
|
+ <div class="chapter_upload_ic_edit" v-if="item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 12 ||
|
|
|
+ item1.type == 13 ||
|
|
|
+ item1.type == 7
|
|
|
+ " @click.stop="
|
|
|
+ updataVideoT(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ itemTaskIndex,
|
|
|
+ index1
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <div></div>
|
|
|
+ </div>
|
|
|
+ <div class="chapter_upload_ic_edit" v-if="item1.type == 6" @click="selectAttText(itemTaskIndex, index1)">
|
|
|
+ <div></div>
|
|
|
+ </div>
|
|
|
+ <div class="chapter_upload_ic_edit" v-if="item1.type == 8" @click="selectLine(itemTaskIndex, index1)">
|
|
|
+ <div></div>
|
|
|
+ </div>
|
|
|
<div class="chapter_upload_ic_r" @click.stop="
|
|
|
deleteChapterData(
|
|
|
$event,
|
|
@@ -868,10 +889,10 @@
|
|
|
item1.type == 3 ||
|
|
|
item1.type == 7
|
|
|
">{{ item1.text }}-</span>
|
|
|
- <input v-if="item1.type == 2 ||
|
|
|
+ <input readonly="true" v-if="item1.type == 2 ||
|
|
|
item1.type == 3 ||
|
|
|
item1.type == 7
|
|
|
- " v-model="item1.name" :placeholder="item1.name" @change="
|
|
|
+ " v-model="item1.name" :placeholder="item1.name" @click="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
|
unitIndex,
|
|
@@ -2331,9 +2352,9 @@
|
|
|
:before-close="handleClose" class="dialog_diy">
|
|
|
<el-form>
|
|
|
<el-form-item label="文本标题">
|
|
|
- <el-input v-model="AttText.title" auto-complete="off" @input="change2" placeholder="请输入文本标题..."></el-input>
|
|
|
+ <el-input ref="fuInput" v-model="AttText.title" auto-complete="off" @input="change2" placeholder="请输入文本标题..."></el-input>
|
|
|
</el-form-item>
|
|
|
- <div>富文本内容</div>
|
|
|
+ <!-- <div>富文本内容</div> -->
|
|
|
<editor-bar v-model="AttText.text" @change="change" v-if="dialogVisible6"></editor-bar>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -3276,6 +3297,24 @@
|
|
|
<el-button type="primary" @click="addGroupJson">确定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog title="修改名称" :visible.sync="dialogVisibleupdataVideoT" :append-to-body="true" width="500px"
|
|
|
+ :before-close="handleClose" class="dialog_diy">
|
|
|
+ <div style="
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ ">
|
|
|
+ <div style="min-width: fit-content;">文件名称:</div>
|
|
|
+ <el-input v-model="line" placeholder="请输入要修改的名称"></el-input>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogVisibleupdataVideoT = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="updataVideoC">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
<interVideo :dialogVisibleVideo.sync="dialogVisibleVideo" :videoJson="videoJson" @add="addVideoJson"></interVideo>
|
|
|
<el-dialog title="切换阶段顺序" :visible.sync="dialogVisibleStageChange" :append-to-body="true" width="400px"
|
|
|
:before-close="handleClose" class="dialog_diy dialog_diyStage">
|
|
@@ -3390,6 +3429,7 @@ export default {
|
|
|
dialogVisibleSource: false,
|
|
|
dialogVisibleVideo: false,
|
|
|
dialogVisibleStageChange: false,
|
|
|
+ dialogVisibleupdataVideoT:false,
|
|
|
isClickColor: 0,
|
|
|
publicTool: 0,
|
|
|
searchPeople: "",
|
|
@@ -4210,6 +4250,9 @@ export default {
|
|
|
this.AttTextType = 0;
|
|
|
this.$forceUpdate();
|
|
|
this.dialogVisible6 = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$refs['fuInput'].focus();
|
|
|
+ }, 100);
|
|
|
},
|
|
|
openLine(i) {
|
|
|
this.line = "";
|
|
@@ -4239,7 +4282,7 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
// console.log("未找到包含 src 属性的 iframe");
|
|
|
- this.$message.error("没有找到粘贴的链接");
|
|
|
+ this.$message.error("系统没有找到粘贴对象,请首先复制可用于粘贴的链接。");
|
|
|
}
|
|
|
})
|
|
|
.catch((v) => {
|
|
@@ -5233,13 +5276,36 @@ export default {
|
|
|
},
|
|
|
deleteChapterData(e, i, j, ic, taskI) {
|
|
|
e.stopPropagation();
|
|
|
- this.unitJson[i].chapterInfo[j].taskJson[taskI].chapterData.splice(ic, 1);
|
|
|
+ let _this = this;
|
|
|
+ _this
|
|
|
+ .$confirm("确定删除此项?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ _this.unitJson[i].chapterInfo[j].taskJson[taskI].chapterData.splice(ic, 1);
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ return;
|
|
|
+ });
|
|
|
},
|
|
|
updataVideoT(e, i, j, ic) {
|
|
|
- e.stopPropagation();
|
|
|
- this.unitJson[i].chapterInfo[0].taskJson[j].chapterData[
|
|
|
+ // e.stopPropagation();
|
|
|
+ // this.unitJson[i].chapterInfo[0].taskJson[j].chapterData[
|
|
|
+ // ic
|
|
|
+ // ].name = JSON.parse(JSON.stringify(e.target.value));
|
|
|
+ this.line = this.unitJson[i].chapterInfo[0].taskJson[0].chapterData[
|
|
|
ic
|
|
|
- ].name = JSON.parse(JSON.stringify(e.target.value));
|
|
|
+ ].name;
|
|
|
+ this.taskCount = j;
|
|
|
+ this.lineCount = ic;
|
|
|
+ this.dialogVisibleupdataVideoT = true;
|
|
|
+ this.$forceUpdate();
|
|
|
+ },
|
|
|
+ updataVideoC(){
|
|
|
+ this.unitJson[this.unitIndex].chapterInfo[0].taskJson[this.taskCount].chapterData[this.lineCount].name = JSON.parse(JSON.stringify(this.line));
|
|
|
+ this.dialogVisibleupdataVideoT = false;
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
upCd(e, i, j, taskCount, ic) {
|
|
@@ -9256,6 +9322,21 @@ export default {
|
|
|
background: url("../../assets/icon/icon.png");
|
|
|
}
|
|
|
|
|
|
+.chapter_upload_ic_edit {
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
+ margin: 0 20px 0 0;
|
|
|
+}
|
|
|
+
|
|
|
+.chapter_upload_ic_edit div {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ background-image: url("../../assets/icon/new/edit_u.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+}
|
|
|
+
|
|
|
.chapter_upload_ic_r {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
@@ -9308,7 +9389,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.chapter_upload_l_i6 {
|
|
|
- background-image: url("../../assets/icon/new/u_url.png");
|
|
|
+ background-image: url("../../assets/icon/new/u_picture.png");
|
|
|
}
|
|
|
|
|
|
.chapter_upload_l_i12 {
|
|
@@ -9668,6 +9749,11 @@ ol {
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
+.upCss>>>.el-upload-list__item .el-icon-close {
|
|
|
+ font-size: 20px;
|
|
|
+ z-index: 9999;
|
|
|
+}
|
|
|
+
|
|
|
.addStageImg {
|
|
|
min-width: 20px;
|
|
|
min-height: 20px;
|