增加年度计划与单位计划
This commit is contained in:
parent
7fc99ee652
commit
342d267007
|
@ -208,11 +208,23 @@ export default {
|
||||||
}
|
}
|
||||||
let str = arr[arr.length - 1]
|
let str = arr[arr.length - 1]
|
||||||
this.queryParam.type = str
|
this.queryParam.type = str
|
||||||
//权限
|
//系统推荐权限
|
||||||
str === 'sys' ? this.power.add = 'project:sys:add' : this.power.add = 'project:add'
|
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.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.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.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'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,6 +59,8 @@ export default {
|
||||||
created() {
|
created() {
|
||||||
console.log('分步表单创建完成', this.$route)
|
console.log('分步表单创建完成', this.$route)
|
||||||
if(this.$route.query.t === 'self') this.form.projectType = 1;
|
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() {
|
destroyed() {
|
||||||
console.log('分步表单销毁了。。。。。')
|
console.log('分步表单销毁了。。。。。')
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<!-- <template slot="extra">
|
<!-- <template slot="extra">
|
||||||
<a-button type="primary" size="default" @click="toNext">下一步</a-button>
|
<a-button type="primary" size="default" @click="toNext">下一步</a-button>
|
||||||
</template>
|
</template>
|
||||||
|
project/ProjectList /project/list/self
|
||||||
<template slot="extra">
|
<template slot="extra">
|
||||||
<a-button type="primary" size="default" @click="close">退出</a-button>
|
<a-button type="primary" size="default" @click="close">退出</a-button>
|
||||||
</template> -->
|
</template> -->
|
||||||
|
|
Loading…
Reference in New Issue