|                                  |  | <template>	<view>		<!-- 企业端 -->		<enterpriseBox v-if="status==1" :editId="editId" />		<!-- 师傅端 -->		<masterBox v-if="status==2" :editId="editId" />	</view></template>
<script>	import enterpriseBox from "./component/enterprise.vue"	import masterBox from "./component/master.vue"	export default {		components:{			enterpriseBox,			masterBox		},		data() {			return {				status:0,				editId: null,			}		},		onLoad(options) {			console.info(`options`,options)			this.status = options.status			this.editId = options.editId || null		},		watch: {					},		methods: {					},		onReady() {					}	}</script>
<style lang="scss" scoped>	page {		background-color: #f5f5f5 !important;	}</style>
 |