|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<el-button size="mini" type="primary" @click="onShow">编 辑</el-button>
|
|
|
- <el-drawer title="编辑线索" :show-close="false" append-to-body :visible.sync="dialogFormVisible" size="600px">
|
|
|
+ <el-drawer title="编辑线索" :show-close="false" append-to-body :visible.sync="dialogFormVisible" size="600px" @close="onClose">
|
|
|
<div class="drawer__panel">
|
|
|
<el-row :gutter="10">
|
|
|
<el-form :model="form" :rules="rules" label-position="right" label-width="80px" size="small">
|
|
@@ -11,7 +11,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <businessMessage :keyWord="form.enterprisename" @businessData="businessData"></businessMessage>
|
|
|
+ <businessMessage ref="businessMessage" :keyWord="form.enterprisename" @businessData="businessData"></businessMessage>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="联系人" prop="name">
|
|
@@ -65,7 +65,7 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
|
- <el-button size="small" @click="dialogFormVisible = false" class="normal-btn-width">取 消</el-button>
|
|
|
+ <el-button size="small" @click="onClose" class="normal-btn-width">取 消</el-button>
|
|
|
<el-button size="small" type="primary" @click="onSubmit" class="normal-btn-width">确 定</el-button>
|
|
|
</div>
|
|
|
</el-drawer>
|
|
@@ -144,6 +144,11 @@ export default {
|
|
|
this.form.address = val.address
|
|
|
this.areaSelectResult = [val.regProvince,val.regCity,val.regArea]
|
|
|
this.form.province = [val.regProvince,val.regCity,val.regArea]
|
|
|
+ },
|
|
|
+ onClose(){
|
|
|
+ this.dialogFormVisible = false
|
|
|
+ this.activityVisible = false
|
|
|
+ this.$refs.businessMessage.businessShow = false
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|