diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index ca47dbdf..75a1a3b0 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -32,6 +32,7 @@ v-model:value="name" style="width: 270px; height: 40px; border-radius: 8px" placeholder="请输入姓名" + maxlength="20" />
diff --git a/src/components/drawers/AddActive.vue b/src/components/drawers/AddActive.vue index e918556b..081dea2f 100644 --- a/src/components/drawers/AddActive.vue +++ b/src/components/drawers/AddActive.vue @@ -33,7 +33,7 @@ v-model:value="inputV1" style="width: 424px; height: 32px" placeholder="请输入活动名称" - maxlength="20" + maxlength="50" />
@@ -52,7 +52,8 @@ v-model:value="textV1" placeholder="请输入活动公告" allow-clear - maxlength="150" + :rows="6" + show-count :maxlength="200" /> @@ -65,7 +66,8 @@ v-model:value="textV2" placeholder="请输入活动说明" allow-clear - maxlength="150" + :rows="6" + show-count :maxlength="200" /> @@ -127,6 +129,7 @@ v-model:value="inputV3" style="width: 424px; height: 32px" placeholder="请输入活动地址" + maxlength="100" /> @@ -589,7 +592,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + .ant-input { + width: 100%; + } + + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/AddCase.vue b/src/components/drawers/AddCase.vue index f6f3b511..9ac7873e 100644 --- a/src/components/drawers/AddCase.vue +++ b/src/components/drawers/AddCase.vue @@ -27,6 +27,8 @@ v-model:value="inputV1" style="width: 264px; height: 40px; border-radius: 8px" placeholder="请输入案例标题" + show-count + :maxlength="20" /> diff --git a/src/components/drawers/AddDiscuss.vue b/src/components/drawers/AddDiscuss.vue index 90e8184f..c69aede3 100644 --- a/src/components/drawers/AddDiscuss.vue +++ b/src/components/drawers/AddDiscuss.vue @@ -46,6 +46,7 @@ v-model:value="textV1" placeholder="请输入讨论说明" allow-clear + :rows="6" show-count :maxlength="200" /> diff --git a/src/components/drawers/AddEval.vue b/src/components/drawers/AddEval.vue index 5fdb0a61..1c09a8ab 100644 --- a/src/components/drawers/AddEval.vue +++ b/src/components/drawers/AddEval.vue @@ -18,7 +18,8 @@
+ show-count + :maxlength="50" />
@@ -53,9 +54,9 @@ 测评说明:
- - {{ description.length }}/150 + +
@@ -423,7 +424,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + .ant-input { + width: 100%; + } + + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/AddFaceteach.vue b/src/components/drawers/AddFaceteach.vue index 3c9695c2..406e21a9 100644 --- a/src/components/drawers/AddFaceteach.vue +++ b/src/components/drawers/AddFaceteach.vue @@ -18,7 +18,7 @@
+ :maxlength="50"/>
@@ -30,12 +30,8 @@
+
删除课程 @@ -54,7 +50,7 @@ 面授说明:
- +
@@ -107,7 +103,7 @@
+ :maxlength="100"/>
@@ -797,7 +793,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + .ant-input { + width: 100%; + } + + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/AddGroup.vue b/src/components/drawers/AddGroup.vue index 0606e0a7..ac0db9e4 100644 --- a/src/components/drawers/AddGroup.vue +++ b/src/components/drawers/AddGroup.vue @@ -29,6 +29,7 @@ v-model:value="valuen" placeholder="请输入小组名称" style="border-radius: 8px; height: 40px" + maxlength="20" />
@@ -45,6 +46,7 @@ v-model:value="valueg" placeholder="请输入小组长" style="border-radius: 8px; height: 40px" + maxlength="20" /> diff --git a/src/components/drawers/AddHomework.vue b/src/components/drawers/AddHomework.vue index ea551f0b..8ceab4c2 100644 --- a/src/components/drawers/AddHomework.vue +++ b/src/components/drawers/AddHomework.vue @@ -12,7 +12,7 @@
+
+ + show-count :maxlength="200" + />
+
@@ -95,7 +102,7 @@
- 取消 + 取消 确定
@@ -283,6 +290,10 @@ export default { state.workEnclosureAddress = ""; resetForm(); }; + const closeDrawer2 = () => { + ctx.emit("update:addhomeworkVisible", false); + resetForm(); + }; const afterVisibleChange = () => { if (props.EditWorkId > 0) { state.EditWorkId = props.EditWorkId; @@ -438,6 +449,7 @@ export default { return { afterVisibleChange, closeDrawer, + closeDrawer2, handleChange, fileList, formState, @@ -527,7 +539,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + + .ant-input { + width: 100%; + } + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/AddLevelAddStu.vue b/src/components/drawers/AddLevelAddStu.vue index 935f71c2..4de33e02 100644 --- a/src/components/drawers/AddLevelAddStu.vue +++ b/src/components/drawers/AddLevelAddStu.vue @@ -31,6 +31,7 @@ v-model:value="name" style="width: 270px; height: 40px; border-radius: 8px" placeholder="请输入姓名" + maxlength="20" />
@@ -126,6 +127,7 @@ v-model:value="nameadd" style="width: 200px; height: 40px; border-radius: 8px" placeholder="请输入姓名" + maxlength="20" />
@@ -205,6 +207,7 @@ v-model:value="nameaddd" style="width: 200px; height: 40px; border-radius: 8px" placeholder="请输入姓名" + maxlength="20" /> diff --git a/src/components/drawers/AddLive.vue b/src/components/drawers/AddLive.vue index f4ef3219..2bf40040 100644 --- a/src/components/drawers/AddLive.vue +++ b/src/components/drawers/AddLive.vue @@ -47,7 +47,10 @@ v-model:value="textV1" placeholder="请输入考试说明" allow-clear - maxlength="364px" + show-count + :maxlength="200" + :rows="6" + /> @@ -155,6 +158,7 @@ v-model:value="inputV4" style="width: 424px; height: 32px" placeholder="请输入直播链接" + :maxlength="100" /> @@ -176,6 +180,7 @@ v-model:value="inputV5" style="width: 424px; height: 32px" placeholder="请输入回放链接" + :maxlength="100" /> @@ -881,7 +886,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + .ant-input { + width: 100%; + } + + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue index 1d587c4d..d52c7a4e 100644 --- a/src/components/drawers/AddOnline.vue +++ b/src/components/drawers/AddOnline.vue @@ -27,6 +27,7 @@ v-model:value="inputV1" style="width: 240px; height: 40px; border-radius: 8px" placeholder="请输入项目名称" + maxlength="20" /> diff --git a/src/components/drawers/AddProject.vue b/src/components/drawers/AddProject.vue index 48a0cd5a..23dc5b6c 100644 --- a/src/components/drawers/AddProject.vue +++ b/src/components/drawers/AddProject.vue @@ -15,21 +15,22 @@
项目名称:
+ placeholder="请输入项目名称" + maxlength="20"/>
项目经理:
+ placeholder="请输入项目经理" maxlength="20"/>
创建人:
+ placeholder="请输入创建人" maxlength="20"/>
diff --git a/src/components/drawers/AddRef.vue b/src/components/drawers/AddRef.vue index 32d4e39d..a6b55e71 100644 --- a/src/components/drawers/AddRef.vue +++ b/src/components/drawers/AddRef.vue @@ -42,7 +42,7 @@ v-model:value="inputV1" style="width: 424px; height: 32px" placeholder="请输入外链名称" - maxlength="20" + show-count :maxlength="50" /> @@ -61,6 +61,8 @@ v-model:value="inputV2" style="width: 424px; height: 32px" placeholder="请输入链接" + + show-count :maxlength="100" /> @@ -73,6 +75,8 @@ v-model:value="textV1" placeholder="请输入外链说明" allow-clear + :rows="6" + show-count :maxlength="200" /> diff --git a/src/components/drawers/AddTest.vue b/src/components/drawers/AddTest.vue index 09365ed1..1e7a0b3e 100644 --- a/src/components/drawers/AddTest.vue +++ b/src/components/drawers/AddTest.vue @@ -12,7 +12,7 @@ @@ -58,7 +58,7 @@ style="width: 424px; height: 32px; margin-left: 35px" autocomplete="off" placeholder="请输入考试名称" - maxlength="20" + show-count :maxlength="50" /> @@ -68,14 +68,15 @@ has-feedback label="考试说明" name="examinationExplain" - > + >
+ show-count :maxlength="200" + />
@@ -300,7 +301,7 @@
- 取消 + 取消 确定
@@ -329,7 +330,7 @@ style="width: 424px; height: 32px; margin-left: 35px" autocomplete="off" placeholder="请输入考试名称" - maxlength="20" + show-count :maxlength="50" /> @@ -346,7 +347,7 @@ style="width: 424px; height: 32px; margin-left: 35px" autocomplete="off" placeholder="数据来源" - maxlength="20" + show-count :maxlength="50" /> @@ -358,19 +359,21 @@ label="考试说明" name="examinationExplain" > +
+ show-count :maxlength="200" + />
- 取消 + 取消 确定
@@ -647,6 +650,11 @@ export default { localStorage.setItem("chapterId", props.isactive); resetForm(); }; + const closeDrawer2 = () => { + formState.choosedTime = ""; + ctx.emit("update:addtestVisible", false); + resetForm(); + }; const afterVisibleChange = () => { if (props.addtestVisible && props.edit) { // 该页面显示同时 edit为true 时,发送查询请求, @@ -661,7 +669,7 @@ export default { state.paperName = ""; }; const queryTest = () => { - state.addLoading = true; + // state.addLoading = true; queryExaminationDetailById({ examinationId: props.EditTestId }) .then((res) => { formState.examinationName = res.data.data.examinationName; @@ -858,6 +866,7 @@ export default { formState, afterVisibleChange, closeDrawer, + closeDrawer2, selectTest, cloradio1, cloradio2, @@ -966,6 +975,27 @@ export default { display: flex; align-items: flex-start; margin-bottom: 32px; + .textarea { + width: 423px; + + .ant-input { + width: 100%; + } + + .ant-input-textarea-show-count { + position: relative; + } + + .ant-input-textarea-show-count::after { + position: absolute; + right: 10px; + bottom: 0px; + } + + .ant-input { + border-radius: 8px; + } + } .signbox { width: 120px; display: flex; diff --git a/src/components/drawers/CourseOwner.vue b/src/components/drawers/CourseOwner.vue index ab3c53f8..ecc69bbf 100644 --- a/src/components/drawers/CourseOwner.vue +++ b/src/components/drawers/CourseOwner.vue @@ -31,6 +31,7 @@ v-model:value="name" style="width: 270px; height: 40px; border-radius: 8px" placeholder="请输入姓名" + maxlength="20" />
diff --git a/src/components/drawers/SelFacet.vue b/src/components/drawers/SelFacet.vue index c8e0aed2..1032f107 100644 --- a/src/components/drawers/SelFacet.vue +++ b/src/components/drawers/SelFacet.vue @@ -138,7 +138,7 @@ //import { ApiFilled } from "@ant-design/icons-vue"; import {reactive, toRefs, computed} from "vue"; // import { planList } from "../../api/indexTaskadd"; -// import {detail} from "../../api/indexCourse"; +//import {detail} from "../../api/indexCourse"; import {list} from "../../api/indexTaskadd"; import {toDate} from "../../api/method"; diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 9c7f63bd..7a6cb6f0 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -678,6 +678,418 @@
+ + +
+
+ + 查看面授课 +
+
+ +
+
+
+
+
+
课程信息
+
+
+
+
+
+ +
+ 课程名称 +
+
+
+ +
+ + {{ qdms_inputV1.length }}/90 + +
+
+
+
+
+
+
+ 课程命名规则 +
+
+
+ 收起 +
+
+ 展开 +
+
+
+
+
+ + 1、课程名称统一不加书名号。
+ 2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息 + 之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先 + 看到的是课程内容主题。
+ 3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用 + 版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。 +
+
+
+
+
+
+ +
+ 封面图 +
+
+ + avatar +
+
+
+
+
+
+
+
+ + 高宽比为16:9 (如:800*450) png或jpg图片 + +
+
+
+
+
+
+ +
+ 目标人群 +
+
+
+ +
+ + {{ qdms_inputV2.length }}/50 + +
+
+
+
+
+
+ 课程价值 +
+
+
+ +
+ + {{ qdms_inputV3.length }}/200 + +
+
+
+
+
+
+
+ +
+ 内容分类 +
+
+
+ +
+
+
+
+
+ 场景 +
+
+
+ +
+
+
+
+
+ 内容标签 +
+
+ +
+
+
+
+
+
+
+ asterisk +
+ 授课教师 +
+
+
+ +
+
+
+
+
+ 课程简介 +
+
+
+ +
+ + {{ qdms_inputV6.length }}/150 + +
+
+
+
+
+
+ 附件 +
+
+ +
+
+ enclosure +
+ 添加附件 +
+
+ + 支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip + +
+
+
+
+
+
+ + + +
+
+
+
上传完成
+ + +
+
+ 100% +
+
+ +
+
+
+ + 删除 + +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+
@@ -904,7 +1316,7 @@ 查看 { + state.lookMs = false + } //保存面授课 const handlePush = (param) => { //state.isEdit = 1; @@ -4611,6 +5029,57 @@ export default defineComponent({ state.ft_hs = true; state.ft_eidt = true; }; + + + const handleLook = async (itm, type) => { + state.isEdit = 0; + console.log(45555); + console.log(itm); + if (type === "1") { + return; + } + state.offcourseId = itm.offcourseId; + + const item = await detail({ + offcourseId: Number(state.offcourseId), + }).then((res) => { + if (res.data.code === 200) return res.data.data; + }); + console.log("res"); + console.log(item); + console.log(options2.value); + console.log(options3.value); + + state.qdms_inputV1 = item.name; + state.imageUrl = item.picUrl; + state.qdms_inputV2 = item.targetUser; + state.qdms_inputV3 = item.meaning; + state.fen_lei = String(item.categoryId); + state.chang_jin = String(item.sceneId); + state.tags_val = item.tips ? item.tips.split(",") : []; + //state.qdms_inputV5 = item.teacherId; + state.teacher = item.teacher; + state.teacherId = item.teacherId; + state.qdms_inputV6 = item.intro; + state.member = { value: item.teacherId, name: item.teacher }; + + if (item.attach == "") { + state.imgList = []; + } else { + if (item.attach.indexOf(",")) { + const arr = item.attach.split(","); + arr.forEach((item) => { + state.imgList.push({ img: item }); + }); + } else { + state.imgList = [{ img: item.attach }]; + } + } + + valueHtml.value = item.outline; + + state.lookMs = true; + }; // const handleTea = async () => { // console.log("item22224444"); // // const item = await getMemberInfo({ @@ -5038,6 +5507,8 @@ export default defineComponent({ showManagePrower, closeOnlineCoursevisible, + handlelookMs, + handleLook }; }, }); diff --git a/src/views/examine/ProjectReviewed.vue b/src/views/examine/ProjectReviewed.vue index cd88764e..fc8c5776 100644 --- a/src/views/examine/ProjectReviewed.vue +++ b/src/views/examine/ProjectReviewed.vue @@ -188,7 +188,7 @@ export default { key: "topName", align: "center", width: "10%", - customRender: ({record: {parentId,name}}) =>
{parentId==0?name:(parentId)}
, + customRender: ({record: {gaName,faName,name}}) =>
{ faName ?gaName!==null?gaName+'/'+faName:faName:name}
, }, { title: "项目经理", diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 23a74e0c..af260299 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -772,7 +772,10 @@
上传共享文档
- +
@@ -1924,11 +1927,42 @@ export default { console.log("获取失败" + err); }); }; + + // 设置上传图片开关 + const checkedClose = (data, a) => { + console.log(data, a); + state.docChecked = data; + console.log({ + routerId: state.routerId, + status: state.action, + attachSwitch: data ? 1 : -1, + }); + // 更新开关状态 + editRoutered({ + attach: JSON.stringify(state.fileList), + name: state.styTitle, + picUrl: state.picUrl, + remark: state.remark, + routerId: state.routerId, + status: state.action, + attachSwitch: data ? 1 : -1, + }) + .then((res) => { + console.log(res); + }) + .catch((err) => { + console.log(err); + }); + }; + // 获取路径列表 const myGetRouterDetail = () => { GetRouterDetail(state.routerId) .then((res) => { console.log("router-list", res); + state.fileList = JSON.parse(res.data.data.routerInfo.attach); + state.docChecked = + res.data.data.routerInfo.attachSwitch == 1 ? true : false; if (res.data.data.routerInfo.status == 1) { state.nodata = false; } @@ -1974,6 +2008,7 @@ export default { remark: state.remark, routerId: state.routerId, status: state.action, + attachSwitch: state.docChecked ? 1 : -1, }) .then((res) => { console.log(res); @@ -2196,6 +2231,7 @@ export default { deleteStu, totask, tostudent, + checkedClose, }; }, }; diff --git a/src/views/projectcenter/LibraryAdd.vue b/src/views/projectcenter/LibraryAdd.vue index 1bd5c887..65903fc1 100644 --- a/src/views/projectcenter/LibraryAdd.vue +++ b/src/views/projectcenter/LibraryAdd.vue @@ -928,34 +928,32 @@ export default defineComponent({ api .templateDetail(localStorage.getItem("projectTemplateId")) .then((res) => { + + console.log('get model list ----->',res, res.data.data.stageList) + state.taskSyllabus = []; console.log(res); state.projectInfo.name = res.data.data.projectTemplateInfo.name; - state.projectInfo.beginTime = - res.data.data.projectTemplateInfo.beginTime; + state.projectInfo.beginTime = res.data.data.projectTemplateInfo.beginTime; state.projectInfo.endTime = res.data.data.projectTemplateInfo.endTime; state.projectInfo.manager = res.data.data.projectTemplateInfo.manager; state.projectInfo.notice = res.data.data.projectTemplateInfo.notice; - state.projectInfo.sourceBelongId = - res.data.data.projectTemplateInfo.sourceBelongId; - state.projectInfo.managerId = - res.data.data.projectTemplateInfo.managerId; - state.projectInfo.remark = res.data.data.stageList.remark; - state.projectInfo.courseSyncFlag = - res.data.data.projectTemplateInfo.courseSyncFlag; + state.projectInfo.sourceBelongId = res.data.data.projectTemplateInfo.sourceBelongId; + state.projectInfo.managerId = res.data.data.projectTemplateInfo.managerId; + state.projectInfo.remark = res.data.data.projectTemplateInfo.remark; + state.projectInfo.courseSyncFlag = res.data.data.projectTemplateInfo.courseSyncFlag; state.projectInfo.level = res.data.data.projectTemplateInfo.level; - state.projectInfo.systemId = - res.data.data.projectTemplateInfo.systemId; + state.projectInfo.systemId = res.data.data.projectTemplateInfo.systemId; state.projectInfo.boeFlag = res.data.data.projectTemplateInfo.boeFlag; - state.projectInfo.noticeFlag = - res.data.data.projectTemplateInfo.noticeFlag; + state.projectInfo.noticeFlag = res.data.data.projectTemplateInfo.noticeFlag; state.projectInfo.remark = res.data.data.projectTemplateInfo.remark; state.projectInfo.status = res.data.data.projectTemplateInfo.status; state.projectInfo.picUrl = res.data.data.projectTemplateInfo.picUrl; - state.projectInfo.attach =res.res.data.data.projectTemplateInfo.attach; + state.projectInfo.attach = res.data.data.projectTemplateInfo.attach; let data = res.data.data.stageList; console.log("data=====", data); for (let i in data) { + console.log('what ------ > ', i,data) state.taskSyllabus.push({ text: data[i].name, children: [] }); for (let j in data[i].taskList) { state.taskSyllabus[i].children.push({ diff --git a/src/views/projectcenter/ProjectManage.vue b/src/views/projectcenter/ProjectManage.vue index 889990b4..63d53e39 100644 --- a/src/views/projectcenter/ProjectManage.vue +++ b/src/views/projectcenter/ProjectManage.vue @@ -44,7 +44,6 @@ placeholder="请选择状态" :options="sProjectStateList" allowClear - showSearch >
@@ -1526,6 +1525,7 @@ export default { onClick={() => { router.push({ path: "/taskpage", + query: {projectId: value.record.projectId} }); storage.set("projectId", value.record.projectId); }} diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue index b82f8ab6..538b960c 100644 --- a/src/views/projectcenter/TaskAdd.vue +++ b/src/views/projectcenter/TaskAdd.vue @@ -8,7 +8,7 @@ src="../../assets/images/projectadd/right.png" style="margin-left: 10px; cursor: pointer" @click="showCancel" - /> + />
@@ -16,18 +16,18 @@
说明说明
@@ -51,15 +51,15 @@