wq 2 роки тому
джерело
коміт
76bb6a3299

+ 2
- 0
applyCard/essential-information.vue Переглянути файл

showLoading: true, showLoading: true,
}; };
request(addressQuery, options).then((res) => { request(addressQuery, options).then((res) => {
console.log(res.bizContent);
const data = stringToJson(res.bizContent); const data = stringToJson(res.bizContent);
console.log(data);
state.addressArray = data.data??[]; state.addressArray = data.data??[];
}); });
} }

+ 0
- 2
applyCard/opening-account-people.vue Переглянути файл

success: function (res) { success: function (res) {
pathToBase64(res.tempFilePaths[0]) pathToBase64(res.tempFilePaths[0])
.then((path) => { .then((path) => {
console.log(path);
console.log("哈哈哈");
var data = { var data = {
source: "1", source: "1",
agencyId: "52010106004", agencyId: "52010106004",

+ 2
- 2
datas/fileURL.js Переглянути файл



// export const fileURL = 'http://47.94.96.52/' // export const fileURL = 'http://47.94.96.52/'
// export const fileURL = 'http://222.85.144.89:19002/default-bucket/' // export const fileURL = 'http://222.85.144.89:19002/default-bucket/'
export const downloadFileURL = 'http://'+ envs[process.env.NODE_ENV].baseUrl +':8087/user-export-excel/'
export const fileURL = 'http://'+ envs[process.env.NODE_ENV].baseUrl +':8087/default-bucket/'
export const downloadFileURL = 'http://'+ envs[process.env.NODE_ENV].baseUrl +'/user-export-excel/'
export const fileURL = 'http://'+ envs[process.env.NODE_ENV].baseUrl +'/default-bucket/'

+ 4
- 1
login/login.vue Переглянути файл

}; };
request(code, options).then((res) => { request(code, options).then((res) => {
const result = stringToJson(res.bizContent); const result = stringToJson(res.bizContent);
fetchToken(stringToJson(result).code).then((data:any) => {
console.log(result);
console.log(typeof(result));
fetchToken(result.code).then((data:any) => {
console.log(data);
msg("登录成功!"); msg("登录成功!");
uni.$emit("refreshOrder"); uni.$emit("refreshOrder");
uni.navigateBack(); uni.navigateBack();

+ 1
- 1
pages/service/service.vue Переглянути файл

const bgOrange = `url(${fileURL}image/service/bg-orange.png) center center no-repeat`; const bgOrange = `url(${fileURL}image/service/bg-orange.png) center center no-repeat`;
const bgBlue = `url(${fileURL}image/service/bg-blue.png) center center no-repeat`; const bgBlue = `url(${fileURL}image/service/bg-blue.png) center center no-repeat`;
const activeTab = ref("业务服务"); const activeTab = ref("业务服务");
const tableSelectIndex = ref(4);
const tableSelectIndex = ref(0);
// 切换 // 切换
function tabHandle(val, index) { function tabHandle(val, index) {
activeTab.value = val; activeTab.value = val;

+ 3
- 3
utils/network/api.js Переглянути файл

export const envs = { export const envs = {
//开发环境配置 //开发环境配置
development: { development: {
baseUrl: "192.168.100.63",
// baseUrl: "222.85.144.89",
baseUrl: "192.168.100.63:8087",
// baseUrl: "222.85.144.89:19002",
}, },
//生产环境配置 //生产环境配置
production: { production: {
baseUrl: "222.85.144.89",
baseUrl: "222.85.144.89:19002",
} }
} }

+ 16
- 2
utils/network/request.js Переглянути файл

loginSource: "69af303ba2eb4608a099163f0d2a5dbd" loginSource: "69af303ba2eb4608a099163f0d2a5dbd"
} }
//Url 地址 //Url 地址
options.url = 'http://'+ envs[process.env.NODE_ENV].baseUrl +':8087/ifzt/api/interfaceMidGroundIn'
options.url = 'http://'+ envs[process.env.NODE_ENV].baseUrl +'/ifzt/api/interfaceMidGroundIn'
//判断baseUri是否为空 //判断baseUri是否为空
if (options.baseUrl) { if (options.baseUrl) {
options.url = options.baseUrl options.url = options.baseUrl
if (res.data.statusCode !== 0 && res.data.statusCode !== 200) { if (res.data.statusCode !== 0 && res.data.statusCode !== 200) {
if (res.data.statusCode == 600) { if (res.data.statusCode == 600) {
resolve(res.data) resolve(res.data)
} else {
} else if(res.data.statusCode == 401){
wx.showModal({
title: '提示',
content: res.data.errorMsg,
confirmText:'去登录',
showCancel: false,
success: function(res) {
if (res.confirm) {
uni.navigateTo({
url: '/login/login',
})
}
}
});
}else {
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
content: res.data.errorMsg, content: res.data.errorMsg,

Завантаження…
Відмінити
Зберегти