Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
717c777b
Commit
717c777b
authored
Jun 15, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(outter-link): 外链优化
parent
99d80d9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
CmptSettingMapper.xml
...bridge/jadp/plugins/cmpt/dao/mapper/CmptSettingMapper.xml
+1
-1
outter-link.jsp
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
+13
-6
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptSettingMapper.xml
View file @
717c777b
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
delete from gk_cmptsetting where id = #{id}
delete from gk_cmptsetting where id = #{id}
</delete>
</delete>
<select
id=
"getFuncById"
resultType=
"com.dlbridge.jadp.plugins.cmpt.bean.Func"
>
<select
id=
"getFuncById"
resultType=
"com.dlbridge.jadp.plugins.cmpt.bean.Func"
>
select id,cmptid cmptId,name,type,visibility,seq,app_id appId,url,name_web nameWeb,icon,open_type openType,dead_time deadTime,start_time startTime,need_time needTime
select id,cmptid cmptId,name,type,visibility,seq,app_id appId,url,name_web nameWeb,icon,open_type openType,dead_time deadTime,start_time startTime,need_time needTime
,content
from gk_cmptsetting
from gk_cmptsetting
where id=#{id}
where id=#{id}
</select>
</select>
...
...
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
View file @
717c777b
...
@@ -42,6 +42,14 @@
...
@@ -42,6 +42,14 @@
<link
rel=
"stylesheet"
href=
"/static/cmpt/score.css?
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"/static/cmpt/score.css?
<%=
System
.
currentTimeMillis
()
%>
"
>
<style>
<style>
.layui-layer-title
{
color
:
white
;
}
.layui-layer-btn
{
color
:
white
;
}
.submit
{
.submit
{
display
:
inline-block
;
display
:
inline-block
;
width
:
120px
;
width
:
120px
;
...
@@ -223,17 +231,15 @@
...
@@ -223,17 +231,15 @@
<col
style=
"width:20%"
>
<col
style=
"width:20%"
>
</colgroup>
</colgroup>
<thead>
<thead>
<tr>
<tr>
<th
style=
"text-align: center"
>
功能名称
</th>
<th
style=
"text-align: center"
>
功能名称
</th>
<th
style=
"text-align: center"
>
图标
</th>
<th
style=
"text-align: center"
>
图标
</th>
<th
style=
"text-align: center"
>
类型
</th>
<th
style=
"text-align: center"
>
类型
</th>
<th
style=
"text-align: center"
>
外部链接
</th>
<th
style=
"text-align: center"
>
内容
</th>
<th
style=
"text-align: center"
>
操作
</th>
<th
style=
"text-align: center"
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr
v-if=
""
v-for=
"item in list"
:data-id=
"item.id"
>
<tr
v-if=
""
v-for=
"item in list"
:data-id=
"item.id"
>
<td
class=
"name"
v-text=
"item.nameWeb"
style=
"text-align: center"
></td>
<td
class=
"name"
v-text=
"item.nameWeb"
style=
"text-align: center"
></td>
<td
style=
"text-align: center"
>
<td
style=
"text-align: center"
>
...
@@ -242,7 +248,7 @@
...
@@ -242,7 +248,7 @@
style=
"width:80px;height:80px;object-fit:cover;"
/>
style=
"width:80px;height:80px;object-fit:cover;"
/>
</td>
</td>
<td
style=
"text-align: center"
>
<td
style=
"text-align: center"
>
<span
v-if=
"item.openType"
<span
v-if=
"item.openType
!=null
"
v-text=
"typeDesc[item.openType].label"
></span>
v-text=
"typeDesc[item.openType].label"
></span>
<span
v-else
>
未设置
</span>
<span
v-else
>
未设置
</span>
</td>
</td>
...
@@ -567,10 +573,11 @@
...
@@ -567,10 +573,11 @@
layer
.
msg
(
"AppId不能为空!"
,
{
icon
:
5
,
duration
:
1500
});
layer
.
msg
(
"AppId不能为空!"
,
{
icon
:
5
,
duration
:
1500
});
return
;
return
;
}
}
if
(
this
.
letter
.
type
==
0
)
{
console
.
log
(
this
.
letter
.
openType
)
if
(
this
.
letter
.
openType
==
0
)
{
this
.
letter
.
content
=
this
.
editor
.
getContent
();
this
.
letter
.
content
=
this
.
editor
.
getContent
();
}
}
if
(
this
.
letter
.
needTime
&&
!
this
.
letter
.
startTime
)
{
if
(
this
.
letter
.
needTime
==
1
&&
!
this
.
letter
.
startTime
)
{
layer
.
msg
(
"请设置有效期的开始时间"
,
{
icon
:
5
,
duration
:
1500
});
layer
.
msg
(
"请设置有效期的开始时间"
,
{
icon
:
5
,
duration
:
1500
});
return
;
return
;
}
}
...
...
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