| | |
| | | import GlassType from '@/components/basic/product/GlassType.vue' |
| | | |
| | | |
| | | |
| | | const router = useRouter() |
| | | let flag = $ref(true) |
| | | let flag1 = $ref(true) |
| | | function intoWork(){ |
| | | if(flag){ |
| | | router.push('/main/reportingWorks/AddReportingWork') |
| | | }else { |
| | | router.push('/main/reportingWorks/SelectReportingWorks') |
| | | } |
| | | flag=!flag |
| | | } |
| | | function intoReview(){ |
| | | if(flag1){ |
| | | router.push('/main/reportingWorks/QualityInspectionReview') |
| | | }else { |
| | | router.push('/main/reportingWorks/SelectReportingWorks') |
| | | } |
| | | flag1=!flag1 |
| | | let indexFlag=$ref(1) |
| | | function changeRouter(index){ |
| | | indexFlag=index |
| | | } |
| | | </script> |
| | | |
| | |
| | | <div id="main"> |
| | | <div id="div-title"> |
| | | <el-breadcrumb :separator-icon="ArrowRight"> |
| | | <el-breadcrumb-item :to="{ path: '/main/reportingWorks/SelectReportingWorks' }">报工管理</el-breadcrumb-item> |
| | | <el-breadcrumb-item :to="{ path: '/main/reportingWorks/AddReportingWork' }">报工新增</el-breadcrumb-item> |
| | | <el-breadcrumb-item :to="{ path: '/main/reportingWorks/QualityInspectionReview' }">质检审核</el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(1)" :class="indexFlag===1?'indexTag':''" :to="{ path: '/main/reportingWorks/SelectReportingWorks' }">报工管理</el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(2)" :class="indexFlag===2?'indexTag':''" :to="{ path: '/main/reportingWorks/AddReportingWork' }">报工新增</el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(3)" :class="indexFlag===3?'indexTag':''" :to="{ path: '/main/reportingWorks/QualityInspectionReview' }">质检审核</el-breadcrumb-item> |
| | | <el-breadcrumb-item :to="{ path: '/main/processCard/SelectPrintFlowCard' }" style="display: none">打印</el-breadcrumb-item> |
| | | </el-breadcrumb> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <style scoped> |
| | | :deep(.indexTag .el-breadcrumb__inner){ |
| | | color: #5CADFE !important; |
| | | } |
| | | #main{ |
| | | width: 100%; |
| | | height: 100%; |