This commit is contained in:
杜建超 2020-09-28 11:50:02 +08:00
parent 90619d320a
commit baec2b14de
3 changed files with 16 additions and 4 deletions

View File

@ -40,9 +40,10 @@
jump: function (e) { jump: function (e) {
if (this.clickAble) { if (this.clickAble) {
// //
this.$router.push({name: 'resultDistribution'}, () => { //
/* this.$router.push({name: 'resultDistribution'}, () => {
this.mainTabsActiveName = this.$route.name this.mainTabsActiveName = this.$route.name
}) }) */
} else { } else {
this.clickAble = true this.clickAble = true
} }

View File

@ -68,7 +68,16 @@
}, },
chartEvents: { chartEvents: {
click: (e) => { // resultDistribution click: (e) => { // resultDistribution
this.$router.push({name: 'resultReport'}, () => { if (e.name === '未提交') {
this.status = 0
}
if (e.name === '审核中') {
this.status = 108
}
if (e.name === '已完成') {
this.status = 109
}
this.$router.push({name: 'resultReport', query: { status: this.status }}, () => {
this.mainTabsActiveName = this.$route.name this.mainTabsActiveName = this.$route.name
}) })
console.log('---------' + e.name) console.log('---------' + e.name)

View File

@ -44,7 +44,8 @@
v-for="item in levelList" v-for="item in levelList"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -148,6 +149,7 @@
computed: {}, computed: {},
beforeMount () { }, beforeMount () { },
created () { created () {
this.status = this.$route.query.status
this.handleGetMenuList() this.handleGetMenuList()
this.handleChangeData() this.handleChangeData()
}, },