修正接口请求
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<el-col :span="20">
|
||||
<el-form-item label="土地承接方" prop="landUndertakeName">
|
||||
<el-input v-model="form.landUndertakeName" placeholder="请输入土地承接方名称"></el-input>
|
||||
</el-form-item>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-form-item label="土地承接方证件号码" prop="landUndertakeNumber">
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
return (
|
||||
time.getTime() < new Date(this.form.startDate).getTime()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
@@ -200,7 +200,7 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('landCirculateType')
|
||||
@@ -221,7 +221,7 @@ export default {
|
||||
this.form = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/applandcirculateinfo/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/applandcirculateinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -230,7 +230,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/applandcirculateinfo/addOrUpdate`, {
|
||||
this.instance.post(`/app/applandcirculateinfo/addOrUpdate`, {
|
||||
...this.form,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
@@ -261,4 +261,4 @@ export default {
|
||||
// width: 130px;
|
||||
// }
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user