fix:面授课三级分类修改

This commit is contained in:
wyx
2023-01-16 09:56:04 +08:00
parent f3f6fac026
commit 956a4eadcf
5 changed files with 67 additions and 28 deletions

View File

@@ -766,7 +766,8 @@ export default defineComponent({
picUrl: state.feng_mian_1,
targetUser: state.qdms_inputV2,
meaning: state.qdms_inputV3,
categoryId: state.fen_lei,
// categoryId: state.fen_lei,
sysTypeId: state.fen_lei,
sceneContent: state.chang_jin,
tips: state.tags_val ? state.tags_val.join(",") : null,
// teacherId: state.member.value,
@@ -780,7 +781,8 @@ export default defineComponent({
const checkList = [
postData.name,
postData.targetUser,
postData.categoryId,
// postData.categoryId,
postData.sysTypeId,
// postData.teacherId,
postData.picUrl,
postData.intro,
@@ -855,7 +857,8 @@ export default defineComponent({
state.feng_mian_1 = item.picUrl;
state.qdms_inputV2 = item.targetUser;
state.qdms_inputV3 = item.meaning;
state.fen_lei = item.categoryId;
// state.fen_lei = item.categoryId;
state.fen_lei = item.sysTypeId;
state.chang_jin = String(item.sceneContent ? item.sceneContent : '');
state.tags_val = item.tips ? item.tips.split(",") : [];
state.qdms_inputV6 = item.intro;