diff --git a/CatmDogd-Mall-Front-test/.env.development b/CatmDogd-Mall-Front-test/.env.development index f0a70a0..0dcde19 100644 --- a/CatmDogd-Mall-Front-test/.env.development +++ b/CatmDogd-Mall-Front-test/.env.development @@ -6,6 +6,7 @@ VUE_APP_TITLE = 下单伴宠师综合管理平台 # 若依管理系统/开发环境 https://pet-admin.hhlm1688.com/api # VUE_APP_BASE_API = 'https://api.catmdogd.com' +# VUE_APP_BASE_API = 'http://h5.xzaiyp.top' VUE_APP_BASE_API = 'http://localhost:8002' # 路由懒加载 diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletQuestion/index.vue b/CatmDogd-Mall-Front-test/src/views/model/AppletQuestion/index.vue index 9d10bfa..766a1dc 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppletQuestion/index.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppletQuestion/index.vue @@ -1,358 +1,403 @@ - - - - - - - - - - - - - - 搜索 - 重置 - - + + + + + + + + + + + + + + 搜索 + 重置 + + - - - 新增 - - - 修改 - - - 删除 - - - - - - - - - - - - - - + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - 设置答案 + + - 修改 - 删除 - - - + 修改 + 删除 + + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 选项设置 + + + + + + + + + + 删除 + + + + + 添加选项 + + + + + + + + + + + + diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/components/ExamInfo.vue b/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/components/ExamInfo.vue new file mode 100644 index 0000000..69ad200 --- /dev/null +++ b/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/components/ExamInfo.vue @@ -0,0 +1,275 @@ + + + + + + + + + + {{ index + 1 }}. + [{{ question.type === '培训' ? '填空题' : '选择题' }}] + {{ question.title }} + + + + + + 答案: + {{ question.userAppletAnswerTrain.answer }} + 最少字数要求:{{ question.numberWords }} + + + + + + + + {{ String.fromCharCode(64 + option.orderNo) }}. + {{ option.title }} + 正确答案 + + {{ option.isTrue ? '已选择' : '错误选择' }} + + + + + + {{ isAnswerCorrect(question) ? '回答正确' : '回答错误' }} + + + + + + + + + + + + + \ No newline at end of file diff --git a/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/openindex.vue b/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/openindex.vue index feab10a..6c0d14f 100644 --- a/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/openindex.vue +++ b/CatmDogd-Mall-Front-test/src/views/model/AppletUsersTeacher/openindex.vue @@ -1,475 +1,486 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 审核认证 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 是 + 否 + + + + + {{ { + '3': '猫', + '4': '狗', + '5': '异宠' + }[item] }} + + + + + + + + + + + + + + + + + + + + 审核认证 + + 考核信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 是 + 否 + + + {{ { + '3': '猫', + '4': '狗', + '5': '异宠' + }[item] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +