Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_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
赵啸非
smart_gov_platform
Commits
2c4d2b76
Commit
2c4d2b76
authored
Mar 05, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5b8aa538
e05a71e8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
17 deletions
+38
-17
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
...admin/src/pages/basicset/appmarket/components/MoveApp.vue
+9
-1
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
...n/src/pages/basicset/appmarket/components/TerminalApp.vue
+9
-1
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
...er-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
+2
-0
base-manager/src/main/java/com/mortals/xhx/module/area/service/impl/AreaServiceImpl.java
...mortals/xhx/module/area/service/impl/AreaServiceImpl.java
+11
-12
base-manager/src/main/resources/config/mybatis-sqlmap-config.xml
...nager/src/main/resources/config/mybatis-sqlmap-config.xml
+3
-3
portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml
...nager/src/main/resources/config/mybatis-sqlmap-config.xml
+4
-0
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
View file @
2c4d2b76
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</
template
>
</
template
>
<!-- 类型 -->
<!-- 类型 -->
<
template
slot=
"appType"
slot-scope=
"text"
>
<
template
slot=
"appType"
slot-scope=
"text"
>
{{
text
.
appType
===
1
?
"
应用程序
"
:
"
URL
"
}}
{{
appType
[
text
.
appType
]
}}
</
template
>
</
template
>
<!-- 上下架 -->
<!-- 上下架 -->
<
template
slot=
"shelves"
slot-scope=
"text"
>
<
template
slot=
"shelves"
slot-scope=
"text"
>
...
@@ -150,6 +150,13 @@ import {
...
@@ -150,6 +150,13 @@ import {
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
import
{
mapMutations
,
mapGetters
}
from
"
vuex
"
;
import
{
mapMutations
,
mapGetters
}
from
"
vuex
"
;
import
{
pageSizeOptions
}
from
"
@/config/pageConfig.js
"
;
import
{
pageSizeOptions
}
from
"
@/config/pageConfig.js
"
;
let
appType
=
{
1
:
"
应用程序
"
,
2
:
"
URL
"
,
3
:
"
微信小程序
"
,
4
:
"
天府通办
"
,
5
:
"
Router
"
,
};
const
columns
=
[
const
columns
=
[
{
{
title
:
"
序号
"
,
title
:
"
序号
"
,
...
@@ -211,6 +218,7 @@ export default {
...
@@ -211,6 +218,7 @@ export default {
return
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
columns
,
columns
,
appType
,
siteId
:
local
.
getLocal
(
"
siteId
"
),
siteId
:
local
.
getLocal
(
"
siteId
"
),
tableData
:
[],
// 表格数据
tableData
:
[],
// 表格数据
loading
:
false
,
loading
:
false
,
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
View file @
2c4d2b76
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</
template
>
</
template
>
<!-- 类型 -->
<!-- 类型 -->
<
template
slot=
"appType"
slot-scope=
"text"
>
<
template
slot=
"appType"
slot-scope=
"text"
>
{{
text
.
appType
===
1
?
"
应用程序
"
:
"
URL
"
}}
{{
appType
[
text
.
appType
]
}}
</
template
>
</
template
>
<!-- 上下架 -->
<!-- 上下架 -->
<
template
slot=
"shelves"
slot-scope=
"text"
>
<
template
slot=
"shelves"
slot-scope=
"text"
>
...
@@ -150,6 +150,13 @@ import {
...
@@ -150,6 +150,13 @@ import {
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
import
{
mapMutations
,
mapGetters
}
from
"
vuex
"
;
import
{
mapMutations
,
mapGetters
}
from
"
vuex
"
;
import
{
pageSizeOptions
}
from
"
@/config/pageConfig.js
"
;
import
{
pageSizeOptions
}
from
"
@/config/pageConfig.js
"
;
let
appType
=
{
1
:
"
应用程序
"
,
2
:
"
URL
"
,
3
:
"
微信小程序
"
,
4
:
"
天府通办
"
,
5
:
"
Router
"
,
};
const
columns
=
[
const
columns
=
[
{
{
title
:
"
序号
"
,
title
:
"
序号
"
,
...
@@ -211,6 +218,7 @@ export default {
...
@@ -211,6 +218,7 @@ export default {
return
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
columns
,
columns
,
appType
,
siteId
:
local
.
getLocal
(
"
siteId
"
),
siteId
:
local
.
getLocal
(
"
siteId
"
),
tableData
:
[],
// 表格数据
tableData
:
[],
// 表格数据
loading
:
false
,
loading
:
false
,
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
View file @
2c4d2b76
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
<a-radio
:value=
"2"
>
URL
</a-radio>
<a-radio
:value=
"2"
>
URL
</a-radio>
<a-radio
:value=
"3"
v-if=
"form.type != 1"
>
微信小程序
</a-radio>
<a-radio
:value=
"3"
v-if=
"form.type != 1"
>
微信小程序
</a-radio>
<a-radio
:value=
"4"
v-if=
"form.type != 2"
>
天府通办
</a-radio>
<a-radio
:value=
"4"
v-if=
"form.type != 2"
>
天府通办
</a-radio>
<a-radio
:value=
"5"
>
Router
</a-radio>
</a-radio-group>
</a-radio-group>
</a-form-model-item>
</a-form-model-item>
<a-form-model-item
<a-form-model-item
...
@@ -406,6 +407,7 @@ export default {
...
@@ -406,6 +407,7 @@ export default {
// 改变类型
// 改变类型
changeAppType
(
e
)
{
changeAppType
(
e
)
{
let
val
=
e
.
target
.
value
;
let
val
=
e
.
target
.
value
;
this
.
$refs
.
form
.
clearValidate
([
"
url
"
,
"
filePath
"
]);
if
(
val
==
1
)
{
if
(
val
==
1
)
{
this
.
form
.
url
=
""
;
this
.
form
.
url
=
""
;
}
else
{
}
else
{
...
...
base-manager/src/main/java/com/mortals/xhx/module/area/service/impl/AreaServiceImpl.java
View file @
2c4d2b76
package
com.mortals.xhx.module.area.service.impl
;
package
com.mortals.xhx.module.area.service.impl
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
com.mortals.xhx.module.area.model.AreaEntity
;
import
com.mortals.xhx.module.area.model.AreaQuery
;
import
com.mortals.xhx.module.area.model.AreaTreeSelect
;
import
com.mortals.xhx.module.base.service.BaseAreaService
;
import
com.mortals.xhx.module.site.service.SiteService
;
import
org.checkerframework.checker.units.qual.A
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
com.mortals.xhx.common.code.SatusEnum
;
import
com.mortals.xhx.common.code.SatusEnum
;
import
com.mortals.xhx.module.area.dao.AreaDao
;
import
com.mortals.xhx.module.area.dao.AreaDao
;
import
com.mortals.xhx.module.area.model.AreaEntity
;
import
com.mortals.xhx.module.area.model.AreaQuery
;
import
com.mortals.xhx.module.area.model.AreaTreeSelect
;
import
com.mortals.xhx.module.area.service.AreaService
;
import
com.mortals.xhx.module.area.service.AreaService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
@@ -195,12 +194,12 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE
...
@@ -195,12 +194,12 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE
@Override
@Override
public
List
<
AreaTreeSelect
>
getListByParentId
(
String
parentId
,
Context
context
)
{
public
List
<
AreaTreeSelect
>
getListByParentId
(
String
parentId
,
Context
context
)
{
if
(
ObjectUtils
.
isEmpty
(
parentId
))
{
if
(
ObjectUtils
.
isEmpty
(
parentId
))
{
parentId
=
"
0
"
;
parentId
=
"
%0%
"
;
}
}
//只做一层
//只做一层
List
<
AreaTreeSelect
>
collect
=
this
.
find
(
new
AreaQuery
().
pid
(
parentId
),
context
).
stream
().
map
(
item
->
new
AreaTreeSelect
(
item
)
List
<
AreaTreeSelect
>
collect
=
this
.
find
(
new
AreaQuery
().
pid
(
parentId
),
context
).
stream
().
map
(
item
->
new
AreaTreeSelect
(
item
)
).
collect
(
Collectors
.
toList
());
).
collect
(
Collectors
.
toList
());
if
(
"
0
"
.
equals
(
parentId
))
{
if
(
"
%0%
"
.
equals
(
parentId
))
{
return
collect
;
return
collect
;
}
}
// AreaEntity areaEntity = this.selectOne(new AreaQuery().iid(parentId));
// AreaEntity areaEntity = this.selectOne(new AreaQuery().iid(parentId));
...
...
base-manager/src/main/resources/config/mybatis-sqlmap-config.xml
View file @
2c4d2b76
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
<property
name=
"showSql"
value=
"false"
/>
<property
name=
"showSql"
value=
"false"
/>
</plugin>
</plugin>
<!--
<plugin interceptor="com.mortals.framework.thirty.dm.DmTransInterceptor">
<plugin
interceptor=
"com.mortals.framework.thirty.dm.DmTransInterceptor"
>
<property
name=
"showSql"
value=
"false"
/>
</plugin>
-->
</plugin>
</plugins>
</plugins>
</configuration>
</configuration>
\ No newline at end of file
portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml
View file @
2c4d2b76
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<setting
name=
"useColumnLabel"
value=
"true"
/>
<setting
name=
"useColumnLabel"
value=
"true"
/>
<setting
name=
"useGeneratedKeys"
value=
"false"
/>
<setting
name=
"useGeneratedKeys"
value=
"false"
/>
<setting
name=
"defaultExecutorType"
value=
"REUSE"
/>
<setting
name=
"defaultExecutorType"
value=
"REUSE"
/>
</settings>
</settings>
<plugins>
<plugins>
<plugin
interceptor=
"com.mortals.framework.thirty.mybatis.MortalsPagePlugin"
>
<plugin
interceptor=
"com.mortals.framework.thirty.mybatis.MortalsPagePlugin"
>
...
@@ -18,5 +19,8 @@
...
@@ -18,5 +19,8 @@
<property
name=
"enableExecutorTime"
value=
"true"
/>
<property
name=
"enableExecutorTime"
value=
"true"
/>
<property
name=
"showSql"
value=
"false"
/>
<property
name=
"showSql"
value=
"false"
/>
</plugin>
</plugin>
<plugin
interceptor=
"com.mortals.framework.thirty.dm.DmTransInterceptor"
>
<property
name=
"showSql"
value=
"false"
/>
</plugin>
</plugins>
</plugins>
</configuration>
</configuration>
\ No newline at end of file
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