| | |
| | | } |
| | | |
| | | .left .box i { |
| | | font-size: 32px; |
| | | font-size: 24px; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | |
| | | height: 100%; |
| | | } |
| | | </style> |
| | | <style></style> |
| | | <template> |
| | | <div class="all"> |
| | | <div class="title"> |
| | |
| | | </div> |
| | | <div class="component_view"> |
| | | <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index" |
| | | v-show="com.k == tabActive"> |
| | | v-show="com.k == tabActive" @removeAllTab="removeAllTab"> |
| | | </component> |
| | | </div> |
| | | </div> |
| | |
| | | v: "WMS管理", |
| | | i: "font icon-a-Inventorydumprequest", |
| | | c: [{ |
| | | k: 15, |
| | | v: "原材料库存", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 16, |
| | | v: "回单管理", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 17, |
| | | v: "半成品库存", |
| | | i: "font icon-shouye", |
| | |
| | | }, |
| | | { |
| | | k: 6, |
| | | v: "成品检验", |
| | | v: "产品检验", |
| | | i: "font icon-shouye", |
| | | u: "finishedProductInspection" |
| | | }, |
| | |
| | | u: "record-content" |
| | | }, |
| | | { |
| | | k: 24, |
| | | v: "自检项目维护", |
| | | i: "font icon-shouye", |
| | | u: "self-inspection" |
| | | }, |
| | | { |
| | | k: 25, |
| | | v: "技术指标维护", |
| | | i: "font icon-shouye", |
| | |
| | | u: "mbom" |
| | | }, |
| | | { |
| | | k: 30, |
| | | v: "生产工艺维护", |
| | | k: 29, |
| | | v: "自检项目维护", |
| | | i: "font icon-shouye", |
| | | u: "equipmentmaintain" |
| | | } |
| | | u: "self-inspection" |
| | | }, |
| | | ] |
| | | } |
| | | ], |
| | |
| | | u: "index-index" |
| | | }] |
| | | }, |
| | | |
| | | upTabActive(num) { |
| | | this.tabActive = num; |
| | | this.activeP = num; |
| | |
| | | sessionStorage.clear(); |
| | | localStorage.removeItem("autoenter"); |
| | | this.$router.push("/enter"); |
| | | }, |
| | | removeAllTab() { |
| | | this.upIndex++ |
| | | this.$message.warning('数据变动较大,页面自动更新!') |
| | | } |
| | | } |
| | | }; |