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
4b73b1da
Commit
4b73b1da
authored
Aug 15, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除菜单
parent
1381ac44
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
686 additions
and
4 deletions
+686
-4
application.vue
src/views/equipment/application.vue
+12
-2
draw.vue
src/views/equipment/draw.vue
+2
-1
index.vue
src/views/equipment/inventoryRecord/index.vue
+671
-0
draw.vue
src/views/processManagement/draw.vue
+1
-1
No files found.
src/views/equipment/application.vue
View file @
4b73b1da
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"phd"
style=
"flex-basis: 50%;"
prop=
"phd"
>
<el-form-item
label=
"phd"
style=
"flex-basis: 50%;"
prop=
"phd"
:rules=
"[
{ required: this.isRequired, pattern: /^\d+$/, message: '仅能输入整数', trigger: 'blur' }]"
>
<el-input
ref=
"input2"
v-model=
"form.phd"
placeholder=
"请输入phd"
style=
"width: 400px"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"handelTab(2,$event)"
/>
<el-input
ref=
"input2"
v-model=
"form.phd"
placeholder=
"请输入phd"
style=
"width: 400px"
:maxlength=
"10"
@
keyup
.
enter
.
native=
"handelTab(2,$event)"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
clearable
clearable
placeholder=
"请选择pgx"
placeholder=
"请选择pgx"
style=
"width: 400px"
style=
"width: 400px"
@
change=
"handlePgxChange"
>
>
<el-option
<el-option
v-for=
"(dict,index) in pissbList"
v-for=
"(dict,index) in pissbList"
...
@@ -86,6 +87,9 @@ export default {
...
@@ -86,6 +87,9 @@ export default {
name
:
'Role'
,
name
:
'Role'
,
data
()
{
data
()
{
return
{
return
{
isRequired
:
false
,
// 对应后端配置文件cy.init.pgxList的的内容
phdList
:
[
'003'
],
// 判断是否存在缓存
// 判断是否存在缓存
exist
:
false
,
exist
:
false
,
form
:
{
form
:
{
...
@@ -97,7 +101,6 @@ export default {
...
@@ -97,7 +101,6 @@ export default {
},
},
rule
:
{
rule
:
{
pn
:
[{
required
:
true
,
message
:
'请输入pn'
,
trigger
:
'blur'
}],
pn
:
[{
required
:
true
,
message
:
'请输入pn'
,
trigger
:
'blur'
}],
phd
:
[{
required
:
true
,
pattern
:
/^
\d
+$/
,
message
:
'仅能输入整数'
,
trigger
:
'blur'
}],
prank
:
[{
required
:
true
,
pattern
:
/^
\d
+$/
,
message
:
'仅能输入整数'
,
trigger
:
'blur'
}],
prank
:
[{
required
:
true
,
pattern
:
/^
\d
+$/
,
message
:
'仅能输入整数'
,
trigger
:
'blur'
}],
pgx
:
[{
required
:
true
,
message
:
'请输入pgx'
,
trigger
:
'blur'
}],
pgx
:
[{
required
:
true
,
message
:
'请输入pgx'
,
trigger
:
'blur'
}],
pissb
:
[{
required
:
true
,
message
:
'请输入pissb'
,
trigger
:
'blur'
}],
pissb
:
[{
required
:
true
,
message
:
'请输入pissb'
,
trigger
:
'blur'
}],
...
@@ -135,6 +138,13 @@ export default {
...
@@ -135,6 +138,13 @@ export default {
this
.
init
()
this
.
init
()
},
},
methods
:
{
methods
:
{
handlePgxChange
()
{
if
(
this
.
phdList
.
includes
(
this
.
form
.
pgx
)){
this
.
isRequired
=
true
}
else
{
this
.
isRequired
=
false
}
},
resetQuery
()
{
resetQuery
()
{
this
.
form
=
{
this
.
form
=
{
pn
:
''
,
pn
:
''
,
...
...
src/views/equipment/draw.vue
View file @
4b73b1da
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</el-dialog>
</el-dialog>
<!-- TODO: 处理 -->
<!-- TODO: 处理 -->
<el-dialog
:title=
"title
"
:visible
.
sync=
"openHandle"
width=
"1200px"
append-to-body
:close-on-click-modal=
"false"
@
close=
"handlecanceClose"
>
<el-dialog
title=
"设备领用
"
:visible
.
sync=
"openHandle"
width=
"1200px"
append-to-body
:close-on-click-modal=
"false"
@
close=
"handlecanceClose"
>
<el-form
ref=
"formDetails"
class=
"aboutSingleDetails"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
>
<el-form
ref=
"formDetails"
class=
"aboutSingleDetails"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -675,6 +675,7 @@ export default {
...
@@ -675,6 +675,7 @@ export default {
this
.
monthDate
=
false
this
.
monthDate
=
false
this
.
title
=
'权限验证'
this
.
title
=
'权限验证'
if
(
this
.
multipleSelection
.
length
===
0
)
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
this
.
loadingDetail
=
false
this
.
$message
.
warning
(
'请至少选择一个要处理的设备'
)
this
.
$message
.
warning
(
'请至少选择一个要处理的设备'
)
}
else
{
}
else
{
this
.
canceList
=
[]
this
.
canceList
=
[]
...
...
src/views/equipment/inventoryRecord/index.vue
0 → 100644
View file @
4b73b1da
This diff is collapsed.
Click to expand it.
src/views/processManagement/draw.vue
View file @
4b73b1da
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
</el-dialog>
</el-dialog>
<!-- TODO: 处理 -->
<!-- TODO: 处理 -->
<el-dialog
:title=
"title
"
:visible
.
sync=
"openHandle"
width=
"1200px"
append-to-body
:close-on-click-modal=
"false"
@
close=
"handlecanceClose"
>
<el-dialog
title=
"设备领用
"
:visible
.
sync=
"openHandle"
width=
"1200px"
append-to-body
:close-on-click-modal=
"false"
@
close=
"handlecanceClose"
>
<el-form
ref=
"formDetails"
class=
"aboutSingleDetails"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
>
<el-form
ref=
"formDetails"
class=
"aboutSingleDetails"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
...
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