From f8863f5d149a6c5a3000224620db1ef5503cc6cf Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 28 Dec 2023 20:04:56 +0800 Subject: [PATCH] fix --- apis/modules/activity.js | 3 + apis/modules/supplier.js | 6 ++ config/request.js | 4 +- other/activityDetail/activityDetail.vue | 50 ++++++++++++++--- other/supplierDetail/supplierDetail.vue | 57 ++++++++++++++++++- pages/index/index.vue | 74 +++++++++++++------------ pages/login/login.vue | 9 +++ pages/person/person.vue | 16 +++--- pages/supplier/supplier.vue | 64 ++++++++++++++------- styles/common.scss | 2 +- team/auth/auth.vue | 2 +- team/info/info.vue | 16 +++++- team/infoEdit/infoEdit.vue | 29 ++++++++++ 13 files changed, 253 insertions(+), 79 deletions(-) diff --git a/apis/modules/activity.js b/apis/modules/activity.js index f442e7e..b1fe976 100644 --- a/apis/modules/activity.js +++ b/apis/modules/activity.js @@ -21,4 +21,7 @@ export const competitionUserDel = (data) => { } export const cancelRegistration = (id) => { return post(`competition/competition/registration/cancelRegistration?competitionId=${id}`) +} +export const categoryList = (id) => { + return post(`competition/competitionClassification/categoryList`) } \ No newline at end of file diff --git a/apis/modules/supplier.js b/apis/modules/supplier.js index e177fd3..1e81308 100644 --- a/apis/modules/supplier.js +++ b/apis/modules/supplier.js @@ -4,3 +4,9 @@ const { get, post } = request export const selectEnterpriseCertificationList = (data) => { return post('nakadai/enterprise/certification/selectEnterpriseCertificationList', data) } +export const treeStructureList = () => { + return post('nakadai/supplierClassification/treeStructureList') +} +export const saveSupplierClassification = (data) => { + return post('nakadai/supplierClassificationConfig/save', data) +} diff --git a/config/request.js b/config/request.js index c7a55e0..df4cc58 100644 --- a/config/request.js +++ b/config/request.js @@ -6,8 +6,8 @@ export default { // baseURL: 'https://huorantech.cn/', - // baseURL: 'http://192.168.31.217:10010/', - baseURL: 'http://124.71.79.122/', + baseURL: 'http://192.168.31.217:10010/', + // baseURL: 'http://124.71.79.122/', headers: { 'Content-Type': 'application/json;charset=UTF-8' }, diff --git a/other/activityDetail/activityDetail.vue b/other/activityDetail/activityDetail.vue index 77ba67b..20c326f 100644 --- a/other/activityDetail/activityDetail.vue +++ b/other/activityDetail/activityDetail.vue @@ -55,7 +55,7 @@ 分享 - 立刻报名 + {{ form.signed ? '取消报名' : '立刻报名' }} @@ -65,7 +65,7 @@