diff --git a/miniprogram/subpages/checkIn/pages/checkIn/register/register.js b/miniprogram/subpages/checkIn/pages/checkIn/register/register.js index 7f18d93..4a3435d 100644 --- a/miniprogram/subpages/checkIn/pages/checkIn/register/register.js +++ b/miniprogram/subpages/checkIn/pages/checkIn/register/register.js @@ -568,14 +568,14 @@ Page({ para.owners = this.data.form.owners para.hobbies = this.data.form.hobbies para.villageName = this.data.form.villageName - // wx.showLoading({ - // title: "提交中..." - // }) + if(para.shibei == 0){ + para.allDeptIds = [] + } if (para.couplingCommunity.length === 4) { this.changeFlagC = true } if (!this.changeFlagC) { - this.showToast('请前选择单位包联社区名称!') + this.showToast('请前选择单位包联社区!') return } let than = this diff --git a/miniprogram/utils/config.js b/miniprogram/utils/config.js index 5fe1c35..0a137b3 100644 --- a/miniprogram/utils/config.js +++ b/miniprogram/utils/config.js @@ -8,8 +8,8 @@ module.exports = { // 现在小程序的功能 主要走咱这边自己的接口,另外 党群服务中心、需求清单、问卷调查走产品的接口,所以导致接口半路径不同 function BASEURL() { - return "https://epdc-shibei.elinkservice.cn/epdc-api/api/" // 正式环境 -// return "http://localhost:10994/epdc-api/api/" +// return "https://epdc-shibei.elinkservice.cn/epdc-api/api/" // 正式环境 + return "http://localhost:10994/epdc-api/api/" } // 获取 党群服务中心、需求清单、问卷调查 等模块的半路径 function getProductionBaseUrl () {