.class工具类测试
parent
3bd35b2d60
commit
3acd5ebd74
|
@ -52,7 +52,7 @@
|
|||
|
||||
<div v-show="opens">
|
||||
|
||||
<codemirror v-model="versions.ruleContent" :value="this.versions.ruleContent" :options="cmOptions" >
|
||||
<codemirror v-model="versions.ruleContent" :value="this.versions.ruleContent" :options="cmOptions">
|
||||
|
||||
</codemirror>
|
||||
|
||||
|
@ -122,12 +122,6 @@
|
|||
|
||||
<template slot-scope="scope">
|
||||
|
||||
<!-- <el-button v-show="scope.row.isActivate==1" @click="del(scope.row.id)" type="text" size="small">-->
|
||||
|
||||
<!-- 删除引擎-->
|
||||
|
||||
<!-- </el-button>-->
|
||||
|
||||
<el-button v-show="scope.row.isActivate==1" @click="forbiddenEngines(scope.row.id)" type="text" size="small">
|
||||
|
||||
关闭引擎
|
||||
|
@ -158,7 +152,6 @@
|
|||
|
||||
</el-table-column>
|
||||
|
||||
|
||||
</el-table>
|
||||
|
||||
<!--回显-->
|
||||
|
@ -203,7 +196,6 @@
|
|||
|
||||
</el-form-item>
|
||||
|
||||
|
||||
</el-form>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
|
@ -237,8 +229,11 @@ export default {
|
|||
//import引入的组件需要注入到对象中才能使用"
|
||||
|
||||
components: {
|
||||
|
||||
codemirror,
|
||||
|
||||
Java
|
||||
|
||||
},
|
||||
|
||||
props: {},
|
||||
|
@ -275,7 +270,7 @@ export default {
|
|||
|
||||
status: '初始化',
|
||||
|
||||
ruleContent:''
|
||||
ruleContent: ''
|
||||
|
||||
},
|
||||
|
||||
|
@ -307,7 +302,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
|
||||
closes(){
|
||||
closes() {
|
||||
|
||||
this.dialogFormVisible = false;
|
||||
|
||||
|
@ -315,7 +310,7 @@ export default {
|
|||
|
||||
showCode() {
|
||||
|
||||
this.opens=true
|
||||
this.opens = true
|
||||
|
||||
this.versions.isActivate = 1
|
||||
|
||||
|
@ -325,9 +320,9 @@ export default {
|
|||
|
||||
this.versions.id = this.$route.query.id
|
||||
|
||||
generate(this.versions).then(res =>{
|
||||
generate(this.versions).then(res => {
|
||||
|
||||
this.versions.ruleContent=res.ruleContent;
|
||||
this.versions.ruleContent = res.ruleContent;
|
||||
|
||||
this.$message.success(res.msg || "成功");
|
||||
|
||||
|
@ -440,8 +435,7 @@ export default {
|
|||
|
||||
del(id) {
|
||||
|
||||
if (confirm("你确定" +
|
||||
"删除吗?")) {
|
||||
if (confirm("你确定删除吗?")) {
|
||||
|
||||
dels(id).then(res => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue