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
f371e2aa
Commit
f371e2aa
authored
Dec 05, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改应用列表渲染
parent
4c59864b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
48 deletions
+53
-48
base-manager-ui/admin/src/pages/basicset/appmarket/components/FieldConfig.vue
...n/src/pages/basicset/appmarket/components/FieldConfig.vue
+2
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
...n/src/pages/basicset/appmarket/components/TerminalApp.vue
+51
-48
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/FieldConfig.vue
View file @
f371e2aa
...
@@ -139,11 +139,13 @@ export default {
...
@@ -139,11 +139,13 @@ export default {
...
mapMutations
(
"
site
"
,
[
"
SET_appTemplate
"
]),
...
mapMutations
(
"
site
"
,
[
"
SET_appTemplate
"
]),
// 获取数据模板
// 获取数据模板
async
getTempleteList
()
{
async
getTempleteList
()
{
this
.
loading
=
true
;
let
res
=
await
getTempleteList
({
let
res
=
await
getTempleteList
({
page
:
this
.
current
,
page
:
this
.
current
,
size
:
this
.
size
,
size
:
this
.
size
,
appId
:
this
.
appId
,
appId
:
this
.
appId
,
});
});
this
.
loading
=
false
;
if
(
res
.
data
.
code
===
1
)
{
if
(
res
.
data
.
code
===
1
)
{
let
{
data
,
total
}
=
res
.
data
.
data
;
let
{
data
,
total
}
=
res
.
data
.
data
;
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
View file @
f371e2aa
...
@@ -106,54 +106,7 @@ import YSwitch from "../../../../components/yswitch/YSwitch.vue";
...
@@ -106,54 +106,7 @@ import YSwitch from "../../../../components/yswitch/YSwitch.vue";
import
AddApp
from
"
../modal/AddApp.vue
"
;
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
"
;
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
num
"
,
width
:
"
65px
"
,
scopedSlots
:
{
customRender
:
"
num
"
,
},
},
{
title
:
"
应用名称
"
,
dataIndex
:
"
appName
"
,
},
{
title
:
"
应用图标
"
,
scopedSlots
:
{
customRender
:
"
appIconPath
"
},
},
{
title
:
"
当前版本
"
,
dataIndex
:
"
version
"
,
},
{
title
:
"
应用主题
"
,
dataIndex
:
"
appThemeName
"
,
},
{
title
:
"
应用简介
"
,
width
:
"
20%
"
,
scopedSlots
:
{
customRender
:
"
summary
"
},
},
{
title
:
"
应用类型
"
,
scopedSlots
:
{
customRender
:
"
appType
"
},
},
{
title
:
"
下发设备
"
,
dataIndex
:
"
downDevCount
"
,
},
{
title
:
"
上架/下架
"
,
scopedSlots
:
{
customRender
:
"
shelves
"
},
},
{
title
:
"
操作
"
,
width
:
"
10%
"
,
scopedSlots
:
{
customRender
:
"
action
"
},
},
];
export
default
{
export
default
{
components
:
{
components
:
{
YSwitch
,
YSwitch
,
...
@@ -161,6 +114,56 @@ export default {
...
@@ -161,6 +114,56 @@ export default {
CheckSite
,
CheckSite
,
},
},
data
()
{
data
()
{
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
num
"
,
width
:
"
65px
"
,
scopedSlots
:
{
customRender
:
"
num
"
,
},
},
{
title
:
"
应用名称
"
,
dataIndex
:
"
appName
"
,
},
{
title
:
"
应用图标
"
,
scopedSlots
:
{
customRender
:
"
appIconPath
"
},
},
{
title
:
"
当前版本
"
,
customRender
:
(
text
)
=>
{
return
<
span
>
{
"
v
"
+
text
.
version
}
<
/span>
;
},
},
{
title
:
"
应用主题
"
,
dataIndex
:
"
appThemeName
"
,
},
{
title
:
"
应用简介
"
,
width
:
"
20%
"
,
scopedSlots
:
{
customRender
:
"
summary
"
},
},
{
title
:
"
应用类型
"
,
scopedSlots
:
{
customRender
:
"
appType
"
},
},
{
title
:
"
下发设备
"
,
dataIndex
:
"
downDevCount
"
,
},
{
title
:
"
上架/下架
"
,
scopedSlots
:
{
customRender
:
"
shelves
"
},
},
{
title
:
"
操作
"
,
width
:
"
10%
"
,
scopedSlots
:
{
customRender
:
"
action
"
},
},
];
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
"
,
""
)
...
...
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