diff --git a/admin-pc/src/views/jeecg/report/Analysis.vue b/admin-pc/src/views/jeecg/report/Analysis.vue
index f2f8d69..5633972 100644
--- a/admin-pc/src/views/jeecg/report/Analysis.vue
+++ b/admin-pc/src/views/jeecg/report/Analysis.vue
@@ -1,698 +1,698 @@
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/api/controller/AnswerAppletIndexController.java b/applet-answer-api/src/main/java/org/jeecg/api/controller/AnswerAppletIndexController.java
index c7ea599..693ff54 100644
--- a/applet-answer-api/src/main/java/org/jeecg/api/controller/AnswerAppletIndexController.java
+++ b/applet-answer-api/src/main/java/org/jeecg/api/controller/AnswerAppletIndexController.java
@@ -135,6 +135,14 @@ public class AnswerAppletIndexController {
+ //查询所有隐私政策列表
+ @ApiOperation(value="查询所有隐私政策列表", notes="查询所有隐私政策列表")
+ @GetMapping(value = "/privacyPolicyList")
+ public Result> privacyPolicyList(){
+ return answerAppletIndexService.privacyPolicyList();
+ }
+
+
diff --git a/applet-answer-api/src/main/java/org/jeecg/api/service/AnswerAppletIndexService.java b/applet-answer-api/src/main/java/org/jeecg/api/service/AnswerAppletIndexService.java
index ea90c7c..89aa058 100644
--- a/applet-answer-api/src/main/java/org/jeecg/api/service/AnswerAppletIndexService.java
+++ b/applet-answer-api/src/main/java/org/jeecg/api/service/AnswerAppletIndexService.java
@@ -38,6 +38,9 @@ public interface AnswerAppletIndexService {
//公共配置接口
Result> commonConfig();
+ //查询所有隐私政策列表
+ Result> privacyPolicyList();
+
//首页-获取文章列表
Result> articleList();
diff --git a/applet-answer-api/src/main/java/org/jeecg/api/service/impl/AnswerAppletIndexServiceImpl.java b/applet-answer-api/src/main/java/org/jeecg/api/service/impl/AnswerAppletIndexServiceImpl.java
index 9873a4c..3587cd8 100644
--- a/applet-answer-api/src/main/java/org/jeecg/api/service/impl/AnswerAppletIndexServiceImpl.java
+++ b/applet-answer-api/src/main/java/org/jeecg/api/service/impl/AnswerAppletIndexServiceImpl.java
@@ -34,6 +34,8 @@ import org.jeecg.modules.answerTopiLog.entity.AnswerTopiLog;
import org.jeecg.modules.answerTopiLog.service.IAnswerTopiLogService;
import org.jeecg.modules.answerTopic.entity.AnswerTopic;
import org.jeecg.modules.answerTopic.service.IAnswerTopicService;
+import org.jeecg.modules.answerYszc.entity.AnswerYszc;
+import org.jeecg.modules.answerYszc.service.IAnswerYszcService;
import org.jeecg.modules.commonBanner.entity.CommonBanner;
import org.jeecg.modules.commonBanner.service.ICommonBannerService;
import org.jeecg.modules.commonConfig.entity.CommonConfig;
@@ -76,7 +78,8 @@ public class AnswerAppletIndexServiceImpl implements AnswerAppletIndexService {
//公共配置
@Resource
private ICommonConfigService commonConfigService;
-
+ @Resource
+ private IAnswerYszcService answerYszcService;
//问题主表
@Autowired
@@ -184,6 +187,15 @@ public class AnswerAppletIndexServiceImpl implements AnswerAppletIndexService {
return Result.OK(list);
}
+ //查询所有隐私政策列表
+ @Override
+ public Result> privacyPolicyList(){
+ List list = answerYszcService.lambdaQuery()
+ .orderByDesc(AnswerYszc::getSort)
+ .list();
+ return Result.OK(list);
+ }
+
//首页-获取文章列表
@Override
public Result> articleList(){
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerReservation/controller/AnswerReservationController.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerReservation/controller/AnswerReservationController.java
index 8830296..fc45fda 100644
--- a/applet-answer-api/src/main/java/org/jeecg/modules/answerReservation/controller/AnswerReservationController.java
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerReservation/controller/AnswerReservationController.java
@@ -220,9 +220,9 @@ public class AnswerReservationController extends JeecgController data) throws IOException {
+ public void sendTemplateMessage2(String accessToken, String toUser, String templateId, Map data,String orderId) throws IOException {
String url = TEMPLATE_MESSAGE_URL + accessToken;
Map requestBody = new HashMap<>();
requestBody.put("touser", toUser);
requestBody.put("template_id", templateId);
+ requestBody.put("page", "pages/index/cancelArticle?type=reservationSuccessful&id="+orderId);
requestBody.put("data", data);
ObjectMapper objectMapper = new ObjectMapper();
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/controller/AnswerYszcController.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/controller/AnswerYszcController.java
new file mode 100644
index 0000000..b8d1e8e
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/controller/AnswerYszcController.java
@@ -0,0 +1,171 @@
+package org.jeecg.modules.answerYszc.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.answerYszc.entity.AnswerYszc;
+import org.jeecg.modules.answerYszc.service.IAnswerYszcService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+import org.jeecg.common.system.base.controller.JeecgController;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.jeecg.common.aspect.annotation.AutoLog;
+
+ /**
+ * @Description: 隐私政策表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Api(tags="隐私政策表")
+@RestController
+@RequestMapping("/answerYszc/answerYszc")
+@Slf4j
+public class AnswerYszcController extends JeecgController {
+ @Autowired
+ private IAnswerYszcService answerYszcService;
+
+ /**
+ * 分页列表查询
+ *
+ * @param answerYszc
+ * @param pageNo
+ * @param pageSize
+ * @param req
+ * @return
+ */
+ //@AutoLog(value = "隐私政策表-分页列表查询")
+ @ApiOperation(value="隐私政策表-分页列表查询", notes="隐私政策表-分页列表查询")
+ @GetMapping(value = "/list")
+ public Result> queryPageList(AnswerYszc answerYszc,
+ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+ @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+ HttpServletRequest req) {
+ QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(answerYszc, req.getParameterMap());
+ Page page = new Page(pageNo, pageSize);
+ IPage pageList = answerYszcService.page(page, queryWrapper);
+ return Result.OK(pageList);
+ }
+
+ /**
+ * 添加
+ *
+ * @param answerYszc
+ * @return
+ */
+ @AutoLog(value = "隐私政策表-添加")
+ @ApiOperation(value="隐私政策表-添加", notes="隐私政策表-添加")
+ @PostMapping(value = "/add")
+ public Result add(@RequestBody AnswerYszc answerYszc) {
+ answerYszcService.save(answerYszc);
+ return Result.OK("添加成功!");
+ }
+
+ /**
+ * 编辑
+ *
+ * @param answerYszc
+ * @return
+ */
+ @AutoLog(value = "隐私政策表-编辑")
+ @ApiOperation(value="隐私政策表-编辑", notes="隐私政策表-编辑")
+ @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
+ public Result edit(@RequestBody AnswerYszc answerYszc) {
+ answerYszcService.updateById(answerYszc);
+ return Result.OK("编辑成功!");
+ }
+
+ /**
+ * 通过id删除
+ *
+ * @param id
+ * @return
+ */
+ @AutoLog(value = "隐私政策表-通过id删除")
+ @ApiOperation(value="隐私政策表-通过id删除", notes="隐私政策表-通过id删除")
+ @DeleteMapping(value = "/delete")
+ public Result delete(@RequestParam(name="id",required=true) String id) {
+ answerYszcService.removeById(id);
+ return Result.OK("删除成功!");
+ }
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return
+ */
+ @AutoLog(value = "隐私政策表-批量删除")
+ @ApiOperation(value="隐私政策表-批量删除", notes="隐私政策表-批量删除")
+ @DeleteMapping(value = "/deleteBatch")
+ public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+ this.answerYszcService.removeByIds(Arrays.asList(ids.split(",")));
+ return Result.OK("批量删除成功!");
+ }
+
+ /**
+ * 通过id查询
+ *
+ * @param id
+ * @return
+ */
+ //@AutoLog(value = "隐私政策表-通过id查询")
+ @ApiOperation(value="隐私政策表-通过id查询", notes="隐私政策表-通过id查询")
+ @GetMapping(value = "/queryById")
+ public Result queryById(@RequestParam(name="id",required=true) String id) {
+ AnswerYszc answerYszc = answerYszcService.getById(id);
+ if(answerYszc==null) {
+ return Result.error("未找到对应数据");
+ }
+ return Result.OK(answerYszc);
+ }
+
+ /**
+ * 导出excel
+ *
+ * @param request
+ * @param answerYszc
+ */
+ @RequestMapping(value = "/exportXls")
+ public ModelAndView exportXls(HttpServletRequest request, AnswerYszc answerYszc) {
+ return super.exportXls(request, answerYszc, AnswerYszc.class, "隐私政策表");
+ }
+
+ /**
+ * 通过excel导入数据
+ *
+ * @param request
+ * @param response
+ * @return
+ */
+ @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+ public Result> importExcel(HttpServletRequest request, HttpServletResponse response) {
+ return super.importExcel(request, response, AnswerYszc.class);
+ }
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/entity/AnswerYszc.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/entity/AnswerYszc.java
new file mode 100644
index 0000000..e5dc618
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/entity/AnswerYszc.java
@@ -0,0 +1,62 @@
+package org.jeecg.modules.answerYszc.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.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * @Description: 隐私政策表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Data
+@TableName("answer_yszc")
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@ApiModel(value="answer_yszc对象", description="隐私政策表")
+public class AnswerYszc implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**主键*/
+ @TableId(type = IdType.ASSIGN_ID)
+ @ApiModelProperty(value = "主键")
+ private java.lang.String id;
+ /**创建人*/
+ @ApiModelProperty(value = "创建人")
+ private java.lang.String createBy;
+ /**创建日期*/
+ @ApiModelProperty(value = "创建日期")
+ private java.util.Date createTime;
+ /**更新人*/
+ @ApiModelProperty(value = "更新人")
+ private java.lang.String updateBy;
+ /**更新日期*/
+ @ApiModelProperty(value = "更新日期")
+ private java.util.Date updateTime;
+ /**排序*/
+ @Excel(name = "排序", width = 15)
+ @ApiModelProperty(value = "排序")
+ private java.lang.String sort;
+ /**隐私名称*/
+ @Excel(name = "隐私名称", width = 15)
+ @ApiModelProperty(value = "隐私名称")
+ private java.lang.String title;
+ /**内容*/
+ @Excel(name = "内容", width = 15)
+ @ApiModelProperty(value = "内容")
+ private java.lang.String details;
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/AnswerYszcMapper.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/AnswerYszcMapper.java
new file mode 100644
index 0000000..efba514
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/AnswerYszcMapper.java
@@ -0,0 +1,17 @@
+package org.jeecg.modules.answerYszc.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.answerYszc.entity.AnswerYszc;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 隐私政策表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+public interface AnswerYszcMapper extends BaseMapper {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/xml/AnswerYszcMapper.xml b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/xml/AnswerYszcMapper.xml
new file mode 100644
index 0000000..e16e08c
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/mapper/xml/AnswerYszcMapper.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/IAnswerYszcService.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/IAnswerYszcService.java
new file mode 100644
index 0000000..410f02d
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/IAnswerYszcService.java
@@ -0,0 +1,14 @@
+package org.jeecg.modules.answerYszc.service;
+
+import org.jeecg.modules.answerYszc.entity.AnswerYszc;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 隐私政策表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+public interface IAnswerYszcService extends IService {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/impl/AnswerYszcServiceImpl.java b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/impl/AnswerYszcServiceImpl.java
new file mode 100644
index 0000000..2eac132
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/service/impl/AnswerYszcServiceImpl.java
@@ -0,0 +1,19 @@
+package org.jeecg.modules.answerYszc.service.impl;
+
+import org.jeecg.modules.answerYszc.entity.AnswerYszc;
+import org.jeecg.modules.answerYszc.mapper.AnswerYszcMapper;
+import org.jeecg.modules.answerYszc.service.IAnswerYszcService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 隐私政策表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Service
+public class AnswerYszcServiceImpl extends ServiceImpl implements IAnswerYszcService {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/AnswerYszcList.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/AnswerYszcList.vue
new file mode 100644
index 0000000..0288143
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/AnswerYszcList.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
新增
+
导出
+
+ 导入
+
+
+
+
+
+ 删除
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无图片
+
+
+
+ 无文件
+
+ 下载
+
+
+
+
+ 编辑
+
+
+
+ 更多
+
+
+ 详情
+
+
+ handleDelete(record.id)">
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcForm.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcForm.vue
new file mode 100644
index 0000000..40c96d2
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcForm.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.Style#Drawer.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.Style#Drawer.vue
new file mode 100644
index 0000000..0f6602f
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.Style#Drawer.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.vue
new file mode 100644
index 0000000..0a581b2
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue/modules/AnswerYszcModal.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.api.ts b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.api.ts
new file mode 100644
index 0000000..0e09e96
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.api.ts
@@ -0,0 +1,61 @@
+import {defHttp} from '/@/utils/http/axios';
+import {Modal} from 'ant-design-vue';
+
+enum Api {
+ list = '/answerYszc/answerYszc/list',
+ save='/answerYszc/answerYszc/add',
+ edit='/answerYszc/answerYszc/edit',
+ deleteOne = '/answerYszc/answerYszc/delete',
+ deleteBatch = '/answerYszc/answerYszc/deleteBatch',
+ importExcel = '/answerYszc/answerYszc/importExcel',
+ exportXls = '/answerYszc/answerYszc/exportXls',
+}
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) =>
+ defHttp.get({url: Api.list, params});
+
+/**
+ * 删除单个
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+/**
+ * 批量删除
+ * @param params
+ */
+export const batchDelete = (params, handleSuccess) => {
+ Modal.confirm({
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+/**
+ * 保存或者更新
+ * @param params
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({url: url, params});
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.data.ts b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.data.ts
new file mode 100644
index 0000000..39a0b23
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszc.data.ts
@@ -0,0 +1,38 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '排序',
+ align:"center",
+ dataIndex: 'sort'
+ },
+ {
+ title: '隐私名称',
+ align:"center",
+ dataIndex: 'title'
+ },
+];
+//查询数据
+export const searchFormSchema: FormSchema[] = [
+];
+//表单数据
+export const formSchema: FormSchema[] = [
+ {
+ label: '排序',
+ field: 'sort',
+ component: 'Input',
+ },
+ {
+ label: '隐私名称',
+ field: 'title',
+ component: 'Input',
+ },
+ {
+ label: '内容',
+ field: 'details',
+ component: 'JCodeEditor', //TODO String后缀暂未添加
+ },
+];
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszcList.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszcList.vue
new file mode 100644
index 0000000..6b79da8
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/AnswerYszcList.vue
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+ 新增
+ 导出
+ 导入
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无文件
+ 下载
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/components/AnswerYszcModal.vue b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/components/AnswerYszcModal.vue
new file mode 100644
index 0000000..97d950c
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/answerYszc/vue3/components/AnswerYszcModal.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/controller/PopularizeOrderController.java b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/controller/PopularizeOrderController.java
new file mode 100644
index 0000000..103299e
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/controller/PopularizeOrderController.java
@@ -0,0 +1,171 @@
+package org.jeecg.modules.popularizeOrder.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.popularizeOrder.entity.PopularizeOrder;
+import org.jeecg.modules.popularizeOrder.service.IPopularizeOrderService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+import org.jeecg.common.system.base.controller.JeecgController;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.jeecg.common.aspect.annotation.AutoLog;
+
+ /**
+ * @Description: 订单列表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Api(tags="订单列表")
+@RestController
+@RequestMapping("/popularizeOrder/popularizeOrder")
+@Slf4j
+public class PopularizeOrderController extends JeecgController {
+ @Autowired
+ private IPopularizeOrderService popularizeOrderService;
+
+ /**
+ * 分页列表查询
+ *
+ * @param popularizeOrder
+ * @param pageNo
+ * @param pageSize
+ * @param req
+ * @return
+ */
+ //@AutoLog(value = "订单列表-分页列表查询")
+ @ApiOperation(value="订单列表-分页列表查询", notes="订单列表-分页列表查询")
+ @GetMapping(value = "/list")
+ public Result> queryPageList(PopularizeOrder popularizeOrder,
+ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+ @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+ HttpServletRequest req) {
+ QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(popularizeOrder, req.getParameterMap());
+ Page page = new Page(pageNo, pageSize);
+ IPage pageList = popularizeOrderService.page(page, queryWrapper);
+ return Result.OK(pageList);
+ }
+
+ /**
+ * 添加
+ *
+ * @param popularizeOrder
+ * @return
+ */
+ @AutoLog(value = "订单列表-添加")
+ @ApiOperation(value="订单列表-添加", notes="订单列表-添加")
+ @PostMapping(value = "/add")
+ public Result add(@RequestBody PopularizeOrder popularizeOrder) {
+ popularizeOrderService.save(popularizeOrder);
+ return Result.OK("添加成功!");
+ }
+
+ /**
+ * 编辑
+ *
+ * @param popularizeOrder
+ * @return
+ */
+ @AutoLog(value = "订单列表-编辑")
+ @ApiOperation(value="订单列表-编辑", notes="订单列表-编辑")
+ @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
+ public Result edit(@RequestBody PopularizeOrder popularizeOrder) {
+ popularizeOrderService.updateById(popularizeOrder);
+ return Result.OK("编辑成功!");
+ }
+
+ /**
+ * 通过id删除
+ *
+ * @param id
+ * @return
+ */
+ @AutoLog(value = "订单列表-通过id删除")
+ @ApiOperation(value="订单列表-通过id删除", notes="订单列表-通过id删除")
+ @DeleteMapping(value = "/delete")
+ public Result delete(@RequestParam(name="id",required=true) String id) {
+ popularizeOrderService.removeById(id);
+ return Result.OK("删除成功!");
+ }
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return
+ */
+ @AutoLog(value = "订单列表-批量删除")
+ @ApiOperation(value="订单列表-批量删除", notes="订单列表-批量删除")
+ @DeleteMapping(value = "/deleteBatch")
+ public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+ this.popularizeOrderService.removeByIds(Arrays.asList(ids.split(",")));
+ return Result.OK("批量删除成功!");
+ }
+
+ /**
+ * 通过id查询
+ *
+ * @param id
+ * @return
+ */
+ //@AutoLog(value = "订单列表-通过id查询")
+ @ApiOperation(value="订单列表-通过id查询", notes="订单列表-通过id查询")
+ @GetMapping(value = "/queryById")
+ public Result queryById(@RequestParam(name="id",required=true) String id) {
+ PopularizeOrder popularizeOrder = popularizeOrderService.getById(id);
+ if(popularizeOrder==null) {
+ return Result.error("未找到对应数据");
+ }
+ return Result.OK(popularizeOrder);
+ }
+
+ /**
+ * 导出excel
+ *
+ * @param request
+ * @param popularizeOrder
+ */
+ @RequestMapping(value = "/exportXls")
+ public ModelAndView exportXls(HttpServletRequest request, PopularizeOrder popularizeOrder) {
+ return super.exportXls(request, popularizeOrder, PopularizeOrder.class, "订单列表");
+ }
+
+ /**
+ * 通过excel导入数据
+ *
+ * @param request
+ * @param response
+ * @return
+ */
+ @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+ public Result> importExcel(HttpServletRequest request, HttpServletResponse response) {
+ return super.importExcel(request, response, PopularizeOrder.class);
+ }
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/entity/PopularizeOrder.java b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/entity/PopularizeOrder.java
new file mode 100644
index 0000000..dfbb9f3
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/entity/PopularizeOrder.java
@@ -0,0 +1,140 @@
+package org.jeecg.modules.popularizeOrder.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.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * @Description: 订单列表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Data
+@TableName("popularize_order")
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@ApiModel(value="popularize_order对象", description="订单列表")
+public class PopularizeOrder implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**主键*/
+ @TableId(type = IdType.ASSIGN_ID)
+ @ApiModelProperty(value = "主键")
+ private java.lang.String id;
+ /**创建人*/
+ @ApiModelProperty(value = "创建人")
+ private java.lang.String createBy;
+ /**创建日期*/
+ @ApiModelProperty(value = "创建日期")
+ private java.util.Date createTime;
+ /**更新人*/
+ @ApiModelProperty(value = "更新人")
+ private java.lang.String updateBy;
+ /**更新日期*/
+ @ApiModelProperty(value = "更新日期")
+ private java.util.Date updateTime;
+ /**订单状态*/
+ @Excel(name = "订单状态", width = 15, dicCode = "order_state")
+ @Dict(dicCode = "order_state")
+ @ApiModelProperty(value = "订单状态")
+ private java.lang.String state;
+ /**订单标题*/
+ @Excel(name = "订单标题", width = 15)
+ @ApiModelProperty(value = "订单标题")
+ private java.lang.String title;
+ /**订单图片*/
+ @Excel(name = "订单图片", width = 15)
+ @ApiModelProperty(value = "订单图片")
+ private java.lang.String image;
+ /**类型*/
+ @Excel(name = "类型", width = 15, dicCode = "order_type")
+ @Dict(dicCode = "order_type")
+ @ApiModelProperty(value = "类型")
+ private java.lang.String type;
+ /**时间*/
+ @Excel(name = "时间", width = 15)
+ @ApiModelProperty(value = "时间")
+ private java.util.Date startTime;
+ /**地点*/
+ @Excel(name = "地点", width = 15)
+ @ApiModelProperty(value = "地点")
+ private java.lang.String address;
+ /**价格*/
+ @Excel(name = "价格", width = 15)
+ @ApiModelProperty(value = "价格")
+ private java.math.BigDecimal price;
+ /**需知*/
+ @Excel(name = "需知", width = 15)
+ @ApiModelProperty(value = "需知")
+ private java.lang.String details;
+ /**是否签到*/
+ @Excel(name = "是否签到", width = 15, dicCode = "is_qd_open")
+ @Dict(dicCode = "is_qd_open")
+ @ApiModelProperty(value = "是否签到")
+ private java.lang.String open;
+ /**溯源活动*/
+ @Excel(name = "溯源活动", width = 15, dictTable = "popularize_activity", dicText = "title", dicCode = "id")
+ @Dict(dictTable = "popularize_activity", dicText = "title", dicCode = "id")
+ @ApiModelProperty(value = "溯源活动")
+ private java.lang.String activityOrderId;
+ /**溯源旅行*/
+ @Excel(name = "溯源旅行", width = 15, dictTable = "popularize_travel", dicText = "title", dicCode = "id")
+ @Dict(dictTable = "popularize_travel", dicText = "title", dicCode = "id")
+ @ApiModelProperty(value = "溯源旅行")
+ private java.lang.String travelOrderId;
+ /**用户标识*/
+ @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;
+ /**支付金额*/
+ @Excel(name = "支付金额", width = 15)
+ @ApiModelProperty(value = "支付金额")
+ private java.math.BigDecimal payPrice;
+ /**支付时间*/
+ @Excel(name = "支付时间", width = 15)
+ @ApiModelProperty(value = "支付时间")
+ private java.util.Date payTime;
+ /**购票数量*/
+ @Excel(name = "购票数量", width = 15)
+ @ApiModelProperty(value = "购票数量")
+ private java.lang.Integer num;
+ /**是否已开票*/
+ @Excel(name = "是否已开票", width = 15)
+ @ApiModelProperty(value = "是否已开票")
+ private java.lang.String isFp;
+ /**是否已评价*/
+ @Excel(name = "是否已评价", width = 15)
+ @ApiModelProperty(value = "是否已评价")
+ private java.lang.String isPj;
+ /**类型*/
+ @Excel(name = "类型", width = 15)
+ @ApiModelProperty(value = "类型")
+ private java.lang.Integer typePrice;
+ /**姓名*/
+ @Excel(name = "姓名", width = 15)
+ @ApiModelProperty(value = "姓名")
+ private java.lang.String name;
+ /**电话*/
+ @Excel(name = "电话", width = 15)
+ @ApiModelProperty(value = "电话")
+ private java.lang.String phone;
+ /**邀请码*/
+ @Excel(name = "邀请码", width = 15)
+ @ApiModelProperty(value = "邀请码")
+ private java.lang.String code;
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/PopularizeOrderMapper.java b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/PopularizeOrderMapper.java
new file mode 100644
index 0000000..58839a0
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/PopularizeOrderMapper.java
@@ -0,0 +1,17 @@
+package org.jeecg.modules.popularizeOrder.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.popularizeOrder.entity.PopularizeOrder;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 订单列表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+public interface PopularizeOrderMapper extends BaseMapper {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/xml/PopularizeOrderMapper.xml b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/xml/PopularizeOrderMapper.xml
new file mode 100644
index 0000000..88fe0aa
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/mapper/xml/PopularizeOrderMapper.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/IPopularizeOrderService.java b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/IPopularizeOrderService.java
new file mode 100644
index 0000000..9d7c696
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/IPopularizeOrderService.java
@@ -0,0 +1,14 @@
+package org.jeecg.modules.popularizeOrder.service;
+
+import org.jeecg.modules.popularizeOrder.entity.PopularizeOrder;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 订单列表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+public interface IPopularizeOrderService extends IService {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/impl/PopularizeOrderServiceImpl.java b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/impl/PopularizeOrderServiceImpl.java
new file mode 100644
index 0000000..bf27af1
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/service/impl/PopularizeOrderServiceImpl.java
@@ -0,0 +1,19 @@
+package org.jeecg.modules.popularizeOrder.service.impl;
+
+import org.jeecg.modules.popularizeOrder.entity.PopularizeOrder;
+import org.jeecg.modules.popularizeOrder.mapper.PopularizeOrderMapper;
+import org.jeecg.modules.popularizeOrder.service.IPopularizeOrderService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 订单列表
+ * @Author: jeecg-boot
+ * @Date: 2025-02-21
+ * @Version: V1.0
+ */
+@Service
+public class PopularizeOrderServiceImpl extends ServiceImpl implements IPopularizeOrderService {
+
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/PopularizeOrderList.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/PopularizeOrderList.vue
new file mode 100644
index 0000000..e94091a
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/PopularizeOrderList.vue
@@ -0,0 +1,340 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+ {{ toggleSearchStatus ? '收起' : '展开' }}
+
+
+
+
+
+
+
+
+
+
+
+
新增
+
导出
+
+ 导入
+
+
+
+
+
+ 删除
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无图片
+
+
+
+ 无文件
+
+ 下载
+
+
+
+
+ 编辑
+
+
+
+ 更多
+
+
+ 详情
+
+
+ handleDelete(record.id)">
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderForm.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderForm.vue
new file mode 100644
index 0000000..ff94a7d
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderForm.vue
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.Style#Drawer.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.Style#Drawer.vue
new file mode 100644
index 0000000..e67ec50
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.Style#Drawer.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.vue
new file mode 100644
index 0000000..c20cc9e
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue/modules/PopularizeOrderModal.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.api.ts b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.api.ts
new file mode 100644
index 0000000..997d2a5
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.api.ts
@@ -0,0 +1,61 @@
+import {defHttp} from '/@/utils/http/axios';
+import {Modal} from 'ant-design-vue';
+
+enum Api {
+ list = '/popularizeOrder/popularizeOrder/list',
+ save='/popularizeOrder/popularizeOrder/add',
+ edit='/popularizeOrder/popularizeOrder/edit',
+ deleteOne = '/popularizeOrder/popularizeOrder/delete',
+ deleteBatch = '/popularizeOrder/popularizeOrder/deleteBatch',
+ importExcel = '/popularizeOrder/popularizeOrder/importExcel',
+ exportXls = '/popularizeOrder/popularizeOrder/exportXls',
+}
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) =>
+ defHttp.get({url: Api.list, params});
+
+/**
+ * 删除单个
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+/**
+ * 批量删除
+ * @param params
+ */
+export const batchDelete = (params, handleSuccess) => {
+ Modal.confirm({
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+/**
+ * 保存或者更新
+ * @param params
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({url: url, params});
+}
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.data.ts b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.data.ts
new file mode 100644
index 0000000..fdc6a11
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrder.data.ts
@@ -0,0 +1,298 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '创建日期',
+ align:"center",
+ sorter: true,
+ dataIndex: 'createTime'
+ },
+ {
+ title: '订单状态',
+ align:"center",
+ dataIndex: 'state_dictText'
+ },
+ {
+ title: '订单标题',
+ align:"center",
+ dataIndex: 'title'
+ },
+ {
+ title: '订单图片',
+ align:"center",
+ dataIndex: 'image',
+ customRender:render.renderAvatar,
+ },
+ {
+ title: '类型',
+ align:"center",
+ dataIndex: 'type_dictText'
+ },
+ {
+ title: '时间',
+ align:"center",
+ dataIndex: 'startTime'
+ },
+ {
+ title: '地点',
+ align:"center",
+ dataIndex: 'address'
+ },
+ {
+ title: '价格',
+ align:"center",
+ dataIndex: 'price'
+ },
+ {
+ title: '是否签到',
+ align:"center",
+ dataIndex: 'open_dictText'
+ },
+ {
+ title: '溯源活动',
+ align:"center",
+ dataIndex: 'activityOrderId_dictText'
+ },
+ {
+ title: '溯源旅行',
+ align:"center",
+ dataIndex: 'travelOrderId_dictText'
+ },
+ {
+ title: '用户标识',
+ align:"center",
+ dataIndex: 'userId_dictText'
+ },
+ {
+ title: '支付金额',
+ align:"center",
+ dataIndex: 'payPrice'
+ },
+ {
+ title: '支付时间',
+ align:"center",
+ dataIndex: 'payTime'
+ },
+ {
+ title: '购票数量',
+ align:"center",
+ dataIndex: 'num'
+ },
+ {
+ title: '是否已开票',
+ align:"center",
+ dataIndex: 'isFp',
+ customRender:({text}) => {
+ return render.renderSwitch(text, [{text:'是',value:'Y'},{text:'否',value:'N'}])
+ },
+ },
+ {
+ title: '是否已评价',
+ align:"center",
+ dataIndex: 'isPj',
+ customRender:({text}) => {
+ return render.renderSwitch(text, [{text:'是',value:'Y'},{text:'否',value:'N'}])
+ },
+ },
+ {
+ title: '类型',
+ align:"center",
+ dataIndex: 'typePrice'
+ },
+ {
+ title: '姓名',
+ align:"center",
+ dataIndex: 'name'
+ },
+ {
+ title: '电话',
+ align:"center",
+ dataIndex: 'phone'
+ },
+ {
+ title: '邀请码',
+ align:"center",
+ dataIndex: 'code'
+ },
+];
+//查询数据
+export const searchFormSchema: FormSchema[] = [
+ {
+ label: "订单状态",
+ field: "state",
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"order_state"
+ },
+ colProps: {span: 6},
+ },
+ {
+ label: "订单标题",
+ field: "title",
+ component: 'Input',
+ colProps: {span: 6},
+ },
+ {
+ label: "类型",
+ field: "type",
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"order_type"
+ },
+ colProps: {span: 6},
+ },
+ {
+ label: "地点",
+ field: "address",
+ component: 'Input',
+ colProps: {span: 6},
+ },
+ {
+ label: "是否签到",
+ field: "open",
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"is_qd_open"
+ },
+ colProps: {span: 6},
+ },
+ {
+ label: "用户标识",
+ field: "userId",
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"han_hai_member,nick_name,id"
+ },
+ colProps: {span: 6},
+ },
+];
+//表单数据
+export const formSchema: FormSchema[] = [
+ {
+ label: '订单状态',
+ field: 'state',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"order_state"
+ },
+ },
+ {
+ label: '订单标题',
+ field: 'title',
+ component: 'Input',
+ },
+ {
+ label: '订单图片',
+ field: 'image',
+ component: 'JImageUpload',
+ componentProps:{
+ },
+ },
+ {
+ label: '类型',
+ field: 'type',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"order_type"
+ },
+ },
+ {
+ label: '时间',
+ field: 'startTime',
+ component: 'Input',
+ },
+ {
+ label: '地点',
+ field: 'address',
+ component: 'Input',
+ },
+ {
+ label: '价格',
+ field: 'price',
+ component: 'InputNumber',
+ },
+ {
+ label: '是否签到',
+ field: 'open',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode:"is_qd_open"
+ },
+ },
+ {
+ label: '溯源活动',
+ field: 'activityOrderId',
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"popularize_activity,title,id"
+ },
+ },
+ {
+ label: '溯源旅行',
+ field: 'travelOrderId',
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"popularize_travel,title,id"
+ },
+ },
+ {
+ label: '用户标识',
+ field: 'userId',
+ component: 'JSearchSelect',
+ componentProps:{
+ dict:"han_hai_member,nick_name,id"
+ },
+ },
+ {
+ label: '支付金额',
+ field: 'payPrice',
+ component: 'InputNumber',
+ },
+ {
+ label: '支付时间',
+ field: 'payTime',
+ component: 'Input',
+ },
+ {
+ label: '购票数量',
+ field: 'num',
+ component: 'InputNumber',
+ },
+ {
+ label: '是否已开票',
+ field: 'isFp',
+ component: 'JSwitch',
+ componentProps:{
+ },
+ },
+ {
+ label: '是否已评价',
+ field: 'isPj',
+ component: 'JSwitch',
+ componentProps:{
+ },
+ },
+ {
+ label: '类型',
+ field: 'typePrice',
+ component: 'InputNumber',
+ },
+ {
+ label: '姓名',
+ field: 'name',
+ component: 'Input',
+ },
+ {
+ label: '电话',
+ field: 'phone',
+ component: 'Input',
+ },
+ {
+ label: '邀请码',
+ field: 'code',
+ component: 'Input',
+ },
+];
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrderList.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrderList.vue
new file mode 100644
index 0000000..01412c4
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/PopularizeOrderList.vue
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+ 新增
+ 导出
+ 导入
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无文件
+ 下载
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/components/PopularizeOrderModal.vue b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/components/PopularizeOrderModal.vue
new file mode 100644
index 0000000..bcbe42a
--- /dev/null
+++ b/applet-answer-api/src/main/java/org/jeecg/modules/popularizeOrder/vue3/components/PopularizeOrderModal.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file