获取模式修改

chengdu
yujialong 4 years ago
parent 961dc85ee9
commit 5d835b0989
  1. 2
      src/components/common/Studentcommon/FictitiousList.vue
  2. 2
      src/components/common/Studentcommon/TeachingList.vue
  3. 2
      src/components/common/Studentcommon/competitionList.vue
  4. 2
      src/components/page/Assessment.vue
  5. 2
      src/components/page/ProjectPattern.vue

@ -33,7 +33,7 @@
export default { export default {
data() { data() {
return { return {
pattern: Number(this.$store.state.pattern), pattern: Number(sessionStorage.getItem('pattern')),
totals: 0, totals: 0,
tableData: [], tableData: [],
userId: this.$store.state.userId, userId: this.$store.state.userId,

@ -45,7 +45,7 @@
export default { export default {
data() { data() {
return { return {
pattern: Number(this.$store.state.pattern), pattern: Number(sessionStorage.getItem('pattern')),
totals: 0, totals: 0,
tableData: [], tableData: [],
userId: this.$store.state.userId, userId: this.$store.state.userId,

@ -35,7 +35,7 @@
export default { export default {
data() { data() {
return { return {
pattern: Number(this.$store.state.pattern), pattern: Number(sessionStorage.getItem('pattern')),
totals: 0, totals: 0,
tableData: [], tableData: [],
userId: this.$store.state.userId, userId: this.$store.state.userId,

@ -98,7 +98,7 @@ export default {
name: 'project', name: 'project',
data() { data() {
return { return {
pattern: Number(this.$store.state.pattern), pattern: Number(sessionStorage.getItem('pattern')),
userId: this.$store.state.userId, userId: this.$store.state.userId,
roleId: this.$store.state.accountRole, roleId: this.$store.state.accountRole,
name: sessionStorage.getItem('ms_username'), name: sessionStorage.getItem('ms_username'),

@ -172,7 +172,7 @@ export default {
this.$router.push('dashboard') this.$router.push('dashboard')
}, },
toNext(index) { toNext(index) {
this.$store.commit("patternData",{pattern: this.pattern}); sessionStorage.setItem('pattern',this.pattern)
this.$router.push(`dashboard#${index}`) this.$router.push(`dashboard#${index}`)
}, },
async toEvaluation(type,btn) { async toEvaluation(type,btn) {

Loading…
Cancel
Save