This commit is contained in:
binbin_pan 2024-09-09 14:18:15 +08:00
parent 9d9a87d4c9
commit 65d58c56f1
3 changed files with 44 additions and 24 deletions

View File

@ -1,26 +1,26 @@
// 产线
module.exports = {
// http://192.168.0.14:19999
loginBaseUrl:'http://112.29.103.165:1616',
baseUrl:'http://112.29.103.165:1616/exam',
// login: 'http://112.29.103.165:1616',
login: 'http://112.29.103.165:1616/exam/exam-auth/',
// 图片展示基础地址
fileUrl:'http://112.29.103.165:1616/exam-file/',
// 上传文件地址
uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
// 体检-基础路径
tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
// 应用信息
appInfo: {
// 应用名称
name: "作业管控智慧平台",
// 应用版本
version: "1.1.0",
}
}
// module.exports = {
// // http://192.168.0.14:19999
// loginBaseUrl:'http://112.29.103.165:1616',
// baseUrl:'http://112.29.103.165:1616/exam',
// // login: 'http://112.29.103.165:1616',
// login: 'http://112.29.103.165:1616/exam/exam-auth/',
// // 图片展示基础地址
// fileUrl:'http://112.29.103.165:1616/exam-file/',
// // 上传文件地址
// uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
// bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
// // 体检-基础路径
// tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
// tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
// // 应用信息
// appInfo: {
// // 应用名称
// name: "作业管控智慧平台",
// // 应用版本
// version: "1.1.0",
// }
// }
// 测试环境
module.exports = {
@ -39,8 +39,8 @@ module.exports = {
uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
// 体检-基础路径
// tjBaseUrl: 'http://192.168.0.14:20000/AppPeaManager',
tjBaseUrl: 'http://192.168.2.147:18089/AppPeaManager',
tjBaseUrl: 'http://192.168.0.14:19100/AppPeaManager',
// tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
//实名制移动端-登录接口

View File

@ -120,6 +120,7 @@ import Crypoto from '@/utils/aescbc'
export default {
data() {
return {
isLoading: false,
token: uni.getStorageSync('tjToken'),
idcard: '',
active: null,
@ -326,6 +327,15 @@ export default {
},
// phyappoint
handleSave() {
if (this.isLoading) {
//
uni.showToast({
title: '请勿重复提交',
icon: 'none'
})
return
}
this.isLoading = true
const cry = new Crypoto()
const params = {
hospitalId: this.hospitalInfo.id,

View File

@ -61,6 +61,7 @@ import Crypoto from '@/utils/aescbc'
export default {
data() {
return {
isLoading: false,
token: uni.getStorageSync('tjToken'),
idcard: '',
active: null,
@ -230,6 +231,15 @@ export default {
},
// phyappoint
handleSave() {
if (this.isLoading) {
//
uni.showToast({
title: '请勿重复提交',
icon: 'none'
})
return
}
this.isLoading = true
const cry = new Crypoto()
const params = {
hospitalId: this.hospitalInfo.id,