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
6d9f2c01
Commit
6d9f2c01
authored
Dec 27, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改翻页和应用集市
parent
aa232724
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
143 additions
and
99 deletions
+143
-99
base-manager-ui/admin/src/layouts/Layouts.vue
base-manager-ui/admin/src/layouts/Layouts.vue
+6
-1
base-manager-ui/admin/src/pages/basicset/appmarket/AppMarket.vue
...nager-ui/admin/src/pages/basicset/appmarket/AppMarket.vue
+12
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/AppDetailsPage.vue
...rc/pages/basicset/appmarket/components/AppDetailsPage.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
...in/src/pages/basicset/appmarket/components/DataUpdate.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/FieldConfig.vue
...n/src/pages/basicset/appmarket/components/FieldConfig.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
...n/src/pages/basicset/appmarket/components/TerminalApp.vue
+62
-52
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs1.vue
.../src/pages/basicset/business/components/businessTabs1.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs2.vue
.../src/pages/basicset/business/components/businessTabs2.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs3.vue
.../src/pages/basicset/business/components/businessTabs3.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/deploy/deploy.vue
base-manager-ui/admin/src/pages/basicset/deploy/deploy.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/dept/Index.vue
base-manager-ui/admin/src/pages/basicset/dept/Index.vue
+1
-6
base-manager-ui/admin/src/pages/basicset/dept/addWindowMatter.vue
...ager-ui/admin/src/pages/basicset/dept/addWindowMatter.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/dept/department.vue
base-manager-ui/admin/src/pages/basicset/dept/department.vue
+46
-39
base-manager-ui/admin/src/pages/basicset/holiday/festival.vue
...-manager-ui/admin/src/pages/basicset/holiday/festival.vue
+1
-0
base-manager-ui/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
...i/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/workman/personnel.vue
...manager-ui/admin/src/pages/basicset/workman/personnel.vue
+1
-0
base-manager-ui/admin/src/router/config.js
base-manager-ui/admin/src/router/config.js
+1
-1
No files found.
base-manager-ui/admin/src/layouts/Layouts.vue
View file @
6d9f2c01
...
@@ -30,7 +30,12 @@
...
@@ -30,7 +30,12 @@
</a-layout-sider>
</a-layout-sider>
<a-layout
class=
"main"
style=
"padding: 0 24px 24px"
>
<a-layout
class=
"main"
style=
"padding: 0 24px 24px"
>
<a-layout-content>
<a-layout-content>
<router-view></router-view>
<keep-alive>
<!-- 需要缓存的视图组件 -->
<router-view
v-if=
"$route.meta.keepAlive"
>
</router-view>
</keep-alive>
<!-- 不需要缓存的视图组件 -->
<router-view
v-if=
"!$route.meta.keepAlive"
>
</router-view>
</a-layout-content>
</a-layout-content>
</a-layout>
</a-layout>
</a-layout>
</a-layout>
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/AppMarket.vue
View file @
6d9f2c01
...
@@ -20,6 +20,18 @@ export default {
...
@@ -20,6 +20,18 @@ export default {
TerminalApp
,
TerminalApp
,
MoveApp
,
MoveApp
,
},
},
data
()
{
return
{};
},
// 进入路有前
beforeRouteEnter
(
to
,
from
,
text
)
{
if
(
from
.
path
===
"
/appmarket/appdetails
"
)
{
to
.
meta
.
isBack
=
true
;
}
else
{
to
.
meta
.
isBack
=
false
;
}
text
();
},
};
};
</
script
>
</
script
>
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/AppDetailsPage.vue
View file @
6d9f2c01
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: current,
current: current,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
size: 'small',
size: 'small',
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
View file @
6d9f2c01
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: current,
current: current,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/FieldConfig.vue
View file @
6d9f2c01
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: current,
current: current,
total: total,
total: total,
defaultPageSize: 1000,
onChange: handleChange,
onChange: handleChange,
onShowSizeChange: showSizeChange,
onShowSizeChange: showSizeChange,
}"
}"
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
View file @
6d9f2c01
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: current,
current: current,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
@@ -56,6 +57,10 @@
...
@@ -56,6 +57,10 @@
<
template
slot=
"summary"
slot-scope=
"text"
>
<
template
slot=
"summary"
slot-scope=
"text"
>
{{
text
.
summary
?
text
.
summary
:
"
--
"
}}
{{
text
.
summary
?
text
.
summary
:
"
--
"
}}
</
template
>
</
template
>
<!-- 简介 -->
<
template
slot=
"version"
slot-scope=
"text"
>
{{
text
.
version
?
"
v
"
+
text
.
version
:
"
--
"
}}
</
template
>
<!-- 类型 -->
<!-- 类型 -->
<
template
slot=
"appType"
slot-scope=
"text"
>
<
template
slot=
"appType"
slot-scope=
"text"
>
{{
text
.
appType
===
1
?
"
应用程序
"
:
"
URL
"
}}
{{
text
.
appType
===
1
?
"
应用程序
"
:
"
URL
"
}}
...
@@ -107,14 +112,7 @@ import AddApp from "../modal/AddApp.vue";
...
@@ -107,14 +112,7 @@ import AddApp from "../modal/AddApp.vue";
import
CheckSite
from
"
../modal/CheckSite.vue
"
;
import
CheckSite
from
"
../modal/CheckSite.vue
"
;
import
{
getAppList
,
deleteApp
,
saveApp
}
from
"
@/services/market
"
;
import
{
getAppList
,
deleteApp
,
saveApp
}
from
"
@/services/market
"
;
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
export
default
{
const
columns
=
[
components
:
{
YSwitch
,
AddApp
,
CheckSite
,
},
data
()
{
const
columns
=
[
{
{
title
:
"
序号
"
,
title
:
"
序号
"
,
dataIndex
:
"
num
"
,
dataIndex
:
"
num
"
,
...
@@ -133,9 +131,7 @@ export default {
...
@@ -133,9 +131,7 @@ export default {
},
},
{
{
title
:
"
当前版本
"
,
title
:
"
当前版本
"
,
customRender
:
(
text
)
=>
{
scopedSlots
:
{
customRender
:
"
version
"
},
return
<
span
>
{
"
v
"
+
text
.
version
}
<
/span>
;
},
},
},
{
{
title
:
"
应用主题
"
,
title
:
"
应用主题
"
,
...
@@ -163,7 +159,14 @@ export default {
...
@@ -163,7 +159,14 @@ export default {
width
:
"
10%
"
,
width
:
"
10%
"
,
scopedSlots
:
{
customRender
:
"
action
"
},
scopedSlots
:
{
customRender
:
"
action
"
},
},
},
];
];
export
default
{
components
:
{
YSwitch
,
AddApp
,
CheckSite
,
},
data
()
{
return
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
.
includes
(
"
base
"
)
api
:
process
.
env
.
VUE_APP_API_BASE_URL
.
includes
(
"
base
"
)
?
process
.
env
.
VUE_APP_API_BASE_URL
.
replace
(
"
base
"
,
""
)
?
process
.
env
.
VUE_APP_API_BASE_URL
.
replace
(
"
base
"
,
""
)
...
@@ -183,9 +186,16 @@ export default {
...
@@ -183,9 +186,16 @@ export default {
siteVisible
:
false
,
siteVisible
:
false
,
};
};
},
},
created
()
{
// 详情页返回不刷新数据
activated
()
{
if
(
!
this
.
$route
.
meta
.
isBack
)
{
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
this
.
getAppList
();
this
.
getAppList
();
}
else
{
this
.
$route
.
meta
.
isBack
=
false
;
}
},
},
created
()
{},
methods
:
{
methods
:
{
// 获取应用列表
// 获取应用列表
async
getAppList
()
{
async
getAppList
()
{
...
...
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs1.vue
View file @
6d9f2c01
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: leftCurrent,
current: leftCurrent,
total: leftTotal,
total: leftTotal,
pageSize: leftSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
@@ -97,6 +98,7 @@
...
@@ -97,6 +98,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: rightCurrent,
current: rightCurrent,
total: rightTotal,
total: rightTotal,
pageSize: rightSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs2.vue
View file @
6d9f2c01
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: leftCurrent,
current: leftCurrent,
total: leftTotal,
total: leftTotal,
pageSize: leftSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
defaultPageSize: leftSize,
defaultPageSize: leftSize,
...
@@ -117,6 +118,7 @@
...
@@ -117,6 +118,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: rightCurrent,
current: rightCurrent,
total: rightTotal,
total: rightTotal,
pageSize: rightSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs3.vue
View file @
6d9f2c01
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: leftCurrent,
current: leftCurrent,
total: leftTotal,
total: leftTotal,
pageSize: leftSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
@@ -85,6 +86,7 @@
...
@@ -85,6 +86,7 @@
:pagination=
"{
:pagination=
"{
current: rightCurrent,
current: rightCurrent,
total: rightTotal,
total: rightTotal,
pageSize: rightSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/deploy/deploy.vue
View file @
6d9f2c01
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: current,
current: current,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/dept/Index.vue
View file @
6d9f2c01
<
template
>
<
template
>
<div
class=
"index"
>
<div
class=
"index"
>
<keep-alive>
<router-view>
</router-view>
<!-- 需要缓存的视图组件 -->
<router-view
v-if=
"$route.meta.keepAlive"
>
</router-view>
</keep-alive>
<!-- 不需要缓存的视图组件 -->
<router-view
v-if=
"!$route.meta.keepAlive"
>
</router-view>
</div>
</div>
</
template
>
</
template
>
...
...
base-manager-ui/admin/src/pages/basicset/dept/addWindowMatter.vue
View file @
6d9f2c01
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: Current,
current: Current,
total: total,
total: total,
pageSize: size,
size: 'middle',
size: 'middle',
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
...
...
base-manager-ui/admin/src/pages/basicset/dept/department.vue
View file @
6d9f2c01
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
</div>
</div>
<!-- 部门管理 -->
<!-- 部门管理 -->
<div
class=
"department-list"
>
<div
class=
"department-list"
>
<a-spin
:spinning=
"deptLoading"
>
<div
v-if=
"department.length"
>
<div
v-if=
"department.length"
>
<div
<div
:class=
"
{ department_off: true, active: active === i }"
:class=
"
{ department_off: true, active: active === i }"
...
@@ -64,6 +65,7 @@
...
@@ -64,6 +65,7 @@
</div>
</div>
</div>
</div>
<a-empty
style=
"margin-top: 20px"
:image=
"simpleImage"
v-else
/>
<a-empty
style=
"margin-top: 20px"
:image=
"simpleImage"
v-else
/>
</a-spin>
</div>
</div>
</div>
</div>
...
@@ -97,6 +99,7 @@
...
@@ -97,6 +99,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: page,
current: page,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
@@ -309,6 +312,7 @@ export default {
...
@@ -309,6 +312,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
deptLoading
:
false
,
simpleImage
:
Empty
.
PRESENTED_IMAGE_SIMPLE
,
simpleImage
:
Empty
.
PRESENTED_IMAGE_SIMPLE
,
title
:
"
新增部门
"
,
title
:
"
新增部门
"
,
WindowTitle
:
"
新增窗口
"
,
WindowTitle
:
"
新增窗口
"
,
...
@@ -377,6 +381,7 @@ export default {
...
@@ -377,6 +381,7 @@ export default {
// 新增事项页面返回不刷新页面
// 新增事项页面返回不刷新页面
activated
()
{
activated
()
{
if
(
!
this
.
$route
.
meta
.
isBack
)
{
if
(
!
this
.
$route
.
meta
.
isBack
)
{
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
this
.
getDeptListData
();
this
.
getDeptListData
();
this
.
getBusinessData
();
this
.
getBusinessData
();
this
.
getWindowListData
();
this
.
getWindowListData
();
...
@@ -399,12 +404,14 @@ export default {
...
@@ -399,12 +404,14 @@ export default {
},
},
// 获取部门列表
// 获取部门列表
async
getDeptListData
(
obj
=
{})
{
async
getDeptListData
(
obj
=
{})
{
this
.
deptLoading
=
true
;
let
res
=
await
getDeptList
({
let
res
=
await
getDeptList
({
siteId
:
this
.
siteId
,
siteId
:
this
.
siteId
,
page
:
1
,
page
:
1
,
size
:
-
1
,
size
:
-
1
,
...
obj
,
...
obj
,
});
});
this
.
deptLoading
=
false
;
let
{
code
,
data
}
=
res
.
data
;
let
{
code
,
data
}
=
res
.
data
;
if
(
code
===
1
)
{
if
(
code
===
1
)
{
this
.
department
=
data
.
data
;
this
.
department
=
data
.
data
;
...
...
base-manager-ui/admin/src/pages/basicset/holiday/festival.vue
View file @
6d9f2c01
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: page,
current: page,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/surface/AddSurfaceTemplate.vue
View file @
6d9f2c01
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: leftCurrent,
current: leftCurrent,
total: leftTotal,
total: leftTotal,
pageSize: leftSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
@@ -133,6 +134,7 @@
...
@@ -133,6 +134,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: rightCurrent,
current: rightCurrent,
total: rightTotal,
total: rightTotal,
pageSize: rightSize,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/pages/basicset/workman/personnel.vue
View file @
6d9f2c01
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
showTotal: (total) => `共 ${total} 条`,
showTotal: (total) => `共 ${total} 条`,
current: page,
current: page,
total: total,
total: total,
pageSize: size,
showSizeChanger: true,
showSizeChanger: true,
showQuickJumper: true,
showQuickJumper: true,
pageSizeOptions: pageSizeOptions,
pageSizeOptions: pageSizeOptions,
...
...
base-manager-ui/admin/src/router/config.js
View file @
6d9f2c01
...
@@ -144,7 +144,7 @@ const options = {
...
@@ -144,7 +144,7 @@ const options = {
path
:
""
,
path
:
""
,
name
:
"
应用集市
"
,
name
:
"
应用集市
"
,
component
:
()
=>
import
(
"
@/pages/basicset/appmarket/AppMarket
"
),
component
:
()
=>
import
(
"
@/pages/basicset/appmarket/AppMarket
"
),
meta
:
{
invisible
:
true
},
meta
:
{
invisible
:
true
,
keepAlive
:
true
},
},
},
{
{
path
:
"
appdetails
"
,
path
:
"
appdetails
"
,
...
...
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