项目列表查询分系统项目与与自主项目
This commit is contained in:
parent
42e8636efb
commit
9d2e158543
|
@ -58,6 +58,7 @@ export default {
|
||||||
//生命周期 - 创建完成(可以访问当前this实例)
|
//生命周期 - 创建完成(可以访问当前this实例)
|
||||||
created() {
|
created() {
|
||||||
console.log('分步表单创建完成', this.$route)
|
console.log('分步表单创建完成', this.$route)
|
||||||
|
if(this.$route.query.t === 'self') this.form.projectType = 1;
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
console.log('分步表单销毁了。。。。。')
|
console.log('分步表单销毁了。。。。。')
|
||||||
|
@ -82,7 +83,7 @@ export default {
|
||||||
type: '',
|
type: '',
|
||||||
form: {
|
form: {
|
||||||
t: this.$route.query.t,
|
t: this.$route.query.t,
|
||||||
projectType: this.$route.query.t === 'sys' ? 0 : 1,
|
projectType: 0,
|
||||||
trainWay: '1',
|
trainWay: '1',
|
||||||
totalScore: 0
|
totalScore: 0
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue