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

潜在客户添加 上传图片

parent 63ddaeb2
...@@ -54,6 +54,9 @@ ...@@ -54,6 +54,9 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form-item> </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-form-item :label="$t('询盘信息')" >
<el-input <el-input
v-model="form.inquiry" v-model="form.inquiry"
...@@ -78,7 +81,7 @@ import {listServiceUser} from "@/api/system/user"; ...@@ -78,7 +81,7 @@ import {listServiceUser} from "@/api/system/user";
import {getProductTypeList} from "@/api/ecw/productType"; import {getProductTypeList} from "@/api/ecw/productType";
import {getProductList} from "@/api/ecw/product"; import {getProductList} from "@/api/ecw/product";
import {createPotential} from "@/api/ecw/customer"; import {createPotential} from "@/api/ecw/customer";
import upload from '@/components/ImageUpload'
export default { export default {
name: "addPotentialCustom", name: "addPotentialCustom",
methods: { methods: {
...@@ -100,6 +103,7 @@ export default { ...@@ -100,6 +103,7 @@ export default {
inquiry:undefined, inquiry:undefined,
productType:undefined, productType:undefined,
productId:undefined, productId:undefined,
picture:undefined
} }
}, },
submit(){ submit(){
...@@ -122,7 +126,7 @@ export default { ...@@ -122,7 +126,7 @@ export default {
}, },
}, },
components: {AreaCodeSelector}, components: {AreaCodeSelector,upload},
created() { created() {
this.reset() this.reset()
listServiceUser().then(r => { 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