|
|
@ -51,7 +51,7 @@ |
|
|
|
|
|
|
|
<!-- 参数 在子组件页面一样用 props接收 、ref绑定的组件示例 --> |
|
|
|
<!-- 默认页面展示 的初始组件 Franchise--> |
|
|
|
<component :is="process" :key="stepKey" :siteInfo="siteInfo" ref="dynamicComponent" @handelSiteInfo="handelSiteInfo" @handelStep="handelStep"/> |
|
|
|
<component :is="process" :key="stepKey" :siteInfo="siteInfo" :skip="canSkip" ref="dynamicComponent" @handelSiteInfo="handelSiteInfo" @handelStep="handelStep"/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
@ -72,7 +72,8 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
siteInfo:{}, |
|
|
|
showAlert:true, |
|
|
|
showAlert:false, |
|
|
|
canSkip: false, |
|
|
|
stepKey: Date.now(), |
|
|
|
activeStep: '1',//当前步骤条 |
|
|
|
process: '', //进度默认为站点开通 |
|
|
@ -98,6 +99,11 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
//新加盟允许跳过站点设置 |
|
|
|
if(this.$route.query.isFirst) { |
|
|
|
this.showAlert = true |
|
|
|
this.canSkip = true |
|
|
|
} |
|
|
|
this.getNotFinishedSite() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|