diff --git a/admin-pc/.env.development b/admin-pc/.env.development index 9d58881..0aa32f0 100644 --- a/admin-pc/.env.development +++ b/admin-pc/.env.development @@ -1,5 +1,5 @@ NODE_ENV=development -VUE_APP_API_BASE_URL=http://localhost:8001/jewelry-admin/ +VUE_APP_API_BASE_URL=https://jewelry-admin.hhlm1688.com/jewelry-admin/ VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview diff --git a/admin-pc/.env.production b/admin-pc/.env.production index 2bdc95e..9a476f5 100644 --- a/admin-pc/.env.production +++ b/admin-pc/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_BASE_URL=http://localhost:8001/jewelry-admin/ +VUE_APP_API_BASE_URL=https://jewelry-admin.hhlm1688.com/jewelry-admin/ VUE_APP_CAS_BASE_URL=http://localhost:8888/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview \ No newline at end of file diff --git a/admin-pc/src/views/orderList/CommonOrderList.vue b/admin-pc/src/views/orderList/CommonOrderList.vue new file mode 100644 index 0000000..3f725d3 --- /dev/null +++ b/admin-pc/src/views/orderList/CommonOrderList.vue @@ -0,0 +1,309 @@ + + + + \ No newline at end of file diff --git a/admin-pc/src/views/orderList/modules/CommonOrderForm.vue b/admin-pc/src/views/orderList/modules/CommonOrderForm.vue new file mode 100644 index 0000000..63a14a7 --- /dev/null +++ b/admin-pc/src/views/orderList/modules/CommonOrderForm.vue @@ -0,0 +1,179 @@ + + + \ No newline at end of file diff --git a/admin-pc/src/views/orderList/modules/CommonOrderModal.Style#Drawer.vue b/admin-pc/src/views/orderList/modules/CommonOrderModal.Style#Drawer.vue new file mode 100644 index 0000000..fdc5994 --- /dev/null +++ b/admin-pc/src/views/orderList/modules/CommonOrderModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/admin-pc/src/views/orderList/modules/CommonOrderModal.vue b/admin-pc/src/views/orderList/modules/CommonOrderModal.vue new file mode 100644 index 0000000..7e27362 --- /dev/null +++ b/admin-pc/src/views/orderList/modules/CommonOrderModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/admin-pc/src/views/waterList/CommonMoneyLogList.vue b/admin-pc/src/views/waterList/CommonMoneyLogList.vue new file mode 100644 index 0000000..090ec10 --- /dev/null +++ b/admin-pc/src/views/waterList/CommonMoneyLogList.vue @@ -0,0 +1,252 @@ + + + + \ No newline at end of file diff --git a/admin-pc/src/views/waterList/modules/CommonMoneyLogForm.vue b/admin-pc/src/views/waterList/modules/CommonMoneyLogForm.vue new file mode 100644 index 0000000..0ff5f51 --- /dev/null +++ b/admin-pc/src/views/waterList/modules/CommonMoneyLogForm.vue @@ -0,0 +1,139 @@ + + + \ No newline at end of file diff --git a/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.Style#Drawer.vue b/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.Style#Drawer.vue new file mode 100644 index 0000000..b01a85e --- /dev/null +++ b/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.vue b/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.vue new file mode 100644 index 0000000..6041bfb --- /dev/null +++ b/admin-pc/src/views/waterList/modules/CommonMoneyLogModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/controller/CommonOrderController.java b/module-common/src/main/java/org/jeecg/modules/commonOrder/controller/CommonOrderController.java index e127f61..9b4def9 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/controller/CommonOrderController.java +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/controller/CommonOrderController.java @@ -39,7 +39,7 @@ import org.jeecg.common.aspect.annotation.AutoLog; /** * @Description: 订单信息表 * @Author: jeecg-boot - * @Date: 2025-01-02 + * @Date: 2025-01-20 * @Version: V1.0 */ @Api(tags="订单信息表") diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/entity/CommonOrder.java b/module-common/src/main/java/org/jeecg/modules/commonOrder/entity/CommonOrder.java index 9451a9d..fdc6b1f 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/entity/CommonOrder.java +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/entity/CommonOrder.java @@ -24,7 +24,7 @@ import lombok.experimental.Accessors; /** * @Description: 订单信息表 * @Author: jeecg-boot - * @Date: 2025-01-02 + * @Date: 2025-01-20 * @Version: V1.0 */ @Data @@ -60,7 +60,8 @@ public class CommonOrder implements Serializable { @ApiModelProperty(value = "图片") private java.lang.String image; /**支付状态*/ - @Excel(name = "支付状态", width = 15) + @Excel(name = "支付状态", width = 15, dicCode = "order_state") + @Dict(dicCode = "order_state") @ApiModelProperty(value = "支付状态") private java.lang.Integer state; /**价格*/ @@ -92,7 +93,8 @@ public class CommonOrder implements Serializable { @ApiModelProperty(value = "详细地址") private java.lang.String addressDetails; /**用户*/ - @Excel(name = "用户", width = 15) + @Excel(name = "用户", width = 15, dictTable = "han_hai_member", dicText = "nick_name", dicCode = "id") + @Dict(dictTable = "han_hai_member", dicText = "nick_name", dicCode = "id") @ApiModelProperty(value = "用户") private java.lang.String userId; /**地址标识*/ @@ -100,7 +102,8 @@ public class CommonOrder implements Serializable { @ApiModelProperty(value = "地址标识") private java.lang.String addressId; /**商品标识*/ - @Excel(name = "商品标识", width = 15) + @Excel(name = "商品标识", width = 15, dictTable = "common_shop", dicText = "title", dicCode = "id") + @Dict(dictTable = "common_shop", dicText = "title", dicCode = "id") @ApiModelProperty(value = "商品标识") private java.lang.String shopId; /**支付编号*/ @@ -141,7 +144,8 @@ public class CommonOrder implements Serializable { @ApiModelProperty(value = "支付方式") private java.lang.Integer payType; /**优惠券标识*/ - @Excel(name = "优惠券标识", width = 15) + @Excel(name = "优惠券标识", width = 15, dictTable = "common_coupon", dicText = "money", dicCode = "id") + @Dict(dictTable = "common_coupon", dicText = "money", dicCode = "id") @ApiModelProperty(value = "优惠券标识") private java.lang.String couponId; /**优惠价格*/ @@ -151,4 +155,5 @@ public class CommonOrder implements Serializable { @TableField(exist = false) private List commonOrderSkuList; + } diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/mapper/CommonOrderMapper.java b/module-common/src/main/java/org/jeecg/modules/commonOrder/mapper/CommonOrderMapper.java index 3c7d40b..081090d 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/mapper/CommonOrderMapper.java +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/mapper/CommonOrderMapper.java @@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Description: 订单信息表 * @Author: jeecg-boot - * @Date: 2025-01-02 + * @Date: 2025-01-20 * @Version: V1.0 */ public interface CommonOrderMapper extends BaseMapper { diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/service/ICommonOrderService.java b/module-common/src/main/java/org/jeecg/modules/commonOrder/service/ICommonOrderService.java index 647f6fd..d553567 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/service/ICommonOrderService.java +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/service/ICommonOrderService.java @@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.extension.service.IService; /** * @Description: 订单信息表 * @Author: jeecg-boot - * @Date: 2025-01-02 + * @Date: 2025-01-20 * @Version: V1.0 */ public interface ICommonOrderService extends IService { diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/service/impl/CommonOrderServiceImpl.java b/module-common/src/main/java/org/jeecg/modules/commonOrder/service/impl/CommonOrderServiceImpl.java index b185487..21f1089 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/service/impl/CommonOrderServiceImpl.java +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/service/impl/CommonOrderServiceImpl.java @@ -10,7 +10,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; /** * @Description: 订单信息表 * @Author: jeecg-boot - * @Date: 2025-01-02 + * @Date: 2025-01-20 * @Version: V1.0 */ @Service diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/CommonOrderList.vue b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/CommonOrderList.vue index 8d3a02b..d973b3b 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/CommonOrderList.vue +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/CommonOrderList.vue @@ -5,8 +5,8 @@ - - + + @@ -137,6 +137,12 @@ return parseInt(index)+1; } }, + { + title:'创建日期', + align:"center", + sorter: true, + dataIndex: 'createTime' + }, { title:'标题', align:"center", @@ -145,7 +151,7 @@ { title:'支付状态', align:"center", - dataIndex: 'state' + dataIndex: 'state_dictText' }, { title:'价格', @@ -185,27 +191,12 @@ { title:'用户', align:"center", - dataIndex: 'userId' + dataIndex: 'userId_dictText' }, { title:'商品标识', align:"center", - dataIndex: 'shopId' - }, - { - title:'商品类型', - align:"center", - dataIndex: 'shopState_dictText' - }, - { - title:'推荐购买会员', - align:"center", - dataIndex: 'shareId' - }, - { - title:'第几次推荐购买', - align:"center", - dataIndex: 'shareNum' + dataIndex: 'shopId_dictText' }, { title:'快递公司', @@ -222,11 +213,6 @@ align:"center", dataIndex: 'subText' }, - { - title:'下单须知', - align:"center", - dataIndex: 'orderDetails' - }, { title:'支付方式', align:"center", @@ -235,7 +221,7 @@ { title:'优惠券标识', align:"center", - dataIndex: 'couponId' + dataIndex: 'couponId_dictText' }, { title:'优惠价格', @@ -276,8 +262,9 @@ }, getSuperFieldList(){ let fieldList=[]; + fieldList.push({type:'datetime',value:'createTime',text:'创建日期'}) fieldList.push({type:'string',value:'title',text:'标题',dictCode:''}) - fieldList.push({type:'int',value:'state',text:'支付状态',dictCode:''}) + fieldList.push({type:'int',value:'state',text:'支付状态',dictCode:'order_state'}) fieldList.push({type:'BigDecimal',value:'price',text:'价格',dictCode:''}) fieldList.push({type:'int',value:'num',text:'数量',dictCode:''}) fieldList.push({type:'string',value:'sku',text:'规格',dictCode:''}) @@ -285,17 +272,13 @@ fieldList.push({type:'string',value:'phone',text:'电话',dictCode:''}) fieldList.push({type:'string',value:'address',text:'地址',dictCode:''}) fieldList.push({type:'string',value:'addressDetails',text:'详细地址',dictCode:''}) - fieldList.push({type:'string',value:'userId',text:'用户',dictCode:''}) - fieldList.push({type:'string',value:'shopId',text:'商品标识',dictCode:''}) - fieldList.push({type:'int',value:'shopState',text:'商品类型',dictCode:'shop_type'}) - fieldList.push({type:'string',value:'shareId',text:'推荐购买会员',dictCode:''}) - fieldList.push({type:'int',value:'shareNum',text:'第几次推荐购买',dictCode:''}) + fieldList.push({type:'sel_search',value:'userId',text:'用户',dictTable:"han_hai_member", dictText:'nick_name', dictCode:'id'}) + fieldList.push({type:'sel_search',value:'shopId',text:'商品标识',dictTable:"common_shop", dictText:'title', dictCode:'id'}) fieldList.push({type:'string',value:'kuai',text:'快递公司',dictCode:''}) fieldList.push({type:'string',value:'wuliu',text:'物流订单',dictCode:''}) fieldList.push({type:'string',value:'subText',text:'订单材质',dictCode:''}) - fieldList.push({type:'Text',value:'orderDetails',text:'下单须知',dictCode:''}) fieldList.push({type:'int',value:'payType',text:'支付方式',dictCode:''}) - fieldList.push({type:'string',value:'couponId',text:'优惠券标识',dictCode:''}) + fieldList.push({type:'sel_search',value:'couponId',text:'优惠券标识',dictTable:"common_coupon", dictText:'money', dictCode:'id'}) fieldList.push({type:'BigDecimal',value:'couponPrice',text:'优惠价格',dictCode:''}) this.superFieldList = fieldList } diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/modules/CommonOrderForm.vue b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/modules/CommonOrderForm.vue index 528c8e1..7d4f3e9 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/modules/CommonOrderForm.vue +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue/modules/CommonOrderForm.vue @@ -10,7 +10,7 @@ - + @@ -50,27 +50,12 @@ - + - - - - - - - - - - - - - - - - + @@ -88,11 +73,6 @@ - - - - - @@ -100,7 +80,7 @@ - + diff --git a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue3/CommonOrder.data.ts b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue3/CommonOrder.data.ts index ef7e4d6..303733f 100644 --- a/module-common/src/main/java/org/jeecg/modules/commonOrder/vue3/CommonOrder.data.ts +++ b/module-common/src/main/java/org/jeecg/modules/commonOrder/vue3/CommonOrder.data.ts @@ -5,6 +5,12 @@ import { render } from '/@/utils/common/renderUtils'; //列表数据 export const columns: BasicColumn[] = [ { + title: '创建日期', + align:"center", + sorter: true, + dataIndex: 'createTime' + }, + { title: '标题', align:"center", dataIndex: 'title' @@ -12,7 +18,7 @@ export const columns: BasicColumn[] = [ { title: '支付状态', align:"center", - dataIndex: 'state' + dataIndex: 'state_dictText' }, { title: '价格', @@ -52,27 +58,12 @@ export const columns: BasicColumn[] = [ { title: '用户', align:"center", - dataIndex: 'userId' + dataIndex: 'userId_dictText' }, { title: '商品标识', align:"center", - dataIndex: 'shopId' - }, - { - title: '商品类型', - align:"center", - dataIndex: 'shopState_dictText' - }, - { - title: '推荐购买会员', - align:"center", - dataIndex: 'shareId' - }, - { - title: '第几次推荐购买', - align:"center", - dataIndex: 'shareNum' + dataIndex: 'shopId_dictText' }, { title: '快递公司', @@ -89,11 +80,6 @@ export const columns: BasicColumn[] = [ align:"center", dataIndex: 'subText' }, - { - title: '下单须知', - align:"center", - dataIndex: 'orderDetails' - }, { title: '支付方式', align:"center", @@ -102,7 +88,7 @@ export const columns: BasicColumn[] = [ { title: '优惠券标识', align:"center", - dataIndex: 'couponId' + dataIndex: 'couponId_dictText' }, { title: '优惠价格', @@ -113,11 +99,11 @@ export const columns: BasicColumn[] = [ //查询数据 export const searchFormSchema: FormSchema[] = [ { - label: "商品类型", - field: "shopState", + label: "支付状态", + field: "state", component: 'JDictSelectTag', componentProps:{ - dictCode:"shop_type" + dictCode:"order_state" }, colProps: {span: 6}, }, @@ -132,7 +118,10 @@ export const formSchema: FormSchema[] = [ { label: '支付状态', field: 'state', - component: 'InputNumber', + component: 'JDictSelectTag', + componentProps:{ + dictCode:"order_state" + }, }, { label: '价格', @@ -172,30 +161,18 @@ export const formSchema: FormSchema[] = [ { label: '用户', field: 'userId', - component: 'Input', + component: 'JSearchSelect', + componentProps:{ + dict:"han_hai_member,nick_name,id" + }, }, { label: '商品标识', field: 'shopId', - component: 'Input', - }, - { - label: '商品类型', - field: 'shopState', - component: 'JDictSelectTag', + component: 'JSearchSelect', componentProps:{ - dictCode:"shop_type" - }, - }, - { - label: '推荐购买会员', - field: 'shareId', - component: 'Input', - }, - { - label: '第几次推荐购买', - field: 'shareNum', - component: 'InputNumber', + dict:"common_shop,title,id" + }, }, { label: '快递公司', @@ -212,11 +189,6 @@ export const formSchema: FormSchema[] = [ field: 'subText', component: 'Input', }, - { - label: '下单须知', - field: 'orderDetails', - component: 'Input', - }, { label: '支付方式', field: 'payType', @@ -225,7 +197,10 @@ export const formSchema: FormSchema[] = [ { label: '优惠券标识', field: 'couponId', - component: 'Input', + component: 'JSearchSelect', + componentProps:{ + dict:"common_coupon,money,id" + }, }, { label: '优惠价格', diff --git a/module-system/src/main/resources/application-dev.yml b/module-system/src/main/resources/application-dev.yml index ba554db..62c33b6 100644 --- a/module-system/src/main/resources/application-dev.yml +++ b/module-system/src/main/resources/application-dev.yml @@ -22,8 +22,8 @@ management: spring: servlet: multipart: - max-file-size: 10MB - max-request-size: 10MB + max-file-size: 200MB + max-request-size: 200MB mail: host: smtp.qq.com username: