diff --git a/src/views/personnelManagement/departmentStructure/index.vue b/src/views/personnelManagement/departmentStructure/index.vue index 7512eb0..3c05fe7 100644 --- a/src/views/personnelManagement/departmentStructure/index.vue +++ b/src/views/personnelManagement/departmentStructure/index.vue @@ -4,6 +4,7 @@ :isPageTable="true"> diff --git a/src/views/smartRecipes/foodManagement/index.ts b/src/views/smartRecipes/foodManagement/index.ts new file mode 100644 index 0000000..98c7edb --- /dev/null +++ b/src/views/smartRecipes/foodManagement/index.ts @@ -0,0 +1,175 @@ +export interface FoodItemValue { + ca?:number | string, + carbs?:number | string, + code?:string, + createTime?:string, + createUserId?:string, + createUserName?:string, + dietaryFiber?: number | string, + fat?: number | string, + fe?: number | string, + id?: string, + image?:string, + label?:number | string, + labelStr?:string, + name?:string, + power?:number | string, + primaryType?:string, + primaryTypeName?:string, + protein?:number | string, + se?: number | string, + secondaryType?:string, + secondaryTypeName?:string, + supplier?: string, + supplyCost?:number | string, + supplyProductCode?:string, + supplyProductName?:string, + updateTime?:string, + vitaminA?:number | string, + vitaminB1?: number | string, + vitaminB2?:number | string, + vitaminC?: number | string, + vitaminE?: number | string, + zn?: number | string +} + +const datalist:FoodItemValue[] = [ + { + ca:28, + carbs: 2, + code:"0452061", + createTime:"2024-04-10 00:15:48", + createUserId:"1", + createUserName:"系统管理员", + dietaryFiber: 1.2, + fat: 0.4, + fe: 1, + id: "1777629039623471334", + image:"https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg", + label:3, + labelStr:"果蔬", + name:"梅菜", + power:16, + primaryType:"1732325785633374210", + primaryTypeName:"蔬菜类及制品", + protein:1.8, + se: 0.53, + secondaryType:"1732327277182402562", + secondaryTypeName:"嫩茎、叶、花菜类", + supplier: "", + supplyCost:0, + supplyProductCode:"FBC10001", + supplyProductName:"甜梅菜", + updateTime:"2024-08-03 23:07:20", + vitaminA:142, + vitaminB1: 0.02, + vitaminB2:0.11, + vitaminC: 72, + vitaminE: 0.64, + zn: 0.41 + }, + { + ca:28, + carbs: 2, + code:"0452061", + createTime:"2024-04-10 00:15:48", + createUserId:"1", + createUserName:"系统管理员", + dietaryFiber: 1.2, + fat: 0.4, + fe: 1, + id: "1777629039623471334", + image:"https://picsum.photos/id/10/100/100", + label:3, + labelStr:"果蔬", + name:"梅菜", + power:16, + primaryType:"1732325785633374210", + primaryTypeName:"蔬菜类及制品", + protein:1.8, + se: 0.53, + secondaryType:"1732327277182402562", + secondaryTypeName:"嫩茎、叶、花菜类", + supplier: "", + supplyCost:0, + supplyProductCode:"FBC10001", + supplyProductName:"甜梅菜", + updateTime:"2024-08-03 23:07:20", + vitaminA:142, + vitaminB1: 0.02, + vitaminB2:0.11, + vitaminC: 72, + vitaminE: 0.64, + zn: 0.41 + }, + { + ca:28, + carbs: 2, + code:"0452061", + createTime:"2024-04-10 00:15:48", + createUserId:"1", + createUserName:"系统管理员", + dietaryFiber: 1.2, + fat: 0.4, + fe: 1, + id: "1777629039623471334", + image:"https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg", + label:3, + labelStr:"果蔬", + name:"梅菜", + power:16, + primaryType:"1732325785633374210", + primaryTypeName:"蔬菜类及制品", + protein:1.8, + se: 0.53, + secondaryType:"1732327277182402562", + secondaryTypeName:"嫩茎、叶、花菜类", + supplier: "", + supplyCost:0, + supplyProductCode:"FBC10001", + supplyProductName:"甜梅菜", + updateTime:"2024-08-03 23:07:20", + vitaminA:142, + vitaminB1: 0.02, + vitaminB2:0.11, + vitaminC: 72, + vitaminE: 0.64, + zn: 0.41 + }, + { + ca:28, + carbs: 2, + code:"0452061", + createTime:"2024-04-10 00:15:48", + createUserId:"1", + createUserName:"系统管理员", + dietaryFiber: 1.2, + fat: 0.4, + fe: 1, + id: "1777629039623471334", + image:"https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg", + label:3, + labelStr:"果蔬", + name:"梅菜", + power:16, + primaryType:"1732325785633374210", + primaryTypeName:"蔬菜类及制品", + protein:1.8, + se: 0.53, + secondaryType:"1732327277182402562", + secondaryTypeName:"嫩茎、叶、花菜类", + supplier: "", + supplyCost:0, + supplyProductCode:"FBC10001", + supplyProductName:"甜梅菜", + updateTime:"2024-08-03 23:07:20", + vitaminA:142, + vitaminB1: 0.02, + vitaminB2:0.11, + vitaminC: 72, + vitaminE: 0.64, + zn: 0.41 + } +]; + +export default datalist; diff --git a/src/views/smartRecipes/foodManagement/index.vue b/src/views/smartRecipes/foodManagement/index.vue index 44a0dba..afa9a52 100644 --- a/src/views/smartRecipes/foodManagement/index.vue +++ b/src/views/smartRecipes/foodManagement/index.vue @@ -1,11 +1,618 @@ - - + \ No newline at end of file