Compare commits
2 Commits
0329717d76
...
66afe0fb92
Author | SHA1 | Date |
---|---|---|
|
66afe0fb92 | |
|
b59ae25d7b |
|
@ -383,13 +383,26 @@ export default {
|
||||||
|
|
||||||
this.versions.status = 1
|
this.versions.status = 1
|
||||||
|
|
||||||
|
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 => {
|
||||||
|
|
||||||
this.$modal.msgSuccess(res.msg || "新增成功")
|
|
||||||
|
this.$message.success(res.msg || "新增成功")
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
this.findById();
|
this.List();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -401,7 +414,7 @@ export default {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
this.findById();
|
this.List();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -439,7 +452,8 @@ export default {
|
||||||
|
|
||||||
del(id) {
|
del(id) {
|
||||||
|
|
||||||
if (confirm("你确定删除吗?")) {
|
if (confirm("你确定" +
|
||||||
|
"删除吗?")) {
|
||||||
|
|
||||||
dels(id).then(res => {
|
dels(id).then(res => {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue