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
6a18f60e
Commit
6a18f60e
authored
Aug 08, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除菜单
parent
1f946d7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
draw.vue
src/views/equipment/draw.vue
+9
-7
draw.vue
src/views/processManagement/draw.vue
+3
-0
No files found.
src/views/equipment/draw.vue
View file @
6a18f60e
...
...
@@ -521,7 +521,7 @@ export default {
methods
:
{
// 判断日期是否相同
isSameMonthDates
(
datesArray
)
{
console
.
log
(
'datesArray'
,
datesArray
)
console
.
log
(
'datesArray'
,
datesArray
)
// 如果数组中只有一个元素,返回日期相同
if
(
datesArray
.
length
===
1
)
{
return
true
...
...
@@ -555,7 +555,7 @@ export default {
}
)
}
)
console
.
log
(
'i'
,
i
)
console
.
log
(
'number'
,
number
)
console
.
log
(
'number'
,
number
)
if
(
i
===
number
)
{
console
.
log
(
'1false'
)
return
false
...
...
@@ -573,7 +573,11 @@ export default {
}
}
,
replace
(
value
)
{
return
this
.
dictList
.
find
(
item
=>
item
.
dictValue
===
value
).
dictLabel
if
(
this
.
dictList
.
find
(
item
=>
item
.
dictValue
===
value
))
{
return
this
.
dictList
.
find
(
item
=>
item
.
dictValue
===
value
).
dictLabel
}
else
{
return
value
}
}
,
getCodeDict
()
{
const
obj
=
{
...
...
@@ -694,12 +698,12 @@ export default {
this
.
loadingDetail
=
false
return
this
.
$message
.
warning
(
'您选择的设备数据不符合您申请设备的数量'
)
}
console
.
log
(
'是否打开弹框'
,
this
.
condition
(
this
.
canceList
,
this
.
detailApplyList
,
this
.
singleDetails
.
pnumber
))
console
.
log
(
'是否打开弹框'
,
this
.
condition
(
this
.
canceList
,
this
.
detailApplyList
,
this
.
singleDetails
.
pnumber
))
if
(
this
.
condition
(
this
.
canceList
,
this
.
detailApplyList
,
this
.
singleDetails
.
pnumber
))
{
this
.
monthDate
=
true
this
.
openHandle
=
false
}
console
.
log
(
'monthDate'
,
this
.
monthDate
)
console
.
log
(
'monthDate'
,
this
.
monthDate
)
if
(
this
.
monthDate
)
{
this
.
openLogin
=
true
}
...
...
@@ -866,8 +870,6 @@ export default {
this
.
handleQuery
()
}
,
// warehouse的重置按钮
resetQueryWarehouse
()
{
this
.
queryParamsDetail
.
pn
=
null
...
...
src/views/processManagement/draw.vue
View file @
6a18f60e
...
...
@@ -617,6 +617,9 @@ export default {
}
}
,
replace
(
value
)
{
if
(
this
.
dictList
.
length
===
0
)
{
return
value
}
let
label
=
''
if
(
this
.
dictList
.
length
>
0
)
{
this
.
dictList
.
forEach
(
item
=>
{
...
...
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