Merge remote-tracking branch 'origin/master'
commit
d23266c878
|
@ -87,7 +87,7 @@ export function dels(id) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//天机规则数据
|
//添加规则数据
|
||||||
export function add(data){
|
export function add(data){
|
||||||
return request({
|
return request({
|
||||||
url: "/engine/version/insertVersion",
|
url: "/engine/version/insertVersion",
|
||||||
|
|
|
@ -243,8 +243,6 @@
|
||||||
|
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
|
||||||
<el-button @click="cancel">取 消</el-button>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -122,11 +122,11 @@
|
||||||
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
||||||
<el-button v-show="scope.row.isActivate==1" @click="del(scope.row.id)" type="text" size="small">
|
<!-- <el-button v-show="scope.row.isActivate==1" @click="del(scope.row.id)" type="text" size="small">-->
|
||||||
|
|
||||||
删除引擎
|
<!-- 删除引擎-->
|
||||||
|
|
||||||
</el-button>
|
<!-- </el-button>-->
|
||||||
|
|
||||||
<el-button v-show="scope.row.isActivate==1" @click="forbiddenEngines(scope.row.id)" type="text" size="small">
|
<el-button v-show="scope.row.isActivate==1" @click="forbiddenEngines(scope.row.id)" type="text" size="small">
|
||||||
|
|
||||||
|
@ -385,16 +385,6 @@ export default {
|
||||||
|
|
||||||
console.log(this.versions)
|
console.log(this.versions)
|
||||||
|
|
||||||
// generate(this.versions).then(res =>{
|
|
||||||
//
|
|
||||||
// this.versions.ruleContent=res.ruleContent;
|
|
||||||
//
|
|
||||||
// console.log(res.ruleContent)
|
|
||||||
//
|
|
||||||
// this.$message.success(res.msg || "成功");
|
|
||||||
//
|
|
||||||
// })
|
|
||||||
|
|
||||||
add(this.versions).then(res => {
|
add(this.versions).then(res => {
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue