|
@@ -385,7 +385,7 @@ export default {
|
|
|
luncitime: this.lcsj, // 轮次时间
|
|
|
jiangetime: this.jgsc, // 间隔时长
|
|
|
}
|
|
|
- http.lsjbGet("/guize/queryGuiZe.lsjb", obj).then(res=>{
|
|
|
+ http.lsjbGet("/guize/queryGuiZe.guize", obj).then(res=>{
|
|
|
this.guizelist = res
|
|
|
})
|
|
|
|
|
@@ -411,7 +411,7 @@ export default {
|
|
|
|
|
|
//添加规则
|
|
|
addgz() {
|
|
|
- http.lsjbPost("/guize/addGuiZe.lsjb",this.form).then(() => {
|
|
|
+ http.lsjbPost("/guize/addGuiZe.guize",this.form).then(() => {
|
|
|
// 更新显示的规则列表
|
|
|
return this.listgz(); // 返回 Promise
|
|
|
}).then(() => {
|
|
@@ -438,7 +438,7 @@ export default {
|
|
|
let obj = {
|
|
|
gzname : row.gzname
|
|
|
}
|
|
|
- http.lsjbPost("/guize/deleteGuiZe.lsjb",obj).then(()=>{
|
|
|
+ http.lsjbPost("/guize/deleteGuiZe.guize",obj).then(()=>{
|
|
|
//更新显示的规则列表
|
|
|
return this.listgz()
|
|
|
}).catch(error => {
|
|
@@ -470,7 +470,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
|
|
|
- http.lsjbPost("/guize/updateGuiZe.lsjb",obj).then(()=>{
|
|
|
+ http.lsjbPost("/guize/updateGuiZe.guize",obj).then(()=>{
|
|
|
//更新显示的规则列表
|
|
|
return this.listgz()
|
|
|
|
|
@@ -503,7 +503,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
|
|
|
- http.lsjbPost("/guize/updateGuiZe.lsjb",obj).then(()=>{
|
|
|
+ http.lsjbPost("/guize/updateGuiZe.guize",obj).then(()=>{
|
|
|
//更新显示的规则列表
|
|
|
return this.listgz()
|
|
|
|
|
@@ -537,7 +537,7 @@ export default {
|
|
|
let obj = {
|
|
|
gzname : this.form.gzname
|
|
|
}
|
|
|
- http.lsjbPost("/guize/deleteGuiZe.lsjb",obj).then(()=>{
|
|
|
+ http.lsjbPost("/guize/deleteGuiZe.guize",obj).then(()=>{
|
|
|
//更新显示的规则列表
|
|
|
return this.listgz()
|
|
|
}).then(()=>{
|