master
chentaisen 2024-08-29 22:04:15 +08:00
parent 85ea300562
commit 60102643ae
1 changed files with 8 additions and 4 deletions

View File

@ -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 = "添加规则";
},