From fa4832dd03f94a40cc5f1611b213b6517628daed Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Mon, 24 Mar 2025 16:25:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(market):=20=E9=87=8D=E6=9E=84=E7=BA=BF?= =?UTF-8?q?=E7=B4=A2=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增客户来源、归属人员、客户标签等字段- 添加地区三级联动选择功能- 优化表单布局和样式 - 更新配置文件,切换API地址 --- api/common.js | 12 ++ common/config.js | 8 +- pages/market/clue/add_clues.vue | 269 +++++++++++++++++++++++--------- pages/student/login/login.vue | 2 +- 4 files changed, 210 insertions(+), 81 deletions(-) create mode 100644 api/common.js diff --git a/api/common.js b/api/common.js new file mode 100644 index 0000000..fb99016 --- /dev/null +++ b/api/common.js @@ -0,0 +1,12 @@ +import http from '../common/axios.js' +//通用接口 +export default { + //获取地区属性结构列表 + getAreaTree(data={}) { + let url = '/area/getAreaTree' + return http.get(url,data).then(res => { + return res; + }) + }, + +} \ No newline at end of file diff --git a/common/config.js b/common/config.js index 949925a..059450c 100644 --- a/common/config.js +++ b/common/config.js @@ -1,10 +1,10 @@ // 线上地址 -const Api_url='http://146.56.228.75:20021/api' -const img_domian = 'http://146.56.228.75:20021/' +// const Api_url='http://146.56.228.75:20021/api' +// const img_domian = 'http://146.56.228.75:20021/' //本地测试地址 -// const Api_url='http://zhjw.cc/api' -// const img_domian = 'http://zhjw.cc/' +const Api_url='http://zhjw.cc/api' +const img_domian = 'http://zhjw.cc/' const IsDemo = false diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue index 561f3f8..bbfc444 100644 --- a/pages/market/clue/add_clues.vue +++ b/pages/market/clue/add_clues.vue @@ -13,56 +13,73 @@ - + - - 点击选择 - - {{ result_date }} + + + - - + + + + + - - 点击选择 + + + - {{ result_student }} + + + + + - - 点击选择 + + + - {{ result_status }} + + + + + + 点击选择 + + {{ result_customer_source }} + + - - 点击选择 + + + + 点击选择 + + {{ result_add_staff_id }} + + - {{ result_intention }} + + + + + - + 附加信息 - - - - - - - 点击选择 - {{ result_dates }} - - - - - - - - - - 点击选择 - {{ result_renwu }} - - - - 点击选择 - {{ result_fangshi }} - - - - + + + + + + + + + + + + + + + + + + + + + + 保存 @@ -152,6 +159,9 @@