From 1a7f42cc24fe3e97f17992de699a33f4f817a226 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 20 May 2024 16:06:49 +0800 Subject: [PATCH] fix --- apis/modules/user.js | 4 ++++ config/request.js | 2 +- libs/util.js | 10 +++++----- order/orderDetail/orderDetail.vue | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/apis/modules/user.js b/apis/modules/user.js index 58f70da..60565c5 100644 --- a/apis/modules/user.js +++ b/apis/modules/user.js @@ -9,6 +9,10 @@ export const userBinding = (data) => { return post('users/users/user/userBinding', data) } +export const sendPhoneOrEmailCode = (data) => { + return post('users/users/userAccount/sendPhoneOrEmailCode', data) +} + export const queryProvince = () => { return get('nakadai/nakadai/province/queryProvince') } diff --git a/config/request.js b/config/request.js index 6748186..8ee4043 100644 --- a/config/request.js +++ b/config/request.js @@ -5,7 +5,7 @@ */ export default { - baseURL: 'https://huorantech.cn/', + baseURL: 'https://www.occupationlab.com/', // baseURL: 'http://192.168.31.151:9000/', // baseURL: 'http://121.37.12.51/', headers: { diff --git a/libs/util.js b/libs/util.js index 01b8b19..f27f0b8 100644 --- a/libs/util.js +++ b/libs/util.js @@ -1,11 +1,11 @@ import Product from '@/config/product' const files = [ - 'https://huorantech.cn/%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE.docx', // 用户服务协议 - 'https://huorantech.cn/%E7%94%A8%E6%88%B7%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE.docx', // 用户隐私协议 - 'https://huorantech.cn/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E5%AE%9E%E9%AA%8C%E5%AE%A4%E5%BB%BA%E8%AE%BE%E6%96%B9%E6%A1%88-2020.1.docx', // 人工智能 - 'https://huorantech.cn/%E5%A4%A7%E6%95%B0%E6%8D%AE%E7%AE%A1%E7%90%86%E4%B8%8E%E5%BA%94%E7%94%A8%E4%B8%93%E4%B8%9A%E5%BB%BA%E8%AE%BE%E6%96%B9%E6%A1%88.docx', // 大数据 - 'https://huorantech.cn/%E9%87%91%E8%9E%8D%E7%A7%91%E6%8A%80%E5%AE%9E%E9%AA%8C%E5%AE%A4%E5%BB%BA%E8%AE%BE%E6%96%B9%E6%A1%88V2.0.docx', // 金融科技 + 'https://huoran.oss-cn-shenzhen.aliyuncs.com/1709798714897.docx', // 用户服务协议 + 'https://huoran.oss-cn-shenzhen.aliyuncs.com/1709798737175.docx', // 用户隐私协议 + 'https://huoran.oss-cn-shenzhen.aliyuncs.com/1709798668435.docx', // 人工智能 + 'https://huoran.oss-cn-shenzhen.aliyuncs.com/1709798621083.docx', // 大数据 + 'https://huoran.oss-cn-shenzhen.aliyuncs.com/1709798646462.docx', // 金融科技 ] export default { // 路由跳转 diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 53288b7..ba33dcc 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -393,7 +393,7 @@ const item = this.teams.find(e => e.id == teamId) if (item) this.form.partnerClassificationName = item.partnerClassificationName if (!this.isDetail) { - this.form.businessManagerId = +this.form.businessManagerId + if (this.form.businessManagerId) this.form.businessManagerId = +this.form.businessManagerId this.getBm() } }