diff --git a/src/pages/components/ProblemmodifyDetail.vue b/src/pages/components/ProblemmodifyDetail.vue index f90557d..d0f41fd 100644 --- a/src/pages/components/ProblemmodifyDetail.vue +++ b/src/pages/components/ProblemmodifyDetail.vue @@ -131,6 +131,7 @@ export default { elKey: 0, nav: 0, infoType: 0, + roleType:0, row: null, show: false, count: { @@ -166,6 +167,7 @@ export default { let postData = { projectId: this.row.projectId, infoType: this.infoType, + roleType: this.roleType }; if (n == 5) { postData.activeName = 'zgcs' @@ -198,9 +200,11 @@ export default { this.elKey++; }) }, - showDialog(row, infoType) { + showDialog(row, infoType,roleType) { + debugger this.row = row; this.infoType = infoType; + this.roleType=roleType; if (infoType == 0) { this.$api.dict('ssp_aqyhlx').then(d => { this.dicts = d || []; @@ -217,7 +221,8 @@ export default { this.doNav(0, true); this.$api.problemmodify.groupByInfotypeCheckState({ projectId: this.row.projectId, - infoType: this.infoType + infoType: this.infoType, + roleType:this.roleType }).then(d => { for (let i = 0; i <= 5; i++) { this.count["" + i] = 0; diff --git a/src/pages/dlg/workTrainDlg.vue b/src/pages/dlg/workTrainDlg.vue index 7c16a9b..56d95fa 100644 --- a/src/pages/dlg/workTrainDlg.vue +++ b/src/pages/dlg/workTrainDlg.vue @@ -62,7 +62,7 @@