From b60a483623c7e9a1ae523b4e21c0eecef2a56a75 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 11 Jan 2024 11:15:34 +0800 Subject: [PATCH] fix --- apis/modules/activity.js | 3 + config/request.js | 4 +- other/clue/clue.vue | 14 ++-- other/hotDetail/hotDetail.vue | 97 +++++++++++++++++++++++++++ other/procure/procure.vue | 34 +++++----- other/procureDetail/procureDetail.vue | 2 +- pages.json | 8 +++ pages/index/index.vue | 28 +++++++- pages/person/person.vue | 3 +- 9 files changed, 163 insertions(+), 30 deletions(-) create mode 100644 other/hotDetail/hotDetail.vue diff --git a/apis/modules/activity.js b/apis/modules/activity.js index c41df16..69ea964 100644 --- a/apis/modules/activity.js +++ b/apis/modules/activity.js @@ -27,4 +27,7 @@ export const categoryList = (id) => { } export const explosiveList = (data) => { return post(`nakadai/explosiveRecommendation/explosiveList`, data) +} +export const explosiveFind = (id) => { + return post(`nakadai/explosiveRecommendation/findById?id=${id}`) } \ No newline at end of file diff --git a/config/request.js b/config/request.js index 0d7b444..d57d2ba 100644 --- a/config/request.js +++ b/config/request.js @@ -5,8 +5,8 @@ */ export default { - baseURL: 'http://192.168.31.51:10010/', - // baseURL: 'http://124.71.79.122/', + // baseURL: 'http://192.168.31.51:10010/', + baseURL: 'http://124.71.79.122/', headers: { 'Content-Type': 'application/json;charset=UTF-8' }, diff --git a/other/clue/clue.vue b/other/clue/clue.vue index b2f5f24..a1d7fb9 100644 --- a/other/clue/clue.vue +++ b/other/clue/clue.vue @@ -19,17 +19,17 @@ 提交时间:{{ item.createTime }} --> - - {{ item.companyName }} + + {{ item.purchasingPerson }} - 采购内容:{{ item.oriPrice || 0 }} - 数量:{{ item.totalStocks || 0 }} + 采购内容:{{ item.content || '' }} + 数量:{{ item.num || 0 }}个 编号:{{ item.orderNumber }} 提交时间:{{ item.createTime }} - 组织采购 + {{ item.orderType === 1 ? '个人采购' : '组织采购' }} @@ -42,11 +42,11 @@ + + diff --git a/other/procure/procure.vue b/other/procure/procure.vue index 8ccba2d..51c1b7e 100644 --- a/other/procure/procure.vue +++ b/other/procure/procure.vue @@ -11,41 +11,39 @@ - +