|
@@ -3,12 +3,11 @@
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="warning"
|
|
|
- style="margin-left:10px"
|
|
|
v-if="position == 'detail'"
|
|
|
:disabled="!isHandle"
|
|
|
@click="dialogVisible=true">跟进</el-button>
|
|
|
<p @click="dialogVisible=true" v-else>跟进</p>
|
|
|
- <el-dialog title="线索跟进" :visible.sync="dialogVisible" width="900" :before-close="handleClose">
|
|
|
+ <el-dialog title="线索跟进" :visible.sync="dialogVisible" width="900" :before-close="handleClose" append-to-body>
|
|
|
<el-form :model="param.content" :rules="rules" ref="ruleForm" label-width="80px" class="demo-ruleForm"
|
|
|
label-position="left">
|
|
|
<el-row :gutter="10">
|
|
@@ -29,29 +28,29 @@
|
|
|
<el-select v-model="param.content.followupmode" placeholder="请选择方式" size="small">
|
|
|
<el-option label="当面拜访" value="当面拜访"></el-option>
|
|
|
<el-option label="电话沟通" value="电话沟通"></el-option>
|
|
|
+ <el-option label="微信沟通" value="微信沟通"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="本次跟进结果" label-width="150px" label-position="left" prop="logtype">
|
|
|
- <el-radio-group v-model="param.content.logtype" @change="changeClick">
|
|
|
- <el-radio label="跟进">跟进</el-radio>
|
|
|
- <el-radio label="已成交">成交</el-radio>
|
|
|
- <el-radio label="丢单">丢单</el-radio>
|
|
|
- <el-radio label="无效">无效</el-radio>
|
|
|
+ <el-radio-group v-model="param.content.logtype">
|
|
|
+ <el-radio label="继续跟进">继续跟进</el-radio>
|
|
|
+ <el-radio label="预约到店">预约到店</el-radio>
|
|
|
+ <el-radio label="互加微信">互加微信</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" v-if="param.content.logtype == '丢单'">
|
|
|
+ <!-- <el-col :span="24" v-if="param.content.logtype == '丢单'">
|
|
|
<el-form-item label="已购买商品" prop="competitor" label-width="200px">
|
|
|
<el-input v-model="param.content.competitor" size="small"></el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="跟进内容" prop="content" v-if="param.content.logtype == '跟进'">
|
|
|
+ <el-form-item label="跟进内容" prop="content">
|
|
|
<el-input type="textarea" v-model="param.content.content" size="small"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="丢单原因" prop="content" v-if="param.content.logtype == '丢单'">
|
|
|
+ <!-- <el-form-item label="丢单原因" prop="content" v-if="param.content.logtype == '丢单'">
|
|
|
<el-input type="textarea" v-model="param.content.content" size="small"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="添加备注" prop="content" v-if="param.content.logtype == '已成交'">
|
|
@@ -59,7 +58,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="无效原因" prop="content" v-if="param.content.logtype == '无效'">
|
|
|
<el-input type="textarea" v-model="param.content.content" size="small"></el-input>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
@@ -84,7 +83,7 @@ export default {
|
|
|
"sat_orderclueid":0,
|
|
|
"content": "",
|
|
|
"followupmode": "", //当面拜访、电话沟通
|
|
|
- "logtype": "跟进", //跟进、成交、丢单、无效
|
|
|
+ "logtype": "继续跟进", //跟进、成交、丢单、无效
|
|
|
"competitor": ""
|
|
|
}
|
|
|
},
|
|
@@ -94,12 +93,12 @@ export default {
|
|
|
{required:true,message:'内容不能为空',trigger:'blur'},
|
|
|
],
|
|
|
followupmode:[
|
|
|
- {required:true,message:'内容不能为空',trigger:'blur'},
|
|
|
+ {required:true,message:'请选择跟进方式',trigger:'blur'},
|
|
|
],
|
|
|
logtype:[
|
|
|
{required:true,message:'内容不能为空',trigger:'blur'},
|
|
|
],
|
|
|
- competitor:[
|
|
|
+ content:[
|
|
|
{required:true,message:'内容不能为空',trigger:'blur'},
|
|
|
],
|
|
|
},
|
|
@@ -150,19 +149,6 @@ export default {
|
|
|
handleClose() {
|
|
|
this.dialogVisible = false
|
|
|
},
|
|
|
- changeClick() {
|
|
|
- this.param = {
|
|
|
- "classname": "saletool.orderclue.web.orderclue",
|
|
|
- "method": "addFollowUpLog",
|
|
|
- "content": {
|
|
|
- "sat_orderclueid":0,
|
|
|
- "content": "",
|
|
|
- "followupmode": "", //当面拜访、电话沟通
|
|
|
- "logtype": this.param.content.logtype, //跟进、成交、丢单、无效
|
|
|
- "competitor": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
followAction() {
|
|
|
this.$refs.ruleForm.validate( async val => {
|
|
|
if(!val) return this.$notify({
|