Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
company_app
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
毛细亚
company_app
Commits
2b12a804
提交
2b12a804
authored
12月 16, 2025
作者:
施汉文
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
🌈
style: 打开标签按钮修改
上级
fbb744cc
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
20 行删除
+17
-20
index.html
public/index.html
+1
-1
index.vue
src/views/popup/AddTagsDrawer/index.vue
+12
-15
ZyouTag.vue
src/views/userInfo/components/gameInfo/ZyouTag.vue
+4
-4
没有找到文件。
public/index.html
浏览文件 @
2b12a804
...
...
@@ -17,7 +17,7 @@
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,shrink-to-fit=no,user-scalable=no"> -->
<script
src=
"https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"
></script>
<!-- iconpark CDN链接 -->
<script
src=
"https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_27278_1
69.71fe6b5f95ef2c1f5cb5bd7e2398c9dd
.es5.js"
></script>
<script
src=
"https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_27278_1
72.4236cc17b47ad2f8ea4b21bbf191bb50
.es5.js"
></script>
</head>
<body>
<noscript>
...
...
src/views/popup/AddTagsDrawer/index.vue
浏览文件 @
2b12a804
...
...
@@ -88,9 +88,7 @@ export default {
);
},
},
mounted
()
{
this
.
init
();
},
mounted
()
{},
// watch: {
// accountSelect: {
...
...
@@ -103,11 +101,9 @@ export default {
// },
// },
methods
:
{
async
init
()
{
await
this
.
getRoleLabel
();
await
this
.
handleChange
();
},
open
(
list
)
{
this
.
getRoleLabel
(
list
);
this
.
handleChange
();
this
.
show
=
true
;
},
close
()
{
...
...
@@ -183,20 +179,21 @@ export default {
// 更新树的禁用状态
this
.
updateTreeDisabledState
(
groupedChecked
);
},
async
getRoleLabel
()
{
async
getRoleLabel
(
value
)
{
if
(
!
this
.
accountSelect
)
return
;
const
weixin_blongs_id
=
this
.
weixin_blongs_id_list
.
map
(
(
item
)
=>
item
.
value
);
const
res
=
await
roleGetRoleLabel
({
member_id
:
this
.
accountSelect
,
weixin_blongs_id
:
weixin_blongs_id
,
});
//
const res = await roleGetRoleLabel({
//
member_id: this.accountSelect,
//
weixin_blongs_id: weixin_blongs_id,
//
});
// 筛选出标签类型为2的标签,2为客服标签
this
.
list
=
res
.
data
.
data
.
filter
((
item
)
=>
item
.
label_type
==
2
)?.[
0
]?.
label
||
[];
this
.
defaultCheckedIds
=
this
.
list
?.
map
((
item
)
=>
item
.
id
)
||
[];
// this.list =
// res.data.data.filter((item) => item.label_type == 2)?.[0]?.label || [];
this
.
defaultCheckedIds
=
value
?.
map
((
item
)
=>
item
.
id
)
||
[];
this
.
list
=
value
;
},
format
(
data
)
{
const
list
=
[];
...
...
src/views/userInfo/components/gameInfo/ZyouTag.vue
浏览文件 @
2b12a804
...
...
@@ -58,7 +58,7 @@
<
/el-tooltip
>
<
/div
>
<
iconpark
-
icon
name
=
"ziliao-tianjia"
name
=
"ziliao-tianjia
-jb82dh2k
"
class
=
"group-hover:visible invisible text-primary text-[14px] ml-[6px]"
@
click
=
"addTag(item.label)"
><
/iconpark-icon
>
...
...
@@ -68,7 +68,7 @@
<!--
掌游标签列表
-->
<!--
掌游标签列表
-->
<
div
v
-
if
=
"showZyouTag"
class
=
"zyou-tag-list"
>
<
!--
<
div
v
-
if
=
"showZyouTag"
class
=
"zyou-tag-list"
>
<
div
v
-
for
=
"(item, index) in roleLabelList"
:
key
=
"index"
...
...
@@ -83,7 +83,7 @@
@
click
=
"toggleAddTag(index)"
><
/i
>
<
/div
>
<!--
新增标签区域
-->
新增标签区域
<
div
v
-
if
=
"showAddTagIndex === index"
class
=
"add-tag-area"
>
<
div
class
=
"add-tag-content"
>
<
el
-
cascader
...
...
@@ -146,7 +146,7 @@
<
/el-popover
>
<
/div
>
<
/div
>
<
/div
>
<
/div>
--
>
<
AddTagsDrawer
ref
=
"addTagsDrawer"
:
game
-
user
-
info
=
"gameUserInfo"
/>
<
/div
>
<
/template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论