From 1960d1e18a750268ea11ab37637cb3b0f3605736 Mon Sep 17 00:00:00 2001
From: mors <3067699729@qq.com>
Date: Thu, 15 Sep 2022 18:38:49 +0800
Subject: [PATCH] =?UTF-8?q?20220803-=E6=88=90=E8=A1=A3=E6=A0=B7=E6=9D=BF?=
=?UTF-8?q?=E4=B8=AD=E7=9A=84=E4=B8=8B=E6=8B=89=E5=88=97=E8=A1=A8=E5=89=8D?=
=?UTF-8?q?=E5=90=8E=E7=AB=AF=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/zyclothsample/ZyClothSampleList.vue | 294 ++++++++++--------
.../modules/ZyClothSampleForm.vue | 33 +-
.../views/zystylemodule/ZyStyleModuleList.vue | 210 +++++++------
.../zyclothsample/entity/ZyClothSample.java | 55 +++-
4 files changed, 344 insertions(+), 248 deletions(-)
diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/ZyClothSampleList.vue b/ant-design-vue-jeecg/src/views/zyclothsample/ZyClothSampleList.vue
index b4518e15..a16a4f5c 100644
--- a/ant-design-vue-jeecg/src/views/zyclothsample/ZyClothSampleList.vue
+++ b/ant-design-vue-jeecg/src/views/zyclothsample/ZyClothSampleList.vue
@@ -19,10 +19,10 @@
查询
重置
-
+
@@ -34,23 +34,31 @@
新增
导出
-
+
导入
-
+
- 删除
+
+
+ 删除
+
- 批量操作
+ 批量操作
+
+
@@ -74,8 +82,9 @@
无图片
-
-
+
+
-
+
编辑
+
+
+
+
+
+ 详情
+ handleDelete(record.id)">
+ 删除
+
+
+
+
+ <!–详情–>
详情
@@ -118,7 +141,7 @@
-
+ -->
@@ -129,125 +152,148 @@
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue
index 9cd55827..f35082f8 100644
--- a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue
+++ b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue
@@ -8,31 +8,50 @@
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/ant-design-vue-jeecg/src/views/zystylemodule/ZyStyleModuleList.vue b/ant-design-vue-jeecg/src/views/zystylemodule/ZyStyleModuleList.vue
index 4315394b..1c46f298 100644
--- a/ant-design-vue-jeecg/src/views/zystylemodule/ZyStyleModuleList.vue
+++ b/ant-design-vue-jeecg/src/views/zystylemodule/ZyStyleModuleList.vue
@@ -6,17 +6,20 @@
-
+
-
-
+
+
-
+
@@ -34,23 +37,29 @@
新增
导出
-
+
-
+
- 删除
+
+
+ 删除
+
- 批量操作
+ 批量操作
+
+
@@ -73,7 +82,8 @@
无图片
-
+
无文件
@@ -90,9 +100,9 @@
编辑
-
+
详情
-
+
handleDelete(record.id)">
删除
@@ -107,100 +117,100 @@
\ No newline at end of file
diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsample/entity/ZyClothSample.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsample/entity/ZyClothSample.java
index 0397a8a4..d4281786 100644
--- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsample/entity/ZyClothSample.java
+++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsample/entity/ZyClothSample.java
@@ -1,21 +1,20 @@
package org.jeecg.modules.zyclothsample.entity;
-import java.io.Serializable;
-import java.io.UnsupportedEncodingException;
-import java.util.Date;
-import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
-import org.springframework.format.annotation.DateTimeFormat;
-import org.jeecgframework.poi.excel.annotation.Excel;
-import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
+import org.jeecg.common.aspect.annotation.Dict;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.util.Date;
/**
* @Description: 成衣样板
@@ -39,6 +38,36 @@ public class ZyClothSample implements Serializable {
@Excel(name = "编号", width = 15)
@ApiModelProperty(value = "编号")
private String nums;
+ /**款式*/
+ @Excel(name = "款式", width = 15)
+ @ApiModelProperty(value = "款式")
+ private String styleId;
+ /**型号*/
+ @Excel(name = "型号", width = 15)
+ @ApiModelProperty(value = "型号")
+ private String stylemodelId;
+
+ /**管理模块样板*/
+ /*@Dict(dicCode = "id",dictTable = "sys_user",dicText = "realname")
+ private String managerId;*/
+ //dicCode为关联表的组件
+ //dictTable为关联表
+ //dicText 为需要显示的内容
+ @Excel(name = "模块样板", width = 15)
+ @ApiModelProperty(value = "模块样板")
+ @Dict(dicCode = "id",dictTable = "zy_module_sample",dicText = "module_name")
+ private String modelSample;
+ /**用户*/
+ @Excel(name = "用户", width = 15)
+ @ApiModelProperty(value = "用户")
+ private String userId;
+ /**创建日期*/
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+ @ApiModelProperty(value = "创建日期")
+ private Date createTime;
+
+
/**成衣名称*/
@Excel(name = "成衣名称", width = 15)
@ApiModelProperty(value = "成衣名称")
@@ -51,17 +80,9 @@ public class ZyClothSample implements Serializable {
@Excel(name = "图片", width = 15)
@ApiModelProperty(value = "图片")
private String url;
- /**用户*/
- @Excel(name = "用户", width = 15)
- @ApiModelProperty(value = "用户")
- private String userId;
/**用户类型*/
@Excel(name = "用户类型", width = 15)
@ApiModelProperty(value = "用户类型")
private String type;
- /**创建日期*/
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
- @DateTimeFormat(pattern="yyyy-MM-dd")
- @ApiModelProperty(value = "创建日期")
- private Date createTime;
+
}