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
fa5d5ec7
Commit
fa5d5ec7
authored
Sep 19, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除菜单
parent
b45d3d07
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
index.vue
src/views/production/craftsmanship/index.vue
+17
-17
index.vue
src/views/production/gxlog/index.vue
+9
-9
No files found.
src/views/production/craftsmanship/index.vue
View file @
fa5d5ec7
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"gx:"
prop
=
"gx"
>
<
el
-
form
-
item
label
=
"gx:"
prop
=
"gx"
>
<
span
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
span
style
=
"margin-left: 10px"
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"操作人:"
prop
=
"createName"
>
<
el
-
form
-
item
label
=
"操作人:"
prop
=
"createName"
>
...
@@ -527,20 +527,20 @@ export default {
...
@@ -527,20 +527,20 @@ export default {
}
)
}
)
}
)
}
)
}
,
}
,
replace
(
value
)
{
//
replace(value)
{
/*
if (this.dictList.length === 0) {
//
if (this.dictList.length === 0)
{
return value
//
return value
}
//
}
let label = ''
//
let label = ''
if (this.dictList.length > 0) {
//
if (this.dictList.length > 0)
{
this.dictList.forEach(item => {
//
this.dictList.forEach(item =>
{
if (item.dictValue === value) {
//
if (item.dictValue === value)
{
label = item.dictLabel
//
label = item.dictLabel
}
//
}
}
)
//
}
)
}
//
}
return label */
// return label
}
,
//
}
,
// 编辑
// 编辑
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
title
=
'编辑基础信息表单'
this
.
title
=
'编辑基础信息表单'
...
...
src/views/production/gxlog/index.vue
View file @
fa5d5ec7
...
@@ -55,15 +55,13 @@
...
@@ -55,15 +55,13 @@
icon=
"el-icon-search"
icon=
"el-icon-search"
size=
"small"
size=
"small"
@
click=
"handleQuery"
@
click=
"handleQuery"
>
查询
</el-button
>
查询
</el-button>
>
<el-button
<el-button
style=
"padding: 8px 7px"
style=
"padding: 8px 7px"
icon=
"el-icon-refresh"
icon=
"el-icon-refresh"
size=
"small"
size=
"small"
@
click=
"resetQuery"
@
click=
"resetQuery"
>
重置
</el-button
>
重置
</el-button>
>
</el-form-item>
</el-form-item>
<!--
<div
style=
"float: right"
>
<!--
<div
style=
"float: right"
>
<el-form-item>
<el-form-item>
...
@@ -156,9 +154,11 @@
...
@@ -156,9 +154,11 @@
style
=
"color: #49cec9"
style
=
"color: #49cec9"
@
click
=
"handleUpdate(scope.row)"
@
click
=
"handleUpdate(scope.row)"
>
修改
<
/el-button> --
>
>
修改
<
/el-button> --
>
<
el
-
button
size
=
"mini"
type
=
"text"
@
click
=
"handleDetail(scope.row)"
<
el
-
button
>
详情
<
/el-butto
n
size
=
"mini"
>
type
=
"text"
@
click
=
"handleDetail(scope.row)"
>
详情
<
/el-button
>
<!--
<
el
-
button
<!--
<
el
-
button
size
=
"mini"
size
=
"mini"
type
=
"text"
type
=
"text"
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"gx: "
prop
=
"gx"
>
<
el
-
form
-
item
label
=
"gx: "
prop
=
"gx"
>
<
span
=>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span=
>
<
span
>
{{
replace
(
singleDetails
.
gx
)
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
...
...
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