Merge pull request '1' (#51) from pc-master into portal

Reviewed-on: #51
pull/69/head^2
xiaomeng 2023-11-21 09:10:03 +00:00
commit 10969d9dc8
2 changed files with 23 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<template v-for="item, index in leftList"> <template v-for="item, index in leftList">
<el-collapse-item :name="index + 1" :key="index" v-if="!item.isRouter"> <el-collapse-item :name="index + 1" :key="index" v-if="!item.isRouter">
<template slot="title" class="collapse-title"> <template slot="title" class="collapse-title">
<div class="img" @click="toRouter1(item)"><img :src="item.img" alt=""></div> {{ item.name }} <div class="img"><img :src="item.img" alt=""></div> {{ item.name }}
</template> </template>
<ul class="table-ul"> <ul class="table-ul">
<li class="table-li" @click="toRouter1(item1)" <li class="table-li" @click="toRouter1(item1)"
@ -57,7 +57,7 @@ export default {
leftList: [ leftList: [
{ name: '种植计划', img: require('../assets/image/vrcode-icon0.png'), list: [], router: 'plantingPlan', isRouter: true, }, { name: '种植计划', img: require('../assets/image/vrcode-icon0.png'), list: [], router: 'plantingPlan', isRouter: true, },
{ name: '生产环节', routerList: ['agricultural','sprayInsecticide','spreadManure','pickingRecords'], img: require('../assets/image/vrcode-icon1.png'), list: [{ name: '农事管理',router:'agricultural' }, { name: '施肥记录',router:'spreadManure' }, { name: '打药记录',router:'sprayInsecticide' }, { name: '采摘记录',router:'pickingRecords' }, { name: '清洁记录' }, { name: '病虫害管理' },] }, { name: '生产环节', routerList: ['agricultural','sprayInsecticide','spreadManure','pickingRecords'], img: require('../assets/image/vrcode-icon1.png'), list: [{ name: '农事管理',router:'agricultural' }, { name: '施肥记录',router:'spreadManure' }, { name: '打药记录',router:'sprayInsecticide' }, { name: '采摘记录',router:'pickingRecords' }, { name: '清洁记录' }, { name: '病虫害管理' },] },
{ name: '产品追溯', routerList: [],router: 'productTraceability', img: require('../assets/image/vrcode-icon2.png'), list: [{ name: '溯源批次' }, { name: '配置溯源版面' }, { name: '各种报告库' }] }, { name: '产品追溯', routerList: [], img: require('../assets/image/vrcode-icon2.png'), list: [{ name: '产品追溯',router: 'productTraceability' },{ name: '溯源批次' }, { name: '配置溯源版面' }, { name: '各种报告库' }] },
{ name: '基础信息设置', routerList: [], img: require('../assets/image/vrcode-icon3.png'), list: [{ name: '作物品种' }, { name: '种植栽培模式' }, { name: '农事作业工序' }, { name: '人员管理' }, { name: '农场信息管理' }, { name: '供应商管理' }, { name: '生产资料管理' }, { name: '农机工具管理' }, { name: '作物外观图片库' },] },], { name: '基础信息设置', routerList: [], img: require('../assets/image/vrcode-icon3.png'), list: [{ name: '作物品种' }, { name: '种植栽培模式' }, { name: '农事作业工序' }, { name: '人员管理' }, { name: '农场信息管理' }, { name: '供应商管理' }, { name: '生产资料管理' }, { name: '农机工具管理' }, { name: '作物外观图片库' },] },],
routerNow: 'plantingPlan', routerNow: 'plantingPlan',
deviceName: 1, deviceName: 1,

View File

@ -0,0 +1,21 @@
<template>
<div class="productTraceability ">
<div class="productTraceability-title">
<span>产品追溯</span>
</div>
</div>
</template>
<script>
export default {
data() {
return {}
},
mounted() { },
methods: {
},
}
</script>
<style lang="scss"></style>