|
@@ -8,14 +8,14 @@
|
|
|
|
|
|
<view class="big-icon-button-box">
|
|
|
<view class="left-box">
|
|
|
- <img class="left-top-img" @click="goNull" src="@/images/basicsModules/img_bg_cjcx.png">
|
|
|
- <img class="left-bottom-img" @click="goPage('meViolation')" src="@/images/basicsModules/img_bg_wgjl.png">
|
|
|
+ <img class="left-top-img" @click="goNull" src="@/pages/images/img_bg_cjcx.png">
|
|
|
+ <img class="left-bottom-img" @click="goPage('meViolation')" src="@/pages/images/img_bg_wgjl.png">
|
|
|
</view>
|
|
|
- <img class="right-img" @click="goNull" src="@/images/basicsModules/img_bg_jfmx.png">
|
|
|
+ <img class="right-img" @click="goNull" src="@/pages/images/img_bg_jfmx.png">
|
|
|
</view>
|
|
|
<view class="bottom-max-box">
|
|
|
<view class="bottom-title">
|
|
|
- <img src="@/images/basicsModules/icon_sy_wdzs.png">
|
|
|
+ <img src="@/pages/images/icon_sy_wdzs.png">
|
|
|
<view>我的证书</view>
|
|
|
</view>
|
|
|
<view class="bottom-big-box">
|
|
@@ -34,10 +34,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { myViolationCount,queryMyCert,outSubjectPhoto,gradingControl,getGentleIdentifier,systemAppletLayoutSelect} from '@/api/basicsModules/index.js'
|
|
|
-import { tabBar } from '@/component/tabBar.vue'
|
|
|
-import { navBar } from '@/component/navbar.vue'
|
|
|
-import { homeConfigurationSlot } from '@/component/homeConfigurationSlot'
|
|
|
+import { myViolationCount,queryMyCert,outSubjectPhoto,gradingControl,getGentleIdentifier,systemAppletLayoutSelect} from '@/pages/api/index.js'
|
|
|
+import { tabBar } from '@/pages/component/tabBar.vue'
|
|
|
+import { navBar } from '@/pages/component/navbar.vue'
|
|
|
+import { homeConfigurationSlot } from '@/pages/component/homeConfigurationSlot'
|
|
|
import { getHomeConfig } from '@/utils/homeConfig'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
onlyFromCamera: true,
|
|
|
success: function (res) {
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/mine/codeSuccess?q='+encodeURIComponent(JSON.stringify(res.result))
|
|
|
+ url: '/pages_student/views/mine/codeSuccess?q='+encodeURIComponent(JSON.stringify(res.result))
|
|
|
});
|
|
|
}
|
|
|
});
|
|
@@ -145,40 +145,40 @@ export default {
|
|
|
goPage(type){
|
|
|
if(type == 'meViolation'){//我的违规
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/meViolation',
|
|
|
+ url: '/pages_student/views/views/workbench/meViolation',
|
|
|
});
|
|
|
}else if(type == 'photoInspection'){//离开检查
|
|
|
this.outSubjectPhoto();
|
|
|
}else if(type == 'resultInquiry'){//成绩查询
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/resultInquiry',
|
|
|
+ url: '/pages_student/views/workbench/resultInquiry',
|
|
|
});
|
|
|
}else if(type == 'casuallyPat'){//随手拍
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages/casuallyPat',//随手拍
|
|
|
+ url: '/pages/views/casuallyPat',//随手拍
|
|
|
});
|
|
|
}else if(type == 'safeAccess'){//安全准入
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/safeAccess/safeAccess',
|
|
|
+ url: '/pages_student/views/views/workbench/safeAccess/safeAccess',
|
|
|
});
|
|
|
}else if(type == 'examList'){//在线考试
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/exam/examList',
|
|
|
+ url: '/pages_student/views/workbench/exam/examList',
|
|
|
});
|
|
|
}else if(type == 'grading'){
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/gradingControl/gradingControl',//分级管控
|
|
|
+ url: '/pages_student/views/gradingControl/gradingControl',//分级管控
|
|
|
});
|
|
|
}else if(type == 'safetyInspect'){//安全检查
|
|
|
|
|
|
this.getGentleIdentifier();
|
|
|
// uni.navigateTo({
|
|
|
- // url: '/pages_manage/workbench/problemRectification/rectifyList',//安全检查
|
|
|
+ // url: '/pages_manage/views/workbench/problemRectification/rectifyList',//安全检查
|
|
|
// });
|
|
|
|
|
|
}else if(type == 'gas'){//气瓶管理
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/gasManage/gasManage',
|
|
|
+ url: '/pages_student/views/gasManage/gasManage',
|
|
|
});
|
|
|
}else if(type == 'none'){
|
|
|
uni.showToast({
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
sourceRiskUrl:"",
|
|
|
};
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/photoInspection?newData='+encodeURIComponent(JSON.stringify(obj)),
|
|
|
+ url: '/pages_student/views/workbench/photoInspection?newData='+encodeURIComponent(JSON.stringify(obj)),
|
|
|
});
|
|
|
}else if(data.data == false){
|
|
|
//不需要检查
|
|
@@ -230,7 +230,7 @@ export default {
|
|
|
sourceRiskUrl:data.data.sourceRiskUrl,
|
|
|
};
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages_student/workbench/photoInspection?newData='+encodeURIComponent(JSON.stringify(obj)),
|
|
|
+ url: '/pages_student/views/workbench/photoInspection?newData='+encodeURIComponent(JSON.stringify(obj)),
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -261,7 +261,7 @@ export default {
|
|
|
uni.setStorageSync('gentleIdentifierData',data.data)
|
|
|
if(pageType){
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages/safetyExamineWorkbench',
|
|
|
+ url: '/pages/views/safetyExamineWorkbench',
|
|
|
});
|
|
|
}else{
|
|
|
uni.showToast({
|