Merge remote-tracking branch 'origin/master'
| | |
| | | name: 'BasicDataMessage', |
| | | component: () => import('@/views/basicData/index'), |
| | | meta: { title: '基础数据', icon: 'el-icon-s-tools' } |
| | | } |
| | | }, |
| | | { |
| | | path: 'myBusiness', |
| | | name: 'MyBusiness', |
| | | component: () => import('@/views/personal/myBusiness/index'), |
| | | meta: { title: '我的企业', icon: 'tree', show: false } |
| | | } |
| | | ] |
| | | }, |
| | | { path: '*', redirect: '/404', hidden: true } |
| | |
| | | let menuFather = baseRouter |
| | | const dataMenuFather = fn3(menuFather) |
| | | role.roleMenuList.forEach((r) => { |
| | | dataMenuFather.push(Routees.filter(item => { |
| | | return item.path === r.menuUrl |
| | | })[0]) |
| | | if(r.menuName!='首页'){ |
| | | dataMenuFather.push(Routees.filter(item => { |
| | | return item.path === r.menuUrl |
| | | })[0]) |
| | | } |
| | | }) |
| | | let eqChildren = []; |
| | | role.roleMenuList.forEach((r) => { |
| | |
| | | import axios from 'axios' |
| | | import router from '../router/index' |
| | | import { MessageBox, Message } from 'element-ui' |
| | | import store from '@/store' |
| | | import { getToken } from '@/utils/auth' |
| | |
| | | }) |
| | | sessionStorage.removeItem("user") |
| | | sessionStorage.setItem("flushPage",1) |
| | | this.$router.replace({path: '/login'}); |
| | | location.reload() |
| | | router.replace({path: '/login'}); |
| | | // location.reload() |
| | | } |
| | | if(res.code===403){ |
| | | Message({ |
| | |
| | | <el-input v-model="searchData.code" @blur="blurSearch()" class="input-form" placeholder="请输入"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item v-if="this.radioValue === 1"> |
| | | <el-button type="primary" @click="searchPlan">查询</el-button> |
| | | </el-form-item> |
| | | <el-form-item v-if="this.radioValue === 0" :label="this.radioValue === 0 ? '仪器设备名称:' : '设备名称'" |
| | | class="sermargin"> |
| | | <el-input v-model="searchData.name" class="input-form" placeholder="请输入"> |
| | |
| | | search() { |
| | | this.getStandingPageList() |
| | | }, |
| | | searchPlan(){ |
| | | this.getPlanPageList() |
| | | }, |
| | | reset(formName) { |
| | | this.searchData.name = '' |
| | | this.searchData.code = '' |
| | |
| | | }, |
| | | async getPlanPageList() { |
| | | let param = { |
| | | currentPage: this.currentPage, pageSize: this.pageSize, |
| | | code: this.searchData.code, name: this.searchData.name, unit: this.searchData.measureunit |
| | | currentPage: this.currentPage, |
| | | pageSize: this.pageSize, |
| | | plannedOrderNumber: this.searchData.code |
| | | } |
| | | const res = await getPlanPageList(param) |
| | | res.data.list.forEach(item => { |
| | |
| | | margin: 10px 0; |
| | | } |
| | | } |
| | | }</style> |
| | | } |
| | | </style> |