|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div v-if="billType">
|
|
|
+ <div v-if="billType && saberTenantId != 212186">
|
|
|
<tongjiSchool v-if="billType == 1"></tongjiSchool>
|
|
|
<landTransportation v-else-if="billType == 7"></landTransportation>
|
|
|
<jiatongPage v-else-if="billType == 8"></jiatongPage>
|
|
@@ -8,6 +8,21 @@
|
|
|
<tireindex v-else-if="billType == 11" :sysType="billType"></tireindex>
|
|
|
<defaultPage v-else :sysType="billType"></defaultPage>
|
|
|
</div>
|
|
|
+ <div v-else-if="saberTenantId == 212186" style="padding: 10px">
|
|
|
+ <el-card class="home-container__card">
|
|
|
+ <div class="title">
|
|
|
+ <span>
|
|
|
+ 快速发起
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="content">
|
|
|
+ <div class="content-icon" @click="inPage()">
|
|
|
+ <i class="tradingIcon icon-purchase" style="color:#75CD28"></i>
|
|
|
+ <span style="font-size: 14px">模拟生产</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-card>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -25,10 +40,14 @@ export default {
|
|
|
name: "wel",
|
|
|
data() {
|
|
|
return {
|
|
|
- billType: ""
|
|
|
+ billType: "",
|
|
|
+ saberTenantId:''
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ console.log(JSON.parse(localStorage.getItem('saber-tenantId')).content)
|
|
|
+ this.saberTenantId = JSON.parse(localStorage.getItem('saber-tenantId')).content
|
|
|
+ // console.log(localStorage.getItem('saber-tenantId'))
|
|
|
getUserInfo().then(res => {
|
|
|
this.billType = res.data.data.billType;
|
|
|
localStorage.setItem('sysitemType', this.billType)
|
|
@@ -49,9 +68,29 @@ export default {
|
|
|
equipmentControl,
|
|
|
landTransportation
|
|
|
},
|
|
|
- methods: {}
|
|
|
+ methods: {
|
|
|
+ inPage(){
|
|
|
+ this.$router.push("/productionManagement/index");
|
|
|
+ },
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
+.content {
|
|
|
+ display: flex;
|
|
|
|
|
|
+ &-icon {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ margin: 1.5vh 1vw 0vh 1vw;
|
|
|
+
|
|
|
+ span {
|
|
|
+ margin-top: 0.2vh;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.tradingIcon {
|
|
|
+ font-size: 36px;
|
|
|
+}
|
|
|
</style>
|