|
|
@@ -168,10 +168,14 @@ |
|
|
|
this.getDicts("is_common").then(response => { |
|
|
|
this.sfjbntOptions = response.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
if (this.$route.params.id) { |
|
|
|
this.titleName = '修改承包地信息'; |
|
|
|
this.isDisabled = true; |
|
|
|
this.getDetail(); |
|
|
|
setTimeout(() => { |
|
|
|
this.getDetail(); |
|
|
|
}, 500) |
|
|
|
} else { |
|
|
|
this.titleName = '新增承包地信息'; |
|
|
|
this.resetForm(); |
|
|
|