Compare commits
No commits in common. "66afe0fb925a26332a5a7df06171400e0cbfa559" and "0329717d7691e56693a773f3c98da0b4e4b2d4cd" have entirely different histories.
66afe0fb92
...
0329717d76
|
@ -383,26 +383,13 @@ export default {
|
|||
|
||||
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 => {
|
||||
|
||||
|
||||
this.$message.success(res.msg || "新增成功")
|
||||
this.$modal.msgSuccess(res.msg || "新增成功")
|
||||
|
||||
})
|
||||
|
||||
this.List();
|
||||
this.findById();
|
||||
|
||||
},
|
||||
|
||||
|
@ -414,7 +401,7 @@ export default {
|
|||
|
||||
})
|
||||
|
||||
this.List();
|
||||
this.findById();
|
||||
|
||||
},
|
||||
|
||||
|
@ -452,8 +439,7 @@ export default {
|
|||
|
||||
del(id) {
|
||||
|
||||
if (confirm("你确定" +
|
||||
"删除吗?")) {
|
||||
if (confirm("你确定删除吗?")) {
|
||||
|
||||
dels(id).then(res => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue