Browse Source

修改小程序报道逻辑;

shibei
luyan 1 year ago
parent
commit
7c76e93b40
  1. 8
      miniprogram/subpages/checkIn/pages/checkIn/register/register.js
  2. 4
      miniprogram/utils/config.js

8
miniprogram/subpages/checkIn/pages/checkIn/register/register.js

@ -568,14 +568,14 @@ Page({
para.owners = this.data.form.owners para.owners = this.data.form.owners
para.hobbies = this.data.form.hobbies para.hobbies = this.data.form.hobbies
para.villageName = this.data.form.villageName para.villageName = this.data.form.villageName
// wx.showLoading({ if(para.shibei == 0){
// title: "提交中..." para.allDeptIds = []
// }) }
if (para.couplingCommunity.length === 4) { if (para.couplingCommunity.length === 4) {
this.changeFlagC = true this.changeFlagC = true
} }
if (!this.changeFlagC) { if (!this.changeFlagC) {
this.showToast('请前选择单位包联社区名称!') this.showToast('请前选择单位包联社区!')
return return
} }
let than = this let than = this

4
miniprogram/utils/config.js

@ -8,8 +8,8 @@ module.exports = {
// 现在小程序的功能 主要走咱这边自己的接口,另外 党群服务中心、需求清单、问卷调查走产品的接口,所以导致接口半路径不同 // 现在小程序的功能 主要走咱这边自己的接口,另外 党群服务中心、需求清单、问卷调查走产品的接口,所以导致接口半路径不同
function BASEURL() { function BASEURL() {
return "https://epdc-shibei.elinkservice.cn/epdc-api/api/" // 正式环境 // return "https://epdc-shibei.elinkservice.cn/epdc-api/api/" // 正式环境
// return "http://localhost:10994/epdc-api/api/" return "http://localhost:10994/epdc-api/api/"
} }
// 获取 党群服务中心、需求清单、问卷调查 等模块的半路径 // 获取 党群服务中心、需求清单、问卷调查 等模块的半路径
function getProductionBaseUrl () { function getProductionBaseUrl () {

Loading…
Cancel
Save