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 @@