update 更新接口大小写,和rest格式

This commit is contained in:
lb
2022-08-05 09:25:15 +08:00
parent 4bd6ad1f47
commit cf28335d9e
53 changed files with 128 additions and 128 deletions

View File

@@ -64,7 +64,7 @@ export default {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id) {
this.$http({
url: this.$http.adornUrl(`/monitoring/productionlinerecsch/info/${this.dataForm.id}`),
url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${this.dataForm.id}`),
method: 'get',
params: this.$http.adornParams()
}).then(({ data }) => {
@@ -86,7 +86,7 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/productionlinerecsch/${!this.dataForm.id ? 'save' : 'update'}`),
url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,