12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!--
- * @Author: your name
- * @Date: 2021-10-11 14:56:37
- * @LastEditTime: 2021-12-22 10:30:13
- * @LastEditors: Please set LastEditors
- * @Description: In User Settings Edit
- * @FilePath: \hyyfClient\src\views\PdcData\analysis\ProductionDonuts.vue
- -->
- <template>
- <div class="production-donuts">
- <production-donut v-for="item in datas" :key="item.id" v-bind="item">
- </production-donut>
- </div>
- </template>
- <script>
- import ProductionDonut from "components/erp/ProductionDonut";
- export default {
- props: {
- data: {
- type: Array,
- required: true,
- },
- },
- data() {
- return {
- datas: [],
- };
- },
- watch: {
- data: {
- handler(newValue) {
- this.datas = newValue;
- },
- },
- },
- components: {
- ProductionDonut,
- },
- };
- </script>
- <style scoped>
- .production-donuts {
- padding-left: 70px;
- }
- </style>
|