Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_move
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_move
Commits
5d4df410
Commit
5d4df410
authored
Oct 15, 2024
by
ccc2wdd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备查询界面
parent
d2d543b0
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
395 additions
and
4 deletions
+395
-4
query.js
src/api/query/query.js
+8
-0
header.vue
src/layout/components/header.vue
+2
-2
permission.js
src/store/modules/permission.js
+1
-1
deviceField.js
src/utils/device/deviceField.js
+48
-0
index.vue
src/views/query/index.vue
+335
-0
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/query/query.js
0 → 100644
View file @
5d4df410
import
request
from
'@/utils/request'
// 查询仪器管理详细信息
export
function
getInsStrumentInfo
(
businessId
)
{
return
request
({
url
:
'/insstrumentinfo/detail/'
+
businessId
,
method
:
'get'
})
}
src/layout/components/header.vue
View file @
5d4df410
...
...
@@ -110,8 +110,8 @@ export default {
// })
// },
toggleSideBar
()
{
//
this.menuState = !this.menuState
this
.
$store
.
dispatch
(
'app/menuState'
,
t
ru
e
)
this
.
menuState
=
!
this
.
menuState
this
.
$store
.
dispatch
(
'app/menuState'
,
t
his
.
menuStat
e
)
},
async
logout
()
{
this
.
$confirm
(
'确定注销并退出系统吗?'
,
'提示'
,
{
...
...
src/store/modules/permission.js
View file @
5d4df410
...
...
@@ -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
:
{
...
...
src/utils/device/deviceField.js
0 → 100644
View file @
5d4df410
/** 设备管理及关联模块公共字段 */
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
src/views/query/index.vue
0 → 100644
View file @
5d4df410
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
5d4df410
...
...
@@ -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:80
89
/`,
// target: `http://localhost:80
92
/`,
// target: `http://49.232.167.247:20014/`,
// changeOrigin: true,
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment