修改orgcode
This commit is contained in:
parent
211e278c2c
commit
8eff2a01f5
|
|
@ -260,7 +260,7 @@
|
||||||
data.noCrimeCertificate = imgArray[3]
|
data.noCrimeCertificate = imgArray[3]
|
||||||
data.endTime = swapLongTerm(data.endTime);
|
data.endTime = swapLongTerm(data.endTime);
|
||||||
data.orgCode = uni.getStorageSync('changeyuangongorgCode')
|
data.orgCode = uni.getStorageSync('changeyuangongorgCode')
|
||||||
uni.setStorageSync('changeyuangongorgCode', "");
|
|
||||||
|
|
||||||
changemessage(data, ukey.value).then(res => {
|
changemessage(data, ukey.value).then(res => {
|
||||||
if (res.result == '重复提交') {
|
if (res.result == '重复提交') {
|
||||||
|
|
@ -278,6 +278,7 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
uni.setStorageSync('changeyuangongorgCode', "");
|
||||||
gopush()
|
gopush()
|
||||||
}
|
}
|
||||||
// uni.requestSubscribeMessage({
|
// uni.requestSubscribeMessage({
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// 全局请求封装
|
// 全局请求封装
|
||||||
// export const base_url = 'http://192.168.2.26:8081/opeapi'
|
export const base_url = 'http://192.168.2.26:8081/opeapi'
|
||||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
// export const base_url = 'https://www.focusnu.com/opeapi'
|
||||||
|
|
||||||
// 请求超出时间
|
// 请求超出时间
|
||||||
const timeout = 5000
|
const timeout = 5000
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -118,7 +118,6 @@ const _sfc_main = {
|
||||||
data.noCrimeCertificate = imgArray[3];
|
data.noCrimeCertificate = imgArray[3];
|
||||||
data.endTime = compontent_public_long.swapLongTerm(data.endTime);
|
data.endTime = compontent_public_long.swapLongTerm(data.endTime);
|
||||||
data.orgCode = common_vendor.index.getStorageSync("changeyuangongorgCode");
|
data.orgCode = common_vendor.index.getStorageSync("changeyuangongorgCode");
|
||||||
common_vendor.index.setStorageSync("changeyuangongorgCode", "");
|
|
||||||
pages_addstaff_api_addjigou.changemessage(data, ukey.value).then((res) => {
|
pages_addstaff_api_addjigou.changemessage(data, ukey.value).then((res) => {
|
||||||
if (res.result == "重复提交") {
|
if (res.result == "重复提交") {
|
||||||
common_vendor.index.showToast({
|
common_vendor.index.showToast({
|
||||||
|
|
@ -135,6 +134,7 @@ const _sfc_main = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
common_vendor.index.setStorageSync("changeyuangongorgCode", "");
|
||||||
gopush();
|
gopush();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
const common_vendor = require("../common/vendor.js");
|
const common_vendor = require("../common/vendor.js");
|
||||||
const base_url = "https://www.focusnu.com/opeapi";
|
const base_url = "http://192.168.2.26:8081/opeapi";
|
||||||
const timeout = 5e3;
|
const timeout = 5e3;
|
||||||
const request = (params) => {
|
const request = (params) => {
|
||||||
let url = params.url;
|
let url = params.url;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue