From 1747ab8d84d070951192dc63a7515b6abfeb427a Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 7 Jan 2026 14:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=8B=E9=9A=86=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/api/order/index.js | 8 + src/api/specialOrderConfig/index.js | 42 ++ .../order/component/MerchantSelectModal.vue | 107 ++++++ .../component/specialOrderConfigEdit.vue | 285 ++++++++++++++ src/views/order/orderList.vue | 362 ++++++++++-------- src/views/order/specialOrderConfigList.vue | 180 +++++++++ vue.config.js | 2 +- 9 files changed, 827 insertions(+), 163 deletions(-) create mode 100644 src/api/specialOrderConfig/index.js create mode 100644 src/views/order/component/MerchantSelectModal.vue create mode 100644 src/views/order/component/specialOrderConfigEdit.vue create mode 100644 src/views/order/specialOrderConfigList.vue diff --git a/.env.development b/.env.development index 1fd0ff1..736c06d 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ ENV = 'development' # base api -VUE_APP_BASE_API = https://yunyubang.ali251.langye.net/ +VUE_APP_BASE_API = http://yunyubang-test.ali251.langye.net/ #VUE_APP_BASE_API = https://yunyubang.ali251.langye.net/ #VUE_APP_BASE_DEV_API = https://yunyubang.ali251.langye.net/ diff --git a/.env.production b/.env.production index 6fe9b13..31f1a15 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = https://yunyubang.ali251.langye.net/ +VUE_APP_BASE_API = #VUE_APP_BASE_DEV_API = https://yybtest.ali251.langye.net/ diff --git a/src/api/order/index.js b/src/api/order/index.js index 632fcd8..0f80d1b 100644 --- a/src/api/order/index.js +++ b/src/api/order/index.js @@ -81,3 +81,11 @@ export function save(data){ data }) } + +export function clone(params){ + return request({ + method:'post', + url:'/api/admin/order/clone', + data: params + }) +} diff --git a/src/api/specialOrderConfig/index.js b/src/api/specialOrderConfig/index.js new file mode 100644 index 0000000..d6f52aa --- /dev/null +++ b/src/api/specialOrderConfig/index.js @@ -0,0 +1,42 @@ +import request from '@/utils/request' + +export function index(params) { + return request({ + method: 'get', + url: '/api/admin/special-order-config/index', + params + }) +} + +export function show(params) { + return request({ + method: 'get', + url: `/api/admin/special-order-config/show/${params.id}`, + params + }) +} + +export function store(data) { + return request({ + method: 'post', + url: '/api/admin/special-order-config/store', + data + }) +} + +export function update(data) { + return request({ + method: 'post', + url: `/api/admin/special-order-config/update/${data.id}`, + data + }) +} + +export function destroy(data) { + return request({ + method: 'post', + url: `/api/admin/special-order-config/destroy/${data.id}`, + data + }) +} + diff --git a/src/views/order/component/MerchantSelectModal.vue b/src/views/order/component/MerchantSelectModal.vue new file mode 100644 index 0000000..da777fc --- /dev/null +++ b/src/views/order/component/MerchantSelectModal.vue @@ -0,0 +1,107 @@ + + + + + + 查询 + + + + + + + + + + + + + + diff --git a/src/views/order/component/specialOrderConfigEdit.vue b/src/views/order/component/specialOrderConfigEdit.vue new file mode 100644 index 0000000..63d0eac --- /dev/null +++ b/src/views/order/component/specialOrderConfigEdit.vue @@ -0,0 +1,285 @@ + + + + + + + *配置名称: + + + + + + + + + 产品名称识别关键词: + + + + + + + + 目标商户: + + + + + + + + 启用自动分发: + + + + + + + + + + 状态: + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/order/orderList.vue b/src/views/order/orderList.vue index d1a99be..7a5ee36 100644 --- a/src/views/order/orderList.vue +++ b/src/views/order/orderList.vue @@ -5,7 +5,7 @@ + placeholder="关键字搜索" /> 没有跟进时间 查询 @@ -39,7 +39,7 @@ 订单状态 - + {{value}} @@ -79,17 +79,17 @@ - - - - 预产期 - - - - - + + + + 预产期 + + + + + @@ -130,10 +130,19 @@ {select.pageSize = e;searchOrder()}" @pageIndexChange="pageChange"> - + - + + + 克隆订单 + @@ -145,8 +154,8 @@ - - + + @@ -154,7 +163,8 @@ + + + diff --git a/vue.config.js b/vue.config.js index 079ca25..8daba2c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -25,7 +25,7 @@ module.exports = { * Detail: https://cli.vuejs.org/config/#publicpath */ publicPath: '/admin/', - outputDir: '/Users/mac/Documents/朗业/2022/y-孕育邦/后端代码/yunyubang/public/admin', + outputDir: '/Users/mac/Documents/朗业/2022/y-孕育邦/后端代码/yunyubang/public/admin_test', assetsDir: 'static', css: { loaderOptions: { // 向 CSS 相关的 loader 传递选项