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

View File

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

View File

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