This commit is contained in:
binbin_pan 2024-12-18 19:01:20 +08:00
parent 9c6f47ee89
commit 6e20aa837c
6 changed files with 79 additions and 76 deletions

124
config.js
View File

@ -1,83 +1,33 @@
// 产线
// 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/',
// //实名制移动端-登录接口
// realLoginUrl: 'http://192.168.0.14:9200/',
// //实名制移动端-移动
// realAppUrl: 'http://192.168.0.14:1913/app',
// //实名制移动端-安培
// realExamUrl: 'http://192.168.0.14:1910',
// //实名制移动端-文件
// realFileUrl: 'http://192.168.0.14:1909/file/',
// //实名制移动端
// realBmwUrl: 'http://192.168.0.14:1911/bmw',
// //实名制移动端 -- 新
// realNewBmwUrl: 'http://192.168.0.14:1911',
// //实名制移动端 -- 新
// realNewYnUrl: 'http://192.168.0.14:1918',
// // 应用信息
// appInfo: {
// // 应用名称
// name: '作业管控智慧平台',
// // 应用版本
// version: '1.1.0'
// }
// }
// 测试环境
module.exports = {
// baseUrl:'/prod-api',
// http://192.168.0.14:19999
loginBaseUrl: 'http://112.29.103.165:1616',
// loginBaseUrl: 'http://192.168.0.14:27018',
// loginBaseUrl:'http://192.168.0.14:19999',
// baseUrl:'http://192.168.0.14:2900',
baseUrl: 'http://192.168.0.14:19999',
// loginUrl: 'http://112.29.103.165:1616',
login: 'http://192.168.0.14:19200',
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://192.168.0.14:19999/exam-file/',
fileUrl: 'http://112.29.103.165:1616/exam-file/',
// 上传文件地址
uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
// 体检-基础路径
tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
// tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
//实名制移动端-登录接口
realLoginUrl: 'http://192.168.0.14:1616/auth/',
realBaseUrl: 'http://192.168.0.14:1910/',
realLoginUrl: 'http://192.168.0.14:9200/',
//实名制移动端-移动
realAppUrl: 'http://192.168.0.14:1913/app',
//实名制移动端-安培
realExamUrl: 'http://192.168.0.14:1616/system',
realExamUrl: 'http://192.168.0.14:1910',
//实名制移动端-文件
realFileUrl: 'http://192.168.0.14:1909/file/',
//实名制移动端
realBmwUrl: 'http://192.168.0.14:1616/bmw',
realBmwUrl: 'http://192.168.0.14:1911/bmw',
//实名制移动端 -- 新
realNewBmwUrl: 'http://192.168.0.14:1616',
loginUrl: 'http://192.168.0.14:27018',
realNewBmwUrl: 'http://192.168.0.14:1911',
//实名制移动端 -- 新
realNewYnUrl: 'http://192.168.0.14:1918',
realIdCardUrl: 'http://192.168.0.14:26699',
//作业计划 -- 新
workPlanNewYnUrl: 'http://192.168.0.14:19191',
// 应用信息
appInfo: {
@ -87,3 +37,53 @@ module.exports = {
version: '1.1.0'
}
}
// 测试环境
// module.exports = {
// // baseUrl:'/prod-api',
// // http://192.168.0.14:19999
// loginBaseUrl: 'http://112.29.103.165:1616',
// // loginBaseUrl: 'http://192.168.0.14:27018',
// // loginBaseUrl:'http://192.168.0.14:19999',
// // baseUrl:'http://192.168.0.14:2900',
// baseUrl: 'http://192.168.0.14:19999',
// // loginUrl: 'http://112.29.103.165:1616',
// login: 'http://192.168.0.14:19200',
// // 图片展示基础地址
// fileUrl: 'http://192.168.0.14:19999/exam-file/',
// // 上传文件地址
// 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:18077/AppPeaManager',
// // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
// tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
// //实名制移动端-登录接口
// realLoginUrl: 'http://192.168.0.14:1616/auth/',
// realBaseUrl: 'http://192.168.0.14:1910/',
// //实名制移动端-移动
// realAppUrl: 'http://192.168.0.14:1913/app',
// //实名制移动端-安培
// realExamUrl: 'http://192.168.0.14:1616/system',
// //实名制移动端-文件
// realFileUrl: 'http://192.168.0.14:1909/file/',
// //实名制移动端
// realBmwUrl: 'http://192.168.0.14:1616/bmw',
// //实名制移动端 -- 新
// realNewBmwUrl: 'http://192.168.0.14:1616',
// loginUrl: 'http://192.168.0.14:27018',
// //实名制移动端 -- 新
// realNewYnUrl: 'http://192.168.0.14:1918',
// realIdCardUrl: 'http://192.168.0.14:26699',
// //作业计划 -- 新
// workPlanNewYnUrl: 'http://192.168.0.14:19191',
// // 应用信息
// appInfo: {
// // 应用名称
// name: '作业管控智慧平台',
// // 应用版本
// version: '1.1.0'
// }
// }

View File

@ -12,7 +12,7 @@
</view>
<view class="opt-grids">
<view v-for="(part, index) in opts" :key="index" @click="jumpUrl(part.url)">
<image :src="part.src" mode=""></image>
<image :src="part.src" mode="" style="width: 58px; height: 58px;"></image>
<span>{{ part.name }}</span>
</view>
</view>
@ -50,7 +50,7 @@
</div>
<view class="no-task" v-show="!taskList || taskList.length === 0">
<view class="no-task-img">
<image src="/static/eduImg/no-task.png"></image>
<image src="/static/eduImg/no-task.png" style="width: 179px; height: 94px;"></image>
<span>可联系管理员发布</span>
</view>
</view>

View File

@ -5,11 +5,11 @@
id="myVideo"
:src="path"
:initial-time="studyDuration"
:show-progress="false"
:show-progress="true"
:enable-progress-gesture="false"
@error="videoErrorCallback"
@timeupdate="videoTimeUpdate"
:controls="false"
:controls="true"
:autoplay="true"
/>
</div>

View File

@ -46,11 +46,11 @@
</view>
</view>
</view>
<div class="no-data" v-if="projList.length == 0">
<image src="/static/images/zanwuneirong.png" mode="aspectFit" />
<view class="no-data-text">暂无内容</view>
</div>
</view>
<div class="no-data" v-if="projList.length == 0">
<image src="/static/images/zanwuneirong.png" mode="aspectFit" />
<view class="no-data-text">暂无内容</view>
</div>
</view>
</template>

View File

@ -25,7 +25,7 @@
<view class="yy-box">
<view class="bt">我的应用</view>
<view class="yy-list">
<view class="yy-one" @click="gotoYy(item.appName)" v-for="(item, index) in allApp" :key="index">
<view class="yy-one" @click="gotoYy(item.appName)" v-for="(item, index) in myApp" :key="index">
<view class="yy-img">
<image :src="item.base64Url"></image>
</view>
@ -440,6 +440,9 @@ export default {
if (response.code == 200) {
console.log('我的应用-----------', response)
this.myApp = response.data
if (this.myApp.length == 1 && this.myApp[0].appName == '考试培训移动端') {
this.gotoYy('考试培训移动端')
}
} else {
uni.$u.toast('获取我的应用失败')
}

View File

@ -15,11 +15,11 @@ export default {
selectedIconPath: "static/images/dh2s.png",
text: "工作台",
//新版本新增页面被打开方式默认为reLaunch
}, {
pagePath: "pages/txl/index",
iconPath: "static/images/dh3.png",
selectedIconPath: "static/images/dh3s.png",
text: "通讯录",
// }, {
// pagePath: "pages/txl/index",
// iconPath: "static/images/dh3.png",
// selectedIconPath: "static/images/dh3s.png",
// text: "通讯录",
//新版本新增页面被打开方式默认为reLaunch
}, {
pagePath: "pages/mine/index",