人员、品牌活动、答题、单身教工

This commit is contained in:
Paidax
2025-03-10 14:21:54 +08:00
parent 223811d097
commit c338d21e61
82 changed files with 3936 additions and 1415 deletions
@@ -1,5 +1,5 @@
<!--#
layout("/layouts/platform_h5.html"){
layout("/mobile/platform.html"){
#-->
<style>
@@ -156,7 +156,7 @@ layout("/layouts/platform_h5.html"){
</style>
<div id="app" v-cloak>
<van-nav-bar title="问卷调查" left-arrow @click-left="historyBack" placeholder fixed></van-nav-bar>
<van-nav-bar title="问卷调查" left-arrow @click-left="pjaxReplace('/mobile/index')" placeholder fixed></van-nav-bar>
<div class="container" :style="{'padding-bottom': answerRecord.isFinish ? 0 : '84px'}">
<van-sticky offset-top="46px">
<h2 class="title">{{ activity.title }}</h2>
@@ -269,7 +269,7 @@ layout("/layouts/platform_h5.html"){
},
methods: {
getAnswerResult() {
this.$axios.post("/platform/h5/qsv/quiz/answerResult", { answerRecordId: this.answerRecordId }).then((res) => {
$.post("/platform/h5/qsv/quiz/answerResult", { answerRecordId: this.answerRecordId }).then((res) => {
if (res.code === 0) {
this.subjects = res.data.subjects
this.activity = res.data.activity
@@ -280,7 +280,7 @@ layout("/layouts/platform_h5.html"){
//获取回答记录
getAnswerRecord() {
this.$axios.post("/platform/h5/qsv/quiz/answerRecord", { answerRecordId: this.answerRecordId }).then((res) => {
$.post("/platform/h5/qsv/quiz/answerRecord", { answerRecordId: this.answerRecordId }).then((res) => {
if (res.code === 0) {
this.answerRecord = res.data
this.initAnswer()
@@ -307,12 +307,12 @@ layout("/layouts/platform_h5.html"){
},
historyBack() {
this.$pjaxReplace("/platform/h5/qsv")
pjaxReplace('/platform/h5/qsv')
},
openHistory() {
this.historyShow = true
this.$axios.post("/platform/h5/qsv/quiz/historyScore", { activityId: this.activity.id }).then((res) => {
$.post("/platform/h5/qsv/quiz/historyScore", { activityId: this.activity.id }).then((res) => {
if (res.code === 0) {
this.historyList = res.data
}