Changes
parent
85ea300562
commit
60102643ae
|
@ -32,7 +32,6 @@
|
|||
</el-form>
|
||||
|
||||
|
||||
|
||||
{{ rule.name }}
|
||||
<el-descriptions class="margin-top" :column="3" border>
|
||||
<template slot="extra">
|
||||
|
@ -226,7 +225,7 @@
|
|||
|
||||
<!-- 添加或修改规则对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="80%" append-to-body>
|
||||
<el-button type="primary" @click="generate">生成版本类</el-button>
|
||||
<el-button type="primary" @click="generate" style="margin-bottom:20px;">生成版本类</el-button>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="版本类" prop="ruleKind">
|
||||
<el-input v-model="form.ruleKind" placeholder="请输入版本类"/>
|
||||
|
@ -319,7 +318,7 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
|
||||
curCode: '测试',
|
||||
curCode: '测23456789asdad试',
|
||||
cmOptions: {
|
||||
lineNumbers: true, // 显示行号
|
||||
mode: 'text/x-yaml', // 语法model
|
||||
|
@ -398,6 +397,10 @@ export default {
|
|||
this.findById();
|
||||
},
|
||||
methods: {
|
||||
//生成版本类
|
||||
generate() {
|
||||
|
||||
},
|
||||
//版本card
|
||||
findList() {
|
||||
getEditionList(this.ruleAndVersion.id).then(res => {
|
||||
|
@ -485,7 +488,8 @@ export default {
|
|||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
this.open = true;2
|
||||
this.open = true;
|
||||
2
|
||||
this.form.ruleId = this.ruleAndVersion.id
|
||||
this.title = "添加规则";
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue