顾客测体管理

zhc4dev
wangjiadong 2 years ago
parent 35e868ae14
commit ae0f7b6add
  1. 25
      ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue
  2. 36
      ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue
  3. 176
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java

@ -11,18 +11,18 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体店铺">
<j-select-depart placeholder="请选择量体店铺" v-model="queryParam.storeId"/>
<j-search-select-tag placeholder="请选择量体店铺" v-model="queryParam.storeId" dict="sys_depart,depart_name,id"/>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体设备">
<j-search-select-tag placeholder="请选择量体设备" v-model="queryParam.deviceId" dict="se_equipmenttype,name,id"/>
<j-search-select-tag placeholder="请选择量体设备" v-model="queryParam.deviceId" dict="zy_devicetypettype,name,id"/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体师">
<j-select-user-by-dep placeholder="请选择量体师" v-model="queryParam.measurerId"/>
<j-search-select-tag placeholder="请选择量体师" v-model="queryParam.measurerId" dict="sys_user,realname,id"/>
</a-form-item>
</a-col>
</template>
@ -103,19 +103,20 @@
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<!-- <a-dropdown>-->
<!--<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
<!--<a-menu slot="overlay">-->
<!--<a-menu-item>-->
<a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a-divider type="vertical" />
<!-- </a-menu-item>
<a-menu-item>-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
</a-menu>
</a-dropdown>
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>-->
</span>
</a-table>

@ -97,18 +97,42 @@
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体店铺" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="storeId">
<j-select-depart v-model="model.storeId" multi />
<a-form-model-item label="量体店铺" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="storename">
<j-popup
v-model="model.storename"
field="storename"
org-fields="id,depart_name"
dest-fields="storeId,storename"
code="fiandxs"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="deviceId">
<j-search-select-tag v-model="model.deviceId" dict="se_equipmenttype,name,id" />
<a-form-model-item label="量体设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="devicename">
<j-popup
v-model="model.devicename"
field="devicename"
org-fields="id,name"
dest-fields="deviceId,devicename"
code="findsb"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体师" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurerId">
<j-select-user-by-dep v-model="model.measurerId" />
<a-form-model-item label="量体师" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurername">
<j-popup
v-model="model.measurername"
field="measurername"
org-fields="id,realname"
dest-fields="measurerId,measurername"
code="findlts"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
</a-row>

@ -32,38 +32,38 @@ import lombok.experimental.Accessors;
public class CustomerMeasure implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private String id;
/**创建人*/
private java.lang.String id;
/**创建人*/
@ApiModelProperty(value = "创建人")
private String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createTime;
/**更新人*/
private java.util.Date createTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
/**所属部门*/
private java.util.Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
private java.lang.String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "用户")
private String userId;
/**用户名*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private String username;
private java.lang.String userId;
/**用户*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private java.lang.String username;
/**登录名*/
@Excel(name = "登录名", width = 15)
@ApiModelProperty(value = "登录名")
@ -72,82 +72,94 @@ public class CustomerMeasure implements Serializable {
@Excel(name = "排序", width = 15)
@ApiModelProperty(value = "排序")
private java.lang.Integer sort;
/**身高(厘米)*/
@Excel(name = "身高(厘米)", width = 15)
/**身高(厘米)*/
@Excel(name = "身高(厘米)", width = 15)
@ApiModelProperty(value = "身高(厘米)")
private Double height;
/**体重(千克)*/
@Excel(name = "体重(千克)", width = 15)
private java.lang.Double height;
/**体重(千克)*/
@Excel(name = "体重(千克)", width = 15)
@ApiModelProperty(value = "体重(千克)")
private Double weight;
/**下摆(厘米)*/
@Excel(name = "下摆(厘米)", width = 15)
private java.lang.Double weight;
/**下摆(厘米)*/
@Excel(name = "下摆(厘米)", width = 15)
@ApiModelProperty(value = "下摆(厘米)")
private Double hem;
/**袖口(厘米)*/
@Excel(name = "袖口(厘米)", width = 15)
private java.lang.Double hem;
/**袖口(厘米)*/
@Excel(name = "袖口(厘米)", width = 15)
@ApiModelProperty(value = "袖口(厘米)")
private Double cuff;
/**袖长(厘米)*/
@Excel(name = "袖长(厘米)", width = 15)
private java.lang.Double cuff;
/**袖长(厘米)*/
@Excel(name = "袖长(厘米)", width = 15)
@ApiModelProperty(value = "袖长(厘米)")
private Double sleeveLength;
/**胸围(厘米)*/
@Excel(name = "胸围(厘米)", width = 15)
private java.lang.Double sleeveLength;
/**胸围(厘米)*/
@Excel(name = "胸围(厘米)", width = 15)
@ApiModelProperty(value = "胸围(厘米)")
private Double bust;
/**腰围(厘米)*/
@Excel(name = "腰围(厘米)", width = 15)
private java.lang.Double bust;
/**腰围(厘米)*/
@Excel(name = "腰围(厘米)", width = 15)
@ApiModelProperty(value = "腰围(厘米)")
private Double theWaist;
/**肩宽(厘米)*/
@Excel(name = "肩宽(厘米)", width = 15)
private java.lang.Double theWaist;
/**肩宽(厘米)*/
@Excel(name = "肩宽(厘米)", width = 15)
@ApiModelProperty(value = "肩宽(厘米)")
private Double shoulderWidth;
/**前身长(厘米)*/
@Excel(name = "前身长(厘米)", width = 15)
private java.lang.Double shoulderWidth;
/**前身长(厘米)*/
@Excel(name = "前身长(厘米)", width = 15)
@ApiModelProperty(value = "前身长(厘米)")
private Double forebodyLength;
/**领围(厘米)*/
@Excel(name = "领围(厘米)", width = 15)
private java.lang.Double forebodyLength;
/**领围(厘米)*/
@Excel(name = "领围(厘米)", width = 15)
@ApiModelProperty(value = "领围(厘米)")
private Double neck;
/**臀围(厘米)*/
@Excel(name = "臀围(厘米)", width = 15)
private java.lang.Double neck;
/**臀围(厘米)*/
@Excel(name = "臀围(厘米)", width = 15)
@ApiModelProperty(value = "臀围(厘米)")
private Double hipline;
/**衣长*/
@Excel(name = "衣长", width = 15)
private java.lang.Double hipline;
/**衣长*/
@Excel(name = "衣长", width = 15)
@ApiModelProperty(value = "衣长")
private Double length;
/**胸距*/
@Excel(name = "胸距", width = 15)
private java.lang.Double length;
/**胸距*/
@Excel(name = "胸距", width = 15)
@ApiModelProperty(value = "胸距")
private Double sternalDistance;
/**量体方式*/
@Excel(name = "量体方式", width = 15, dicCode = "ctfs")
@Dict(dicCode = "ctfs")
private java.lang.Double sternalDistance;
/**量体方式*/
@Excel(name = "量体方式", width = 15, dicCode = "ctfs")
@Dict(dicCode = "ctfs")
@ApiModelProperty(value = "量体方式")
private String measurementMethod;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
private java.lang.String measurementMethod;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@ApiModelProperty(value = "量体店铺")
private java.lang.String storeId;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15)
@ApiModelProperty(value = "量体店铺")
private String storeId;
/**量体设备*/
@Excel(name = "量体设备", width = 15, dictTable = "se_equipmenttype", dicText = "name", dicCode = "id")
@Dict(dictTable = "se_equipmenttype", dicText = "name", dicCode = "id")
private java.lang.String storename;
/**量体设备*/
@Excel(name = "量体设备", width = 15, dictTable = "zy_devicetype", dicText = "name", dicCode = "id")
@Dict(dictTable = "zy_devicetype", dicText = "name", dicCode = "id")
@ApiModelProperty(value = "量体设备")
private String deviceId;
/**量体师*/
@Excel(name = "量体师", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
private java.lang.String deviceId;
/**量体设备*/
@Excel(name = "量体设备", width = 15)
@ApiModelProperty(value = "量体设备")
private java.lang.String devicename;
/**量体师*/
@Excel(name = "量体师", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "量体师")
private java.lang.String measurerId;
/**量体师*/
@Excel(name = "量体师", width = 15)
@ApiModelProperty(value = "量体师")
private String measurerId;
/**量体时间*/
@Excel(name = "量体时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String measurername;
/**量体时间*/
@Excel(name = "量体时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "量体时间")
private Date measurementTime;
private java.util.Date measurementTime;
}

Loading…
Cancel
Save