Commit 47d1e75d authored by 邓春圆's avatar 邓春圆

潜在客户添加 上传图片

parent 63ddaeb2
......@@ -54,6 +54,9 @@
</el-col>
</el-row>
</el-form-item>
<el-form-item :label="$t('图片')" prop="picture">
<upload v-model="form.picture" :limit="1"></upload>
</el-form-item>
<el-form-item :label="$t('询盘信息')" >
<el-input
v-model="form.inquiry"
......@@ -78,7 +81,7 @@ import {listServiceUser} from "@/api/system/user";
import {getProductTypeList} from "@/api/ecw/productType";
import {getProductList} from "@/api/ecw/product";
import {createPotential} from "@/api/ecw/customer";
import upload from '@/components/ImageUpload'
export default {
name: "addPotentialCustom",
methods: {
......@@ -100,6 +103,7 @@ export default {
inquiry:undefined,
productType:undefined,
productId:undefined,
picture:undefined
}
},
submit(){
......@@ -122,7 +126,7 @@ export default {
},
},
components: {AreaCodeSelector},
components: {AreaCodeSelector,upload},
created() {
this.reset()
listServiceUser().then(r => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment