Commit 5d4df410 authored by ccc2wdd's avatar ccc2wdd

设备查询界面

parent d2d543b0
import request from '@/utils/request'
// 查询仪器管理详细信息
export function getInsStrumentInfo(businessId) {
return request({
url: '/insstrumentinfo/detail/' + businessId, method: 'get'
})
}
......@@ -110,8 +110,8 @@ export default {
// })
// },
toggleSideBar() {
// this.menuState = !this.menuState
this.$store.dispatch('app/menuState', true)
this.menuState = !this.menuState
this.$store.dispatch('app/menuState', this.menuState)
},
async logout() {
this.$confirm('确定注销并退出系统吗?', '提示', {
......
......@@ -4,7 +4,7 @@ import { getInfo } from '@/api/login'
import Layout from '@/layout/index'
// pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path)
const pathList = ['system', 'system/log', 'production', 'equipment', 'process', '/none2', 'sample', 'tlias', '/test', '/inspect', '/controlPlatform/control', '/template/planeGraph', '/demoData/demoData1', '/setup/test']
const pathList = ['system', 'system/log', 'asset', 'standard', 'professional','statistics']
const permission = {
state: {
......
/** 设备管理及关联模块公共字段 */
const deviceField = {
sureStatusList: [
{ dictValue: '1', dictLabel: '已通过', type: 'success' },
{ dictValue: '2', dictLabel: '待审核', type: 'warning' },
{ dictValue: '3', dictLabel: '已驳回', type: 'danger' }
],
insStatusList: [
{ dictValue: '1', dictLabel: '正常', type: 'success' },
{ dictValue: '2', dictLabel: '维修', type: 'warning' },
{ dictValue: '3', dictLabel: '废弃', type: 'danger' },
{ dictValue: '4', dictLabel: '停用', type: 'info' }
],
// 设备类型
insCategoryList: [
{ dictValue: '1', dictLabel: '一般设备' },
{ dictValue: '2', dictLabel: '标准设备' },
{ dictValue: '3', dictLabel: '专业设备' }
],
// 检定周期
zqList: [
{ dictValue: '1', dictLabel: '1月' },
{ dictValue: '2', dictLabel: '3月' },
{ dictValue: '3', dictLabel: '6月' },
{ dictValue: '4', dictLabel: '12月' }
],
// 检定方法
jdffList: [
{ dictValue: '1', dictLabel: '内检' },
{ dictValue: '2', dictLabel: '外检' }
],
sinsCategoryList: [
{ dictValue: '1', dictLabel: '一般设备' },
{ dictValue: '2', dictLabel: '标准设备' }
],
insLbList: [
{ dictValue: '2', dictLabel: 'B' },
{ dictValue: '3', dictLabel: 'C' }
],
insLbL: [{ dictValue: '1', dictLabel: 'A' }],
zqDate: [
{ dictLabel: '1' },
{ dictLabel: '3' },
{ dictLabel: '6' },
{ dictLabel: '12' }
]
}
export default deviceField
This diff is collapsed.
......@@ -93,7 +93,7 @@ module.exports = {
// target: `http://49.232.167.247:20014/`, // 线上
// target: `http://192.168.1.30:8082/`,
target: `http://192.168.0.3:8092/`,
// target: `http://localhost:8089/`,
// target: `http://localhost:8092/`,
// target: `http://49.232.167.247:20014/`,
// changeOrigin: true,
pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment