Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
d6ce6570
Commit
d6ce6570
authored
Jul 26, 2022
by
季圣华
Browse files
优化plugin界面
parent
6fddca90
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/PluginList.vue
View file @
d6ce6570
...
...
@@ -17,6 +17,7 @@
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 8px"
@
click=
"writeCode"
>
填写激活码
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 8px"
@
click=
"writeAppCode"
>
填写手机端激活码
</a-button>
</a-col>
</span>
</a-row>
...
...
@@ -73,6 +74,7 @@
<!-- table区域-end -->
<!-- 表单区域 -->
<plugin-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></plugin-modal>
<plugin-app-modal
ref=
"appModalForm"
@
ok=
"appModalFormOk"
></plugin-app-modal>
</a-card>
</a-col>
</a-row>
...
...
@@ -80,6 +82,7 @@
<!-- f r o m 7 5 2 7 1 8 9 2 0 -->
<
script
>
import
PluginModal
from
'
./modules/PluginModal
'
import
PluginAppModal
from
'
./modules/PluginAppModal
'
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
import
{
postAction
}
from
'
@/api/manage
'
;
import
JDate
from
'
@/components/jeecg/JDate
'
...
...
@@ -89,6 +92,7 @@
mixins
:[
JeecgListMixin
],
components
:
{
PluginModal
,
PluginAppModal
,
JDate
},
data
()
{
...
...
@@ -192,6 +196,11 @@
this
.
$refs
.
modalForm
.
title
=
"
填写激活码
"
;
this
.
$refs
.
modalForm
.
disableSubmit
=
false
;
},
writeAppCode
()
{
this
.
$refs
.
appModalForm
.
edit
();
this
.
$refs
.
appModalForm
.
title
=
"
填写手机端激活码
"
;
this
.
$refs
.
appModalForm
.
disableSubmit
=
false
;
},
linkUrl
(
record
)
{
let
desc
=
record
.
pluginDescriptor
.
pluginDescription
if
(
desc
.
indexOf
(
"
|
"
)){
...
...
jshERP-web/src/views/system/modules/PluginModal.vue
View file @
d6ce6570
...
...
@@ -44,17 +44,6 @@
},
confirmLoading
:
false
,
form
:
this
.
$form
.
createForm
(
this
),
validatorRules
:{
name
:{
rules
:
[
{
required
:
true
,
message
:
'
请输入姓名!
'
},
]},
type
:{
rules
:
[
{
required
:
true
,
message
:
'
请选择类型!
'
}
]
}
},
}
},
created
()
{
...
...
Write
Preview
Supports
Markdown
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