Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
enterprise-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
enterprise-platform
Commits
cacc9e4b
Commit
cacc9e4b
authored
Dec 12, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:屏蔽企业标注的标签描述
parent
1b93d735
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
82 additions
and
75 deletions
+82
-75
enterprise-manager-ui/admin/src/views/labels/list.vue
enterprise-manager-ui/admin/src/views/labels/list.vue
+82
-75
No files found.
enterprise-manager-ui/admin/src/views/labels/list.vue
View file @
cacc9e4b
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<LayoutTable
:data=
"tableData"
:config=
"tableConfig"
>
<LayoutTable
:data=
"tableData"
:config=
"tableConfig"
>
</LayoutTable>
</LayoutTable>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
/** 表单弹出框模式需引入 */
/** 表单弹出框模式需引入 */
import
drawerShow
from
"
./drawershow
"
;
import
drawerShow
from
"
./drawershow
"
;
import
table
from
"
@/assets/mixins/table
"
;
import
table
from
"
@/assets/mixins/table
"
;
export
default
{
export
default
{
name
:
"
LabelsList
"
,
name
:
"
LabelsList
"
,
components
:
{
components
:
{
drawerShow
drawerShow
,
},
},
mixins
:
[
table
],
mixins
:
[
table
],
created
()
{
created
()
{},
},
methods
:
{
methods
:
{
/** 重写新增方法 */
/** 重写新增方法 */
toAdd
(
row
)
{
toAdd
(
row
)
{
this
.
$refs
.
drawerform
.
add
(
row
);
this
.
$refs
.
drawerform
.
add
(
row
);
},
},
/** 重写编辑方法 */
/** 重写编辑方法 */
toEdit
(
row
)
{
toEdit
(
row
)
{
this
.
$refs
.
drawerform
.
edit
(
row
);
this
.
$refs
.
drawerform
.
edit
(
row
);
},
},
/** 重写查看方法 */
/** 重写查看方法 */
toView
(
row
)
{
toView
(
row
)
{
this
.
$refs
.
drawerform
.
view
(
row
);
this
.
$refs
.
drawerform
.
view
(
row
);
},
},
},
data
()
{
},
return
{
data
()
{
config
:
{
return
{
search
:
[
config
:
{
{
search
:
[
name
:
"
labelName
"
,
type
:
"
text
"
,
label
:
"
标签名称
"
,
},
],
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
{
label
:
"
标签名称
"
,
prop
:
"
labelName
"
},
name
:
"
labelName
"
,
type
:
"
text
"
,
label
:
"
标签名称
"
}
],
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
标签名称
"
,
prop
:
"
labelName
"
},
// { label: "标签描述", prop: "labelDesc", formatter: this.formatters },
{
label
:
"
标签描述
"
,
prop
:
"
labelDesc
"
,
formatter
:
this
.
formatters
},
{
label
:
"
标签图标
"
,
prop
:
"
labelLogoPath
"
,
formatter
:
(
row
)
=>
{
return
row
.
labelLogoPath
!=
""
?
(
<
el
-
image
style
=
"
width: 70px; height: 70px
"
src
=
{
row
.
labelLogoPath
}
preview
-
src
-
list
=
{[
row
.
labelLogoPath
]}
><
/el-image
>
)
:
(
"
--
"
);
},},
{
label
:
"
标签图标
"
,
prop
:
"
labelLogoPath
"
,
formatter
:
(
row
)
=>
{
return
row
.
labelLogoPath
!=
""
?
(
<
el
-
image
style
=
"
width: 70px; height: 70px
"
src
=
{
row
.
labelLogoPath
}
preview
-
src
-
list
=
{[
row
.
labelLogoPath
]}
><
/el-image
>
)
:
(
"
--
"
);
},
},
{
label
:
"
创建时间
"
,
prop
:
"
createTime
"
,
formatter
:
this
.
formatterDate
},
{
{
label
:
"
创建时间
"
,
label
:
"
操作
"
,
prop
:
"
createTime
"
,
width
:
240
,
formatter
:
this
.
formatterDate
,
formatter
:
row
=>
{
},
return
(
{
<
table
-
buttons
noAdd
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
label
:
"
操作
"
,
);
width
:
240
,
}
formatter
:
(
row
)
=>
{
}
return
(
]
<
table
-
buttons
}
noAdd
};
row
=
{
row
}
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
);
},
},
],
},
};
};
},
};
</
script
>
</
script
>
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