Commit d6ce6570 authored by 季圣华's avatar 季圣华
Browse files

优化plugin界面

parent 6fddca90
......@@ -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("|")){
......
......@@ -44,17 +44,6 @@
},
confirmLoading: false,
form: this.$form.createForm(this),
validatorRules:{
name:{
rules: [
{ required: true, message: '请输入姓名!' },
]},
type:{
rules: [
{ required: true, message: '请选择类型!' }
]
}
},
}
},
created () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment