|
|
|
@ -5,7 +5,8 @@
|
|
|
|
|
:visible="visible"
|
|
|
|
|
:confirmLoading="confirmLoading"
|
|
|
|
|
@ok="handleSubmit"
|
|
|
|
|
@cancel="handleCancel">
|
|
|
|
|
@cancel="handleCancel"
|
|
|
|
|
>
|
|
|
|
|
<a-spin :spinning="confirmLoading">
|
|
|
|
|
<a-form :form="form">
|
|
|
|
|
<a-row :gutter="24">
|
|
|
|
@ -14,12 +15,15 @@
|
|
|
|
|
<a-select
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择数据库表"
|
|
|
|
|
v-decorator="['tableName', {rules: [{ required: true, message: '请选择数据库表!' }]}]">
|
|
|
|
|
v-decorator="['tableName', { rules: [{ required: true, message: '请选择数据库表!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="(item,index) in tableNameData"
|
|
|
|
|
v-for="(item, index) in tableNameData"
|
|
|
|
|
:key="index"
|
|
|
|
|
:value="item.entityName"
|
|
|
|
|
@click="tableNameSele(item)">{{ item.tableName }}</a-select-option>
|
|
|
|
|
@click="tableNameSele(item)"
|
|
|
|
|
>{{ item.tableName }}</a-select-option
|
|
|
|
|
>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -27,7 +31,8 @@
|
|
|
|
|
<a-form-item label="业务名" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入业务名"
|
|
|
|
|
v-decorator="['busName', {rules: [{required: true, message: '请输入业务名!'}]}]" />
|
|
|
|
|
v-decorator="['busName', { rules: [{ required: true, message: '请输入业务名!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<!--<a-col :md="12" :sm="24">
|
|
|
|
@ -48,12 +53,15 @@
|
|
|
|
|
<a-select
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择应用分类"
|
|
|
|
|
v-decorator="['menuApplication', {rules: [{ required: true, message: '请选择应用分类!' }]}]">
|
|
|
|
|
v-decorator="['menuApplication', { rules: [{ required: true, message: '请选择应用分类!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="(item,index) in appData"
|
|
|
|
|
v-for="(item, index) in appData"
|
|
|
|
|
:key="index"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
@click="changeApplication(item.code)">{{ item.name }}</a-select-option>
|
|
|
|
|
@click="changeApplication(item.code)"
|
|
|
|
|
>{{ item.name }}</a-select-option
|
|
|
|
|
>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -61,14 +69,14 @@
|
|
|
|
|
<div>
|
|
|
|
|
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="父级菜单" has-feedback>
|
|
|
|
|
<a-tree-select
|
|
|
|
|
v-decorator="['menuPid', {rules: [{ required: true, message: '请选择父级菜单!' }]}]"
|
|
|
|
|
v-decorator="['menuPid', { rules: [{ required: true, message: '请选择父级菜单!' }] }]"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:dropdownStyle="{ maxHeight: '300px', overflow: 'auto' }"
|
|
|
|
|
:treeData="menuTreeData"
|
|
|
|
|
placeholder="请选择父级菜单"
|
|
|
|
|
treeDefaultExpandAll>
|
|
|
|
|
<span slot="title" slot-scope="{ id }">{{ id }}
|
|
|
|
|
</span>
|
|
|
|
|
treeDefaultExpandAll
|
|
|
|
|
>
|
|
|
|
|
<span slot="title" slot-scope="{ id }">{{ id }} </span>
|
|
|
|
|
</a-tree-select>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</div>
|
|
|
|
@ -79,14 +87,16 @@
|
|
|
|
|
<a-form-item label="命名空间" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入代码包名"
|
|
|
|
|
v-decorator="['nameSpace', {rules: [{required: true, message: '请输入命名空间!'}]}]" />
|
|
|
|
|
v-decorator="['nameSpace', { rules: [{ required: true, message: '请输入命名空间!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :md="12" :sm="24">
|
|
|
|
|
<a-form-item label="作者姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入作者姓名"
|
|
|
|
|
v-decorator="['authorName', {rules: [{required: true, message: '请输入作者姓名!'}]}]" />
|
|
|
|
|
v-decorator="['authorName', { rules: [{ required: true, message: '请输入作者姓名!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -115,12 +125,16 @@
|
|
|
|
|
<a-row :gutter="24">
|
|
|
|
|
<a-col :md="12" :sm="24">
|
|
|
|
|
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="生成方式">
|
|
|
|
|
<a-radio-group v-decorator="['generateType',{rules: [{ required: true, message: '请选择生成方式!' }]}]">
|
|
|
|
|
<a-radio-group
|
|
|
|
|
v-decorator="['generateType', { rules: [{ required: true, message: '请选择生成方式!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-radio
|
|
|
|
|
v-for="(item,index) in generateTypeData"
|
|
|
|
|
v-for="(item, index) in generateTypeData"
|
|
|
|
|
:key="index"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
@click="generateTypeRadio(item.code)">{{ item.name }}</a-radio>
|
|
|
|
|
@click="generateTypeRadio(item.code)"
|
|
|
|
|
>{{ item.name }}</a-radio
|
|
|
|
|
>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -131,121 +145,113 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
getAppList
|
|
|
|
|
} from '@/api/modular/system/appManage'
|
|
|
|
|
import {
|
|
|
|
|
getMenuTree
|
|
|
|
|
} from '@/api/modular/system/menuManage'
|
|
|
|
|
import {
|
|
|
|
|
codeGenerateInformationList,
|
|
|
|
|
codeGenerateAdd
|
|
|
|
|
} from '@/api/modular/gen/codeGenerateManage'
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
labelCol: {
|
|
|
|
|
xs: {
|
|
|
|
|
span: 24
|
|
|
|
|
},
|
|
|
|
|
sm: {
|
|
|
|
|
span: 5
|
|
|
|
|
}
|
|
|
|
|
import { getAppList } from '@/api/modular/system/appManage'
|
|
|
|
|
import { getMenuTree } from '@/api/modular/system/menuManage'
|
|
|
|
|
import { codeGenerateInformationList, codeGenerateAdd } from '@/api/modular/gen/codeGenerateManage'
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
labelCol: {
|
|
|
|
|
xs: {
|
|
|
|
|
span: 24
|
|
|
|
|
},
|
|
|
|
|
wrapperCol: {
|
|
|
|
|
xs: {
|
|
|
|
|
span: 24
|
|
|
|
|
},
|
|
|
|
|
sm: {
|
|
|
|
|
span: 15
|
|
|
|
|
}
|
|
|
|
|
sm: {
|
|
|
|
|
span: 5
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
wrapperCol: {
|
|
|
|
|
xs: {
|
|
|
|
|
span: 24
|
|
|
|
|
},
|
|
|
|
|
visible: false,
|
|
|
|
|
appData: [],
|
|
|
|
|
menuTreeData: [],
|
|
|
|
|
tableNameData: [],
|
|
|
|
|
// tablePrefixData: [],
|
|
|
|
|
generateTypeData: [],
|
|
|
|
|
confirmLoading: false,
|
|
|
|
|
// tablePrefixValue: 'N',
|
|
|
|
|
tableNameValue: '',
|
|
|
|
|
form: this.$form.createForm(this)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 初始化方法
|
|
|
|
|
add() {
|
|
|
|
|
this.visible = true
|
|
|
|
|
this.codeGenerateInformationList()
|
|
|
|
|
this.dataTypeItem()
|
|
|
|
|
this.selectedByDefault()
|
|
|
|
|
|
|
|
|
|
// 获取系统应用列表
|
|
|
|
|
this.getSysApplist()
|
|
|
|
|
sm: {
|
|
|
|
|
span: 15
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 默认选中项
|
|
|
|
|
*/
|
|
|
|
|
selectedByDefault() {
|
|
|
|
|
this.form.getFieldDecorator('nameSpace', {
|
|
|
|
|
initialValue: 'Myshipping.Application'
|
|
|
|
|
})
|
|
|
|
|
// this.form.getFieldDecorator('tablePrefix', { valuePropName: 'checked', initialValue: 'N' })
|
|
|
|
|
this.form.getFieldDecorator('generateType', {
|
|
|
|
|
valuePropName: 'checked',
|
|
|
|
|
initialValue: '2'
|
|
|
|
|
})
|
|
|
|
|
this.form.getFieldDecorator('authorName', {
|
|
|
|
|
initialValue: 'Myshipping'
|
|
|
|
|
})
|
|
|
|
|
visible: false,
|
|
|
|
|
appData: [],
|
|
|
|
|
menuTreeData: [],
|
|
|
|
|
tableNameData: [],
|
|
|
|
|
// tablePrefixData: [],
|
|
|
|
|
generateTypeData: [],
|
|
|
|
|
confirmLoading: false,
|
|
|
|
|
// tablePrefixValue: 'N',
|
|
|
|
|
tableNameValue: '',
|
|
|
|
|
form: this.$form.createForm(this)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 初始化方法
|
|
|
|
|
add() {
|
|
|
|
|
this.visible = true
|
|
|
|
|
this.codeGenerateInformationList()
|
|
|
|
|
this.dataTypeItem()
|
|
|
|
|
this.selectedByDefault()
|
|
|
|
|
|
|
|
|
|
// 初始化菜单默认选择
|
|
|
|
|
this.form.getFieldDecorator('menuApplication', {
|
|
|
|
|
initialValue: 'busiapp'
|
|
|
|
|
})
|
|
|
|
|
this.changeApplication('busiapp')
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获得所有数据库的表
|
|
|
|
|
*/
|
|
|
|
|
codeGenerateInformationList() {
|
|
|
|
|
codeGenerateInformationList().then((res) => {
|
|
|
|
|
this.tableNameData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获得菜单所属应用
|
|
|
|
|
*/
|
|
|
|
|
getSysApplist() {
|
|
|
|
|
return getAppList().then((res) => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.appData = res.data
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获取字典数据
|
|
|
|
|
*/
|
|
|
|
|
dataTypeItem() {
|
|
|
|
|
this.tablePrefixData = this.$options.filters['dictData']('yes_or_no')
|
|
|
|
|
this.generateTypeData = this.$options.filters['dictData']('code_gen_create_type')
|
|
|
|
|
this.generateTypeData.splice(0, 1) // 默认去掉从压缩包下载
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 提交表单
|
|
|
|
|
*/
|
|
|
|
|
handleSubmit() {
|
|
|
|
|
const {
|
|
|
|
|
form: {
|
|
|
|
|
validateFields
|
|
|
|
|
}
|
|
|
|
|
} = this
|
|
|
|
|
validateFields((errors, values) => {
|
|
|
|
|
if (!errors) {
|
|
|
|
|
this.confirmLoading = true
|
|
|
|
|
codeGenerateAdd(values).then((res) => {
|
|
|
|
|
// 获取系统应用列表
|
|
|
|
|
this.getSysApplist()
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 默认选中项
|
|
|
|
|
*/
|
|
|
|
|
selectedByDefault() {
|
|
|
|
|
this.form.getFieldDecorator('nameSpace', {
|
|
|
|
|
initialValue: 'Myshipping.Application'
|
|
|
|
|
})
|
|
|
|
|
// this.form.getFieldDecorator('tablePrefix', { valuePropName: 'checked', initialValue: 'N' })
|
|
|
|
|
this.form.getFieldDecorator('generateType', {
|
|
|
|
|
valuePropName: 'checked',
|
|
|
|
|
initialValue: '2'
|
|
|
|
|
})
|
|
|
|
|
this.form.getFieldDecorator('authorName', {
|
|
|
|
|
initialValue: 'Myshipping'
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// 初始化菜单默认选择
|
|
|
|
|
this.form.getFieldDecorator('menuApplication', {
|
|
|
|
|
initialValue: 'busiapp'
|
|
|
|
|
})
|
|
|
|
|
this.changeApplication('busiapp')
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获得所有数据库的表
|
|
|
|
|
*/
|
|
|
|
|
codeGenerateInformationList() {
|
|
|
|
|
codeGenerateInformationList().then(res => {
|
|
|
|
|
this.tableNameData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获得菜单所属应用
|
|
|
|
|
*/
|
|
|
|
|
getSysApplist() {
|
|
|
|
|
return getAppList().then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.appData = res.data
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获取字典数据
|
|
|
|
|
*/
|
|
|
|
|
dataTypeItem() {
|
|
|
|
|
this.tablePrefixData = this.$options.filters['dictData']('yes_or_no')
|
|
|
|
|
this.generateTypeData = this.$options.filters['dictData']('code_gen_create_type')
|
|
|
|
|
this.generateTypeData.splice(0, 1) // 默认去掉从压缩包下载
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 提交表单
|
|
|
|
|
*/
|
|
|
|
|
handleSubmit() {
|
|
|
|
|
const {
|
|
|
|
|
form: { validateFields }
|
|
|
|
|
} = this
|
|
|
|
|
validateFields((errors, values) => {
|
|
|
|
|
if (!errors) {
|
|
|
|
|
this.confirmLoading = true
|
|
|
|
|
codeGenerateAdd(values)
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.$message.success('新增成功')
|
|
|
|
|
this.$emit('ok', values)
|
|
|
|
@ -253,85 +259,88 @@
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error('新增失败:' + res.message)
|
|
|
|
|
}
|
|
|
|
|
}).finally((res) => {
|
|
|
|
|
this.confirmLoading = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleCancel() {
|
|
|
|
|
this.form.resetFields()
|
|
|
|
|
this.visible = false
|
|
|
|
|
// 清空他们三个
|
|
|
|
|
this.form.getFieldDecorator('className', {
|
|
|
|
|
initialValue: ''
|
|
|
|
|
})
|
|
|
|
|
this.form.getFieldDecorator('busName', {
|
|
|
|
|
initialValue: ''
|
|
|
|
|
})
|
|
|
|
|
// this.form.getFieldDecorator('tableComment', { initialValue: '' })
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 选择数据库列表
|
|
|
|
|
*/
|
|
|
|
|
tableNameSele(item) {
|
|
|
|
|
this.tableNameValue = item.tableName
|
|
|
|
|
// this.form.getFieldDecorator('tableComment', { initialValue: item.tableComment })
|
|
|
|
|
this.form.getFieldDecorator('busName', {
|
|
|
|
|
initialValue: item.tableComment
|
|
|
|
|
})
|
|
|
|
|
// this.settingDefaultValue()
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 菜单所属应用change事件
|
|
|
|
|
*/
|
|
|
|
|
changeApplication(value) {
|
|
|
|
|
getMenuTree({
|
|
|
|
|
'application': value
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.menuTreeData = [{
|
|
|
|
|
'id': '-1',
|
|
|
|
|
'parentId': '0',
|
|
|
|
|
'title': '顶级',
|
|
|
|
|
'value': '0',
|
|
|
|
|
'pid': '0',
|
|
|
|
|
'children': res.data
|
|
|
|
|
}]
|
|
|
|
|
this.form.getFieldDecorator('menuPid', {
|
|
|
|
|
initialValue: '0'
|
|
|
|
|
.finally(res => {
|
|
|
|
|
this.confirmLoading = false
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// /**
|
|
|
|
|
// * 选择是否移除前缀触发
|
|
|
|
|
// */
|
|
|
|
|
// tablePrefixRadio (tablePrefixType) {
|
|
|
|
|
// this.tablePrefixValue = tablePrefixType
|
|
|
|
|
// this.settingDefaultValue()
|
|
|
|
|
// },
|
|
|
|
|
/**
|
|
|
|
|
* 设置默认值
|
|
|
|
|
*/
|
|
|
|
|
settingDefaultValue() {
|
|
|
|
|
// const tableName = this.classNameToHump()
|
|
|
|
|
// this.form.getFieldDecorator('className', { initialValue: tableName })
|
|
|
|
|
// this.form.getFieldDecorator('busName', { initialValue: tableName + "业务"})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 选择生成方式
|
|
|
|
|
*/
|
|
|
|
|
generateTypeRadio(generateType) {
|
|
|
|
|
// if (generateType === '1') {
|
|
|
|
|
// this.packageNameShow = true
|
|
|
|
|
// } else {
|
|
|
|
|
// this.packageNameShow = false
|
|
|
|
|
// this.form.setFieldsValue({ nameSpace: 'Dilon.Application' })
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleCancel() {
|
|
|
|
|
this.form.resetFields()
|
|
|
|
|
this.visible = false
|
|
|
|
|
// 清空他们三个
|
|
|
|
|
this.form.getFieldDecorator('className', {
|
|
|
|
|
initialValue: ''
|
|
|
|
|
})
|
|
|
|
|
this.form.getFieldDecorator('busName', {
|
|
|
|
|
initialValue: ''
|
|
|
|
|
})
|
|
|
|
|
// this.form.getFieldDecorator('tableComment', { initialValue: '' })
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 选择数据库列表
|
|
|
|
|
*/
|
|
|
|
|
tableNameSele(item) {
|
|
|
|
|
this.tableNameValue = item.tableName
|
|
|
|
|
// this.form.getFieldDecorator('tableComment', { initialValue: item.tableComment })
|
|
|
|
|
this.form.getFieldDecorator('busName', {
|
|
|
|
|
initialValue: item.tableComment
|
|
|
|
|
})
|
|
|
|
|
// this.settingDefaultValue()
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 菜单所属应用change事件
|
|
|
|
|
*/
|
|
|
|
|
changeApplication(value) {
|
|
|
|
|
getMenuTree({
|
|
|
|
|
application: value
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.menuTreeData = [
|
|
|
|
|
{
|
|
|
|
|
id: '-1',
|
|
|
|
|
parentId: '0',
|
|
|
|
|
title: '顶级',
|
|
|
|
|
value: '0',
|
|
|
|
|
pid: '0',
|
|
|
|
|
children: res.data
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
this.form.getFieldDecorator('menuPid', {
|
|
|
|
|
initialValue: '0'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// /**
|
|
|
|
|
// * 选择是否移除前缀触发
|
|
|
|
|
// */
|
|
|
|
|
// tablePrefixRadio (tablePrefixType) {
|
|
|
|
|
// this.tablePrefixValue = tablePrefixType
|
|
|
|
|
// this.settingDefaultValue()
|
|
|
|
|
// },
|
|
|
|
|
/**
|
|
|
|
|
* 设置默认值
|
|
|
|
|
*/
|
|
|
|
|
settingDefaultValue() {
|
|
|
|
|
// const tableName = this.classNameToHump()
|
|
|
|
|
// this.form.getFieldDecorator('className', { initialValue: tableName })
|
|
|
|
|
// this.form.getFieldDecorator('busName', { initialValue: tableName + "业务"})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 选择生成方式
|
|
|
|
|
*/
|
|
|
|
|
generateTypeRadio(generateType) {
|
|
|
|
|
// if (generateType === '1') {
|
|
|
|
|
// this.packageNameShow = true
|
|
|
|
|
// } else {
|
|
|
|
|
// this.packageNameShow = false
|
|
|
|
|
// this.form.setFieldsValue({ nameSpace: 'Dilon.Application' })
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|