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
beb76636
You need to sign in or sign up before continuing.
Commit
beb76636
authored
2 years ago
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:添加移动应用时添加微信小程序选项
parent
4a3e39cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
...er-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
+11
-2
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddApp.vue
View file @
beb76636
...
...
@@ -82,9 +82,10 @@
</a-button>
-->
</a-form-model-item>
<a-form-model-item
label=
"应用类型"
prop=
"appType"
>
<a-radio-group
v-model=
"form.appType"
>
<a-radio-group
v-model=
"form.appType"
@
change=
"changeAppType"
>
<a-radio
:value=
"1"
>
应用程序
</a-radio>
<a-radio
:value=
"2"
>
URL
</a-radio>
<a-radio
:value=
"3"
v-if=
"form.type != 1"
>
微信小程序
</a-radio>
</a-radio-group>
</a-form-model-item>
<a-form-model-item
...
...
@@ -200,7 +201,7 @@ export default {
appIconPath
:
""
,
// 应用图标
appThemeName
:
undefined
,
// 应用主题名称
type
:
""
,
// 类型(1.终端应用,2.移动端应用)
appType
:
1
,
// 类型(1.应用程序,2.url)
appType
:
1
,
// 类型(1.应用程序,2.url
,3.微信小程序
)
shelves
:
0
,
fileName
:
""
,
// 文件名称
filePath
:
""
,
// 文件相对路径地址
...
...
@@ -250,6 +251,7 @@ export default {
],
},
fileList
:
[],
beFrom
:
""
,
// 来自终端还是移动端
};
},
computed
:
{
...
...
@@ -351,6 +353,13 @@ export default {
changeSite
(
value
,
label
)
{
this
.
form
.
siteName
=
label
[
0
];
},
// 改变类型
changeAppType
(
e
)
{
let
val
=
e
.
target
.
value
;
if
(
val
==
1
)
{
this
.
form
.
url
=
""
;
}
},
},
};
</
script
>
...
...
This diff is collapsed.
Click to expand it.
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