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
c21244b7
Commit
c21244b7
authored
Jan 09, 2025
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:修改线上企业频道不显示关联企业选择框得问题
parent
98478996
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
enterprise-manager-ui/admin/src/views/news/drawershow.vue
enterprise-manager-ui/admin/src/views/news/drawershow.vue
+9
-1
No files found.
enterprise-manager-ui/admin/src/views/news/drawershow.vue
View file @
c21244b7
...
...
@@ -36,11 +36,12 @@
prop=
"categoryId"
v-model=
"form.categoryId"
type=
"radio"
@
change=
"handlechange"
:enum-data=
"dict.categoryId"
placeholder=
"请输入分类id"
/>
<template
v-if=
"
form.categoryId == 1
"
>
<template
v-if=
"
showCompany
"
>
<Field
label=
"所属企业"
:span=
"40"
...
...
@@ -154,6 +155,7 @@ export default {
companyData
:
[],
relatedCompany
:
{},
// 遮罩层
showCompany
:
false
,
loading
:
true
,
// 弹出层标题
title
:
"
新闻
"
,
...
...
@@ -183,6 +185,12 @@ export default {
},
methods
:
{
handlechange
(
val
)
{
this
.
dict
.
categoryId
[
val
].
indexOf
(
"
企业
"
)
>
-
1
?
(
this
.
showCompany
=
true
)
:
(
this
.
showCompany
=
false
);
this
.
showCompany
?
""
:
(
this
.
form
.
relatedCompany
=
""
);
},
/** 编辑 */
edit
(
row
)
{
this
.
reset
();
...
...
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