增加年度计划与单位计划

This commit is contained in:
Yjhon 2022-02-15 10:12:15 +08:00
parent 7fc99ee652
commit 342d267007
3 changed files with 16 additions and 1 deletions

View File

@ -208,11 +208,23 @@ export default {
}
let str = arr[arr.length - 1]
this.queryParam.type = str
//
//
str === 'sys' ? this.power.add = 'project:sys:add' : this.power.add = 'project:add'
str === 'sys' ? this.power.del = 'project:sys:del' : this.power.del = 'project:del'
str === 'sys' ? this.power.edit = 'project:sys:edit' : this.power.edit = 'project:edit'
str === 'sys' ? this.power.release = 'project:sys:release' : this.power.release = 'project:release'
//
// str === 'sys' ? this.power.add = 'project:sys:add' : this.power.add = 'project:add'
// str === 'sys' ? this.power.del = 'project:sys:del' : this.power.del = 'project:del'
// str === 'sys' ? this.power.edit = 'project:sys:edit' : this.power.edit = 'project:edit'
// str === 'sys' ? this.power.release = 'project:sys:release' : this.power.release = 'project:release'
//
// str === 'sys' ? this.power.add = 'project:sys:add' : this.power.add = 'project:add'
// str === 'sys' ? this.power.del = 'project:sys:del' : this.power.del = 'project:del'
// str === 'sys' ? this.power.edit = 'project:sys:edit' : this.power.edit = 'project:edit'
// str === 'sys' ? this.power.release = 'project:sys:release' : this.power.release = 'project:release'
},
},
}

View File

@ -59,6 +59,8 @@ export default {
created() {
console.log('分步表单创建完成', this.$route)
if(this.$route.query.t === 'self') this.form.projectType = 1;
if(this.$route.query.t === 'year') this.form.projectType = 2;
if(this.$route.query.t === 'unit') this.form.projectType = 3;
},
destroyed() {
console.log('分步表单销毁了。。。。。')

View File

@ -4,6 +4,7 @@
<!-- <template slot="extra">
<a-button type="primary" size="default" @click="toNext">下一步</a-button>
</template>
project/ProjectList /project/list/self
<template slot="extra">
<a-button type="primary" size="default" @click="close">退出</a-button>
</template> -->