|
@@ -1,20 +1,20 @@
|
|
-<!--
|
|
|
|
|
|
+<!--
|
|
首页按钮匹配组件
|
|
首页按钮匹配组件
|
|
<homeConfigurationSlot v-if="homeConfigData[0]" :homeConfig="homeConfigData[0]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[0]" :homeConfig="homeConfigData[0]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[1]" :homeConfig="homeConfigData[1]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[1]" :homeConfig="homeConfigData[1]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[2]" :homeConfig="homeConfigData[2]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[2]" :homeConfig="homeConfigData[2]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[3]" :homeConfig="homeConfigData[3]"></homeConfigurationSlot>
|
|
<homeConfigurationSlot v-if="homeConfigData[3]" :homeConfig="homeConfigData[3]"></homeConfigurationSlot>
|
|
-
|
|
|
|
|
|
+
|
|
import { homeConfigurationSlot } from '@/pages/component/homeConfigurationSlot'
|
|
import { homeConfigurationSlot } from '@/pages/component/homeConfigurationSlot'
|
|
import { getHomeConfig } from '@/utils/homeConfig.js'
|
|
import { getHomeConfig } from '@/utils/homeConfig.js'
|
|
|
|
|
|
components: {
|
|
components: {
|
|
homeConfigurationSlot,
|
|
homeConfigurationSlot,
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
homeConfigData: [],
|
|
homeConfigData: [],
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
async systemAppletLayoutSelect() {
|
|
async systemAppletLayoutSelect() {
|
|
const {data} = await systemAppletLayoutSelect({module:'home'})
|
|
const {data} = await systemAppletLayoutSelect({module:'home'})
|
|
if(data.code == 200){
|
|
if(data.code == 200){
|
|
@@ -68,7 +68,8 @@
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
outSubjectPhoto,
|
|
outSubjectPhoto,
|
|
- gradingControl
|
|
|
|
|
|
+ gradingControl,
|
|
|
|
+ getGentleIdentifier
|
|
} from '@/pages/api/index.js'
|
|
} from '@/pages/api/index.js'
|
|
export default {
|
|
export default {
|
|
name: "homeConfigurationSlot",
|
|
name: "homeConfigurationSlot",
|
|
@@ -106,10 +107,10 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
if (item.route === 'safetyExamine') { //安全检查
|
|
if (item.route === 'safetyExamine') { //安全检查
|
|
- uni.navigateTo({
|
|
|
|
|
|
+ /* uni.navigateTo({
|
|
url: item.routeUrl,
|
|
url: item.routeUrl,
|
|
- });
|
|
|
|
- //this.getGentleIdentifier(item.routeUrl)
|
|
|
|
|
|
+ }); */
|
|
|
|
+ this.getGentleIdentifier(item.routeUrl)
|
|
}
|
|
}
|
|
if (item.route === 'leaveInspection') { //离开检查
|
|
if (item.route === 'leaveInspection') { //离开检查
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
@@ -438,4 +439,4 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|