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
ac3ef80b
Commit
ac3ef80b
authored
Aug 22, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 移动端应用列表添加数据克隆
parent
de08eadc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
...admin/src/pages/basicset/appmarket/components/MoveApp.vue
+14
-1
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
...r-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
+1
-0
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
View file @
ac3ef80b
...
@@ -91,6 +91,9 @@
...
@@ -91,6 +91,9 @@
<!-- 操作 -->
<!-- 操作 -->
<
template
slot=
"action"
slot-scope=
"text"
>
<
template
slot=
"action"
slot-scope=
"text"
>
<a-space
size=
"middle"
>
<a-space
size=
"middle"
>
<span
class=
"primary pointer"
@
click=
"handleCloneAppData(text)"
>
克隆数据
</span
>
<span
class=
"primary pointer"
@
click=
"handleEdit(text)"
>
编辑
</span>
<span
class=
"primary pointer"
@
click=
"handleEdit(text)"
>
编辑
</span>
<span
class=
"primary pointer"
@
click=
"handleCheck(text.id)"
<span
class=
"primary pointer"
@
click=
"handleCheck(text.id)"
>
查看
</span
>
查看
</span
...
@@ -127,6 +130,8 @@
...
@@ -127,6 +130,8 @@
:appList=
"selectedAppList"
:appList=
"selectedAppList"
@
edit=
"cloneSuccess"
@
edit=
"cloneSuccess"
></ChangeThem>
></ChangeThem>
<!-- 克隆应用数据 -->
<CloneData
ref=
"CloneData"
:show.sync=
"show"
></CloneData>
</div>
</div>
</template>
</template>
...
@@ -135,6 +140,7 @@ import YSwitch from "../../../../components/yswitch/YSwitch.vue";
...
@@ -135,6 +140,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
ChangeThem
from
"
../modal/ChangeThem.vue
"
;
import
ChangeThem
from
"
../modal/ChangeThem.vue
"
;
import
CloneData
from
"
../modal/CloneData.vue
"
;
import
{
import
{
getAppList
,
getAppList
,
deleteApp
,
deleteApp
,
...
@@ -189,7 +195,7 @@ const columns = [
...
@@ -189,7 +195,7 @@ const columns = [
},
},
{
{
title
:
"
操作
"
,
title
:
"
操作
"
,
width
:
"
15
0px
"
,
width
:
"
24
0px
"
,
scopedSlots
:
{
customRender
:
"
action
"
},
scopedSlots
:
{
customRender
:
"
action
"
},
},
},
];
];
...
@@ -199,6 +205,7 @@ export default {
...
@@ -199,6 +205,7 @@ export default {
AddApp
,
AddApp
,
CheckSite
,
CheckSite
,
ChangeThem
,
ChangeThem
,
CloneData
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -218,6 +225,7 @@ export default {
...
@@ -218,6 +225,7 @@ export default {
title
:
"
新增应用
"
,
title
:
"
新增应用
"
,
siteVisible
:
false
,
siteVisible
:
false
,
themVisible
:
false
,
themVisible
:
false
,
show
:
false
,
dict
:
{},
// 字典
dict
:
{},
// 字典
categoryList
:
[],
// 应用分类列表
categoryList
:
[],
// 应用分类列表
};
};
...
@@ -397,6 +405,11 @@ export default {
...
@@ -397,6 +405,11 @@ export default {
this
.
selectedRowKeys
=
[];
this
.
selectedRowKeys
=
[];
this
.
getAppList
();
this
.
getAppList
();
},
},
// 克隆数据
handleCloneAppData
(
row
)
{
this
.
$refs
.
CloneData
.
onAdd
(
row
);
this
.
show
=
true
;
},
// 上下架
// 上下架
async
changeShelves
(
row
)
{
async
changeShelves
(
row
)
{
let
res
=
await
saveApp
(
row
);
let
res
=
await
saveApp
(
row
);
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
View file @
ac3ef80b
...
@@ -598,6 +598,7 @@ export default {
...
@@ -598,6 +598,7 @@ export default {
padding-bottom: 30px;
padding-bottom: 30px;
.content-box {
.content-box {
min-height: 500px;
min-height: 500px;
margin-bottom: 24px;
display: flex;
display: flex;
}
}
}
}
...
...
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