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