Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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_vue
Commits
ab996baa
Commit
ab996baa
authored
Jul 28, 2023
by
kzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘点和废弃的模糊搜索
parent
c4634bc9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
791 additions
and
695 deletions
+791
-695
equipmentAbandonment.js
src/api/equipment/equipmentAbandonment.js
+95
-0
check.vue
src/views/equipment/check.vue
+9
-9
checkProcess.vue
src/views/equipment/checkProcess.vue
+5
-5
equipmentAbandonment.vue
src/views/equipment/equipmentAbandonment.vue
+682
-681
No files found.
src/api/equipment/equipmentAbandonment.js
0 → 100644
View file @
ab996baa
import
request
from
'@/utils/request'
import
Qs
from
'qs'
// 查询角色列表
export
function
listCheck
(
query
)
{
return
request
({
url
:
'/wbwarehouse/queryWbWarehouseByPagination'
,
method
:
'get'
,
params
:
query
})
}
export
function
getlistRole
()
{
return
request
({
url
:
'system/role/listAll'
,
method
:
'get'
})
}
// 查询角色详细
export
function
getRole
(
businessId
)
{
return
request
({
url
:
'/system/role/detail/'
+
businessId
,
method
:
'get'
})
}
// 新增角色
export
function
addRole
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/system/role/add'
,
method
:
'post'
,
data
:
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
}
// 修改角色
export
function
updateRole
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/system/role/update/'
+
businessId
,
method
:
'put'
,
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
}
// 角色数据权限
export
function
dataScope
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/system/role/dataScope'
,
method
:
'put'
,
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
}
// 角色状态修改
export
function
changeRoleStatus
(
businessId
,
flag
)
{
const
data
=
{
businessId
,
flag
}
return
request
({
url
:
'/system/role/changeStatus'
,
method
:
'put'
,
params
:
data
})
}
// 删除角色
export
function
delRole
(
roleId
)
{
return
request
({
url
:
'/system/role/deleteLogical/'
+
roleId
,
method
:
'delete'
})
}
// 导出角色
export
function
exportRole
(
query
)
{
return
request
({
url
:
'/system/role/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/views/equipment/check.vue
View file @
ab996baa
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"
设备编码"
prop=
"equipmentCode
"
>
<el-form-item
label=
"
pn"
prop=
"pn
"
>
<el-input
<el-input
v-model=
"queryParams.
equipmentCode
"
v-model=
"queryParams.
pn
"
placeholder=
"请输入
设备编码
"
placeholder=
"请输入
pn
"
clearable
clearable
:maxlength=
"30"
:maxlength=
"30"
size=
"small"
size=
"small"
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"位置"
prop=
"location"
>
<el-form-item
label=
"位置"
prop=
"
p
location"
>
<el-input
<el-input
v-model=
"queryParams.location"
v-model=
"queryParams.
p
location"
placeholder=
"请输入设备位置"
placeholder=
"请输入设备位置"
clearable
clearable
size=
"small"
size=
"small"
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"
编码
"
prop=
"pn"
width=
"120"
>
<el-table-column
label=
"
pn
"
prop=
"pn"
width=
"120"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
...
@@ -69,12 +69,12 @@
...
@@ -69,12 +69,12 @@
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"
thickness
"
>
<el-table-column
label=
"厚度"
prop=
"
phd
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
thickness
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
创建
员"
prop=
"createBy"
>
<el-table-column
label=
"
操作
员"
prop=
"createBy"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
createBy
||
'-'
}}
{{
scope
.
row
.
createBy
||
'-'
}}
</
template
>
</
template
>
...
...
src/views/equipment/checkProcess.vue
View file @
ab996baa
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"
设备编码"
prop=
"equipmentCode
"
>
<el-form-item
label=
"
pn"
prop=
"pn
"
>
<el-input
<el-input
v-model=
"queryParams.equipmentCode"
v-model=
"queryParams.equipmentCode"
placeholder=
"请输入
设备编码
"
placeholder=
"请输入
pn
"
clearable
clearable
:maxlength=
"30"
:maxlength=
"30"
size=
"small"
size=
"small"
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"
编码
"
prop=
"pn"
width=
"120"
>
<el-table-column
label=
"
pn
"
prop=
"pn"
width=
"120"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
...
@@ -69,9 +69,9 @@
...
@@ -69,9 +69,9 @@
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"
thickness
"
>
<el-table-column
label=
"厚度"
prop=
"
phd
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
thickness
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"创建员"
prop=
"createBy"
>
<el-table-column
label=
"创建员"
prop=
"createBy"
>
...
...
src/views/equipment/equipmentAbandonment.vue
View file @
ab996baa
This diff is collapsed.
Click to expand it.
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