@@ -23,18 +23,18 @@
import { reactive } from "vue";
const config = reactive({
- header: ["组件", "分支", "覆盖率"],
+ header: ["学校", "厨师名", "点赞数"],
data: [
- ["组件1", "dev-1", "
↑75%"],
- ["组件2", "dev-2", "
↓33%"],
- ["组件3", "dev-3", "
↑100%"],
- ["组件4", "rea-1", "
↑94%"],
- ["组件5", "rea-2", "
↑95%"],
- ["组件6", "fix-2", "
↑63%"],
- ["组件7", "fix-4", "
↑84%"],
- ["组件8", "fix-7", "
↓46%"],
- ["组件9", "dev-2", "
↓13%"],
- ["组件10", "dev-9", "
↑76%"],
+ ["中学", "李1", "
↑750"],
+ ["小学", "李2", "
↓73"],
+ ["幼儿园", "李3", "
↑190"],
+ ["小学", "张1", "
↑940"],
+ ["幼儿园", "张2", "
↑195"],
+ ["中学", "刘2", "
↑163"],
+ ["小学", "刘4", "
↑184"],
+ ["小学", "刘7", "
↓146"],
+ ["中学", "曹2", "
↓130"],
+ ["中学", "曹9", "
↑176"],
],
rowNum: 7, // 表格行数
headerHeight: 35,
diff --git a/src/views/smartRecipes/dailyRecipes/index.vue b/src/views/smartRecipes/dailyRecipes/index.vue
index f977414..9031cd3 100644
--- a/src/views/smartRecipes/dailyRecipes/index.vue
+++ b/src/views/smartRecipes/dailyRecipes/index.vue
@@ -50,14 +50,7 @@
createTime: "2025-04-30",
endTime: "2025-05-18",
id: "1917456673534976001",
- Monday:
- "紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
- Tuesday:
- "紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
- Wednesday:
- "紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
- Thursday: "",
- Friday:
+ today:
"紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
Saturday: "",
Sunday: "",
@@ -66,17 +59,11 @@
{
companyName: "南头央厨",
deptName: "南头升辉小学",
- type: "午餐",
+ type: "晚餐",
createTime: "2025-04-30",
endTime: "2025-05-18",
id: "1917456673534976001",
- Monday:
- "紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
- Tuesday:
- "紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
- Wednesday: "",
- Thursday: "",
- Friday:
+ today:
"紫苏洋葱炒鸡/冬瓜炒肉片/红腰豆焖鸭/酸甜锅包肉/肉沫粉丝蒸水蛋/例汤",
Saturday: "",
Sunday: "",
@@ -95,6 +82,24 @@
type: "input",
label: "商品名称",
},
+ type:{
+ type:'select',
+ label: '餐次',
+ options:[
+ {
+ value:'早餐',
+ label:'早餐'
+ },
+ {
+ value:'中餐',
+ label:'中餐'
+ },
+ {
+ value:'晚餐',
+ label:'晚餐'
+ }
+ ]
+ }
});
const columns = ref
([
@@ -130,121 +135,13 @@
title: "结束日期",
},
{
- key: "Monday",
- title: "星期一",
+ key: "today",
+ title: "当天",
width: 100,
- render: ({ Monday }) => {
+ render: ({ today }) => {
return (
- {Monday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Tuesday",
- title: "星期二",
- width: 100,
- render: ({ Tuesday }) => {
- return (
-
- {Tuesday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Wednesday",
- title: "星期三",
- width: 100,
- render: ({ Wednesday }) => {
- return (
-
- {Wednesday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Thursday",
- title: "星期四",
- width: 100,
- render: ({ Thursday }) => {
- return (
-
- {Thursday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Friday",
- title: "星期五",
- width: 100,
- render: ({ Friday }) => {
- return (
-
- {Friday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Saturday",
- title: "星期六",
- width: 100,
- render: ({ Saturday }) => {
- return (
-
- {Saturday.split("/").map(
- (item: any, index: PropertyKey | undefined) => (
-
- {item}
-
- )
- )}
-
- );
- },
- },
- {
- key: "Sunday",
- title: "星期日",
- width: 100,
- render: ({ Sunday }) => {
- return (
-
- {Sunday.split("/").map(
+ {today.split("/").map(
(item: any, index: PropertyKey | undefined) => (
{item}
diff --git a/src/views/smartRecipes/menuManagement/index.vue b/src/views/smartRecipes/menuManagement/index.vue
index 641bc84..8c1d1b9 100644
--- a/src/views/smartRecipes/menuManagement/index.vue
+++ b/src/views/smartRecipes/menuManagement/index.vue
@@ -1,11 +1,279 @@
-
-
+
-菜单管理
+
+
+
+
+ 添加
+
+ 清空
+ 打印
+
+
+
+
+