Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
V
vue-quasar-admin-dev
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
vue-quasar-admin-dev
Commits
890c7a70
Commit
890c7a70
authored
Jan 19, 2026
by
周海峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b5ffdbbe
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
40 行增加
和
4 行删除
+40
-4
src/pages/metroworkmenu/metroworkmenu.vue
+1
-1
src/pages/platformapplications/EditApplication.vue
+19
-0
src/pages/platformapplications/platformapplications.vue
+19
-2
src/pages/platformapplicationsGroup/platformapplicationsGroupManager.vue
+1
-1
没有找到文件。
src/pages/metroworkmenu/metroworkmenu.vue
View file @
890c7a70
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</q-td>
</q-td>
<q-td
slot=
"body-cell-id"
slot-scope=
"props"
:props=
"props"
style=
"width:100px"
>
<q-td
slot=
"body-cell-id"
slot-scope=
"props"
:props=
"props"
style=
"width:100px"
>
<q-btn
small
round
push
glossy
dense
icon=
"edit"
color=
"primary"
@
click=
"editMenu(props.value)"
></q-btn>
<q-btn
small
round
push
glossy
dense
icon=
"edit"
color=
"primary"
@
click=
"editMenu(props.value)"
></q-btn>
<q-btn
small
round
push
glossy
dense
icon=
"delete"
color=
"red"
@
click=
"delMenu(props.value)"
></q-btn>
<q-btn
small
round
push
glossy
dense
icon=
"delete"
color=
"red"
:disabled=
"props.row.status=='1'"
@
click=
"delMenu(props.value)"
></q-btn>
<!-- <q-btn small round push glossy dense icon="arrow_upward" color="orange" @click="moveUp(props.value)" v-if="props.row.sortOrder > 1"></q-btn> -->
<!-- <q-btn small round push glossy dense icon="arrow_upward" color="orange" @click="moveUp(props.value)" v-if="props.row.sortOrder > 1"></q-btn> -->
<!-- <q-btn small round push glossy dense icon="arrow_downward" color="orange" @click="moveDown(props.value)"></q-btn> -->
<!-- <q-btn small round push glossy dense icon="arrow_downward" color="orange" @click="moveDown(props.value)"></q-btn> -->
</q-td>
</q-td>
...
...
src/pages/platformapplications/EditApplication.vue
View file @
890c7a70
...
@@ -172,6 +172,25 @@ export default {
...
@@ -172,6 +172,25 @@ export default {
this
.
visible
=
false
;
this
.
visible
=
false
;
},
},
async
onSave
()
{
async
onSave
()
{
// 表单验证
if
(
!
this
.
localTemp
.
title
||
this
.
localTemp
.
title
.
trim
()
===
''
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
message
:
"名称不能为空"
,
position
:
"bottom-right"
});
return
;
}
if
(
!
this
.
localTemp
.
appid
||
this
.
localTemp
.
appid
.
trim
()
===
''
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
message
:
"应用唯一标识不能为空"
,
position
:
"bottom-right"
});
return
;
}
try
{
try
{
await
saveapp
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
localTemp
)));
await
saveapp
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
localTemp
)));
this
.
$q
.
notify
({
this
.
$q
.
notify
({
...
...
src/pages/platformapplications/platformapplications.vue
View file @
890c7a70
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<
template
slot=
"top-selection"
slot-scope=
"props"
>
<
template
slot=
"top-selection"
slot-scope=
"props"
>
<q-btn
color=
"negative"
flat
round
delete
icon=
"delete"
@
click=
"delRoles"
/>
<q-btn
color=
"negative"
flat
round
delete
icon=
"delete"
@
click=
"delRoles"
/>
</
template
>
</
template
>
<q-td
slot=
"body-cell-href"
slot-scope=
"props"
:props=
"props"
>
<q-td
slot=
"body-cell-href"
slot-scope=
"props"
:props=
"props"
style=
"max-width: 300px; word-break: break-all;"
>
<span>
电脑入口:{{ props.row.href ? props.row.href: '未维护'}}
</span><br/>
<span>
电脑入口:{{ props.row.href ? props.row.href: '未维护'}}
</span><br/>
<span>
企微入口:{{ props.row.wechatUrl ? props.row.wechatUrl: '未维护' }}
</span>
<span>
企微入口:{{ props.row.wechatUrl ? props.row.wechatUrl: '未维护' }}
</span>
</q-td>
</q-td>
...
@@ -118,6 +118,14 @@
...
@@ -118,6 +118,14 @@
},
},
columns
:
[
columns
:
[
{
{
name
:
"appid"
,
required
:
true
,
label
:
'唯一标识'
,
align
:
"left"
,
field
:
"appid"
,
sortable
:
false
},
{
name
:
"title"
,
name
:
"title"
,
required
:
true
,
required
:
true
,
label
:
'名称'
,
label
:
'名称'
,
...
@@ -284,5 +292,13 @@
...
@@ -284,5 +292,13 @@
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.q-table
tbody
td
[
style
*=
"max-width: 300px"
]
{
word-break
:
break-word
;
white-space
:
normal
;
}
.q-table
tbody
td
[
style
*=
"max-width: 300px"
]
span
{
display
:
inline-block
;
max-width
:
100%
;
word-wrap
:
break-word
;
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/platformapplicationsGroup/platformapplicationsGroupManager.vue
View file @
890c7a70
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
{{
props
.
row
.
href
}}
{{
props
.
row
.
href
}}
</div>
</div>
<div
v-if=
"props.row.wechatUrl"
>
<div
v-if=
"props.row.wechatUrl"
>
<q-icon
name=
"
chat
"
size=
"16px"
/>
<q-icon
name=
"
smartphone
"
size=
"16px"
/>
{{
props
.
row
.
wechatUrl
}}
{{
props
.
row
.
wechatUrl
}}
</div>
</div>
<div
v-if=
"!props.row.href && !props.row.wechatUrl"
>
<div
v-if=
"!props.row.href && !props.row.wechatUrl"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论