| | |
| | | :userType="userType" |
| | | :productionCode="productionCode" |
| | | :workshopSectionProductionCode="workshopSectionProductionCode" |
| | | v-if="[1,2,3,4].includes(userType)" |
| | | > |
| | | v-if="userType&&userType!==0"> |
| | | </Component> |
| | | <div v-else> <!-- 与组件渲染互斥 --> |
| | | <div v-else-if="userType===0"> <!-- 与组件渲染互斥 --> |
| | | <img src="@/assets/index.png" style="width: 100%;height: 785px"> |
| | | </div> |
| | | </template> |
| | |
| | | import signageApi from '@/api/signage' |
| | | import MdcManagerSignage from './mdcIndex/MdcManagerSignage.vue' |
| | | import DncManagerSignage from './dncIndex/DncManagerSignage.vue' |
| | | import EamManagerSignage from './eamIndex/EamManagerSignage.vue' |
| | | |
| | | export default { |
| | | name: "Analysis", |
| | | name: 'Analysis', |
| | | components: { |
| | | MdcManagerSignage, |
| | | DncManagerSignage |
| | | DncManagerSignage, |
| | | EamManagerSignage |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | productionCode: '', |
| | | branchFactoryProductionCode: '', |
| | | workshopSectionProductionCode: '', |
| | | userType: '', |
| | | userType: '' |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | //dnc |
| | | this.currentSignage = 'DncManagerSignage' |
| | | break |
| | | // case 4: |
| | | // //设备管理 |
| | | // this.currentSignage = 'IndexSignage' |
| | | // break |
| | | case 4: |
| | | //设备管理 |
| | | this.currentSignage = 'EamManagerSignage' |
| | | break |
| | | default: |
| | | this.currentSignage = '' |
| | | break |
| | |
| | | |
| | | </script> |
| | | <style lang="less" scoped> |
| | | /deep/ .back-nav { |
| | | width: 100px; |
| | | height: 30px; |
| | | color: #fff; |
| | | position: absolute; |
| | | top: 15px; |
| | | left: 10px; |
| | | cursor: pointer; |
| | | z-index: 9999 |
| | | } |
| | | /deep/ .back-nav { |
| | | width: 100px; |
| | | height: 30px; |
| | | color: #fff; |
| | | position: absolute; |
| | | top: 15px; |
| | | left: 10px; |
| | | cursor: pointer; |
| | | z-index: 9999 |
| | | } |
| | | </style> |