土地流转 增删改查
This commit is contained in:
@@ -44,14 +44,14 @@
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-form-item label="流转形式" prop="circulateType">
|
||||
<ai-select v-model="form.circulateType" placeholder="请选择" :selectList="$dict.getDict('circulateType')"></ai-select>
|
||||
<ai-select v-model="form.circulateType" placeholder="请选择" :selectList="$dict.getDict('landCirculateType')"></ai-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row type="flex">
|
||||
<el-col :span="20">
|
||||
<el-form-item label="土地面积/㎡" prop="landArea">
|
||||
<ai-select v-model="form.landArea" placeholder="请选择" :selectList="$dict.getDict('')"></ai-select>
|
||||
<el-input v-model="form.landArea" placeholder="请输入土地面积" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
@@ -99,15 +99,15 @@
|
||||
<template slot="content">
|
||||
<ai-card title="基本信息">
|
||||
<template #right>
|
||||
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,forms=data">修改</span>
|
||||
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,form=data">修改</span>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-wrapper>
|
||||
<ai-info-item label="土地流出方" :value="data.landOutflowName"></ai-info-item>
|
||||
<ai-info-item label="土地流出方" :value="data.landOutflowName" ></ai-info-item>
|
||||
<ai-info-item label="土地流出方证件号码" :value="data.landOutflowNumber"></ai-info-item>
|
||||
<ai-info-item label="土地承接方" :value="data.landUndertakeName"></ai-info-item>
|
||||
<ai-info-item label="土地承接方证件号码" :value="data.landUndertakeNumber"></ai-info-item>
|
||||
<ai-info-item label="流转形式">{{ $dict.getLabel('circulateType',data.circulateType) }}</ai-info-item>
|
||||
<ai-info-item label="流转形式">{{ $dict.getLabel('landCirculateType',data.circulateType) }}</ai-info-item>
|
||||
<ai-info-item label="土地面积" :value="data.landArea"></ai-info-item>
|
||||
<ai-info-item label="每亩年租金" :value="data.yearRent"></ai-info-item>
|
||||
<ai-info-item label="开始日期" :value="data.startDate"></ai-info-item>
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
endDate:'' ,
|
||||
landInfo: '',
|
||||
landUse: '',
|
||||
fileList: {},
|
||||
fileList: [],
|
||||
},
|
||||
data: {},
|
||||
isEdit: false,
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('circulateType')
|
||||
this.$dict.load('landCirculateType')
|
||||
if(this.params && this.params.id) {
|
||||
this.id = this.params.id
|
||||
this.getDetail(this.params.id)
|
||||
@@ -200,7 +200,7 @@ export default {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/applandcirculateinfo/addOrUpdate`, {
|
||||
...this.forms,
|
||||
...this.form,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -225,5 +225,9 @@ export default {
|
||||
::v-deep .footer {
|
||||
background: #FFF !important;
|
||||
}
|
||||
|
||||
::v-deep .ai-info-item label {
|
||||
width: 130px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user