41 lines
923 B
Vue
41 lines
923 B
Vue
<!--
|
|
* @Author: zhp
|
|
* @Date: 2023-01-31 14:12:10
|
|
* @LastEditTime: 2023-05-24 14:42:35
|
|
* @LastEditors: zhp
|
|
* @Description:
|
|
-->
|
|
<template>
|
|
<span>
|
|
最近 {{ injectData.normalToTightenedOne}} 批中{{ injectData.normalToTightenedTwo }} 批检验不合格
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
// import { addDynamicRoute } from '@/router'
|
|
export default {
|
|
props: {
|
|
injectData: {
|
|
type: Object,
|
|
default: () => ({}),
|
|
},
|
|
},
|
|
methods: {
|
|
// 子级
|
|
// emitClick () {
|
|
// // 路由参数
|
|
// const routeParams = {
|
|
// routeName: `${this.$route.name}__${this.injectData.id}`,
|
|
// title: `${this.$route.meta.title} - ${this.injectData.dictType}`,
|
|
// path: 'sys/dict-data',
|
|
// params: {
|
|
// dictTypeId: this.injectData.id
|
|
// }
|
|
// }
|
|
// // 动态路由
|
|
// addDynamicRoute(routeParams, this.$router)
|
|
// }
|
|
},
|
|
};
|
|
</script>
|