|
@@ -41,7 +41,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- import { examElChapterAssessList } from "@/api/safetyEducationExam/index";
|
|
|
|
|
|
+import { examElChapterAssessList, examElChapterAssessListByUserId } from '@/api/safetyEducationExam/index'
|
|
import assessInfo from './assessInfo.vue'
|
|
import assessInfo from './assessInfo.vue'
|
|
export default {
|
|
export default {
|
|
name: 'assessList',
|
|
name: 'assessList',
|
|
@@ -51,6 +51,7 @@
|
|
props:{
|
|
props:{
|
|
chapterId:{},
|
|
chapterId:{},
|
|
cateTitle:{},
|
|
cateTitle:{},
|
|
|
|
+ joinUserId:{},
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -103,7 +104,7 @@
|
|
},
|
|
},
|
|
getList(){
|
|
getList(){
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- examElChapterAssessList({id:this.chapterId}).then( response => {
|
|
|
|
|
|
+ examElChapterAssessListByUserId({id:this.chapterId,joinUserId:this.joinUserId}).then( response => {
|
|
// assessList(181).then( response => {
|
|
// assessList(181).then( response => {
|
|
this.tableList = response.data.records;
|
|
this.tableList = response.data.records;
|
|
this.total = response.data.total;
|
|
this.total = response.data.total;
|