|
@@ -132,6 +132,7 @@
|
|
<script>
|
|
<script>
|
|
import pagination from "@/components/Pagination/index";
|
|
import pagination from "@/components/Pagination/index";
|
|
import QrCode from "@/components/QrCode/index";
|
|
import QrCode from "@/components/QrCode/index";
|
|
|
|
+import { vaildStudentUrl } from '@/utils/validate'
|
|
import {
|
|
import {
|
|
questionnaireTopicQueryPage,
|
|
questionnaireTopicQueryPage,
|
|
questionnaireTopicUpdateStatus,
|
|
questionnaireTopicUpdateStatus,
|
|
@@ -231,7 +232,15 @@ export default {
|
|
this.$router.push({path:'/operateManager/userAskList',query:{id:row.id,name:row.title}})
|
|
this.$router.push({path:'/operateManager/userAskList',query:{id:row.id,name:row.title}})
|
|
},
|
|
},
|
|
getCode(row){
|
|
getCode(row){
|
|
-
|
|
|
|
|
|
+ // 获取学生端
|
|
|
|
+ let str = vaildStudentUrl()
|
|
|
|
+ if(row.loginFlag == 1){
|
|
|
|
+ str+=`/#/questionLogin?topicId=${row.id}`
|
|
|
|
+ }else {
|
|
|
|
+ str+=`/#/question?topicId=${row.id}`
|
|
|
|
+ }
|
|
|
|
+ this.codeUrl =str
|
|
|
|
+ this.qrcodeStatus = true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
};
|
|
};
|