|
|
@ -6,7 +6,6 @@ |
|
|
|
:inline="true" |
|
|
|
:model="dataForm" |
|
|
|
:rules="dataRule" |
|
|
|
:disabled="formType === 'detail'" |
|
|
|
class="form"> |
|
|
|
|
|
|
|
<el-form-item label="所属组织" |
|
|
@ -171,7 +170,6 @@ |
|
|
|
<el-button size="small" |
|
|
|
@click="handleCancle">取 消</el-button> |
|
|
|
<el-button size="small" |
|
|
|
v-if="formType != 'detail'" |
|
|
|
type="primary" |
|
|
|
:disabled="btnDisable" |
|
|
|
@click="handleComfirm">确 定</el-button> |
|
|
@ -242,9 +240,11 @@ export default { |
|
|
|
this.formType = type |
|
|
|
if (row) { |
|
|
|
this.dataForm = JSON.parse(JSON.stringify(row)) |
|
|
|
|
|
|
|
this.dataForm.neighborHoodId = this.dataForm.id |
|
|
|
this.neighborHoodId = this.dataForm.neighborHoodId |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataForm.latitude = latitude |
|
|
|
this.dataForm.longitude = longitude |
|
|
@ -473,7 +473,8 @@ export default { |
|
|
|
type: 'success', |
|
|
|
message: '操作成功' |
|
|
|
}) |
|
|
|
this.dataForm.propertyId = data.propertyId |
|
|
|
|
|
|
|
|
|
|
|
this.propertyForm.name = '' |
|
|
|
this.propertyFormShow = false |
|
|
|
this.loadProperty() |
|
|
|