Browse Source

add 新增菜单组 常规销售 daas 订单管理 dtp 管家工作台 顾客订购管理 价格管理 门店运营

bzd_lxf 6 months ago
parent
commit
2d66ae2f90
100 changed files with 14972 additions and 21 deletions
  1. 158 0
      health-admin/src/main/java/com/bzd/web/controller/cgxs/SCgxsCfdjPrescriptionRecordController.java
  2. 158 0
      health-admin/src/main/java/com/bzd/web/controller/cgxs/SCgxsTgypTgypdjController.java
  3. 157 0
      health-admin/src/main/java/com/bzd/web/controller/daas/SDaasChannelManagementController.java
  4. 158 0
      health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglFpglDsfzfkpController.java
  5. 158 0
      health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglFpglInvoiceinfoController.java
  6. 158 0
      health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglOrderStoreController.java
  7. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpRwglBusinesstaskController.java
  8. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpSjdcFollowUpStatisticsController.java
  9. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpSjdcQualityInspectionTaskController.java
  10. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzCallWordController.java
  11. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFaqManagementController.java
  12. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFollowUpSopController.java
  13. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFollowUpTemplateController.java
  14. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzVerbalTricktController.java
  15. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxDrugInstructionsController.java
  16. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxFollowUpGuidanceController.java
  17. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxPharmaceuticalShareController.java
  18. 158 0
      health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxPharmacovigilanceController.java
  19. 158 0
      health-admin/src/main/java/com/bzd/web/controller/gjgzt/SGjgztHealthplaninfoController.java
  20. 158 0
      health-admin/src/main/java/com/bzd/web/controller/gkdggl/SGkdgglCustomerOrderAuditController.java
  21. 158 0
      health-admin/src/main/java/com/bzd/web/controller/jggl/SJgglPriceadjustmentsheetController.java
  22. 161 0
      health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordAdd.html
  23. 144 0
      health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordEdit.html
  24. 249 0
      health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordList.html
  25. 135 0
      health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordPageEdit.html
  26. 145 0
      health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjAdd.html
  27. 132 0
      health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjEdit.html
  28. 241 0
      health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjList.html
  29. 123 0
      health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjPageEdit.html
  30. 153 0
      health-admin/src/main/resources/templates/daas/SDaasChannelManagementAdd.html
  31. 138 0
      health-admin/src/main/resources/templates/daas/SDaasChannelManagementEdit.html
  32. 245 0
      health-admin/src/main/resources/templates/daas/SDaasChannelManagementList.html
  33. 129 0
      health-admin/src/main/resources/templates/daas/SDaasChannelManagementPageEdit.html
  34. 113 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpAdd.html
  35. 108 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpEdit.html
  36. 225 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpList.html
  37. 99 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpPageEdit.html
  38. 217 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoAdd.html
  39. 186 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoEdit.html
  40. 277 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoList.html
  41. 177 0
      health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoPageEdit.html
  42. 297 0
      health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreAdd.html
  43. 246 0
      health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreEdit.html
  44. 317 0
      health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreList.html
  45. 237 0
      health-admin/src/main/resources/templates/ddgl/SDdglOrderStorePageEdit.html
  46. 9 9
      health-admin/src/main/resources/templates/demo/form/cards.html
  47. 2 2
      health-admin/src/main/resources/templates/demo/modal/form.html
  48. 121 0
      health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskAdd.html
  49. 114 0
      health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskEdit.html
  50. 229 0
      health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskList.html
  51. 105 0
      health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskPageEdit.html
  52. 169 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsAdd.html
  53. 150 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsEdit.html
  54. 253 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsList.html
  55. 141 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsPageEdit.html
  56. 137 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskAdd.html
  57. 126 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskEdit.html
  58. 237 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskList.html
  59. 117 0
      health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskPageEdit.html
  60. 121 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordAdd.html
  61. 114 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordEdit.html
  62. 229 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordList.html
  63. 105 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordPageEdit.html
  64. 129 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementAdd.html
  65. 120 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementEdit.html
  66. 233 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementList.html
  67. 111 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementPageEdit.html
  68. 121 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopAdd.html
  69. 114 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopEdit.html
  70. 229 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopList.html
  71. 105 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopPageEdit.html
  72. 137 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateAdd.html
  73. 126 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateEdit.html
  74. 237 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateList.html
  75. 117 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplatePageEdit.html
  76. 177 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktAdd.html
  77. 156 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktEdit.html
  78. 257 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktList.html
  79. 147 0
      health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktPageEdit.html
  80. 121 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsAdd.html
  81. 114 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsEdit.html
  82. 229 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsList.html
  83. 105 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsPageEdit.html
  84. 121 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceAdd.html
  85. 114 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceEdit.html
  86. 229 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceList.html
  87. 105 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidancePageEdit.html
  88. 113 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareAdd.html
  89. 108 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareEdit.html
  90. 225 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareList.html
  91. 99 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalSharePageEdit.html
  92. 89 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceAdd.html
  93. 90 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceEdit.html
  94. 213 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceList.html
  95. 81 0
      health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilancePageEdit.html
  96. 2 2
      health-admin/src/main/resources/templates/dtp/cold/add.html
  97. 2 2
      health-admin/src/main/resources/templates/dtp/cold/cold.html
  98. 2 2
      health-admin/src/main/resources/templates/dtp/cold/edit.html
  99. 2 2
      health-admin/src/main/resources/templates/dtp/configInfo/AssociatedPrescription.html
  100. 2 2
      health-admin/src/main/resources/templates/dtp/configInfo/addDrug.html

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/cgxs/SCgxsCfdjPrescriptionRecordController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.cgxs;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.cgxs.SCgxsCfdjPrescriptionRecordService;
+
+import java.util.List;
+
+/**
+*
+* 处方记录表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "cgxs/scgxscfdjprescriptionrecord")
+public class SCgxsCfdjPrescriptionRecordController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "cgxs";
+
+    @Autowired
+    private SCgxsCfdjPrescriptionRecordService sCgxsCfdjPrescriptionRecordService;
+
+    /**
+    * 处方记录表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("cgxs:cg:view")
+    @GetMapping("/sCgxsCfdjPrescriptionRecordAdd")
+    public String add() {
+        return prefix + "/SCgxsCfdjPrescriptionRecordAdd";
+    }
+
+    /**
+    * 处方记录表 新增
+    *
+    * @return
+    */
+    @Log(title = "处方记录表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sCgxsCfdjPrescriptionRecordAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sCgxsCfdjPrescriptionRecordService.addSCgxsCfdjPrescriptionRecord(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 处方记录表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("cgxs:cg:view")
+    @GetMapping("/sCgxsCfdjPrescriptionRecordView")
+    public String scgxscfdjprescriptionrecordListView() {
+        return prefix + "/SCgxsCfdjPrescriptionRecordList";
+    }
+
+    /**
+    * 处方记录表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:sCgxsCfdjPrescriptionRecordList")
+    @PostMapping("/sCgxsCfdjPrescriptionRecordList")
+    @ResponseBody
+    public TableDataInfo scgxscfdjprescriptionrecordList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sCgxsCfdjPrescriptionRecordService.findSCgxsCfdjPrescriptionRecordList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 处方记录表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:remove")
+    @Log(title = "处方记录表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sCgxsCfdjPrescriptionRecordRemove")
+    @ResponseBody
+    public AjaxResult scgxscfdjprescriptionrecordRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sCgxsCfdjPrescriptionRecordService.SCgxsCfdjPrescriptionRecordRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 处方记录表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:edit")
+    @GetMapping("/sCgxsCfdjPrescriptionRecordEdit/{id}")
+    public String scgxscfdjprescriptionrecordView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sCgxsCfdjPrescriptionRecordService.findSCgxsCfdjPrescriptionRecordList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/scgxscfdjprescriptionrecordPageEdit";
+        }
+        return prefix+ "/scgxscfdjprescriptionrecordEdit";
+    }
+
+    /**
+    * 处方记录表保存修改的数据
+    */
+    @RequiresPermissions("cgxs:cg:edit")
+    @Log(title = "处方记录表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sCgxsCfdjPrescriptionRecordEdit")
+    @ResponseBody
+    public AjaxResult scgxscfdjprescriptionrecordEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sCgxsCfdjPrescriptionRecordService.updateSCgxsCfdjPrescriptionRecord(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表scgxscfdjprescriptionrecord with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表scgxscfdjprescriptionrecord with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/cgxs/SCgxsTgypTgypdjController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.cgxs;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.cgxs.SCgxsTgypTgypdjService;
+
+import java.util.List;
+
+/**
+*
+* 特管药品登记表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "cgxs/scgxstgyptgypdj")
+public class SCgxsTgypTgypdjController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "cgxs";
+
+    @Autowired
+    private SCgxsTgypTgypdjService sCgxsTgypTgypdjService;
+
+    /**
+    * 特管药品登记表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("cgxs:cg:view")
+    @GetMapping("/sCgxsTgypTgypdjAdd")
+    public String add() {
+        return prefix + "/SCgxsTgypTgypdjAdd";
+    }
+
+    /**
+    * 特管药品登记表 新增
+    *
+    * @return
+    */
+    @Log(title = "特管药品登记表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sCgxsTgypTgypdjAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sCgxsTgypTgypdjService.addSCgxsTgypTgypdj(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 特管药品登记表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("cgxs:cg:view")
+    @GetMapping("/sCgxsTgypTgypdjView")
+    public String scgxstgyptgypdjListView() {
+        return prefix + "/SCgxsTgypTgypdjList";
+    }
+
+    /**
+    * 特管药品登记表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:sCgxsTgypTgypdjList")
+    @PostMapping("/sCgxsTgypTgypdjList")
+    @ResponseBody
+    public TableDataInfo scgxstgyptgypdjList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sCgxsTgypTgypdjService.findSCgxsTgypTgypdjList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 特管药品登记表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:remove")
+    @Log(title = "特管药品登记表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sCgxsTgypTgypdjRemove")
+    @ResponseBody
+    public AjaxResult scgxstgyptgypdjRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sCgxsTgypTgypdjService.SCgxsTgypTgypdjRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 特管药品登记表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("cgxs:cg:edit")
+    @GetMapping("/sCgxsTgypTgypdjEdit/{id}")
+    public String scgxstgyptgypdjView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sCgxsTgypTgypdjService.findSCgxsTgypTgypdjList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/scgxstgyptgypdjPageEdit";
+        }
+        return prefix+ "/scgxstgyptgypdjEdit";
+    }
+
+    /**
+    * 特管药品登记表保存修改的数据
+    */
+    @RequiresPermissions("cgxs:cg:edit")
+    @Log(title = "特管药品登记表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sCgxsTgypTgypdjEdit")
+    @ResponseBody
+    public AjaxResult scgxstgyptgypdjEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sCgxsTgypTgypdjService.updateSCgxsTgypTgypdj(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表scgxstgyptgypdj with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表scgxstgyptgypdj with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 157 - 0
health-admin/src/main/java/com/bzd/web/controller/daas/SDaasChannelManagementController.java

@@ -0,0 +1,157 @@
+package com.bzd.web.controller.daas;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.daas.SDaasChannelManagementService;
+
+import java.util.List;
+
+/**
+*
+* 渠道管理表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "daas/sdaaschannelmanagement")
+public class SDaasChannelManagementController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "daas";
+
+    @Autowired
+    private SDaasChannelManagementService sDaasChannelManagementService;
+
+    /**
+    * 渠道管理表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("daas:ds:view")
+    @GetMapping("/sDaasChannelManagementAdd")
+    public String add() {
+        return prefix + "/SDaasChannelManagementAdd";
+    }
+
+    /**
+    * 渠道管理表 新增
+    *
+    * @return
+    */
+    @Log(title = "渠道管理表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDaasChannelManagementAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDaasChannelManagementService.addSDaasChannelManagement(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 渠道管理表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("daas:ds:view")
+    @GetMapping("/sDaasChannelManagementView")
+    public String sdaaschannelmanagementListView() {
+        return prefix + "/SDaasChannelManagementList";
+    }
+
+    /**
+    * 渠道管理表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("daas:ds:sDaasChannelManagementList")
+    @PostMapping("/sDaasChannelManagementList")
+    @ResponseBody
+    public TableDataInfo sdaaschannelmanagementList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDaasChannelManagementService.findSDaasChannelManagementList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 渠道管理表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("daas:ds:remove")
+    @Log(title = "渠道管理表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDaasChannelManagementRemove")
+    @ResponseBody
+    public AjaxResult sdaaschannelmanagementRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDaasChannelManagementService.SDaasChannelManagementRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 渠道管理表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("daas:ds:edit")
+    @GetMapping("/sDaasChannelManagementEdit/{id}")
+    public String sdaaschannelmanagementView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDaasChannelManagementService.findSDaasChannelManagementList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdaaschannelmanagementPageEdit";
+        }
+        return prefix+ "/sdaaschannelmanagementEdit";
+    }
+
+    /**
+    * 渠道管理表保存修改的数据
+    */
+    @RequiresPermissions("daas:ds:edit")
+    @Log(title = "渠道管理表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDaasChannelManagementEdit")
+    @ResponseBody
+    public AjaxResult sdaaschannelmanagementEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDaasChannelManagementService.updateSDaasChannelManagement(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdaaschannelmanagement with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdaaschannelmanagement with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglFpglDsfzfkpController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.ddgl;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.ddgl.SDdglFpglDsfzfkpService;
+
+import java.util.List;
+
+/**
+*
+* 第三方支付开票表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "ddgl/sddglfpgldsfzfkp")
+public class SDdglFpglDsfzfkpController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "ddgl";
+
+    @Autowired
+    private SDdglFpglDsfzfkpService sDdglFpglDsfzfkpService;
+
+    /**
+    * 第三方支付开票表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglFpglDsfzfkpAdd")
+    public String add() {
+        return prefix + "/SDdglFpglDsfzfkpAdd";
+    }
+
+    /**
+    * 第三方支付开票表 新增
+    *
+    * @return
+    */
+    @Log(title = "第三方支付开票表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDdglFpglDsfzfkpAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDdglFpglDsfzfkpService.addSDdglFpglDsfzfkp(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 第三方支付开票表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglFpglDsfzfkpView")
+    public String sddglfpgldsfzfkpListView() {
+        return prefix + "/SDdglFpglDsfzfkpList";
+    }
+
+    /**
+    * 第三方支付开票表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:sDdglFpglDsfzfkpList")
+    @PostMapping("/sDdglFpglDsfzfkpList")
+    @ResponseBody
+    public TableDataInfo sddglfpgldsfzfkpList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDdglFpglDsfzfkpService.findSDdglFpglDsfzfkpList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 第三方支付开票表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:remove")
+    @Log(title = "第三方支付开票表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDdglFpglDsfzfkpRemove")
+    @ResponseBody
+    public AjaxResult sddglfpgldsfzfkpRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDdglFpglDsfzfkpService.SDdglFpglDsfzfkpRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 第三方支付开票表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @GetMapping("/sDdglFpglDsfzfkpEdit/{id}")
+    public String sddglfpgldsfzfkpView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDdglFpglDsfzfkpService.findSDdglFpglDsfzfkpList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sddglfpgldsfzfkpPageEdit";
+        }
+        return prefix+ "/sddglfpgldsfzfkpEdit";
+    }
+
+    /**
+    * 第三方支付开票表保存修改的数据
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @Log(title = "第三方支付开票表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDdglFpglDsfzfkpEdit")
+    @ResponseBody
+    public AjaxResult sddglfpgldsfzfkpEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDdglFpglDsfzfkpService.updateSDdglFpglDsfzfkp(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sddglfpgldsfzfkp with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sddglfpgldsfzfkp with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglFpglInvoiceinfoController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.ddgl;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.ddgl.SDdglFpglInvoiceinfoService;
+
+import java.util.List;
+
+/**
+*
+* 发票管理表(开发票,发票查询) 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "ddgl/sddglfpglinvoiceinfo")
+public class SDdglFpglInvoiceinfoController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "ddgl";
+
+    @Autowired
+    private SDdglFpglInvoiceinfoService sDdglFpglInvoiceinfoService;
+
+    /**
+    * 发票管理表(开发票,发票查询) 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglFpglInvoiceinfoAdd")
+    public String add() {
+        return prefix + "/SDdglFpglInvoiceinfoAdd";
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询) 新增
+    *
+    * @return
+    */
+    @Log(title = "发票管理表(开发票,发票查询)新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDdglFpglInvoiceinfoAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDdglFpglInvoiceinfoService.addSDdglFpglInvoiceinfo(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询) 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglFpglInvoiceinfoView")
+    public String sddglfpglinvoiceinfoListView() {
+        return prefix + "/SDdglFpglInvoiceinfoList";
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询) 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:sDdglFpglInvoiceinfoList")
+    @PostMapping("/sDdglFpglInvoiceinfoList")
+    @ResponseBody
+    public TableDataInfo sddglfpglinvoiceinfoList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDdglFpglInvoiceinfoService.findSDdglFpglInvoiceinfoList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询) 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:remove")
+    @Log(title = "发票管理表(开发票,发票查询)删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDdglFpglInvoiceinfoRemove")
+    @ResponseBody
+    public AjaxResult sddglfpglinvoiceinfoRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDdglFpglInvoiceinfoService.SDdglFpglInvoiceinfoRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询) 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @GetMapping("/sDdglFpglInvoiceinfoEdit/{id}")
+    public String sddglfpglinvoiceinfoView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDdglFpglInvoiceinfoService.findSDdglFpglInvoiceinfoList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sddglfpglinvoiceinfoPageEdit";
+        }
+        return prefix+ "/sddglfpglinvoiceinfoEdit";
+    }
+
+    /**
+    * 发票管理表(开发票,发票查询)保存修改的数据
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @Log(title = "发票管理表(开发票,发票查询)修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDdglFpglInvoiceinfoEdit")
+    @ResponseBody
+    public AjaxResult sddglfpglinvoiceinfoEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDdglFpglInvoiceinfoService.updateSDdglFpglInvoiceinfo(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sddglfpglinvoiceinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sddglfpglinvoiceinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/ddgl/SDdglOrderStoreController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.ddgl;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.ddgl.SDdglOrderStoreService;
+
+import java.util.List;
+
+/**
+*
+* 门店订单表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "ddgl/sddglorderstore")
+public class SDdglOrderStoreController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "ddgl";
+
+    @Autowired
+    private SDdglOrderStoreService sDdglOrderStoreService;
+
+    /**
+    * 门店订单表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglOrderStoreAdd")
+    public String add() {
+        return prefix + "/SDdglOrderStoreAdd";
+    }
+
+    /**
+    * 门店订单表 新增
+    *
+    * @return
+    */
+    @Log(title = "门店订单表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDdglOrderStoreAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDdglOrderStoreService.addSDdglOrderStore(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 门店订单表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("ddgl:dd:view")
+    @GetMapping("/sDdglOrderStoreView")
+    public String sddglorderstoreListView() {
+        return prefix + "/SDdglOrderStoreList";
+    }
+
+    /**
+    * 门店订单表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:sDdglOrderStoreList")
+    @PostMapping("/sDdglOrderStoreList")
+    @ResponseBody
+    public TableDataInfo sddglorderstoreList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDdglOrderStoreService.findSDdglOrderStoreList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 门店订单表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:remove")
+    @Log(title = "门店订单表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDdglOrderStoreRemove")
+    @ResponseBody
+    public AjaxResult sddglorderstoreRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDdglOrderStoreService.SDdglOrderStoreRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 门店订单表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @GetMapping("/sDdglOrderStoreEdit/{id}")
+    public String sddglorderstoreView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDdglOrderStoreService.findSDdglOrderStoreList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sddglorderstorePageEdit";
+        }
+        return prefix+ "/sddglorderstoreEdit";
+    }
+
+    /**
+    * 门店订单表保存修改的数据
+    */
+    @RequiresPermissions("ddgl:dd:edit")
+    @Log(title = "门店订单表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDdglOrderStoreEdit")
+    @ResponseBody
+    public AjaxResult sddglorderstoreEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDdglOrderStoreService.updateSDdglOrderStore(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sddglorderstore with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sddglorderstore with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpRwglBusinesstaskController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpRwglBusinesstaskService;
+
+import java.util.List;
+
+/**
+*
+* 任务列表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtprwglbusinesstask")
+public class SDtpRwglBusinesstaskController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpRwglBusinesstaskService sDtpRwglBusinesstaskService;
+
+    /**
+    * 任务列表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpRwglBusinesstaskAdd")
+    public String add() {
+        return prefix + "/SDtpRwglBusinesstaskAdd";
+    }
+
+    /**
+    * 任务列表 新增
+    *
+    * @return
+    */
+    @Log(title = "任务列表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpRwglBusinesstaskAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpRwglBusinesstaskService.addSDtpRwglBusinesstask(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 任务列表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpRwglBusinesstaskView")
+    public String sdtprwglbusinesstaskListView() {
+        return prefix + "/SDtpRwglBusinesstaskList";
+    }
+
+    /**
+    * 任务列表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpRwglBusinesstaskList")
+    @PostMapping("/sDtpRwglBusinesstaskList")
+    @ResponseBody
+    public TableDataInfo sdtprwglbusinesstaskList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpRwglBusinesstaskService.findSDtpRwglBusinesstaskList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 任务列表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "任务列表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpRwglBusinesstaskRemove")
+    @ResponseBody
+    public AjaxResult sdtprwglbusinesstaskRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpRwglBusinesstaskService.SDtpRwglBusinesstaskRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 任务列表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpRwglBusinesstaskEdit/{id}")
+    public String sdtprwglbusinesstaskView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpRwglBusinesstaskService.findSDtpRwglBusinesstaskList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtprwglbusinesstaskPageEdit";
+        }
+        return prefix+ "/sdtprwglbusinesstaskEdit";
+    }
+
+    /**
+    * 任务列表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "任务列表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpRwglBusinesstaskEdit")
+    @ResponseBody
+    public AjaxResult sdtprwglbusinesstaskEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpRwglBusinesstaskService.updateSDtpRwglBusinesstask(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtprwglbusinesstask with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtprwglbusinesstask with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpSjdcFollowUpStatisticsController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpSjdcFollowUpStatisticsService;
+
+import java.util.List;
+
+/**
+*
+* 随访统计表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpsjdcfollowupstatistics")
+public class SDtpSjdcFollowUpStatisticsController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpSjdcFollowUpStatisticsService sDtpSjdcFollowUpStatisticsService;
+
+    /**
+    * 随访统计表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpSjdcFollowUpStatisticsAdd")
+    public String add() {
+        return prefix + "/SDtpSjdcFollowUpStatisticsAdd";
+    }
+
+    /**
+    * 随访统计表 新增
+    *
+    * @return
+    */
+    @Log(title = "随访统计表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpSjdcFollowUpStatisticsAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpSjdcFollowUpStatisticsService.addSDtpSjdcFollowUpStatistics(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 随访统计表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpSjdcFollowUpStatisticsView")
+    public String sdtpsjdcfollowupstatisticsListView() {
+        return prefix + "/SDtpSjdcFollowUpStatisticsList";
+    }
+
+    /**
+    * 随访统计表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpSjdcFollowUpStatisticsList")
+    @PostMapping("/sDtpSjdcFollowUpStatisticsList")
+    @ResponseBody
+    public TableDataInfo sdtpsjdcfollowupstatisticsList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpSjdcFollowUpStatisticsService.findSDtpSjdcFollowUpStatisticsList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 随访统计表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "随访统计表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpSjdcFollowUpStatisticsRemove")
+    @ResponseBody
+    public AjaxResult sdtpsjdcfollowupstatisticsRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpSjdcFollowUpStatisticsService.SDtpSjdcFollowUpStatisticsRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 随访统计表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpSjdcFollowUpStatisticsEdit/{id}")
+    public String sdtpsjdcfollowupstatisticsView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpSjdcFollowUpStatisticsService.findSDtpSjdcFollowUpStatisticsList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpsjdcfollowupstatisticsPageEdit";
+        }
+        return prefix+ "/sdtpsjdcfollowupstatisticsEdit";
+    }
+
+    /**
+    * 随访统计表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "随访统计表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpSjdcFollowUpStatisticsEdit")
+    @ResponseBody
+    public AjaxResult sdtpsjdcfollowupstatisticsEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpSjdcFollowUpStatisticsService.updateSDtpSjdcFollowUpStatistics(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpsjdcfollowupstatistics with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpsjdcfollowupstatistics with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpSjdcQualityInspectionTaskController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpSjdcQualityInspectionTaskService;
+
+import java.util.List;
+
+/**
+*
+* 质检任务表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpsjdcqualityinspectiontask")
+public class SDtpSjdcQualityInspectionTaskController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpSjdcQualityInspectionTaskService sDtpSjdcQualityInspectionTaskService;
+
+    /**
+    * 质检任务表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpSjdcQualityInspectionTaskAdd")
+    public String add() {
+        return prefix + "/SDtpSjdcQualityInspectionTaskAdd";
+    }
+
+    /**
+    * 质检任务表 新增
+    *
+    * @return
+    */
+    @Log(title = "质检任务表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpSjdcQualityInspectionTaskAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpSjdcQualityInspectionTaskService.addSDtpSjdcQualityInspectionTask(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 质检任务表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpSjdcQualityInspectionTaskView")
+    public String sdtpsjdcqualityinspectiontaskListView() {
+        return prefix + "/SDtpSjdcQualityInspectionTaskList";
+    }
+
+    /**
+    * 质检任务表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpSjdcQualityInspectionTaskList")
+    @PostMapping("/sDtpSjdcQualityInspectionTaskList")
+    @ResponseBody
+    public TableDataInfo sdtpsjdcqualityinspectiontaskList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpSjdcQualityInspectionTaskService.findSDtpSjdcQualityInspectionTaskList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 质检任务表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "质检任务表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpSjdcQualityInspectionTaskRemove")
+    @ResponseBody
+    public AjaxResult sdtpsjdcqualityinspectiontaskRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpSjdcQualityInspectionTaskService.SDtpSjdcQualityInspectionTaskRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 质检任务表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpSjdcQualityInspectionTaskEdit/{id}")
+    public String sdtpsjdcqualityinspectiontaskView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpSjdcQualityInspectionTaskService.findSDtpSjdcQualityInspectionTaskList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpsjdcqualityinspectiontaskPageEdit";
+        }
+        return prefix+ "/sdtpsjdcqualityinspectiontaskEdit";
+    }
+
+    /**
+    * 质检任务表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "质检任务表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpSjdcQualityInspectionTaskEdit")
+    @ResponseBody
+    public AjaxResult sdtpsjdcqualityinspectiontaskEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpSjdcQualityInspectionTaskService.updateSDtpSjdcQualityInspectionTask(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpsjdcqualityinspectiontask with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpsjdcqualityinspectiontask with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzCallWordController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpYypzCallWordService;
+
+import java.util.List;
+
+/**
+*
+* 提示词管理表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpyypzcallword")
+public class SDtpYypzCallWordController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpYypzCallWordService sDtpYypzCallWordService;
+
+    /**
+    * 提示词管理表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzCallWordAdd")
+    public String add() {
+        return prefix + "/SDtpYypzCallWordAdd";
+    }
+
+    /**
+    * 提示词管理表 新增
+    *
+    * @return
+    */
+    @Log(title = "提示词管理表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpYypzCallWordAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpYypzCallWordService.addSDtpYypzCallWord(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 提示词管理表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzCallWordView")
+    public String sdtpyypzcallwordListView() {
+        return prefix + "/SDtpYypzCallWordList";
+    }
+
+    /**
+    * 提示词管理表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpYypzCallWordList")
+    @PostMapping("/sDtpYypzCallWordList")
+    @ResponseBody
+    public TableDataInfo sdtpyypzcallwordList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpYypzCallWordService.findSDtpYypzCallWordList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 提示词管理表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "提示词管理表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpYypzCallWordRemove")
+    @ResponseBody
+    public AjaxResult sdtpyypzcallwordRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpYypzCallWordService.SDtpYypzCallWordRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 提示词管理表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpYypzCallWordEdit/{id}")
+    public String sdtpyypzcallwordView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpYypzCallWordService.findSDtpYypzCallWordList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpyypzcallwordPageEdit";
+        }
+        return prefix+ "/sdtpyypzcallwordEdit";
+    }
+
+    /**
+    * 提示词管理表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "提示词管理表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpYypzCallWordEdit")
+    @ResponseBody
+    public AjaxResult sdtpyypzcallwordEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpYypzCallWordService.updateSDtpYypzCallWord(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpyypzcallword with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpyypzcallword with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFaqManagementController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpYypzFaqManagementService;
+
+import java.util.List;
+
+/**
+*
+* 常用问答管理表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpyypzfaqmanagement")
+public class SDtpYypzFaqManagementController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpYypzFaqManagementService sDtpYypzFaqManagementService;
+
+    /**
+    * 常用问答管理表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFaqManagementAdd")
+    public String add() {
+        return prefix + "/SDtpYypzFaqManagementAdd";
+    }
+
+    /**
+    * 常用问答管理表 新增
+    *
+    * @return
+    */
+    @Log(title = "常用问答管理表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpYypzFaqManagementAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpYypzFaqManagementService.addSDtpYypzFaqManagement(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 常用问答管理表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFaqManagementView")
+    public String sdtpyypzfaqmanagementListView() {
+        return prefix + "/SDtpYypzFaqManagementList";
+    }
+
+    /**
+    * 常用问答管理表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpYypzFaqManagementList")
+    @PostMapping("/sDtpYypzFaqManagementList")
+    @ResponseBody
+    public TableDataInfo sdtpyypzfaqmanagementList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpYypzFaqManagementService.findSDtpYypzFaqManagementList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 常用问答管理表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "常用问答管理表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpYypzFaqManagementRemove")
+    @ResponseBody
+    public AjaxResult sdtpyypzfaqmanagementRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpYypzFaqManagementService.SDtpYypzFaqManagementRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 常用问答管理表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpYypzFaqManagementEdit/{id}")
+    public String sdtpyypzfaqmanagementView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpYypzFaqManagementService.findSDtpYypzFaqManagementList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpyypzfaqmanagementPageEdit";
+        }
+        return prefix+ "/sdtpyypzfaqmanagementEdit";
+    }
+
+    /**
+    * 常用问答管理表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "常用问答管理表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpYypzFaqManagementEdit")
+    @ResponseBody
+    public AjaxResult sdtpyypzfaqmanagementEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpYypzFaqManagementService.updateSDtpYypzFaqManagement(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpyypzfaqmanagement with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpyypzfaqmanagement with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFollowUpSopController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpYypzFollowUpSopService;
+
+import java.util.List;
+
+/**
+*
+* 随访SOP表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpyypzfollowupsop")
+public class SDtpYypzFollowUpSopController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpYypzFollowUpSopService sDtpYypzFollowUpSopService;
+
+    /**
+    * 随访SOP表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFollowUpSopAdd")
+    public String add() {
+        return prefix + "/SDtpYypzFollowUpSopAdd";
+    }
+
+    /**
+    * 随访SOP表 新增
+    *
+    * @return
+    */
+    @Log(title = "随访SOP表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpYypzFollowUpSopAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpYypzFollowUpSopService.addSDtpYypzFollowUpSop(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 随访SOP表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFollowUpSopView")
+    public String sdtpyypzfollowupsopListView() {
+        return prefix + "/SDtpYypzFollowUpSopList";
+    }
+
+    /**
+    * 随访SOP表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpYypzFollowUpSopList")
+    @PostMapping("/sDtpYypzFollowUpSopList")
+    @ResponseBody
+    public TableDataInfo sdtpyypzfollowupsopList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpYypzFollowUpSopService.findSDtpYypzFollowUpSopList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 随访SOP表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "随访SOP表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpYypzFollowUpSopRemove")
+    @ResponseBody
+    public AjaxResult sdtpyypzfollowupsopRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpYypzFollowUpSopService.SDtpYypzFollowUpSopRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 随访SOP表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpYypzFollowUpSopEdit/{id}")
+    public String sdtpyypzfollowupsopView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpYypzFollowUpSopService.findSDtpYypzFollowUpSopList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpyypzfollowupsopPageEdit";
+        }
+        return prefix+ "/sdtpyypzfollowupsopEdit";
+    }
+
+    /**
+    * 随访SOP表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "随访SOP表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpYypzFollowUpSopEdit")
+    @ResponseBody
+    public AjaxResult sdtpyypzfollowupsopEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpYypzFollowUpSopService.updateSDtpYypzFollowUpSop(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpyypzfollowupsop with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpyypzfollowupsop with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzFollowUpTemplateController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpYypzFollowUpTemplateService;
+
+import java.util.List;
+
+/**
+*
+* 随访模板表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpyypzfollowuptemplate")
+public class SDtpYypzFollowUpTemplateController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpYypzFollowUpTemplateService sDtpYypzFollowUpTemplateService;
+
+    /**
+    * 随访模板表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFollowUpTemplateAdd")
+    public String add() {
+        return prefix + "/SDtpYypzFollowUpTemplateAdd";
+    }
+
+    /**
+    * 随访模板表 新增
+    *
+    * @return
+    */
+    @Log(title = "随访模板表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpYypzFollowUpTemplateAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpYypzFollowUpTemplateService.addSDtpYypzFollowUpTemplate(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 随访模板表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzFollowUpTemplateView")
+    public String sdtpyypzfollowuptemplateListView() {
+        return prefix + "/SDtpYypzFollowUpTemplateList";
+    }
+
+    /**
+    * 随访模板表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpYypzFollowUpTemplateList")
+    @PostMapping("/sDtpYypzFollowUpTemplateList")
+    @ResponseBody
+    public TableDataInfo sdtpyypzfollowuptemplateList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpYypzFollowUpTemplateService.findSDtpYypzFollowUpTemplateList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 随访模板表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "随访模板表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpYypzFollowUpTemplateRemove")
+    @ResponseBody
+    public AjaxResult sdtpyypzfollowuptemplateRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpYypzFollowUpTemplateService.SDtpYypzFollowUpTemplateRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 随访模板表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpYypzFollowUpTemplateEdit/{id}")
+    public String sdtpyypzfollowuptemplateView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpYypzFollowUpTemplateService.findSDtpYypzFollowUpTemplateList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpyypzfollowuptemplatePageEdit";
+        }
+        return prefix+ "/sdtpyypzfollowuptemplateEdit";
+    }
+
+    /**
+    * 随访模板表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "随访模板表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpYypzFollowUpTemplateEdit")
+    @ResponseBody
+    public AjaxResult sdtpyypzfollowuptemplateEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpYypzFollowUpTemplateService.updateSDtpYypzFollowUpTemplate(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpyypzfollowuptemplate with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpyypzfollowuptemplate with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpYypzVerbalTricktController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpYypzVerbalTricktService;
+
+import java.util.List;
+
+/**
+*
+* 随访话术管理表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpyypzverbaltrickt")
+public class SDtpYypzVerbalTricktController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpYypzVerbalTricktService sDtpYypzVerbalTricktService;
+
+    /**
+    * 随访话术管理表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzVerbalTricktAdd")
+    public String add() {
+        return prefix + "/SDtpYypzVerbalTricktAdd";
+    }
+
+    /**
+    * 随访话术管理表 新增
+    *
+    * @return
+    */
+    @Log(title = "随访话术管理表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpYypzVerbalTricktAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpYypzVerbalTricktService.addSDtpYypzVerbalTrickt(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 随访话术管理表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpYypzVerbalTricktView")
+    public String sdtpyypzverbaltricktListView() {
+        return prefix + "/SDtpYypzVerbalTricktList";
+    }
+
+    /**
+    * 随访话术管理表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpYypzVerbalTricktList")
+    @PostMapping("/sDtpYypzVerbalTricktList")
+    @ResponseBody
+    public TableDataInfo sdtpyypzverbaltricktList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpYypzVerbalTricktService.findSDtpYypzVerbalTricktList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 随访话术管理表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "随访话术管理表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpYypzVerbalTricktRemove")
+    @ResponseBody
+    public AjaxResult sdtpyypzverbaltricktRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpYypzVerbalTricktService.SDtpYypzVerbalTricktRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 随访话术管理表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpYypzVerbalTricktEdit/{id}")
+    public String sdtpyypzverbaltricktView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpYypzVerbalTricktService.findSDtpYypzVerbalTricktList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpyypzverbaltricktPageEdit";
+        }
+        return prefix+ "/sdtpyypzverbaltricktEdit";
+    }
+
+    /**
+    * 随访话术管理表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "随访话术管理表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpYypzVerbalTricktEdit")
+    @ResponseBody
+    public AjaxResult sdtpyypzverbaltricktEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpYypzVerbalTricktService.updateSDtpYypzVerbalTrickt(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpyypzverbaltrickt with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpyypzverbaltrickt with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxDrugInstructionsController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpZskcxDrugInstructionsService;
+
+import java.util.List;
+
+/**
+*
+* 药品说明书表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpzskcxdruginstructions")
+public class SDtpZskcxDrugInstructionsController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpZskcxDrugInstructionsService sDtpZskcxDrugInstructionsService;
+
+    /**
+    * 药品说明书表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxDrugInstructionsAdd")
+    public String add() {
+        return prefix + "/SDtpZskcxDrugInstructionsAdd";
+    }
+
+    /**
+    * 药品说明书表 新增
+    *
+    * @return
+    */
+    @Log(title = "药品说明书表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpZskcxDrugInstructionsAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpZskcxDrugInstructionsService.addSDtpZskcxDrugInstructions(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 药品说明书表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxDrugInstructionsView")
+    public String sdtpzskcxdruginstructionsListView() {
+        return prefix + "/SDtpZskcxDrugInstructionsList";
+    }
+
+    /**
+    * 药品说明书表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpZskcxDrugInstructionsList")
+    @PostMapping("/sDtpZskcxDrugInstructionsList")
+    @ResponseBody
+    public TableDataInfo sdtpzskcxdruginstructionsList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpZskcxDrugInstructionsService.findSDtpZskcxDrugInstructionsList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 药品说明书表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "药品说明书表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpZskcxDrugInstructionsRemove")
+    @ResponseBody
+    public AjaxResult sdtpzskcxdruginstructionsRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpZskcxDrugInstructionsService.SDtpZskcxDrugInstructionsRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 药品说明书表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpZskcxDrugInstructionsEdit/{id}")
+    public String sdtpzskcxdruginstructionsView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpZskcxDrugInstructionsService.findSDtpZskcxDrugInstructionsList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpzskcxdruginstructionsPageEdit";
+        }
+        return prefix+ "/sdtpzskcxdruginstructionsEdit";
+    }
+
+    /**
+    * 药品说明书表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "药品说明书表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpZskcxDrugInstructionsEdit")
+    @ResponseBody
+    public AjaxResult sdtpzskcxdruginstructionsEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpZskcxDrugInstructionsService.updateSDtpZskcxDrugInstructions(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpzskcxdruginstructions with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpzskcxdruginstructions with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxFollowUpGuidanceController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpZskcxFollowUpGuidanceService;
+
+import java.util.List;
+
+/**
+*
+* 随访指导管理表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpzskcxfollowupguidance")
+public class SDtpZskcxFollowUpGuidanceController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpZskcxFollowUpGuidanceService sDtpZskcxFollowUpGuidanceService;
+
+    /**
+    * 随访指导管理表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxFollowUpGuidanceAdd")
+    public String add() {
+        return prefix + "/SDtpZskcxFollowUpGuidanceAdd";
+    }
+
+    /**
+    * 随访指导管理表 新增
+    *
+    * @return
+    */
+    @Log(title = "随访指导管理表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpZskcxFollowUpGuidanceAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpZskcxFollowUpGuidanceService.addSDtpZskcxFollowUpGuidance(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 随访指导管理表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxFollowUpGuidanceView")
+    public String sdtpzskcxfollowupguidanceListView() {
+        return prefix + "/SDtpZskcxFollowUpGuidanceList";
+    }
+
+    /**
+    * 随访指导管理表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpZskcxFollowUpGuidanceList")
+    @PostMapping("/sDtpZskcxFollowUpGuidanceList")
+    @ResponseBody
+    public TableDataInfo sdtpzskcxfollowupguidanceList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpZskcxFollowUpGuidanceService.findSDtpZskcxFollowUpGuidanceList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 随访指导管理表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "随访指导管理表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpZskcxFollowUpGuidanceRemove")
+    @ResponseBody
+    public AjaxResult sdtpzskcxfollowupguidanceRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpZskcxFollowUpGuidanceService.SDtpZskcxFollowUpGuidanceRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 随访指导管理表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpZskcxFollowUpGuidanceEdit/{id}")
+    public String sdtpzskcxfollowupguidanceView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpZskcxFollowUpGuidanceService.findSDtpZskcxFollowUpGuidanceList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpzskcxfollowupguidancePageEdit";
+        }
+        return prefix+ "/sdtpzskcxfollowupguidanceEdit";
+    }
+
+    /**
+    * 随访指导管理表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "随访指导管理表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpZskcxFollowUpGuidanceEdit")
+    @ResponseBody
+    public AjaxResult sdtpzskcxfollowupguidanceEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpZskcxFollowUpGuidanceService.updateSDtpZskcxFollowUpGuidance(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpzskcxfollowupguidance with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpzskcxfollowupguidance with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxPharmaceuticalShareController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpZskcxPharmaceuticalShareService;
+
+import java.util.List;
+
+/**
+*
+* 药学信息收集分享药学科普表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpzskcxpharmaceuticalshare")
+public class SDtpZskcxPharmaceuticalShareController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpZskcxPharmaceuticalShareService sDtpZskcxPharmaceuticalShareService;
+
+    /**
+    * 药学信息收集分享药学科普表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxPharmaceuticalShareAdd")
+    public String add() {
+        return prefix + "/SDtpZskcxPharmaceuticalShareAdd";
+    }
+
+    /**
+    * 药学信息收集分享药学科普表 新增
+    *
+    * @return
+    */
+    @Log(title = "药学信息收集分享药学科普表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpZskcxPharmaceuticalShareAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpZskcxPharmaceuticalShareService.addSDtpZskcxPharmaceuticalShare(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 药学信息收集分享药学科普表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxPharmaceuticalShareView")
+    public String sdtpzskcxpharmaceuticalshareListView() {
+        return prefix + "/SDtpZskcxPharmaceuticalShareList";
+    }
+
+    /**
+    * 药学信息收集分享药学科普表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpZskcxPharmaceuticalShareList")
+    @PostMapping("/sDtpZskcxPharmaceuticalShareList")
+    @ResponseBody
+    public TableDataInfo sdtpzskcxpharmaceuticalshareList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpZskcxPharmaceuticalShareService.findSDtpZskcxPharmaceuticalShareList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 药学信息收集分享药学科普表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "药学信息收集分享药学科普表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpZskcxPharmaceuticalShareRemove")
+    @ResponseBody
+    public AjaxResult sdtpzskcxpharmaceuticalshareRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpZskcxPharmaceuticalShareService.SDtpZskcxPharmaceuticalShareRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 药学信息收集分享药学科普表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpZskcxPharmaceuticalShareEdit/{id}")
+    public String sdtpzskcxpharmaceuticalshareView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpZskcxPharmaceuticalShareService.findSDtpZskcxPharmaceuticalShareList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpzskcxpharmaceuticalsharePageEdit";
+        }
+        return prefix+ "/sdtpzskcxpharmaceuticalshareEdit";
+    }
+
+    /**
+    * 药学信息收集分享药学科普表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "药学信息收集分享药学科普表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpZskcxPharmaceuticalShareEdit")
+    @ResponseBody
+    public AjaxResult sdtpzskcxpharmaceuticalshareEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpZskcxPharmaceuticalShareService.updateSDtpZskcxPharmaceuticalShare(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpzskcxpharmaceuticalshare with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpzskcxpharmaceuticalshare with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/dtp/SDtpZskcxPharmacovigilanceController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.dtp;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.dtp.SDtpZskcxPharmacovigilanceService;
+
+import java.util.List;
+
+/**
+*
+* 药学警戒表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "dtp/sdtpzskcxpharmacovigilance")
+public class SDtpZskcxPharmacovigilanceController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "dtp";
+
+    @Autowired
+    private SDtpZskcxPharmacovigilanceService sDtpZskcxPharmacovigilanceService;
+
+    /**
+    * 药学警戒表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxPharmacovigilanceAdd")
+    public String add() {
+        return prefix + "/SDtpZskcxPharmacovigilanceAdd";
+    }
+
+    /**
+    * 药学警戒表 新增
+    *
+    * @return
+    */
+    @Log(title = "药学警戒表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sDtpZskcxPharmacovigilanceAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sDtpZskcxPharmacovigilanceService.addSDtpZskcxPharmacovigilance(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 药学警戒表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("dtp:dtp:view")
+    @GetMapping("/sDtpZskcxPharmacovigilanceView")
+    public String sdtpzskcxpharmacovigilanceListView() {
+        return prefix + "/SDtpZskcxPharmacovigilanceList";
+    }
+
+    /**
+    * 药学警戒表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:sDtpZskcxPharmacovigilanceList")
+    @PostMapping("/sDtpZskcxPharmacovigilanceList")
+    @ResponseBody
+    public TableDataInfo sdtpzskcxpharmacovigilanceList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sDtpZskcxPharmacovigilanceService.findSDtpZskcxPharmacovigilanceList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 药学警戒表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:remove")
+    @Log(title = "药学警戒表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sDtpZskcxPharmacovigilanceRemove")
+    @ResponseBody
+    public AjaxResult sdtpzskcxpharmacovigilanceRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sDtpZskcxPharmacovigilanceService.SDtpZskcxPharmacovigilanceRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 药学警戒表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @GetMapping("/sDtpZskcxPharmacovigilanceEdit/{id}")
+    public String sdtpzskcxpharmacovigilanceView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sDtpZskcxPharmacovigilanceService.findSDtpZskcxPharmacovigilanceList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sdtpzskcxpharmacovigilancePageEdit";
+        }
+        return prefix+ "/sdtpzskcxpharmacovigilanceEdit";
+    }
+
+    /**
+    * 药学警戒表保存修改的数据
+    */
+    @RequiresPermissions("dtp:dtp:edit")
+    @Log(title = "药学警戒表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sDtpZskcxPharmacovigilanceEdit")
+    @ResponseBody
+    public AjaxResult sdtpzskcxpharmacovigilanceEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sDtpZskcxPharmacovigilanceService.updateSDtpZskcxPharmacovigilance(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sdtpzskcxpharmacovigilance with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sdtpzskcxpharmacovigilance with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/gjgzt/SGjgztHealthplaninfoController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.gjgzt;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.gjgzt.SGjgztHealthplaninfoService;
+
+import java.util.List;
+
+/**
+*
+* 健康报告列表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "gjgzt/sgjgzthealthplaninfo")
+public class SGjgztHealthplaninfoController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "gjgzt";
+
+    @Autowired
+    private SGjgztHealthplaninfoService sGjgztHealthplaninfoService;
+
+    /**
+    * 健康报告列表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("gjgzt:gj:view")
+    @GetMapping("/sGjgztHealthplaninfoAdd")
+    public String add() {
+        return prefix + "/SGjgztHealthplaninfoAdd";
+    }
+
+    /**
+    * 健康报告列表 新增
+    *
+    * @return
+    */
+    @Log(title = "健康报告列表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sGjgztHealthplaninfoAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sGjgztHealthplaninfoService.addSGjgztHealthplaninfo(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 健康报告列表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("gjgzt:gj:view")
+    @GetMapping("/sGjgztHealthplaninfoView")
+    public String sgjgzthealthplaninfoListView() {
+        return prefix + "/SGjgztHealthplaninfoList";
+    }
+
+    /**
+    * 健康报告列表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gjgzt:gj:sGjgztHealthplaninfoList")
+    @PostMapping("/sGjgztHealthplaninfoList")
+    @ResponseBody
+    public TableDataInfo sgjgzthealthplaninfoList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sGjgztHealthplaninfoService.findSGjgztHealthplaninfoList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 健康报告列表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gjgzt:gj:remove")
+    @Log(title = "健康报告列表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sGjgztHealthplaninfoRemove")
+    @ResponseBody
+    public AjaxResult sgjgzthealthplaninfoRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sGjgztHealthplaninfoService.SGjgztHealthplaninfoRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 健康报告列表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gjgzt:gj:edit")
+    @GetMapping("/sGjgztHealthplaninfoEdit/{id}")
+    public String sgjgzthealthplaninfoView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sGjgztHealthplaninfoService.findSGjgztHealthplaninfoList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sgjgzthealthplaninfoPageEdit";
+        }
+        return prefix+ "/sgjgzthealthplaninfoEdit";
+    }
+
+    /**
+    * 健康报告列表保存修改的数据
+    */
+    @RequiresPermissions("gjgzt:gj:edit")
+    @Log(title = "健康报告列表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sGjgztHealthplaninfoEdit")
+    @ResponseBody
+    public AjaxResult sgjgzthealthplaninfoEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sGjgztHealthplaninfoService.updateSGjgztHealthplaninfo(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sgjgzthealthplaninfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sgjgzthealthplaninfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/gkdggl/SGkdgglCustomerOrderAuditController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.gkdggl;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.gkdggl.SGkdgglCustomerOrderAuditService;
+
+import java.util.List;
+
+/**
+*
+* 顾客订购审核表 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "gkdggl/sgkdgglcustomerorderaudit")
+public class SGkdgglCustomerOrderAuditController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "gkdggl";
+
+    @Autowired
+    private SGkdgglCustomerOrderAuditService sGkdgglCustomerOrderAuditService;
+
+    /**
+    * 顾客订购审核表 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("gkdggl:gk:view")
+    @GetMapping("/sGkdgglCustomerOrderAuditAdd")
+    public String add() {
+        return prefix + "/SGkdgglCustomerOrderAuditAdd";
+    }
+
+    /**
+    * 顾客订购审核表 新增
+    *
+    * @return
+    */
+    @Log(title = "顾客订购审核表新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sGkdgglCustomerOrderAuditAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sGkdgglCustomerOrderAuditService.addSGkdgglCustomerOrderAudit(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 顾客订购审核表 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("gkdggl:gk:view")
+    @GetMapping("/sGkdgglCustomerOrderAuditView")
+    public String sgkdgglcustomerorderauditListView() {
+        return prefix + "/SGkdgglCustomerOrderAuditList";
+    }
+
+    /**
+    * 顾客订购审核表 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gkdggl:gk:sGkdgglCustomerOrderAuditList")
+    @PostMapping("/sGkdgglCustomerOrderAuditList")
+    @ResponseBody
+    public TableDataInfo sgkdgglcustomerorderauditList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sGkdgglCustomerOrderAuditService.findSGkdgglCustomerOrderAuditList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 顾客订购审核表 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gkdggl:gk:remove")
+    @Log(title = "顾客订购审核表删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sGkdgglCustomerOrderAuditRemove")
+    @ResponseBody
+    public AjaxResult sgkdgglcustomerorderauditRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sGkdgglCustomerOrderAuditService.SGkdgglCustomerOrderAuditRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 顾客订购审核表 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("gkdggl:gk:edit")
+    @GetMapping("/sGkdgglCustomerOrderAuditEdit/{id}")
+    public String sgkdgglcustomerorderauditView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sGkdgglCustomerOrderAuditService.findSGkdgglCustomerOrderAuditList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sgkdgglcustomerorderauditPageEdit";
+        }
+        return prefix+ "/sgkdgglcustomerorderauditEdit";
+    }
+
+    /**
+    * 顾客订购审核表保存修改的数据
+    */
+    @RequiresPermissions("gkdggl:gk:edit")
+    @Log(title = "顾客订购审核表修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sGkdgglCustomerOrderAuditEdit")
+    @ResponseBody
+    public AjaxResult sgkdgglcustomerorderauditEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sGkdgglCustomerOrderAuditService.updateSGkdgglCustomerOrderAudit(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sgkdgglcustomerorderaudit with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sgkdgglcustomerorderaudit with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 158 - 0
health-admin/src/main/java/com/bzd/web/controller/jggl/SJgglPriceadjustmentsheetController.java

@@ -0,0 +1,158 @@
+package com.bzd.web.controller.jggl;
+
+import com.bzd.common.annotation.Log;
+import com.bzd.common.config.dao.PageData;
+import com.bzd.common.core.controller.BaseController;
+import com.bzd.common.core.domain.AjaxResult;
+import com.bzd.common.core.page.TableDataInfo;
+import com.bzd.common.enums.BusinessType;
+import com.bzd.system.service.PharmaceuticalService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import com.bzd.system.service.jggl.SJgglPriceadjustmentsheetService;
+
+import java.util.List;
+
+/**
+*
+* 价格调整通知 前端控制器Controller
+* @author LiXiangFei
+* @since 2024-10-15
+*/
+@Controller
+@RequestMapping(value = "jggl/sjgglpriceadjustmentsheet")
+public class SJgglPriceadjustmentsheetController extends BaseController {
+
+    // 页面跳转前缀
+    private String prefix = "jggl";
+
+    @Autowired
+    private SJgglPriceadjustmentsheetService sJgglPriceadjustmentsheetService;
+
+    /**
+    * 价格调整通知 新增页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("jggl:jg:view")
+    @GetMapping("/sJgglPriceadjustmentsheetAdd")
+    public String add() {
+        return prefix + "/SJgglPriceadjustmentsheetAdd";
+    }
+
+    /**
+    * 价格调整通知 新增
+    *
+    * @return
+    */
+    @Log(title = "价格调整通知新增", businessType = BusinessType.INSERT)
+    @PostMapping("/sJgglPriceadjustmentsheetAdd")
+    @ResponseBody
+    public AjaxResult addSave() throws Exception {
+        PageData pd = this.getPageData();
+        try {
+            Integer result = sJgglPriceadjustmentsheetService.addSJgglPriceadjustmentsheet(pd);
+            if (result == 1) {
+                return AjaxResult.success("新增成功");
+            } else {
+                logger.error("Failed to update 表skccrkckreceiptinfo with ID: {}", pd.get("id"));
+                return AjaxResult.error("新增失败");
+            }
+        } catch (Exception e) {
+            logger.error("Error occurred while updating 表skccrkckreceiptinfo with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+
+    /**
+    * 价格调整通知 查询页面跳转
+    *
+    * @return
+    */
+    @RequiresPermissions("jggl:jg:view")
+    @GetMapping("/sJgglPriceadjustmentsheetView")
+    public String sjgglpriceadjustmentsheetListView() {
+        return prefix + "/SJgglPriceadjustmentsheetList";
+    }
+
+    /**
+    * 价格调整通知 数据查询
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("jggl:jg:sJgglPriceadjustmentsheetList")
+    @PostMapping("/sJgglPriceadjustmentsheetList")
+    @ResponseBody
+    public TableDataInfo sjgglpriceadjustmentsheetList() throws Exception {
+    PageData pd = this.getPageData();
+    startPage();
+    List<PageData> pageData = sJgglPriceadjustmentsheetService.findSJgglPriceadjustmentsheetList(pd);
+        return getDataTable(pageData);
+    }
+
+    /**
+    * 价格调整通知 数据删除 根据id
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("jggl:jg:remove")
+    @Log(title = "价格调整通知删除", businessType = BusinessType.DELETE)
+    @PostMapping("/sJgglPriceadjustmentsheetRemove")
+    @ResponseBody
+    public AjaxResult sjgglpriceadjustmentsheetRemove() throws Exception {
+        PageData pd = this.getPageData();
+        Integer integer = sJgglPriceadjustmentsheetService.SJgglPriceadjustmentsheetRemove(pd);
+        return toAjax(integer);
+    }
+
+    /**
+    * 价格调整通知 数据修改
+    *
+    * @return
+    * @throws Exception
+    */
+    @RequiresPermissions("jggl:jg:edit")
+    @GetMapping("/sJgglPriceadjustmentsheetEdit/{id}")
+    public String sjgglpriceadjustmentsheetView(@PathVariable("id") Long id, ModelMap mmap) throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("id", id);
+        PageData pageData = sJgglPriceadjustmentsheetService.findSJgglPriceadjustmentsheetList(pd).get(0);
+        mmap.putAll(pageData);
+        if(null!=pd.getString("status")){
+            return prefix+ "/sjgglpriceadjustmentsheetPageEdit";
+        }
+        return prefix+ "/sjgglpriceadjustmentsheetEdit";
+    }
+
+    /**
+    * 价格调整通知保存修改的数据
+    */
+    @RequiresPermissions("jggl:jg:edit")
+    @Log(title = "价格调整通知修改", businessType = BusinessType.UPDATE)
+    @PostMapping("/sJgglPriceadjustmentsheetEdit")
+    @ResponseBody
+    public AjaxResult sjgglpriceadjustmentsheetEditSave() throws Exception {
+        PageData pd = this.getPageData();
+        pd.put("up", "up");
+        try {
+            Integer updateResult = sJgglPriceadjustmentsheetService.updateSJgglPriceadjustmentsheet(pd);
+            if (updateResult == 1) {
+                // 成功更新
+                return AjaxResult.success("修改成功");
+            } else {
+                // 更新失败
+                logger.error("Failed to update 表sjgglpriceadjustmentsheet with ID: {}", pd.get("id"));
+                return AjaxResult.error("修改失败");
+            }
+        } catch (Exception e) {
+            // 异常处理
+            logger.error("Error occurred while updating 表sjgglpriceadjustmentsheet with ID: {}, Exception: {}", pd.get("id"), e.getMessage(), e);
+            return AjaxResult.error("系统异常:" + e.getMessage());
+        }
+    }
+}

+ 161 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordAdd.html

@@ -0,0 +1,161 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('处方记录表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdDate" id="createdDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">销售单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="saleOrderNumber" id="saleOrderNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">销售时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="saleTime" id="saleTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">登记时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="registerTime" id="registerTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">处方单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="prescriptionNumber" id="prescriptionNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="type" id="type" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">处方日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="prescriptionDate" id="prescriptionDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">医疗机构名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="medicalInstitutionName" id="medicalInstitutionName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">医生姓名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="doctorName" id="doctorName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">顾客信息:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="customerInfo" id="customerInfo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">审方药师:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="reviewPharmacist" id="reviewPharmacist" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">调配员:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="dispenser" id="dispenser" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">复核员:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="verifier" id="verifier" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var createdBy = $("input[name='createdBy']").val();
+           var createdDate = $("input[name='createdDate']").val();
+           var saleOrderNumber = $("input[name='saleOrderNumber']").val();
+           var saleTime = $("input[name='saleTime']").val();
+           var registerTime = $("input[name='registerTime']").val();
+           var prescriptionNumber = $("input[name='prescriptionNumber']").val();
+           var type = $("input[name='type']").val();
+           var prescriptionDate = $("input[name='prescriptionDate']").val();
+           var medicalInstitutionName = $("input[name='medicalInstitutionName']").val();
+           var doctorName = $("input[name='doctorName']").val();
+           var customerInfo = $("input[name='customerInfo']").val();
+           var reviewPharmacist = $("input[name='reviewPharmacist']").val();
+           var dispenser = $("input[name='dispenser']").val();
+           var verifier = $("input[name='verifier']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "cgxs/scgxscfdjprescriptionrecord/sCgxsCfdjPrescriptionRecordAdd",
+            data : {
+                "createdBy": createdBy,
+                "createdDate": createdDate,
+                "saleOrderNumber": saleOrderNumber,
+                "saleTime": saleTime,
+                "registerTime": registerTime,
+                "prescriptionNumber": prescriptionNumber,
+                "type": type,
+                "prescriptionDate": prescriptionDate,
+                "medicalInstitutionName": medicalInstitutionName,
+                "doctorName": doctorName,
+                "customerInfo": customerInfo,
+                "reviewPharmacist": reviewPharmacist,
+                "dispenser": dispenser,
+                "verifier": verifier,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 144 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordEdit.html

@@ -0,0 +1,144 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('处方记录表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SCgxsCfdjPrescriptionRecord-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleOrderNumber" placeholder="销售单号" th:value="${saleOrderNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleTime" placeholder="销售时间" th:value="${saleTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">登记时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="registerTime" placeholder="登记时间" th:value="${registerTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">处方单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="prescriptionNumber" placeholder="处方单号" th:value="${prescriptionNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="type" placeholder="类型" th:value="${type}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">处方日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="prescriptionDate" placeholder="处方日期" th:value="${prescriptionDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">医疗机构名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicalInstitutionName" placeholder="医疗机构名称" th:value="${medicalInstitutionName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">医生姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="doctorName" placeholder="医生姓名" th:value="${doctorName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">顾客信息:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="customerInfo" placeholder="顾客信息" th:value="${customerInfo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审方药师:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="reviewPharmacist" placeholder="审方药师" th:value="${reviewPharmacist}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">调配员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="dispenser" placeholder="调配员" th:value="${dispenser}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">复核员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="verifier" placeholder="复核员" th:value="${verifier}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SCgxsCfdjPrescriptionRecord-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "cgxs/scgxscfdjprescriptionrecord/sCgxsCfdjPrescriptionRecordEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 249 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordList.html

@@ -0,0 +1,249 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('处方记录表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SCgxsCfdjPrescriptionRecord-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建日期:<input type="text" class="styled-input" name="createdDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                销售单号:<input type="text" class="styled-input" name="saleOrderNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                销售时间:<input type="text" class="styled-input" name="saleTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                登记时间:<input type="text" class="styled-input" name="registerTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                处方单号:<input type="text" class="styled-input" name="prescriptionNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                类型:<input type="text" class="styled-input" name="type" autocomplete="off"/>
+                            </li>
+                            <li>
+                                处方日期:<input type="text" class="styled-input" name="prescriptionDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                医疗机构名称:<input type="text" class="styled-input" name="medicalInstitutionName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                医生姓名:<input type="text" class="styled-input" name="doctorName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                顾客信息:<input type="text" class="styled-input" name="customerInfo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                审方药师:<input type="text" class="styled-input" name="reviewPharmacist" autocomplete="off"/>
+                            </li>
+                            <li>
+                                调配员:<input type="text" class="styled-input" name="dispenser" autocomplete="off"/>
+                            </li>
+                            <li>
+                                复核员:<input type="text" class="styled-input" name="verifier" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "cgxs/scgxscfdjprescriptionrecord";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sCgxsCfdjPrescriptionRecordList",
+            viewUrl: prefix + "/sCgxsCfdjPrescriptionRecordView/{id}",
+            createUrl: prefix + "/sCgxsCfdjPrescriptionRecordAdd",
+            updateUrl: prefix + "/sCgxsCfdjPrescriptionRecordEdit/{id}",
+            removeUrl: prefix + "/sCgxsCfdjPrescriptionRecordRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "处方记录表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'createdDate', title: '创建日期', align: 'center' },
+                    { field: 'saleOrderNumber', title: '销售单号', align: 'center' },
+                    { field: 'saleTime', title: '销售时间', align: 'center' },
+                    { field: 'registerTime', title: '登记时间', align: 'center' },
+                    { field: 'prescriptionNumber', title: '处方单号', align: 'center' },
+                    { field: 'type', title: '类型', align: 'center' },
+                    { field: 'prescriptionDate', title: '处方日期', align: 'center' },
+                    { field: 'medicalInstitutionName', title: '医疗机构名称', align: 'center' },
+                    { field: 'doctorName', title: '医生姓名', align: 'center' },
+                    { field: 'customerInfo', title: '顾客信息', align: 'center' },
+                    { field: 'reviewPharmacist', title: '审方药师', align: 'center' },
+                    { field: 'dispenser', title: '调配员', align: 'center' },
+                    { field: 'verifier', title: '复核员', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SCgxsCfdjPrescriptionRecord-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SCgxsCfdjPrescriptionRecord-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 135 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsCfdjPrescriptionRecordPageEdit.html

@@ -0,0 +1,135 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('处方记录表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SCgxsCfdjPrescriptionRecord-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleOrderNumber" placeholder="销售单号" th:value="${saleOrderNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleTime" placeholder="销售时间" th:value="${saleTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">登记时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="registerTime" placeholder="登记时间" th:value="${registerTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">处方单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="prescriptionNumber" placeholder="处方单号" th:value="${prescriptionNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="type" placeholder="类型" th:value="${type}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">处方日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="prescriptionDate" placeholder="处方日期" th:value="${prescriptionDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">医疗机构名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicalInstitutionName" placeholder="医疗机构名称" th:value="${medicalInstitutionName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">医生姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="doctorName" placeholder="医生姓名" th:value="${doctorName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">顾客信息:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="customerInfo" placeholder="顾客信息" th:value="${customerInfo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审方药师:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="reviewPharmacist" placeholder="审方药师" th:value="${reviewPharmacist}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">调配员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="dispenser" placeholder="调配员" th:value="${dispenser}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">复核员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="verifier" placeholder="复核员" th:value="${verifier}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "cgxs/scgxscfdjprescriptionrecord";
+        if ($.validate.form()) {
+            var data = $("#form-SCgxsCfdjPrescriptionRecord-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sCgxsCfdjPrescriptionRecordEdit", data);
+        }
+    }
+</script>

+ 145 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjAdd.html

@@ -0,0 +1,145 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('特管药品登记表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdDate" id="createdDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">销售日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="saleDate" id="saleDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">销售单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="saleOrderNumber" id="saleOrderNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">登记时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="registerTime" id="registerTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">顾客姓名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="customerName" id="customerName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">性别:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="gender" id="gender" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">身份证号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="idNumber" id="idNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">联系电话:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="contactPhone" id="contactPhone" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">营业员:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="salesperson" id="salesperson" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">门店名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="storeName" id="storeName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">药品编号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="medicineCode" id="medicineCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var createdBy = $("input[name='createdBy']").val();
+           var createdDate = $("input[name='createdDate']").val();
+           var saleDate = $("input[name='saleDate']").val();
+           var saleOrderNumber = $("input[name='saleOrderNumber']").val();
+           var registerTime = $("input[name='registerTime']").val();
+           var customerName = $("input[name='customerName']").val();
+           var gender = $("input[name='gender']").val();
+           var idNumber = $("input[name='idNumber']").val();
+           var contactPhone = $("input[name='contactPhone']").val();
+           var salesperson = $("input[name='salesperson']").val();
+           var storeName = $("input[name='storeName']").val();
+           var medicineCode = $("input[name='medicineCode']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "cgxs/scgxstgyptgypdj/sCgxsTgypTgypdjAdd",
+            data : {
+                "createdBy": createdBy,
+                "createdDate": createdDate,
+                "saleDate": saleDate,
+                "saleOrderNumber": saleOrderNumber,
+                "registerTime": registerTime,
+                "customerName": customerName,
+                "gender": gender,
+                "idNumber": idNumber,
+                "contactPhone": contactPhone,
+                "salesperson": salesperson,
+                "storeName": storeName,
+                "medicineCode": medicineCode,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 132 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjEdit.html

@@ -0,0 +1,132 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('特管药品登记表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SCgxsTgypTgypdj-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleDate" placeholder="销售日期" th:value="${saleDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleOrderNumber" placeholder="销售单号" th:value="${saleOrderNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">登记时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="registerTime" placeholder="登记时间" th:value="${registerTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">顾客姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="customerName" placeholder="顾客姓名" th:value="${customerName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">性别:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="gender" placeholder="性别" th:value="${gender}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">身份证号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="idNumber" placeholder="身份证号" th:value="${idNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系电话:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPhone" placeholder="联系电话" th:value="${contactPhone}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">营业员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="salesperson" placeholder="营业员" th:value="${salesperson}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品编号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicineCode" placeholder="药品编号" th:value="${medicineCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SCgxsTgypTgypdj-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "cgxs/scgxstgyptgypdj/sCgxsTgypTgypdjEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 241 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjList.html

@@ -0,0 +1,241 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('特管药品登记表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SCgxsTgypTgypdj-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建日期:<input type="text" class="styled-input" name="createdDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                销售日期:<input type="text" class="styled-input" name="saleDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                销售单号:<input type="text" class="styled-input" name="saleOrderNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                登记时间:<input type="text" class="styled-input" name="registerTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                顾客姓名:<input type="text" class="styled-input" name="customerName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                性别:<input type="text" class="styled-input" name="gender" autocomplete="off"/>
+                            </li>
+                            <li>
+                                身份证号:<input type="text" class="styled-input" name="idNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                联系电话:<input type="text" class="styled-input" name="contactPhone" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业员:<input type="text" class="styled-input" name="salesperson" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店名称:<input type="text" class="styled-input" name="storeName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                药品编号:<input type="text" class="styled-input" name="medicineCode" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "cgxs/scgxstgyptgypdj";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sCgxsTgypTgypdjList",
+            viewUrl: prefix + "/sCgxsTgypTgypdjView/{id}",
+            createUrl: prefix + "/sCgxsTgypTgypdjAdd",
+            updateUrl: prefix + "/sCgxsTgypTgypdjEdit/{id}",
+            removeUrl: prefix + "/sCgxsTgypTgypdjRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "特管药品登记表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'createdDate', title: '创建日期', align: 'center' },
+                    { field: 'saleDate', title: '销售日期', align: 'center' },
+                    { field: 'saleOrderNumber', title: '销售单号', align: 'center' },
+                    { field: 'registerTime', title: '登记时间', align: 'center' },
+                    { field: 'customerName', title: '顾客姓名', align: 'center' },
+                    { field: 'gender', title: '性别', align: 'center' },
+                    { field: 'idNumber', title: '身份证号', align: 'center' },
+                    { field: 'contactPhone', title: '联系电话', align: 'center' },
+                    { field: 'salesperson', title: '营业员', align: 'center' },
+                    { field: 'storeName', title: '门店名称', align: 'center' },
+                    { field: 'medicineCode', title: '药品编号', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SCgxsTgypTgypdj-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SCgxsTgypTgypdj-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 123 - 0
health-admin/src/main/resources/templates/cgxs/SCgxsTgypTgypdjPageEdit.html

@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('特管药品登记表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SCgxsTgypTgypdj-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleDate" placeholder="销售日期" th:value="${saleDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="saleOrderNumber" placeholder="销售单号" th:value="${saleOrderNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">登记时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="registerTime" placeholder="登记时间" th:value="${registerTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">顾客姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="customerName" placeholder="顾客姓名" th:value="${customerName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">性别:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="gender" placeholder="性别" th:value="${gender}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">身份证号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="idNumber" placeholder="身份证号" th:value="${idNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系电话:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPhone" placeholder="联系电话" th:value="${contactPhone}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">营业员:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="salesperson" placeholder="营业员" th:value="${salesperson}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品编号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicineCode" placeholder="药品编号" th:value="${medicineCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "cgxs/scgxstgyptgypdj";
+        if ($.validate.form()) {
+            var data = $("#form-SCgxsTgypTgypdj-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sCgxsTgypTgypdjEdit", data);
+        }
+    }
+</script>

+ 153 - 0
health-admin/src/main/resources/templates/daas/SDaasChannelManagementAdd.html

@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('渠道管理表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">渠道名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelName" id="channelName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道代码:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelCode" id="channelCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道类型,例如:线上、线下、第三方平台:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelType" id="channelType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">联系人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="contactPerson" id="contactPerson" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">联系电话:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="contactPhone" id="contactPhone" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">电子邮件:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="email" id="email" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">地址:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="address" id="address" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道状态:启用、停用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdAt" id="createdAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedAt" id="updatedAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">备注:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="remarks" id="remarks" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var channelName = $("input[name='channelName']").val();
+           var channelCode = $("input[name='channelCode']").val();
+           var channelType = $("input[name='channelType']").val();
+           var contactPerson = $("input[name='contactPerson']").val();
+           var contactPhone = $("input[name='contactPhone']").val();
+           var email = $("input[name='email']").val();
+           var address = $("input[name='address']").val();
+           var status = $("input[name='status']").val();
+           var createdAt = $("input[name='createdAt']").val();
+           var createdBy = $("input[name='createdBy']").val();
+           var updatedAt = $("input[name='updatedAt']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+           var remarks = $("input[name='remarks']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "daas/sdaaschannelmanagement/sDaasChannelManagementAdd",
+            data : {
+                "channelName": channelName,
+                "channelCode": channelCode,
+                "channelType": channelType,
+                "contactPerson": contactPerson,
+                "contactPhone": contactPhone,
+                "email": email,
+                "address": address,
+                "status": status,
+                "createdAt": createdAt,
+                "createdBy": createdBy,
+                "updatedAt": updatedAt,
+                "updatedBy": updatedBy,
+                "remarks": remarks,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 138 - 0
health-admin/src/main/resources/templates/daas/SDaasChannelManagementEdit.html

@@ -0,0 +1,138 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('渠道管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDaasChannelManagement-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">渠道名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelName" placeholder="渠道名称" th:value="${channelName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道代码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelCode" placeholder="渠道代码" th:value="${channelCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道类型,例如:线上、线下、第三方平台:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelType" placeholder="渠道类型,例如:线上、线下、第三方平台" th:value="${channelType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPerson" placeholder="联系人" th:value="${contactPerson}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系电话:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPhone" placeholder="联系电话" th:value="${contactPhone}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">电子邮件:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="email" placeholder="电子邮件" th:value="${email}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="address" placeholder="地址" th:value="${address}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道状态:启用、停用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="渠道状态:启用、停用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">备注:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="remarks" placeholder="备注" th:value="${remarks}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDaasChannelManagement-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "daas/sdaaschannelmanagement/sDaasChannelManagementEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 245 - 0
health-admin/src/main/resources/templates/daas/SDaasChannelManagementList.html

@@ -0,0 +1,245 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('渠道管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDaasChannelManagement-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                渠道名称:<input type="text" class="styled-input" name="channelName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道代码:<input type="text" class="styled-input" name="channelCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道类型,例如:线上、线下、第三方平台:<input type="text" class="styled-input" name="channelType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                联系人:<input type="text" class="styled-input" name="contactPerson" autocomplete="off"/>
+                            </li>
+                            <li>
+                                联系电话:<input type="text" class="styled-input" name="contactPhone" autocomplete="off"/>
+                            </li>
+                            <li>
+                                电子邮件:<input type="text" class="styled-input" name="email" autocomplete="off"/>
+                            </li>
+                            <li>
+                                地址:<input type="text" class="styled-input" name="address" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道状态:启用、停用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdAt" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedAt" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                备注:<input type="text" class="styled-input" name="remarks" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "daas/sdaaschannelmanagement";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDaasChannelManagementList",
+            viewUrl: prefix + "/sDaasChannelManagementView/{id}",
+            createUrl: prefix + "/sDaasChannelManagementAdd",
+            updateUrl: prefix + "/sDaasChannelManagementEdit/{id}",
+            removeUrl: prefix + "/sDaasChannelManagementRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "渠道管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'channelName', title: '渠道名称', align: 'center' },
+                    { field: 'channelCode', title: '渠道代码', align: 'center' },
+                    { field: 'channelType', title: '渠道类型,例如:线上、线下、第三方平台', align: 'center' },
+                    { field: 'contactPerson', title: '联系人', align: 'center' },
+                    { field: 'contactPhone', title: '联系电话', align: 'center' },
+                    { field: 'email', title: '电子邮件', align: 'center' },
+                    { field: 'address', title: '地址', align: 'center' },
+                    { field: 'status', title: '渠道状态:启用、停用', align: 'center' },
+                    { field: 'createdAt', title: '创建时间', align: 'center' },
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'updatedAt', title: '更新时间', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+                    { field: 'remarks', title: '备注', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDaasChannelManagement-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDaasChannelManagement-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 129 - 0
health-admin/src/main/resources/templates/daas/SDaasChannelManagementPageEdit.html

@@ -0,0 +1,129 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('渠道管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDaasChannelManagement-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">渠道名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelName" placeholder="渠道名称" th:value="${channelName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道代码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelCode" placeholder="渠道代码" th:value="${channelCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道类型,例如:线上、线下、第三方平台:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelType" placeholder="渠道类型,例如:线上、线下、第三方平台" th:value="${channelType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPerson" placeholder="联系人" th:value="${contactPerson}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">联系电话:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="contactPhone" placeholder="联系电话" th:value="${contactPhone}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">电子邮件:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="email" placeholder="电子邮件" th:value="${email}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="address" placeholder="地址" th:value="${address}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道状态:启用、停用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="渠道状态:启用、停用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">备注:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="remarks" placeholder="备注" th:value="${remarks}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "daas/sdaaschannelmanagement";
+        if ($.validate.form()) {
+            var data = $("#form-SDaasChannelManagement-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDaasChannelManagementEdit", data);
+        }
+    }
+</script>

+ 113 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpAdd.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('第三方支付开票表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">订单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderNo" id="orderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">支付方式编码:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="paymentMethodCode" id="paymentMethodCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">支付方式名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="paymentMethodName" id="paymentMethodName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderAmount" id="orderAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">开票金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="billingAmount" id="billingAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">原正向订单:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="originalPositiveOrder" id="originalPositiveOrder" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderCreateTime" id="orderCreateTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单类型 (正向单, 逆向单):</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderType" id="orderType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var orderNo = $("input[name='orderNo']").val();
+           var paymentMethodCode = $("input[name='paymentMethodCode']").val();
+           var paymentMethodName = $("input[name='paymentMethodName']").val();
+           var orderAmount = $("input[name='orderAmount']").val();
+           var billingAmount = $("input[name='billingAmount']").val();
+           var originalPositiveOrder = $("input[name='originalPositiveOrder']").val();
+           var orderCreateTime = $("input[name='orderCreateTime']").val();
+           var orderType = $("input[name='orderType']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglfpgldsfzfkp/sDdglFpglDsfzfkpAdd",
+            data : {
+                "orderNo": orderNo,
+                "paymentMethodCode": paymentMethodCode,
+                "paymentMethodName": paymentMethodName,
+                "orderAmount": orderAmount,
+                "billingAmount": billingAmount,
+                "originalPositiveOrder": originalPositiveOrder,
+                "orderCreateTime": orderCreateTime,
+                "orderType": orderType,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 108 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpEdit.html

@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('第三方支付开票表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglFpglDsfzfkp-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderNo" placeholder="订单号" th:value="${orderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">支付方式编码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="paymentMethodCode" placeholder="支付方式编码" th:value="${paymentMethodCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">支付方式名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="paymentMethodName" placeholder="支付方式名称" th:value="${paymentMethodName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderAmount" placeholder="订单金额" th:value="${orderAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingAmount" placeholder="开票金额" th:value="${billingAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">原正向订单:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="originalPositiveOrder" placeholder="原正向订单" th:value="${originalPositiveOrder}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderCreateTime" placeholder="订单创建时间" th:value="${orderCreateTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单类型 (正向单, 逆向单):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderType" placeholder="订单类型 (正向单, 逆向单)" th:value="${orderType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDdglFpglDsfzfkp-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglfpgldsfzfkp/sDdglFpglDsfzfkpEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 225 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpList.html

@@ -0,0 +1,225 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('第三方支付开票表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDdglFpglDsfzfkp-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                订单号:<input type="text" class="styled-input" name="orderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                支付方式编码:<input type="text" class="styled-input" name="paymentMethodCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                支付方式名称:<input type="text" class="styled-input" name="paymentMethodName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单金额:<input type="text" class="styled-input" name="orderAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开票金额:<input type="text" class="styled-input" name="billingAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                原正向订单:<input type="text" class="styled-input" name="originalPositiveOrder" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单创建时间:<input type="text" class="styled-input" name="orderCreateTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单类型 (正向单, 逆向单):<input type="text" class="styled-input" name="orderType" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "ddgl/sddglfpgldsfzfkp";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDdglFpglDsfzfkpList",
+            viewUrl: prefix + "/sDdglFpglDsfzfkpView/{id}",
+            createUrl: prefix + "/sDdglFpglDsfzfkpAdd",
+            updateUrl: prefix + "/sDdglFpglDsfzfkpEdit/{id}",
+            removeUrl: prefix + "/sDdglFpglDsfzfkpRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "第三方支付开票表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'orderNo', title: '订单号', align: 'center' },
+                    { field: 'paymentMethodCode', title: '支付方式编码', align: 'center' },
+                    { field: 'paymentMethodName', title: '支付方式名称', align: 'center' },
+                    { field: 'orderAmount', title: '订单金额', align: 'center' },
+                    { field: 'billingAmount', title: '开票金额', align: 'center' },
+                    { field: 'originalPositiveOrder', title: '原正向订单', align: 'center' },
+                    { field: 'orderCreateTime', title: '订单创建时间', align: 'center' },
+                    { field: 'orderType', title: '订单类型 (正向单, 逆向单)', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDdglFpglDsfzfkp-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDdglFpglDsfzfkp-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 99 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglDsfzfkpPageEdit.html

@@ -0,0 +1,99 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('第三方支付开票表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglFpglDsfzfkp-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderNo" placeholder="订单号" th:value="${orderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">支付方式编码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="paymentMethodCode" placeholder="支付方式编码" th:value="${paymentMethodCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">支付方式名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="paymentMethodName" placeholder="支付方式名称" th:value="${paymentMethodName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderAmount" placeholder="订单金额" th:value="${orderAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingAmount" placeholder="开票金额" th:value="${billingAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">原正向订单:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="originalPositiveOrder" placeholder="原正向订单" th:value="${originalPositiveOrder}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderCreateTime" placeholder="订单创建时间" th:value="${orderCreateTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单类型 (正向单, 逆向单):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderType" placeholder="订单类型 (正向单, 逆向单)" th:value="${orderType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "ddgl/sddglfpgldsfzfkp";
+        if ($.validate.form()) {
+            var data = $("#form-SDdglFpglDsfzfkp-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDdglFpglDsfzfkpEdit", data);
+        }
+    }
+</script>

+ 217 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoAdd.html

@@ -0,0 +1,217 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('发票管理表(开发票,发票查询)新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">平台订单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="platformOrderNo" id="platformOrderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">发票代码:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="invoiceCode" id="invoiceCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">发票号码:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="invoiceNumber" id="invoiceNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">发票金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="invoiceAmount" id="invoiceAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道店铺:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelStore" id="channelStore" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单发票类型 (线上, 线下):</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderInvoiceType" id="orderInvoiceType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">发票类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="invoiceType" id="invoiceType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">抬头类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="headerType" id="headerType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">抬头名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="headerName" id="headerName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">开票类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="billingType" id="billingType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">开票时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="billingTime" id="billingTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">邮寄信息:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="mailingInfo" id="mailingInfo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">开票金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="billingAmount" id="billingAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">店铺名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="storeName" id="storeName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">审核类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="auditType" id="auditType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">审核状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="auditStatus" id="auditStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">暂无数据 (0: 否, 1: 是):</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="noData" id="noData" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">合并订单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="mergeOrderNo" id="mergeOrderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderNo" id="orderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">开票状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="billingStatus" id="billingStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createTime" id="createTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var platformOrderNo = $("input[name='platformOrderNo']").val();
+           var invoiceCode = $("input[name='invoiceCode']").val();
+           var invoiceNumber = $("input[name='invoiceNumber']").val();
+           var invoiceAmount = $("input[name='invoiceAmount']").val();
+           var channelStore = $("input[name='channelStore']").val();
+           var orderInvoiceType = $("input[name='orderInvoiceType']").val();
+           var invoiceType = $("input[name='invoiceType']").val();
+           var headerType = $("input[name='headerType']").val();
+           var headerName = $("input[name='headerName']").val();
+           var billingType = $("input[name='billingType']").val();
+           var billingTime = $("input[name='billingTime']").val();
+           var mailingInfo = $("input[name='mailingInfo']").val();
+           var billingAmount = $("input[name='billingAmount']").val();
+           var storeName = $("input[name='storeName']").val();
+           var auditType = $("input[name='auditType']").val();
+           var auditStatus = $("input[name='auditStatus']").val();
+           var noData = $("input[name='noData']").val();
+           var mergeOrderNo = $("input[name='mergeOrderNo']").val();
+           var orderNo = $("input[name='orderNo']").val();
+           var billingStatus = $("input[name='billingStatus']").val();
+           var createTime = $("input[name='createTime']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglfpglinvoiceinfo/sDdglFpglInvoiceinfoAdd",
+            data : {
+                "platformOrderNo": platformOrderNo,
+                "invoiceCode": invoiceCode,
+                "invoiceNumber": invoiceNumber,
+                "invoiceAmount": invoiceAmount,
+                "channelStore": channelStore,
+                "orderInvoiceType": orderInvoiceType,
+                "invoiceType": invoiceType,
+                "headerType": headerType,
+                "headerName": headerName,
+                "billingType": billingType,
+                "billingTime": billingTime,
+                "mailingInfo": mailingInfo,
+                "billingAmount": billingAmount,
+                "storeName": storeName,
+                "auditType": auditType,
+                "auditStatus": auditStatus,
+                "noData": noData,
+                "mergeOrderNo": mergeOrderNo,
+                "orderNo": orderNo,
+                "billingStatus": billingStatus,
+                "createTime": createTime,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 186 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoEdit.html

@@ -0,0 +1,186 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('发票管理表(开发票,发票查询)修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglFpglInvoiceinfo-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">平台订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="platformOrderNo" placeholder="平台订单号" th:value="${platformOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票代码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceCode" placeholder="发票代码" th:value="${invoiceCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票号码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceNumber" placeholder="发票号码" th:value="${invoiceNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceAmount" placeholder="发票金额" th:value="${invoiceAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道店铺:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelStore" placeholder="渠道店铺" th:value="${channelStore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单发票类型 (线上, 线下):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderInvoiceType" placeholder="订单发票类型 (线上, 线下)" th:value="${orderInvoiceType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceType" placeholder="发票类型" th:value="${invoiceType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">抬头类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="headerType" placeholder="抬头类型" th:value="${headerType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">抬头名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="headerName" placeholder="抬头名称" th:value="${headerName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingType" placeholder="开票类型" th:value="${billingType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingTime" placeholder="开票时间" th:value="${billingTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">邮寄信息:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mailingInfo" placeholder="邮寄信息" th:value="${mailingInfo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingAmount" placeholder="开票金额" th:value="${billingAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">店铺名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="店铺名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审核类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="auditType" placeholder="审核类型" th:value="${auditType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审核状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="auditStatus" placeholder="审核状态" th:value="${auditStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">暂无数据 (0: 否, 1: 是):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="noData" placeholder="暂无数据 (0: 否, 1: 是)" th:value="${noData}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">合并订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mergeOrderNo" placeholder="合并订单号" th:value="${mergeOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderNo" placeholder="订单号" th:value="${orderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingStatus" placeholder="开票状态" th:value="${billingStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createTime" placeholder="创建时间" th:value="${createTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDdglFpglInvoiceinfo-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglfpglinvoiceinfo/sDdglFpglInvoiceinfoEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 277 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoList.html

@@ -0,0 +1,277 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('发票管理表(开发票,发票查询)')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDdglFpglInvoiceinfo-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                平台订单号:<input type="text" class="styled-input" name="platformOrderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                发票代码:<input type="text" class="styled-input" name="invoiceCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                发票号码:<input type="text" class="styled-input" name="invoiceNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                发票金额:<input type="text" class="styled-input" name="invoiceAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道店铺:<input type="text" class="styled-input" name="channelStore" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单发票类型 (线上, 线下):<input type="text" class="styled-input" name="orderInvoiceType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                发票类型:<input type="text" class="styled-input" name="invoiceType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                抬头类型:<input type="text" class="styled-input" name="headerType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                抬头名称:<input type="text" class="styled-input" name="headerName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开票类型:<input type="text" class="styled-input" name="billingType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开票时间:<input type="text" class="styled-input" name="billingTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                邮寄信息:<input type="text" class="styled-input" name="mailingInfo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开票金额:<input type="text" class="styled-input" name="billingAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                店铺名称:<input type="text" class="styled-input" name="storeName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                审核类型:<input type="text" class="styled-input" name="auditType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                审核状态:<input type="text" class="styled-input" name="auditStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                暂无数据 (0: 否, 1: 是):<input type="text" class="styled-input" name="noData" autocomplete="off"/>
+                            </li>
+                            <li>
+                                合并订单号:<input type="text" class="styled-input" name="mergeOrderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单号:<input type="text" class="styled-input" name="orderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开票状态:<input type="text" class="styled-input" name="billingStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createTime" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "ddgl/sddglfpglinvoiceinfo";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDdglFpglInvoiceinfoList",
+            viewUrl: prefix + "/sDdglFpglInvoiceinfoView/{id}",
+            createUrl: prefix + "/sDdglFpglInvoiceinfoAdd",
+            updateUrl: prefix + "/sDdglFpglInvoiceinfoEdit/{id}",
+            removeUrl: prefix + "/sDdglFpglInvoiceinfoRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "发票管理表(开发票,发票查询)",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'platformOrderNo', title: '平台订单号', align: 'center' },
+                    { field: 'invoiceCode', title: '发票代码', align: 'center' },
+                    { field: 'invoiceNumber', title: '发票号码', align: 'center' },
+                    { field: 'invoiceAmount', title: '发票金额', align: 'center' },
+                    { field: 'channelStore', title: '渠道店铺', align: 'center' },
+                    { field: 'orderInvoiceType', title: '订单发票类型 (线上, 线下)', align: 'center' },
+                    { field: 'invoiceType', title: '发票类型', align: 'center' },
+                    { field: 'headerType', title: '抬头类型', align: 'center' },
+                    { field: 'headerName', title: '抬头名称', align: 'center' },
+                    { field: 'billingType', title: '开票类型', align: 'center' },
+                    { field: 'billingTime', title: '开票时间', align: 'center' },
+                    { field: 'mailingInfo', title: '邮寄信息', align: 'center' },
+                    { field: 'billingAmount', title: '开票金额', align: 'center' },
+                    { field: 'storeName', title: '店铺名称', align: 'center' },
+                    { field: 'auditType', title: '审核类型', align: 'center' },
+                    { field: 'auditStatus', title: '审核状态', align: 'center' },
+                    { field: 'noData', title: '暂无数据 (0: 否, 1: 是)', align: 'center' },
+                    { field: 'mergeOrderNo', title: '合并订单号', align: 'center' },
+                    { field: 'orderNo', title: '订单号', align: 'center' },
+                    { field: 'billingStatus', title: '开票状态', align: 'center' },
+                    { field: 'createTime', title: '创建时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDdglFpglInvoiceinfo-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDdglFpglInvoiceinfo-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 177 - 0
health-admin/src/main/resources/templates/ddgl/SDdglFpglInvoiceinfoPageEdit.html

@@ -0,0 +1,177 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('发票管理表(开发票,发票查询)修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglFpglInvoiceinfo-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">平台订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="platformOrderNo" placeholder="平台订单号" th:value="${platformOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票代码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceCode" placeholder="发票代码" th:value="${invoiceCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票号码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceNumber" placeholder="发票号码" th:value="${invoiceNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceAmount" placeholder="发票金额" th:value="${invoiceAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道店铺:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelStore" placeholder="渠道店铺" th:value="${channelStore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单发票类型 (线上, 线下):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderInvoiceType" placeholder="订单发票类型 (线上, 线下)" th:value="${orderInvoiceType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发票类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="invoiceType" placeholder="发票类型" th:value="${invoiceType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">抬头类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="headerType" placeholder="抬头类型" th:value="${headerType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">抬头名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="headerName" placeholder="抬头名称" th:value="${headerName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingType" placeholder="开票类型" th:value="${billingType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingTime" placeholder="开票时间" th:value="${billingTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">邮寄信息:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mailingInfo" placeholder="邮寄信息" th:value="${mailingInfo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingAmount" placeholder="开票金额" th:value="${billingAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">店铺名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="店铺名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审核类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="auditType" placeholder="审核类型" th:value="${auditType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">审核状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="auditStatus" placeholder="审核状态" th:value="${auditStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">暂无数据 (0: 否, 1: 是):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="noData" placeholder="暂无数据 (0: 否, 1: 是)" th:value="${noData}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">合并订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mergeOrderNo" placeholder="合并订单号" th:value="${mergeOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderNo" placeholder="订单号" th:value="${orderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">开票状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="billingStatus" placeholder="开票状态" th:value="${billingStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createTime" placeholder="创建时间" th:value="${createTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "ddgl/sddglfpglinvoiceinfo";
+        if ($.validate.form()) {
+            var data = $("#form-SDdglFpglInvoiceinfo-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDdglFpglInvoiceinfoEdit", data);
+        }
+    }
+</script>

+ 297 - 0
health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreAdd.html

@@ -0,0 +1,297 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('门店订单表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">订单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderId" id="orderId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">配送类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="deliveryType" id="deliveryType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">手机号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="mobileNumber" id="mobileNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelName" id="channelName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">渠道单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="channelOrderNo" id="channelOrderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">PSO销售单号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="psoSaleOrderNo" id="psoSaleOrderNo" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderStatus" id="orderStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">配送状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="deliveryStatus" id="deliveryStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderDate" id="orderDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">门店名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="storeName" id="storeName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">消费时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="consumptionTime" id="consumptionTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">会员ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="memberId" id="memberId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">会员名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="memberName" id="memberName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">系统登录人Id:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="systemLoginUserId" id="systemLoginUserId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">下单人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderPlacer" id="orderPlacer" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">下单时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderTime" id="orderTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">结账单id:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="settlementId" id="settlementId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">结账单code:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="settlementCode" id="settlementCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后完成支付的支付时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="finalPaymentTime" id="finalPaymentTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">药品总数量:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="totalDrugQuantity" id="totalDrugQuantity" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">卡号:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="cardNumber" id="cardNumber" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">发货地址:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="shippingAddress" id="shippingAddress" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">下单地址:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderAddress" id="orderAddress" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderType" id="orderType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单来源:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="orderSource" id="orderSource" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单总金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="totalAmount" id="totalAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">订单费用外送费:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="deliveryFee" id="deliveryFee" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">退款金额:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="refundAmount" id="refundAmount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">外送提货方式:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="deliveryPickupMethod" id="deliveryPickupMethod" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">外送提货时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="deliveryPickupTime" id="deliveryPickupTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">备注:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="remarks" id="remarks" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var orderId = $("input[name='orderId']").val();
+           var deliveryType = $("input[name='deliveryType']").val();
+           var mobileNumber = $("input[name='mobileNumber']").val();
+           var channelName = $("input[name='channelName']").val();
+           var channelOrderNo = $("input[name='channelOrderNo']").val();
+           var psoSaleOrderNo = $("input[name='psoSaleOrderNo']").val();
+           var orderStatus = $("input[name='orderStatus']").val();
+           var deliveryStatus = $("input[name='deliveryStatus']").val();
+           var orderDate = $("input[name='orderDate']").val();
+           var storeName = $("input[name='storeName']").val();
+           var consumptionTime = $("input[name='consumptionTime']").val();
+           var memberId = $("input[name='memberId']").val();
+           var memberName = $("input[name='memberName']").val();
+           var systemLoginUserId = $("input[name='systemLoginUserId']").val();
+           var orderPlacer = $("input[name='orderPlacer']").val();
+           var orderTime = $("input[name='orderTime']").val();
+           var settlementId = $("input[name='settlementId']").val();
+           var settlementCode = $("input[name='settlementCode']").val();
+           var finalPaymentTime = $("input[name='finalPaymentTime']").val();
+           var totalDrugQuantity = $("input[name='totalDrugQuantity']").val();
+           var cardNumber = $("input[name='cardNumber']").val();
+           var shippingAddress = $("input[name='shippingAddress']").val();
+           var orderAddress = $("input[name='orderAddress']").val();
+           var orderType = $("input[name='orderType']").val();
+           var orderSource = $("input[name='orderSource']").val();
+           var totalAmount = $("input[name='totalAmount']").val();
+           var deliveryFee = $("input[name='deliveryFee']").val();
+           var refundAmount = $("input[name='refundAmount']").val();
+           var deliveryPickupMethod = $("input[name='deliveryPickupMethod']").val();
+           var deliveryPickupTime = $("input[name='deliveryPickupTime']").val();
+           var remarks = $("input[name='remarks']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglorderstore/sDdglOrderStoreAdd",
+            data : {
+                "orderId": orderId,
+                "deliveryType": deliveryType,
+                "mobileNumber": mobileNumber,
+                "channelName": channelName,
+                "channelOrderNo": channelOrderNo,
+                "psoSaleOrderNo": psoSaleOrderNo,
+                "orderStatus": orderStatus,
+                "deliveryStatus": deliveryStatus,
+                "orderDate": orderDate,
+                "storeName": storeName,
+                "consumptionTime": consumptionTime,
+                "memberId": memberId,
+                "memberName": memberName,
+                "systemLoginUserId": systemLoginUserId,
+                "orderPlacer": orderPlacer,
+                "orderTime": orderTime,
+                "settlementId": settlementId,
+                "settlementCode": settlementCode,
+                "finalPaymentTime": finalPaymentTime,
+                "totalDrugQuantity": totalDrugQuantity,
+                "cardNumber": cardNumber,
+                "shippingAddress": shippingAddress,
+                "orderAddress": orderAddress,
+                "orderType": orderType,
+                "orderSource": orderSource,
+                "totalAmount": totalAmount,
+                "deliveryFee": deliveryFee,
+                "refundAmount": refundAmount,
+                "deliveryPickupMethod": deliveryPickupMethod,
+                "deliveryPickupTime": deliveryPickupTime,
+                "remarks": remarks,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 246 - 0
health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreEdit.html

@@ -0,0 +1,246 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('门店订单表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglOrderStore-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderId" placeholder="订单号" th:value="${orderId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配送类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryType" placeholder="配送类型" th:value="${deliveryType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">手机号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mobileNumber" placeholder="手机号" th:value="${mobileNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelName" placeholder="渠道名称" th:value="${channelName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelOrderNo" placeholder="渠道单号" th:value="${channelOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">PSO销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="psoSaleOrderNo" placeholder="PSO销售单号" th:value="${psoSaleOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderStatus" placeholder="订单状态" th:value="${orderStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配送状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryStatus" placeholder="配送状态" th:value="${deliveryStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderDate" placeholder="订单日期" th:value="${orderDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">消费时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="consumptionTime" placeholder="消费时间" th:value="${consumptionTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">会员ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="memberId" placeholder="会员ID" th:value="${memberId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">会员名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="memberName" placeholder="会员名称" th:value="${memberName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">系统登录人Id:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="systemLoginUserId" placeholder="系统登录人Id" th:value="${systemLoginUserId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderPlacer" placeholder="下单人" th:value="${orderPlacer}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderTime" placeholder="下单时间" th:value="${orderTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">结账单id:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="settlementId" placeholder="结账单id" th:value="${settlementId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">结账单code:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="settlementCode" placeholder="结账单code" th:value="${settlementCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后完成支付的支付时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="finalPaymentTime" placeholder="最后完成支付的支付时间" th:value="${finalPaymentTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品总数量:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="totalDrugQuantity" placeholder="药品总数量" th:value="${totalDrugQuantity}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">卡号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="cardNumber" placeholder="卡号" th:value="${cardNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发货地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="shippingAddress" placeholder="发货地址" th:value="${shippingAddress}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderAddress" placeholder="下单地址" th:value="${orderAddress}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderType" placeholder="订单类型" th:value="${orderType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单来源:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderSource" placeholder="订单来源" th:value="${orderSource}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单总金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="totalAmount" placeholder="订单总金额" th:value="${totalAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单费用外送费:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryFee" placeholder="订单费用外送费" th:value="${deliveryFee}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">退款金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="refundAmount" placeholder="退款金额" th:value="${refundAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">外送提货方式:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryPickupMethod" placeholder="外送提货方式" th:value="${deliveryPickupMethod}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">外送提货时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryPickupTime" placeholder="外送提货时间" th:value="${deliveryPickupTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">备注:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="remarks" placeholder="备注" th:value="${remarks}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDdglOrderStore-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "ddgl/sddglorderstore/sDdglOrderStoreEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 317 - 0
health-admin/src/main/resources/templates/ddgl/SDdglOrderStoreList.html

@@ -0,0 +1,317 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('门店订单表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDdglOrderStore-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                订单号:<input type="text" class="styled-input" name="orderId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                配送类型:<input type="text" class="styled-input" name="deliveryType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                手机号:<input type="text" class="styled-input" name="mobileNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道名称:<input type="text" class="styled-input" name="channelName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                渠道单号:<input type="text" class="styled-input" name="channelOrderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                PSO销售单号:<input type="text" class="styled-input" name="psoSaleOrderNo" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单状态:<input type="text" class="styled-input" name="orderStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                配送状态:<input type="text" class="styled-input" name="deliveryStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单日期:<input type="text" class="styled-input" name="orderDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店名称:<input type="text" class="styled-input" name="storeName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                消费时间:<input type="text" class="styled-input" name="consumptionTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                会员ID:<input type="text" class="styled-input" name="memberId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                会员名称:<input type="text" class="styled-input" name="memberName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                系统登录人Id:<input type="text" class="styled-input" name="systemLoginUserId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                下单人:<input type="text" class="styled-input" name="orderPlacer" autocomplete="off"/>
+                            </li>
+                            <li>
+                                下单时间:<input type="text" class="styled-input" name="orderTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                结账单id:<input type="text" class="styled-input" name="settlementId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                结账单code:<input type="text" class="styled-input" name="settlementCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后完成支付的支付时间:<input type="text" class="styled-input" name="finalPaymentTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                药品总数量:<input type="text" class="styled-input" name="totalDrugQuantity" autocomplete="off"/>
+                            </li>
+                            <li>
+                                卡号:<input type="text" class="styled-input" name="cardNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                发货地址:<input type="text" class="styled-input" name="shippingAddress" autocomplete="off"/>
+                            </li>
+                            <li>
+                                下单地址:<input type="text" class="styled-input" name="orderAddress" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单类型:<input type="text" class="styled-input" name="orderType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单来源:<input type="text" class="styled-input" name="orderSource" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单总金额:<input type="text" class="styled-input" name="totalAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                订单费用外送费:<input type="text" class="styled-input" name="deliveryFee" autocomplete="off"/>
+                            </li>
+                            <li>
+                                退款金额:<input type="text" class="styled-input" name="refundAmount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                外送提货方式:<input type="text" class="styled-input" name="deliveryPickupMethod" autocomplete="off"/>
+                            </li>
+                            <li>
+                                外送提货时间:<input type="text" class="styled-input" name="deliveryPickupTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                备注:<input type="text" class="styled-input" name="remarks" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "ddgl/sddglorderstore";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDdglOrderStoreList",
+            viewUrl: prefix + "/sDdglOrderStoreView/{id}",
+            createUrl: prefix + "/sDdglOrderStoreAdd",
+            updateUrl: prefix + "/sDdglOrderStoreEdit/{id}",
+            removeUrl: prefix + "/sDdglOrderStoreRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "门店订单表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'orderId', title: '订单号', align: 'center' },
+                    { field: 'deliveryType', title: '配送类型', align: 'center' },
+                    { field: 'mobileNumber', title: '手机号', align: 'center' },
+                    { field: 'channelName', title: '渠道名称', align: 'center' },
+                    { field: 'channelOrderNo', title: '渠道单号', align: 'center' },
+                    { field: 'psoSaleOrderNo', title: 'PSO销售单号', align: 'center' },
+                    { field: 'orderStatus', title: '订单状态', align: 'center' },
+                    { field: 'deliveryStatus', title: '配送状态', align: 'center' },
+                    { field: 'orderDate', title: '订单日期', align: 'center' },
+                    { field: 'storeName', title: '门店名称', align: 'center' },
+                    { field: 'consumptionTime', title: '消费时间', align: 'center' },
+                    { field: 'memberId', title: '会员ID', align: 'center' },
+                    { field: 'memberName', title: '会员名称', align: 'center' },
+                    { field: 'systemLoginUserId', title: '系统登录人Id', align: 'center' },
+                    { field: 'orderPlacer', title: '下单人', align: 'center' },
+                    { field: 'orderTime', title: '下单时间', align: 'center' },
+                    { field: 'settlementId', title: '结账单id', align: 'center' },
+                    { field: 'settlementCode', title: '结账单code', align: 'center' },
+                    { field: 'finalPaymentTime', title: '最后完成支付的支付时间', align: 'center' },
+                    { field: 'totalDrugQuantity', title: '药品总数量', align: 'center' },
+                    { field: 'cardNumber', title: '卡号', align: 'center' },
+                    { field: 'shippingAddress', title: '发货地址', align: 'center' },
+                    { field: 'orderAddress', title: '下单地址', align: 'center' },
+                    { field: 'orderType', title: '订单类型', align: 'center' },
+                    { field: 'orderSource', title: '订单来源', align: 'center' },
+                    { field: 'totalAmount', title: '订单总金额', align: 'center' },
+                    { field: 'deliveryFee', title: '订单费用外送费', align: 'center' },
+                    { field: 'refundAmount', title: '退款金额', align: 'center' },
+                    { field: 'deliveryPickupMethod', title: '外送提货方式', align: 'center' },
+                    { field: 'deliveryPickupTime', title: '外送提货时间', align: 'center' },
+                    { field: 'remarks', title: '备注', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDdglOrderStore-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDdglOrderStore-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 237 - 0
health-admin/src/main/resources/templates/ddgl/SDdglOrderStorePageEdit.html

@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('门店订单表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDdglOrderStore-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">订单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderId" placeholder="订单号" th:value="${orderId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配送类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryType" placeholder="配送类型" th:value="${deliveryType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">手机号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mobileNumber" placeholder="手机号" th:value="${mobileNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelName" placeholder="渠道名称" th:value="${channelName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">渠道单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="channelOrderNo" placeholder="渠道单号" th:value="${channelOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">PSO销售单号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="psoSaleOrderNo" placeholder="PSO销售单号" th:value="${psoSaleOrderNo}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderStatus" placeholder="订单状态" th:value="${orderStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配送状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryStatus" placeholder="配送状态" th:value="${deliveryStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderDate" placeholder="订单日期" th:value="${orderDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">消费时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="consumptionTime" placeholder="消费时间" th:value="${consumptionTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">会员ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="memberId" placeholder="会员ID" th:value="${memberId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">会员名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="memberName" placeholder="会员名称" th:value="${memberName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">系统登录人Id:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="systemLoginUserId" placeholder="系统登录人Id" th:value="${systemLoginUserId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderPlacer" placeholder="下单人" th:value="${orderPlacer}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderTime" placeholder="下单时间" th:value="${orderTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">结账单id:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="settlementId" placeholder="结账单id" th:value="${settlementId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">结账单code:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="settlementCode" placeholder="结账单code" th:value="${settlementCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后完成支付的支付时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="finalPaymentTime" placeholder="最后完成支付的支付时间" th:value="${finalPaymentTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品总数量:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="totalDrugQuantity" placeholder="药品总数量" th:value="${totalDrugQuantity}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">卡号:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="cardNumber" placeholder="卡号" th:value="${cardNumber}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">发货地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="shippingAddress" placeholder="发货地址" th:value="${shippingAddress}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">下单地址:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderAddress" placeholder="下单地址" th:value="${orderAddress}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderType" placeholder="订单类型" th:value="${orderType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单来源:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="orderSource" placeholder="订单来源" th:value="${orderSource}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单总金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="totalAmount" placeholder="订单总金额" th:value="${totalAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">订单费用外送费:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryFee" placeholder="订单费用外送费" th:value="${deliveryFee}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">退款金额:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="refundAmount" placeholder="退款金额" th:value="${refundAmount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">外送提货方式:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryPickupMethod" placeholder="外送提货方式" th:value="${deliveryPickupMethod}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">外送提货时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="deliveryPickupTime" placeholder="外送提货时间" th:value="${deliveryPickupTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">备注:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="remarks" placeholder="备注" th:value="${remarks}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "ddgl/sddglorderstore";
+        if ($.validate.form()) {
+            var data = $("#form-SDdglOrderStore-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDdglOrderStoreEdit", data);
+        }
+    }
+</script>

+ 9 - 9
health-admin/src/main/resources/templates/demo/form/cards.html

@@ -13,7 +13,7 @@
                         <h5>IT-01 - 设计部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -46,7 +46,7 @@
                         <h5>IT-04 - 市场部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -79,7 +79,7 @@
                         <h5>IT-07 - 财务部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -114,7 +114,7 @@
                         <h5>IT-02 - 开发部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -148,7 +148,7 @@
                         <h5>IT-05 - 管理层</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -181,7 +181,7 @@
                         <h5>IT-08 - 销售部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -217,7 +217,7 @@
                         <h5>IT-02 - 销售部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -250,7 +250,7 @@
                         <h5>IT-06 - 销售部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>
@@ -283,7 +283,7 @@
                         <h5>IT-09 - 销售部</h5>
                     </div>
                     <div class="ibox-content">
-                        <h4>门简介</h4>
+                        <h4>门简介</h4>
                         <p>
                                                                            平面设计(graphic design),也称为视觉传达设计,是以“视觉”作为沟通和表现的方式,透过多种方式来创造和结合符号、图片和文字,借此作出用来传达想法或讯息的视觉表现。
                         </p>

+ 2 - 2
health-admin/src/main/resources/templates/demo/modal/form.html

@@ -17,10 +17,10 @@
                 </div>
                 <div class="col-sm-6">
                     <div class="form-group">
-                        <label class="col-sm-4 control-label is-required">归属门:</label>
+                        <label class="col-sm-4 control-label is-required">归属门:</label>
                         <div class="col-sm-8">
                             <div class="input-group">
-                            	<input name="deptName" type="text" placeholder="请选择归属门" class="form-control">
+                            	<input name="deptName" type="text" placeholder="请选择归属门" class="form-control">
                                 <span class="input-group-addon"><i class="fa fa-search"></i></span>
                             </div>
                         </div>

+ 121 - 0
health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskAdd.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('任务列表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">业务归属:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="businessBelonging" id="businessBelonging" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">任务类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="taskType" id="taskType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">患者姓名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="patientName" id="patientName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createTime" id="createTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">完成时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="completeTime" id="completeTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">跟进人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="follower" id="follower" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">门店:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="store" id="store" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">连锁:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="chain" id="chain" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var businessBelonging = $("input[name='businessBelonging']").val();
+           var taskType = $("input[name='taskType']").val();
+           var patientName = $("input[name='patientName']").val();
+           var createTime = $("input[name='createTime']").val();
+           var completeTime = $("input[name='completeTime']").val();
+           var follower = $("input[name='follower']").val();
+           var store = $("input[name='store']").val();
+           var chain = $("input[name='chain']").val();
+           var status = $("input[name='status']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtprwglbusinesstask/sDtpRwglBusinesstaskAdd",
+            data : {
+                "businessBelonging": businessBelonging,
+                "taskType": taskType,
+                "patientName": patientName,
+                "createTime": createTime,
+                "completeTime": completeTime,
+                "follower": follower,
+                "store": store,
+                "chain": chain,
+                "status": status,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 114 - 0
health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskEdit.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('任务列表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpRwglBusinesstask-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskType" placeholder="任务类型" th:value="${taskType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">患者姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="patientName" placeholder="患者姓名" th:value="${patientName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createTime" placeholder="创建时间" th:value="${createTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">完成时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="completeTime" placeholder="完成时间" th:value="${completeTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">跟进人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="follower" placeholder="跟进人" th:value="${follower}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="store" placeholder="门店" th:value="${store}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">连锁:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chain" placeholder="连锁" th:value="${chain}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpRwglBusinesstask-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtprwglbusinesstask/sDtpRwglBusinesstaskEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 229 - 0
health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskList.html

@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('任务列表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpRwglBusinesstask-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                业务归属:<input type="text" class="styled-input" name="businessBelonging" autocomplete="off"/>
+                            </li>
+                            <li>
+                                任务类型:<input type="text" class="styled-input" name="taskType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                患者姓名:<input type="text" class="styled-input" name="patientName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                完成时间:<input type="text" class="styled-input" name="completeTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                跟进人:<input type="text" class="styled-input" name="follower" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店:<input type="text" class="styled-input" name="store" autocomplete="off"/>
+                            </li>
+                            <li>
+                                连锁:<input type="text" class="styled-input" name="chain" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtprwglbusinesstask";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpRwglBusinesstaskList",
+            viewUrl: prefix + "/sDtpRwglBusinesstaskView/{id}",
+            createUrl: prefix + "/sDtpRwglBusinesstaskAdd",
+            updateUrl: prefix + "/sDtpRwglBusinesstaskEdit/{id}",
+            removeUrl: prefix + "/sDtpRwglBusinesstaskRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "任务列表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'businessBelonging', title: '业务归属', align: 'center' },
+                    { field: 'taskType', title: '任务类型', align: 'center' },
+                    { field: 'patientName', title: '患者姓名', align: 'center' },
+                    { field: 'createTime', title: '创建时间', align: 'center' },
+                    { field: 'completeTime', title: '完成时间', align: 'center' },
+                    { field: 'follower', title: '跟进人', align: 'center' },
+                    { field: 'store', title: '门店', align: 'center' },
+                    { field: 'chain', title: '连锁', align: 'center' },
+                    { field: 'status', title: '状态', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpRwglBusinesstask-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpRwglBusinesstask-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 105 - 0
health-admin/src/main/resources/templates/dtp/SDtpRwglBusinesstaskPageEdit.html

@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('任务列表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpRwglBusinesstask-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskType" placeholder="任务类型" th:value="${taskType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">患者姓名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="patientName" placeholder="患者姓名" th:value="${patientName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createTime" placeholder="创建时间" th:value="${createTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">完成时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="completeTime" placeholder="完成时间" th:value="${completeTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">跟进人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="follower" placeholder="跟进人" th:value="${follower}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="store" placeholder="门店" th:value="${store}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">连锁:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chain" placeholder="连锁" th:value="${chain}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtprwglbusinesstask";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpRwglBusinesstask-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpRwglBusinesstaskEdit", data);
+        }
+    }
+</script>

+ 169 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsAdd.html

@@ -0,0 +1,169 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访统计表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">跟进人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="follower" id="follower" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">年龄:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="age" id="age" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">性别:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="gender" id="gender" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">适应症:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="indication" id="indication" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">不良反应:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="adverseReaction" id="adverseReaction" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">用药状态:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="medicationStatus" id="medicationStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">配合度:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="cooperationLevel" id="cooperationLevel" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">永久停药:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="permanentDiscontinuation" id="permanentDiscontinuation" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">暂停用药:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="temporarySuspension" id="temporarySuspension" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">既往治疗方案:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="previousTreatmentPlan" id="previousTreatmentPlan" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">目前治疗方案:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="currentTreatmentPlan" id="currentTreatmentPlan" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">生存期(天):</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="survivalPeriod" id="survivalPeriod" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">药品通用名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="genericName" id="genericName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">患者数:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="patientCount" id="patientCount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">任务数:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="taskCount" id="taskCount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var follower = $("input[name='follower']").val();
+           var age = $("input[name='age']").val();
+           var gender = $("input[name='gender']").val();
+           var indication = $("input[name='indication']").val();
+           var adverseReaction = $("input[name='adverseReaction']").val();
+           var medicationStatus = $("input[name='medicationStatus']").val();
+           var cooperationLevel = $("input[name='cooperationLevel']").val();
+           var permanentDiscontinuation = $("input[name='permanentDiscontinuation']").val();
+           var temporarySuspension = $("input[name='temporarySuspension']").val();
+           var previousTreatmentPlan = $("input[name='previousTreatmentPlan']").val();
+           var currentTreatmentPlan = $("input[name='currentTreatmentPlan']").val();
+           var survivalPeriod = $("input[name='survivalPeriod']").val();
+           var genericName = $("input[name='genericName']").val();
+           var patientCount = $("input[name='patientCount']").val();
+           var taskCount = $("input[name='taskCount']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpsjdcfollowupstatistics/sDtpSjdcFollowUpStatisticsAdd",
+            data : {
+                "follower": follower,
+                "age": age,
+                "gender": gender,
+                "indication": indication,
+                "adverseReaction": adverseReaction,
+                "medicationStatus": medicationStatus,
+                "cooperationLevel": cooperationLevel,
+                "permanentDiscontinuation": permanentDiscontinuation,
+                "temporarySuspension": temporarySuspension,
+                "previousTreatmentPlan": previousTreatmentPlan,
+                "currentTreatmentPlan": currentTreatmentPlan,
+                "survivalPeriod": survivalPeriod,
+                "genericName": genericName,
+                "patientCount": patientCount,
+                "taskCount": taskCount,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 150 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsEdit.html

@@ -0,0 +1,150 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访统计表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpSjdcFollowUpStatistics-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">跟进人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="follower" placeholder="跟进人" th:value="${follower}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">年龄:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="age" placeholder="年龄" th:value="${age}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">性别:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="gender" placeholder="性别" th:value="${gender}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适应症:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="indication" placeholder="适应症" th:value="${indication}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">不良反应:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="adverseReaction" placeholder="不良反应" th:value="${adverseReaction}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">用药状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicationStatus" placeholder="用药状态" th:value="${medicationStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配合度:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="cooperationLevel" placeholder="配合度" th:value="${cooperationLevel}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">永久停药:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="permanentDiscontinuation" placeholder="永久停药" th:value="${permanentDiscontinuation}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">暂停用药:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="temporarySuspension" placeholder="暂停用药" th:value="${temporarySuspension}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">既往治疗方案:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="previousTreatmentPlan" placeholder="既往治疗方案" th:value="${previousTreatmentPlan}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">目前治疗方案:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="currentTreatmentPlan" placeholder="目前治疗方案" th:value="${currentTreatmentPlan}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">生存期(天):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="survivalPeriod" placeholder="生存期(天)" th:value="${survivalPeriod}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品通用名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="genericName" placeholder="药品通用名" th:value="${genericName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">患者数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="patientCount" placeholder="患者数" th:value="${patientCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskCount" placeholder="任务数" th:value="${taskCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpSjdcFollowUpStatistics-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpsjdcfollowupstatistics/sDtpSjdcFollowUpStatisticsEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 253 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsList.html

@@ -0,0 +1,253 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('随访统计表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpSjdcFollowUpStatistics-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                跟进人:<input type="text" class="styled-input" name="follower" autocomplete="off"/>
+                            </li>
+                            <li>
+                                年龄:<input type="text" class="styled-input" name="age" autocomplete="off"/>
+                            </li>
+                            <li>
+                                性别:<input type="text" class="styled-input" name="gender" autocomplete="off"/>
+                            </li>
+                            <li>
+                                适应症:<input type="text" class="styled-input" name="indication" autocomplete="off"/>
+                            </li>
+                            <li>
+                                不良反应:<input type="text" class="styled-input" name="adverseReaction" autocomplete="off"/>
+                            </li>
+                            <li>
+                                用药状态:<input type="text" class="styled-input" name="medicationStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                配合度:<input type="text" class="styled-input" name="cooperationLevel" autocomplete="off"/>
+                            </li>
+                            <li>
+                                永久停药:<input type="text" class="styled-input" name="permanentDiscontinuation" autocomplete="off"/>
+                            </li>
+                            <li>
+                                暂停用药:<input type="text" class="styled-input" name="temporarySuspension" autocomplete="off"/>
+                            </li>
+                            <li>
+                                既往治疗方案:<input type="text" class="styled-input" name="previousTreatmentPlan" autocomplete="off"/>
+                            </li>
+                            <li>
+                                目前治疗方案:<input type="text" class="styled-input" name="currentTreatmentPlan" autocomplete="off"/>
+                            </li>
+                            <li>
+                                生存期(天):<input type="text" class="styled-input" name="survivalPeriod" autocomplete="off"/>
+                            </li>
+                            <li>
+                                药品通用名:<input type="text" class="styled-input" name="genericName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                患者数:<input type="text" class="styled-input" name="patientCount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                任务数:<input type="text" class="styled-input" name="taskCount" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpsjdcfollowupstatistics";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpSjdcFollowUpStatisticsList",
+            viewUrl: prefix + "/sDtpSjdcFollowUpStatisticsView/{id}",
+            createUrl: prefix + "/sDtpSjdcFollowUpStatisticsAdd",
+            updateUrl: prefix + "/sDtpSjdcFollowUpStatisticsEdit/{id}",
+            removeUrl: prefix + "/sDtpSjdcFollowUpStatisticsRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "随访统计表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'follower', title: '跟进人', align: 'center' },
+                    { field: 'age', title: '年龄', align: 'center' },
+                    { field: 'gender', title: '性别', align: 'center' },
+                    { field: 'indication', title: '适应症', align: 'center' },
+                    { field: 'adverseReaction', title: '不良反应', align: 'center' },
+                    { field: 'medicationStatus', title: '用药状态', align: 'center' },
+                    { field: 'cooperationLevel', title: '配合度', align: 'center' },
+                    { field: 'permanentDiscontinuation', title: '永久停药', align: 'center' },
+                    { field: 'temporarySuspension', title: '暂停用药', align: 'center' },
+                    { field: 'previousTreatmentPlan', title: '既往治疗方案', align: 'center' },
+                    { field: 'currentTreatmentPlan', title: '目前治疗方案', align: 'center' },
+                    { field: 'survivalPeriod', title: '生存期(天)', align: 'center' },
+                    { field: 'genericName', title: '药品通用名', align: 'center' },
+                    { field: 'patientCount', title: '患者数', align: 'center' },
+                    { field: 'taskCount', title: '任务数', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpSjdcFollowUpStatistics-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpSjdcFollowUpStatistics-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 141 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcFollowUpStatisticsPageEdit.html

@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访统计表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpSjdcFollowUpStatistics-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">跟进人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="follower" placeholder="跟进人" th:value="${follower}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">年龄:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="age" placeholder="年龄" th:value="${age}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">性别:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="gender" placeholder="性别" th:value="${gender}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适应症:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="indication" placeholder="适应症" th:value="${indication}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">不良反应:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="adverseReaction" placeholder="不良反应" th:value="${adverseReaction}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">用药状态:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="medicationStatus" placeholder="用药状态" th:value="${medicationStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">配合度:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="cooperationLevel" placeholder="配合度" th:value="${cooperationLevel}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">永久停药:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="permanentDiscontinuation" placeholder="永久停药" th:value="${permanentDiscontinuation}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">暂停用药:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="temporarySuspension" placeholder="暂停用药" th:value="${temporarySuspension}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">既往治疗方案:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="previousTreatmentPlan" placeholder="既往治疗方案" th:value="${previousTreatmentPlan}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">目前治疗方案:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="currentTreatmentPlan" placeholder="目前治疗方案" th:value="${currentTreatmentPlan}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">生存期(天):</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="survivalPeriod" placeholder="生存期(天)" th:value="${survivalPeriod}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">药品通用名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="genericName" placeholder="药品通用名" th:value="${genericName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">患者数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="patientCount" placeholder="患者数" th:value="${patientCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskCount" placeholder="任务数" th:value="${taskCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpsjdcfollowupstatistics";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpSjdcFollowUpStatistics-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpSjdcFollowUpStatisticsEdit", data);
+        }
+    }
+</script>

+ 137 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskAdd.html

@@ -0,0 +1,137 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('质检任务表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">连锁ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="chainId" id="chainId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">连锁名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="chainName" id="chainName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">门店名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="storeName" id="storeName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">质检用户:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="inspectionUser" id="inspectionUser" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">任务名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="taskName" id="taskName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">质检时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="inspectionTime" id="inspectionTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">质检流程,用于存储详细的质检步骤和要求:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="inspectionProcess" id="inspectionProcess" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">质检评分:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="inspectionScore" id="inspectionScore" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">质检状态:待质检,质检中,已质检,已取消:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="inspectionStatus" id="inspectionStatus" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdAt" id="createdAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedAt" id="updatedAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var chainId = $("input[name='chainId']").val();
+           var chainName = $("input[name='chainName']").val();
+           var storeName = $("input[name='storeName']").val();
+           var inspectionUser = $("input[name='inspectionUser']").val();
+           var taskName = $("input[name='taskName']").val();
+           var inspectionTime = $("input[name='inspectionTime']").val();
+           var inspectionProcess = $("input[name='inspectionProcess']").val();
+           var inspectionScore = $("input[name='inspectionScore']").val();
+           var inspectionStatus = $("input[name='inspectionStatus']").val();
+           var createdAt = $("input[name='createdAt']").val();
+           var updatedAt = $("input[name='updatedAt']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpsjdcqualityinspectiontask/sDtpSjdcQualityInspectionTaskAdd",
+            data : {
+                "chainId": chainId,
+                "chainName": chainName,
+                "storeName": storeName,
+                "inspectionUser": inspectionUser,
+                "taskName": taskName,
+                "inspectionTime": inspectionTime,
+                "inspectionProcess": inspectionProcess,
+                "inspectionScore": inspectionScore,
+                "inspectionStatus": inspectionStatus,
+                "createdAt": createdAt,
+                "updatedAt": updatedAt,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 126 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskEdit.html

@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('质检任务表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpSjdcQualityInspectionTask-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">连锁ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chainId" placeholder="连锁ID" th:value="${chainId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">连锁名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chainName" placeholder="连锁名称" th:value="${chainName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检用户:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionUser" placeholder="质检用户" th:value="${inspectionUser}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskName" placeholder="任务名称" th:value="${taskName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionTime" placeholder="质检时间" th:value="${inspectionTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检流程,用于存储详细的质检步骤和要求:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionProcess" placeholder="质检流程,用于存储详细的质检步骤和要求" th:value="${inspectionProcess}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检评分:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionScore" placeholder="质检评分" th:value="${inspectionScore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检状态:待质检,质检中,已质检,已取消:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionStatus" placeholder="质检状态:待质检,质检中,已质检,已取消" th:value="${inspectionStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpSjdcQualityInspectionTask-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpsjdcqualityinspectiontask/sDtpSjdcQualityInspectionTaskEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 237 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskList.html

@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('质检任务表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpSjdcQualityInspectionTask-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                连锁ID:<input type="text" class="styled-input" name="chainId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                连锁名称:<input type="text" class="styled-input" name="chainName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店名称:<input type="text" class="styled-input" name="storeName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                质检用户:<input type="text" class="styled-input" name="inspectionUser" autocomplete="off"/>
+                            </li>
+                            <li>
+                                任务名称:<input type="text" class="styled-input" name="taskName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                质检时间:<input type="text" class="styled-input" name="inspectionTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                质检流程,用于存储详细的质检步骤和要求:<input type="text" class="styled-input" name="inspectionProcess" autocomplete="off"/>
+                            </li>
+                            <li>
+                                质检评分:<input type="text" class="styled-input" name="inspectionScore" autocomplete="off"/>
+                            </li>
+                            <li>
+                                质检状态:待质检,质检中,已质检,已取消:<input type="text" class="styled-input" name="inspectionStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdAt" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedAt" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpsjdcqualityinspectiontask";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpSjdcQualityInspectionTaskList",
+            viewUrl: prefix + "/sDtpSjdcQualityInspectionTaskView/{id}",
+            createUrl: prefix + "/sDtpSjdcQualityInspectionTaskAdd",
+            updateUrl: prefix + "/sDtpSjdcQualityInspectionTaskEdit/{id}",
+            removeUrl: prefix + "/sDtpSjdcQualityInspectionTaskRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "质检任务表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'chainId', title: '连锁ID', align: 'center' },
+                    { field: 'chainName', title: '连锁名称', align: 'center' },
+                    { field: 'storeName', title: '门店名称', align: 'center' },
+                    { field: 'inspectionUser', title: '质检用户', align: 'center' },
+                    { field: 'taskName', title: '任务名称', align: 'center' },
+                    { field: 'inspectionTime', title: '质检时间', align: 'center' },
+                    { field: 'inspectionProcess', title: '质检流程,用于存储详细的质检步骤和要求', align: 'center' },
+                    { field: 'inspectionScore', title: '质检评分', align: 'center' },
+                    { field: 'inspectionStatus', title: '质检状态:待质检,质检中,已质检,已取消', align: 'center' },
+                    { field: 'createdAt', title: '创建时间', align: 'center' },
+                    { field: 'updatedAt', title: '更新时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpSjdcQualityInspectionTask-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpSjdcQualityInspectionTask-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 117 - 0
health-admin/src/main/resources/templates/dtp/SDtpSjdcQualityInspectionTaskPageEdit.html

@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('质检任务表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpSjdcQualityInspectionTask-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">连锁ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chainId" placeholder="连锁ID" th:value="${chainId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">连锁名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="chainName" placeholder="连锁名称" th:value="${chainName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">门店名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检用户:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionUser" placeholder="质检用户" th:value="${inspectionUser}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskName" placeholder="任务名称" th:value="${taskName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionTime" placeholder="质检时间" th:value="${inspectionTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检流程,用于存储详细的质检步骤和要求:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionProcess" placeholder="质检流程,用于存储详细的质检步骤和要求" th:value="${inspectionProcess}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检评分:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionScore" placeholder="质检评分" th:value="${inspectionScore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">质检状态:待质检,质检中,已质检,已取消:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="inspectionStatus" placeholder="质检状态:待质检,质检中,已质检,已取消" th:value="${inspectionStatus}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpsjdcqualityinspectiontask";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpSjdcQualityInspectionTask-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpSjdcQualityInspectionTaskEdit", data);
+        }
+    }
+</script>

+ 121 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordAdd.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('提示词管理表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">药品:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="drug" id="drug" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">业务归属:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="businessBelonging" id="businessBelonging" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模板名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateName" id="templateName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模版ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateId" id="templateId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:启用,禁用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdTime" id="createdTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedTime" id="updatedTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var drug = $("input[name='drug']").val();
+           var businessBelonging = $("input[name='businessBelonging']").val();
+           var templateName = $("input[name='templateName']").val();
+           var templateId = $("input[name='templateId']").val();
+           var createdBy = $("input[name='createdBy']").val();
+           var status = $("input[name='status']").val();
+           var createdTime = $("input[name='createdTime']").val();
+           var updatedTime = $("input[name='updatedTime']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzcallword/sDtpYypzCallWordAdd",
+            data : {
+                "drug": drug,
+                "businessBelonging": businessBelonging,
+                "templateName": templateName,
+                "templateId": templateId,
+                "createdBy": createdBy,
+                "status": status,
+                "createdTime": createdTime,
+                "updatedTime": updatedTime,
+                "updatedBy": updatedBy,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 114 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordEdit.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('提示词管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzCallWord-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpYypzCallWord-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzcallword/sDtpYypzCallWordEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 229 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordList.html

@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('提示词管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpYypzCallWord-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                药品:<input type="text" class="styled-input" name="drug" autocomplete="off"/>
+                            </li>
+                            <li>
+                                业务归属:<input type="text" class="styled-input" name="businessBelonging" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模板名称:<input type="text" class="styled-input" name="templateName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模版ID:<input type="text" class="styled-input" name="templateId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:启用,禁用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpyypzcallword";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpYypzCallWordList",
+            viewUrl: prefix + "/sDtpYypzCallWordView/{id}",
+            createUrl: prefix + "/sDtpYypzCallWordAdd",
+            updateUrl: prefix + "/sDtpYypzCallWordEdit/{id}",
+            removeUrl: prefix + "/sDtpYypzCallWordRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "提示词管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'drug', title: '药品', align: 'center' },
+                    { field: 'businessBelonging', title: '业务归属', align: 'center' },
+                    { field: 'templateName', title: '模板名称', align: 'center' },
+                    { field: 'templateId', title: '模版ID', align: 'center' },
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'status', title: '状态:启用,禁用', align: 'center' },
+                    { field: 'createdTime', title: '创建时间', align: 'center' },
+                    { field: 'updatedTime', title: '更新时间', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpYypzCallWord-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpYypzCallWord-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 105 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzCallWordPageEdit.html

@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('提示词管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzCallWord-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpyypzcallword";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpYypzCallWord-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpYypzCallWordEdit", data);
+        }
+    }
+</script>

+ 129 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementAdd.html

@@ -0,0 +1,129 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('常用问答管理表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">问答ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="questionAnswerId" id="questionAnswerId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">问答类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="questionAnswerType" id="questionAnswerType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">问答摘要:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="summary" id="summary" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">问题内容:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="questionContent" id="questionContent" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">回答内容:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="answerContent" id="answerContent" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">适用药品,可以存储多个药品,用逗号分隔:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="applicableDrugs" id="applicableDrugs" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">排序权重:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="sortWeight" id="sortWeight" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:启用,禁用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后编辑时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastEditTime" id="lastEditTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后编辑人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastEditor" id="lastEditor" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var questionAnswerId = $("input[name='questionAnswerId']").val();
+           var questionAnswerType = $("input[name='questionAnswerType']").val();
+           var summary = $("input[name='summary']").val();
+           var questionContent = $("input[name='questionContent']").val();
+           var answerContent = $("input[name='answerContent']").val();
+           var applicableDrugs = $("input[name='applicableDrugs']").val();
+           var sortWeight = $("input[name='sortWeight']").val();
+           var status = $("input[name='status']").val();
+           var lastEditTime = $("input[name='lastEditTime']").val();
+           var lastEditor = $("input[name='lastEditor']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfaqmanagement/sDtpYypzFaqManagementAdd",
+            data : {
+                "questionAnswerId": questionAnswerId,
+                "questionAnswerType": questionAnswerType,
+                "summary": summary,
+                "questionContent": questionContent,
+                "answerContent": answerContent,
+                "applicableDrugs": applicableDrugs,
+                "sortWeight": sortWeight,
+                "status": status,
+                "lastEditTime": lastEditTime,
+                "lastEditor": lastEditor,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 120 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementEdit.html

@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('常用问答管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFaqManagement-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">问答ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionAnswerId" placeholder="问答ID" th:value="${questionAnswerId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问答类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionAnswerType" placeholder="问答类型" th:value="${questionAnswerType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问答摘要:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="summary" placeholder="问答摘要" th:value="${summary}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问题内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionContent" placeholder="问题内容" th:value="${questionContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">回答内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="answerContent" placeholder="回答内容" th:value="${answerContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用药品,可以存储多个药品,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableDrugs" placeholder="适用药品,可以存储多个药品,用逗号分隔" th:value="${applicableDrugs}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">排序权重:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="sortWeight" placeholder="排序权重" th:value="${sortWeight}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditTime" placeholder="最后编辑时间" th:value="${lastEditTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditor" placeholder="最后编辑人" th:value="${lastEditor}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpYypzFaqManagement-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfaqmanagement/sDtpYypzFaqManagementEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 233 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementList.html

@@ -0,0 +1,233 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('常用问答管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpYypzFaqManagement-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                问答ID:<input type="text" class="styled-input" name="questionAnswerId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                问答类型:<input type="text" class="styled-input" name="questionAnswerType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                问答摘要:<input type="text" class="styled-input" name="summary" autocomplete="off"/>
+                            </li>
+                            <li>
+                                问题内容:<input type="text" class="styled-input" name="questionContent" autocomplete="off"/>
+                            </li>
+                            <li>
+                                回答内容:<input type="text" class="styled-input" name="answerContent" autocomplete="off"/>
+                            </li>
+                            <li>
+                                适用药品,可以存储多个药品,用逗号分隔:<input type="text" class="styled-input" name="applicableDrugs" autocomplete="off"/>
+                            </li>
+                            <li>
+                                排序权重:<input type="text" class="styled-input" name="sortWeight" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:启用,禁用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后编辑时间:<input type="text" class="styled-input" name="lastEditTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后编辑人:<input type="text" class="styled-input" name="lastEditor" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpyypzfaqmanagement";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpYypzFaqManagementList",
+            viewUrl: prefix + "/sDtpYypzFaqManagementView/{id}",
+            createUrl: prefix + "/sDtpYypzFaqManagementAdd",
+            updateUrl: prefix + "/sDtpYypzFaqManagementEdit/{id}",
+            removeUrl: prefix + "/sDtpYypzFaqManagementRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "常用问答管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'questionAnswerId', title: '问答ID', align: 'center' },
+                    { field: 'questionAnswerType', title: '问答类型', align: 'center' },
+                    { field: 'summary', title: '问答摘要', align: 'center' },
+                    { field: 'questionContent', title: '问题内容', align: 'center' },
+                    { field: 'answerContent', title: '回答内容', align: 'center' },
+                    { field: 'applicableDrugs', title: '适用药品,可以存储多个药品,用逗号分隔', align: 'center' },
+                    { field: 'sortWeight', title: '排序权重', align: 'center' },
+                    { field: 'status', title: '状态:启用,禁用', align: 'center' },
+                    { field: 'lastEditTime', title: '最后编辑时间', align: 'center' },
+                    { field: 'lastEditor', title: '最后编辑人', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpYypzFaqManagement-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpYypzFaqManagement-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 111 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFaqManagementPageEdit.html

@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('常用问答管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFaqManagement-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">问答ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionAnswerId" placeholder="问答ID" th:value="${questionAnswerId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问答类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionAnswerType" placeholder="问答类型" th:value="${questionAnswerType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问答摘要:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="summary" placeholder="问答摘要" th:value="${summary}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">问题内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="questionContent" placeholder="问题内容" th:value="${questionContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">回答内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="answerContent" placeholder="回答内容" th:value="${answerContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用药品,可以存储多个药品,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableDrugs" placeholder="适用药品,可以存储多个药品,用逗号分隔" th:value="${applicableDrugs}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">排序权重:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="sortWeight" placeholder="排序权重" th:value="${sortWeight}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditTime" placeholder="最后编辑时间" th:value="${lastEditTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditor" placeholder="最后编辑人" th:value="${lastEditor}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpyypzfaqmanagement";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpYypzFaqManagement-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpYypzFaqManagementEdit", data);
+        }
+    }
+</script>

+ 121 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopAdd.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访SOP表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">药品:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="drug" id="drug" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">业务归属:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="businessBelonging" id="businessBelonging" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模板名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateName" id="templateName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模版ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateId" id="templateId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:启用,禁用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdTime" id="createdTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedTime" id="updatedTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var drug = $("input[name='drug']").val();
+           var businessBelonging = $("input[name='businessBelonging']").val();
+           var templateName = $("input[name='templateName']").val();
+           var templateId = $("input[name='templateId']").val();
+           var createdBy = $("input[name='createdBy']").val();
+           var status = $("input[name='status']").val();
+           var createdTime = $("input[name='createdTime']").val();
+           var updatedTime = $("input[name='updatedTime']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfollowupsop/sDtpYypzFollowUpSopAdd",
+            data : {
+                "drug": drug,
+                "businessBelonging": businessBelonging,
+                "templateName": templateName,
+                "templateId": templateId,
+                "createdBy": createdBy,
+                "status": status,
+                "createdTime": createdTime,
+                "updatedTime": updatedTime,
+                "updatedBy": updatedBy,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 114 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopEdit.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访SOP表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFollowUpSop-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpYypzFollowUpSop-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfollowupsop/sDtpYypzFollowUpSopEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 229 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopList.html

@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('随访SOP表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpYypzFollowUpSop-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                药品:<input type="text" class="styled-input" name="drug" autocomplete="off"/>
+                            </li>
+                            <li>
+                                业务归属:<input type="text" class="styled-input" name="businessBelonging" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模板名称:<input type="text" class="styled-input" name="templateName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模版ID:<input type="text" class="styled-input" name="templateId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:启用,禁用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpyypzfollowupsop";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpYypzFollowUpSopList",
+            viewUrl: prefix + "/sDtpYypzFollowUpSopView/{id}",
+            createUrl: prefix + "/sDtpYypzFollowUpSopAdd",
+            updateUrl: prefix + "/sDtpYypzFollowUpSopEdit/{id}",
+            removeUrl: prefix + "/sDtpYypzFollowUpSopRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "随访SOP表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'drug', title: '药品', align: 'center' },
+                    { field: 'businessBelonging', title: '业务归属', align: 'center' },
+                    { field: 'templateName', title: '模板名称', align: 'center' },
+                    { field: 'templateId', title: '模版ID', align: 'center' },
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'status', title: '状态:启用,禁用', align: 'center' },
+                    { field: 'createdTime', title: '创建时间', align: 'center' },
+                    { field: 'updatedTime', title: '更新时间', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpYypzFollowUpSop-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpYypzFollowUpSop-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 105 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpSopPageEdit.html

@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访SOP表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFollowUpSop-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务归属:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessBelonging" placeholder="业务归属" th:value="${businessBelonging}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpyypzfollowupsop";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpYypzFollowUpSop-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpYypzFollowUpSopEdit", data);
+        }
+    }
+</script>

+ 137 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateAdd.html

@@ -0,0 +1,137 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访模板表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">药品:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="drug" id="drug" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">事件标签:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="eventTag" id="eventTag" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模版ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateId" id="templateId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">模板名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="templateName" id="templateName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">任务数:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="taskCount" id="taskCount" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">业务域:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="businessDomain" id="businessDomain" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:启用,禁用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdTime" id="createdTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedTime" id="updatedTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var drug = $("input[name='drug']").val();
+           var eventTag = $("input[name='eventTag']").val();
+           var templateId = $("input[name='templateId']").val();
+           var templateName = $("input[name='templateName']").val();
+           var taskCount = $("input[name='taskCount']").val();
+           var businessDomain = $("input[name='businessDomain']").val();
+           var createdBy = $("input[name='createdBy']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+           var status = $("input[name='status']").val();
+           var createdTime = $("input[name='createdTime']").val();
+           var updatedTime = $("input[name='updatedTime']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfollowuptemplate/sDtpYypzFollowUpTemplateAdd",
+            data : {
+                "drug": drug,
+                "eventTag": eventTag,
+                "templateId": templateId,
+                "templateName": templateName,
+                "taskCount": taskCount,
+                "businessDomain": businessDomain,
+                "createdBy": createdBy,
+                "updatedBy": updatedBy,
+                "status": status,
+                "createdTime": createdTime,
+                "updatedTime": updatedTime,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 126 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateEdit.html

@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访模板表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFollowUpTemplate-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">事件标签:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="eventTag" placeholder="事件标签" th:value="${eventTag}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskCount" placeholder="任务数" th:value="${taskCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务域:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessDomain" placeholder="业务域" th:value="${businessDomain}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpYypzFollowUpTemplate-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzfollowuptemplate/sDtpYypzFollowUpTemplateEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 237 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplateList.html

@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('随访模板表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpYypzFollowUpTemplate-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                药品:<input type="text" class="styled-input" name="drug" autocomplete="off"/>
+                            </li>
+                            <li>
+                                事件标签:<input type="text" class="styled-input" name="eventTag" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模版ID:<input type="text" class="styled-input" name="templateId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                模板名称:<input type="text" class="styled-input" name="templateName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                任务数:<input type="text" class="styled-input" name="taskCount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                业务域:<input type="text" class="styled-input" name="businessDomain" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:启用,禁用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedTime" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpyypzfollowuptemplate";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpYypzFollowUpTemplateList",
+            viewUrl: prefix + "/sDtpYypzFollowUpTemplateView/{id}",
+            createUrl: prefix + "/sDtpYypzFollowUpTemplateAdd",
+            updateUrl: prefix + "/sDtpYypzFollowUpTemplateEdit/{id}",
+            removeUrl: prefix + "/sDtpYypzFollowUpTemplateRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "随访模板表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'drug', title: '药品', align: 'center' },
+                    { field: 'eventTag', title: '事件标签', align: 'center' },
+                    { field: 'templateId', title: '模版ID', align: 'center' },
+                    { field: 'templateName', title: '模板名称', align: 'center' },
+                    { field: 'taskCount', title: '任务数', align: 'center' },
+                    { field: 'businessDomain', title: '业务域', align: 'center' },
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+                    { field: 'status', title: '状态:启用,禁用', align: 'center' },
+                    { field: 'createdTime', title: '创建时间', align: 'center' },
+                    { field: 'updatedTime', title: '更新时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpYypzFollowUpTemplate-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpYypzFollowUpTemplate-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 117 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzFollowUpTemplatePageEdit.html

@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访模板表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzFollowUpTemplate-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">药品:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="drug" placeholder="药品" th:value="${drug}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">事件标签:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="eventTag" placeholder="事件标签" th:value="${eventTag}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模版ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateId" placeholder="模版ID" th:value="${templateId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">模板名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="templateName" placeholder="模板名称" th:value="${templateName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务数:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskCount" placeholder="任务数" th:value="${taskCount}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">业务域:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="businessDomain" placeholder="业务域" th:value="${businessDomain}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpyypzfollowuptemplate";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpYypzFollowUpTemplate-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpYypzFollowUpTemplateEdit", data);
+        }
+    }
+</script>

+ 177 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktAdd.html

@@ -0,0 +1,177 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访话术管理表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">话术ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="scriptId" id="scriptId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">话术主题:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="scriptTheme" id="scriptTheme" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">话术摘要:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="scriptSummary" id="scriptSummary" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">话术内容:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="scriptContent" id="scriptContent" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">关键词,可以存储多个关键词,用逗号分隔:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="keywords" id="keywords" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">权重:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="weight" id="weight" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">状态:启用,禁用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="status" id="status" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后操作时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastOperationTime" id="lastOperationTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后操作人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastOperator" id="lastOperator" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">话术主题ID:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="themeId" id="themeId" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">话术主题:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="theme" id="theme" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">适用药品类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="applicableDrugType" id="applicableDrugType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">适用随访类型:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="applicableFollowUpType" id="applicableFollowUpType" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">任务主题:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="taskTheme" id="taskTheme" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后编辑时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastEditTime" id="lastEditTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">最后编辑人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastEditor" id="lastEditor" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var scriptId = $("input[name='scriptId']").val();
+           var scriptTheme = $("input[name='scriptTheme']").val();
+           var scriptSummary = $("input[name='scriptSummary']").val();
+           var scriptContent = $("input[name='scriptContent']").val();
+           var keywords = $("input[name='keywords']").val();
+           var weight = $("input[name='weight']").val();
+           var status = $("input[name='status']").val();
+           var lastOperationTime = $("input[name='lastOperationTime']").val();
+           var lastOperator = $("input[name='lastOperator']").val();
+           var themeId = $("input[name='themeId']").val();
+           var theme = $("input[name='theme']").val();
+           var applicableDrugType = $("input[name='applicableDrugType']").val();
+           var applicableFollowUpType = $("input[name='applicableFollowUpType']").val();
+           var taskTheme = $("input[name='taskTheme']").val();
+           var lastEditTime = $("input[name='lastEditTime']").val();
+           var lastEditor = $("input[name='lastEditor']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzverbaltrickt/sDtpYypzVerbalTricktAdd",
+            data : {
+                "scriptId": scriptId,
+                "scriptTheme": scriptTheme,
+                "scriptSummary": scriptSummary,
+                "scriptContent": scriptContent,
+                "keywords": keywords,
+                "weight": weight,
+                "status": status,
+                "lastOperationTime": lastOperationTime,
+                "lastOperator": lastOperator,
+                "themeId": themeId,
+                "theme": theme,
+                "applicableDrugType": applicableDrugType,
+                "applicableFollowUpType": applicableFollowUpType,
+                "taskTheme": taskTheme,
+                "lastEditTime": lastEditTime,
+                "lastEditor": lastEditor,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 156 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktEdit.html

@@ -0,0 +1,156 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访话术管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzVerbalTrickt-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">话术ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptId" placeholder="话术ID" th:value="${scriptId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptTheme" placeholder="话术主题" th:value="${scriptTheme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术摘要:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptSummary" placeholder="话术摘要" th:value="${scriptSummary}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptContent" placeholder="话术内容" th:value="${scriptContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关键词,可以存储多个关键词,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="keywords" placeholder="关键词,可以存储多个关键词,用逗号分隔" th:value="${keywords}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">权重:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="weight" placeholder="权重" th:value="${weight}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后操作时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastOperationTime" placeholder="最后操作时间" th:value="${lastOperationTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后操作人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastOperator" placeholder="最后操作人" th:value="${lastOperator}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="themeId" placeholder="话术主题ID" th:value="${themeId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="theme" placeholder="话术主题" th:value="${theme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用药品类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableDrugType" placeholder="适用药品类型" th:value="${applicableDrugType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用随访类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableFollowUpType" placeholder="适用随访类型" th:value="${applicableFollowUpType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskTheme" placeholder="任务主题" th:value="${taskTheme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditTime" placeholder="最后编辑时间" th:value="${lastEditTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditor" placeholder="最后编辑人" th:value="${lastEditor}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpYypzVerbalTrickt-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpyypzverbaltrickt/sDtpYypzVerbalTricktEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 257 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktList.html

@@ -0,0 +1,257 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('随访话术管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpYypzVerbalTrickt-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                话术ID:<input type="text" class="styled-input" name="scriptId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                话术主题:<input type="text" class="styled-input" name="scriptTheme" autocomplete="off"/>
+                            </li>
+                            <li>
+                                话术摘要:<input type="text" class="styled-input" name="scriptSummary" autocomplete="off"/>
+                            </li>
+                            <li>
+                                话术内容:<input type="text" class="styled-input" name="scriptContent" autocomplete="off"/>
+                            </li>
+                            <li>
+                                关键词,可以存储多个关键词,用逗号分隔:<input type="text" class="styled-input" name="keywords" autocomplete="off"/>
+                            </li>
+                            <li>
+                                权重:<input type="text" class="styled-input" name="weight" autocomplete="off"/>
+                            </li>
+                            <li>
+                                状态:启用,禁用:<input type="text" class="styled-input" name="status" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后操作时间:<input type="text" class="styled-input" name="lastOperationTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后操作人:<input type="text" class="styled-input" name="lastOperator" autocomplete="off"/>
+                            </li>
+                            <li>
+                                话术主题ID:<input type="text" class="styled-input" name="themeId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                话术主题:<input type="text" class="styled-input" name="theme" autocomplete="off"/>
+                            </li>
+                            <li>
+                                适用药品类型:<input type="text" class="styled-input" name="applicableDrugType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                适用随访类型:<input type="text" class="styled-input" name="applicableFollowUpType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                任务主题:<input type="text" class="styled-input" name="taskTheme" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后编辑时间:<input type="text" class="styled-input" name="lastEditTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最后编辑人:<input type="text" class="styled-input" name="lastEditor" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpyypzverbaltrickt";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpYypzVerbalTricktList",
+            viewUrl: prefix + "/sDtpYypzVerbalTricktView/{id}",
+            createUrl: prefix + "/sDtpYypzVerbalTricktAdd",
+            updateUrl: prefix + "/sDtpYypzVerbalTricktEdit/{id}",
+            removeUrl: prefix + "/sDtpYypzVerbalTricktRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "随访话术管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'scriptId', title: '话术ID', align: 'center' },
+                    { field: 'scriptTheme', title: '话术主题', align: 'center' },
+                    { field: 'scriptSummary', title: '话术摘要', align: 'center' },
+                    { field: 'scriptContent', title: '话术内容', align: 'center' },
+                    { field: 'keywords', title: '关键词,可以存储多个关键词,用逗号分隔', align: 'center' },
+                    { field: 'weight', title: '权重', align: 'center' },
+                    { field: 'status', title: '状态:启用,禁用', align: 'center' },
+                    { field: 'lastOperationTime', title: '最后操作时间', align: 'center' },
+                    { field: 'lastOperator', title: '最后操作人', align: 'center' },
+                    { field: 'themeId', title: '话术主题ID', align: 'center' },
+                    { field: 'theme', title: '话术主题', align: 'center' },
+                    { field: 'applicableDrugType', title: '适用药品类型', align: 'center' },
+                    { field: 'applicableFollowUpType', title: '适用随访类型', align: 'center' },
+                    { field: 'taskTheme', title: '任务主题', align: 'center' },
+                    { field: 'lastEditTime', title: '最后编辑时间', align: 'center' },
+                    { field: 'lastEditor', title: '最后编辑人', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpYypzVerbalTrickt-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpYypzVerbalTrickt-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 147 - 0
health-admin/src/main/resources/templates/dtp/SDtpYypzVerbalTricktPageEdit.html

@@ -0,0 +1,147 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访话术管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpYypzVerbalTrickt-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">话术ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptId" placeholder="话术ID" th:value="${scriptId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptTheme" placeholder="话术主题" th:value="${scriptTheme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术摘要:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptSummary" placeholder="话术摘要" th:value="${scriptSummary}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术内容:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="scriptContent" placeholder="话术内容" th:value="${scriptContent}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关键词,可以存储多个关键词,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="keywords" placeholder="关键词,可以存储多个关键词,用逗号分隔" th:value="${keywords}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">权重:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="weight" placeholder="权重" th:value="${weight}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">状态:启用,禁用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="status" placeholder="状态:启用,禁用" th:value="${status}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后操作时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastOperationTime" placeholder="最后操作时间" th:value="${lastOperationTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后操作人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastOperator" placeholder="最后操作人" th:value="${lastOperator}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题ID:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="themeId" placeholder="话术主题ID" th:value="${themeId}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">话术主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="theme" placeholder="话术主题" th:value="${theme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用药品类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableDrugType" placeholder="适用药品类型" th:value="${applicableDrugType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">适用随访类型:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="applicableFollowUpType" placeholder="适用随访类型" th:value="${applicableFollowUpType}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">任务主题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="taskTheme" placeholder="任务主题" th:value="${taskTheme}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditTime" placeholder="最后编辑时间" th:value="${lastEditTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">最后编辑人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastEditor" placeholder="最后编辑人" th:value="${lastEditor}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpyypzverbaltrickt";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpYypzVerbalTrickt-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpYypzVerbalTricktEdit", data);
+        }
+    }
+</script>

+ 121 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsAdd.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药品说明书表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">MDM编码:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="mdmCode" id="mdmCode" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">商品名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="productName" id="productName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">通用名:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="genericName" id="genericName" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">规格:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="specification" id="specification" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">生产厂家:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="manufacturer" id="manufacturer" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">产地:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="origin" id="origin" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">是否弃用:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="isDeprecated" id="isDeprecated" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdAt" id="createdAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedAt" id="updatedAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var mdmCode = $("input[name='mdmCode']").val();
+           var productName = $("input[name='productName']").val();
+           var genericName = $("input[name='genericName']").val();
+           var specification = $("input[name='specification']").val();
+           var manufacturer = $("input[name='manufacturer']").val();
+           var origin = $("input[name='origin']").val();
+           var isDeprecated = $("input[name='isDeprecated']").val();
+           var createdAt = $("input[name='createdAt']").val();
+           var updatedAt = $("input[name='updatedAt']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxdruginstructions/sDtpZskcxDrugInstructionsAdd",
+            data : {
+                "mdmCode": mdmCode,
+                "productName": productName,
+                "genericName": genericName,
+                "specification": specification,
+                "manufacturer": manufacturer,
+                "origin": origin,
+                "isDeprecated": isDeprecated,
+                "createdAt": createdAt,
+                "updatedAt": updatedAt,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 114 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsEdit.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药品说明书表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxDrugInstructions-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">MDM编码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mdmCode" placeholder="MDM编码" th:value="${mdmCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">商品名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="productName" placeholder="商品名" th:value="${productName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">通用名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="genericName" placeholder="通用名" th:value="${genericName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">规格:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="specification" placeholder="规格" th:value="${specification}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">生产厂家:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="manufacturer" placeholder="生产厂家" th:value="${manufacturer}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">产地:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="origin" placeholder="产地" th:value="${origin}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">是否弃用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="isDeprecated" placeholder="是否弃用" th:value="${isDeprecated}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpZskcxDrugInstructions-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxdruginstructions/sDtpZskcxDrugInstructionsEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 229 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsList.html

@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('药品说明书表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpZskcxDrugInstructions-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                MDM编码:<input type="text" class="styled-input" name="mdmCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                商品名:<input type="text" class="styled-input" name="productName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                通用名:<input type="text" class="styled-input" name="genericName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                规格:<input type="text" class="styled-input" name="specification" autocomplete="off"/>
+                            </li>
+                            <li>
+                                生产厂家:<input type="text" class="styled-input" name="manufacturer" autocomplete="off"/>
+                            </li>
+                            <li>
+                                产地:<input type="text" class="styled-input" name="origin" autocomplete="off"/>
+                            </li>
+                            <li>
+                                是否弃用:<input type="text" class="styled-input" name="isDeprecated" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdAt" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedAt" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpzskcxdruginstructions";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpZskcxDrugInstructionsList",
+            viewUrl: prefix + "/sDtpZskcxDrugInstructionsView/{id}",
+            createUrl: prefix + "/sDtpZskcxDrugInstructionsAdd",
+            updateUrl: prefix + "/sDtpZskcxDrugInstructionsEdit/{id}",
+            removeUrl: prefix + "/sDtpZskcxDrugInstructionsRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "药品说明书表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'mdmCode', title: 'MDM编码', align: 'center' },
+                    { field: 'productName', title: '商品名', align: 'center' },
+                    { field: 'genericName', title: '通用名', align: 'center' },
+                    { field: 'specification', title: '规格', align: 'center' },
+                    { field: 'manufacturer', title: '生产厂家', align: 'center' },
+                    { field: 'origin', title: '产地', align: 'center' },
+                    { field: 'isDeprecated', title: '是否弃用', align: 'center' },
+                    { field: 'createdAt', title: '创建时间', align: 'center' },
+                    { field: 'updatedAt', title: '更新时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpZskcxDrugInstructions-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpZskcxDrugInstructions-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 105 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxDrugInstructionsPageEdit.html

@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药品说明书表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxDrugInstructions-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">MDM编码:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="mdmCode" placeholder="MDM编码" th:value="${mdmCode}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">商品名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="productName" placeholder="商品名" th:value="${productName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">通用名:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="genericName" placeholder="通用名" th:value="${genericName}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">规格:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="specification" placeholder="规格" th:value="${specification}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">生产厂家:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="manufacturer" placeholder="生产厂家" th:value="${manufacturer}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">产地:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="origin" placeholder="产地" th:value="${origin}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">是否弃用:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="isDeprecated" placeholder="是否弃用" th:value="${isDeprecated}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedAt" placeholder="更新时间" th:value="${updatedAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpzskcxdruginstructions";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpZskcxDrugInstructions-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpZskcxDrugInstructionsEdit", data);
+        }
+    }
+</script>

+ 121 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceAdd.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访指导管理表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">标题:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="title" id="title" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">分类:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="category" id="category" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">关联药品,可以存储多个药品,用逗号分隔:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="associatedDrugs" id="associatedDrugs" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">关联疾病,可以存储多个疾病,用逗号分隔:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="associatedDiseases" id="associatedDiseases" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">疾病病程,用于描述疾病的进展过程:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="diseaseCourse" id="diseaseCourse" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdTime" id="createdTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedTime" id="updatedTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var title = $("input[name='title']").val();
+           var category = $("input[name='category']").val();
+           var associatedDrugs = $("input[name='associatedDrugs']").val();
+           var associatedDiseases = $("input[name='associatedDiseases']").val();
+           var diseaseCourse = $("input[name='diseaseCourse']").val();
+           var createdBy = $("input[name='createdBy']").val();
+           var createdTime = $("input[name='createdTime']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+           var updatedTime = $("input[name='updatedTime']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxfollowupguidance/sDtpZskcxFollowUpGuidanceAdd",
+            data : {
+                "title": title,
+                "category": category,
+                "associatedDrugs": associatedDrugs,
+                "associatedDiseases": associatedDiseases,
+                "diseaseCourse": diseaseCourse,
+                "createdBy": createdBy,
+                "createdTime": createdTime,
+                "updatedBy": updatedBy,
+                "updatedTime": updatedTime,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 114 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceEdit.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访指导管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxFollowUpGuidance-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">标题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="title" placeholder="标题" th:value="${title}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">分类:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="category" placeholder="分类" th:value="${category}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关联药品,可以存储多个药品,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="associatedDrugs" placeholder="关联药品,可以存储多个药品,用逗号分隔" th:value="${associatedDrugs}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关联疾病,可以存储多个疾病,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="associatedDiseases" placeholder="关联疾病,可以存储多个疾病,用逗号分隔" th:value="${associatedDiseases}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">疾病病程,用于描述疾病的进展过程:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="diseaseCourse" placeholder="疾病病程,用于描述疾病的进展过程" th:value="${diseaseCourse}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpZskcxFollowUpGuidance-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxfollowupguidance/sDtpZskcxFollowUpGuidanceEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 229 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidanceList.html

@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('随访指导管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpZskcxFollowUpGuidance-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                标题:<input type="text" class="styled-input" name="title" autocomplete="off"/>
+                            </li>
+                            <li>
+                                分类:<input type="text" class="styled-input" name="category" autocomplete="off"/>
+                            </li>
+                            <li>
+                                关联药品,可以存储多个药品,用逗号分隔:<input type="text" class="styled-input" name="associatedDrugs" autocomplete="off"/>
+                            </li>
+                            <li>
+                                关联疾病,可以存储多个疾病,用逗号分隔:<input type="text" class="styled-input" name="associatedDiseases" autocomplete="off"/>
+                            </li>
+                            <li>
+                                疾病病程,用于描述疾病的进展过程:<input type="text" class="styled-input" name="diseaseCourse" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedTime" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpzskcxfollowupguidance";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpZskcxFollowUpGuidanceList",
+            viewUrl: prefix + "/sDtpZskcxFollowUpGuidanceView/{id}",
+            createUrl: prefix + "/sDtpZskcxFollowUpGuidanceAdd",
+            updateUrl: prefix + "/sDtpZskcxFollowUpGuidanceEdit/{id}",
+            removeUrl: prefix + "/sDtpZskcxFollowUpGuidanceRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "随访指导管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'title', title: '标题', align: 'center' },
+                    { field: 'category', title: '分类', align: 'center' },
+                    { field: 'associatedDrugs', title: '关联药品,可以存储多个药品,用逗号分隔', align: 'center' },
+                    { field: 'associatedDiseases', title: '关联疾病,可以存储多个疾病,用逗号分隔', align: 'center' },
+                    { field: 'diseaseCourse', title: '疾病病程,用于描述疾病的进展过程', align: 'center' },
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'createdTime', title: '创建时间', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+                    { field: 'updatedTime', title: '更新时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpZskcxFollowUpGuidance-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpZskcxFollowUpGuidance-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 105 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxFollowUpGuidancePageEdit.html

@@ -0,0 +1,105 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('随访指导管理表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxFollowUpGuidance-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">标题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="title" placeholder="标题" th:value="${title}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">分类:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="category" placeholder="分类" th:value="${category}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关联药品,可以存储多个药品,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="associatedDrugs" placeholder="关联药品,可以存储多个药品,用逗号分隔" th:value="${associatedDrugs}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">关联疾病,可以存储多个疾病,用逗号分隔:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="associatedDiseases" placeholder="关联疾病,可以存储多个疾病,用逗号分隔" th:value="${associatedDiseases}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">疾病病程,用于描述疾病的进展过程:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="diseaseCourse" placeholder="疾病病程,用于描述疾病的进展过程" th:value="${diseaseCourse}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpzskcxfollowupguidance";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpZskcxFollowUpGuidance-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpZskcxFollowUpGuidanceEdit", data);
+        }
+    }
+</script>

+ 113 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareAdd.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学信息收集分享药学科普表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdBy" id="createdBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建日期:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdDate" id="createdDate" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">文章标题:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="articleTitle" id="articleTitle" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">分类:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="category" id="category" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">来源门店:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="sourceStore" id="sourceStore" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdTime" id="createdTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedBy" id="updatedBy" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="updatedTime" id="updatedTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var createdBy = $("input[name='createdBy']").val();
+           var createdDate = $("input[name='createdDate']").val();
+           var articleTitle = $("input[name='articleTitle']").val();
+           var category = $("input[name='category']").val();
+           var sourceStore = $("input[name='sourceStore']").val();
+           var createdTime = $("input[name='createdTime']").val();
+           var updatedBy = $("input[name='updatedBy']").val();
+           var updatedTime = $("input[name='updatedTime']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxpharmaceuticalshare/sDtpZskcxPharmaceuticalShareAdd",
+            data : {
+                "createdBy": createdBy,
+                "createdDate": createdDate,
+                "articleTitle": articleTitle,
+                "category": category,
+                "sourceStore": sourceStore,
+                "createdTime": createdTime,
+                "updatedBy": updatedBy,
+                "updatedTime": updatedTime,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 108 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareEdit.html

@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学信息收集分享药学科普表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxPharmaceuticalShare-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">文章标题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="articleTitle" placeholder="文章标题" th:value="${articleTitle}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">分类:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="category" placeholder="分类" th:value="${category}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">来源门店:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="sourceStore" placeholder="来源门店" th:value="${sourceStore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpZskcxPharmaceuticalShare-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxpharmaceuticalshare/sDtpZskcxPharmaceuticalShareEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 225 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalShareList.html

@@ -0,0 +1,225 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('药学信息收集分享药学科普表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpZskcxPharmaceuticalShare-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                创建人:<input type="text" class="styled-input" name="createdBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建日期:<input type="text" class="styled-input" name="createdDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                文章标题:<input type="text" class="styled-input" name="articleTitle" autocomplete="off"/>
+                            </li>
+                            <li>
+                                分类:<input type="text" class="styled-input" name="category" autocomplete="off"/>
+                            </li>
+                            <li>
+                                来源门店:<input type="text" class="styled-input" name="sourceStore" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新人:<input type="text" class="styled-input" name="updatedBy" autocomplete="off"/>
+                            </li>
+                            <li>
+                                更新时间:<input type="text" class="styled-input" name="updatedTime" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpzskcxpharmaceuticalshare";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpZskcxPharmaceuticalShareList",
+            viewUrl: prefix + "/sDtpZskcxPharmaceuticalShareView/{id}",
+            createUrl: prefix + "/sDtpZskcxPharmaceuticalShareAdd",
+            updateUrl: prefix + "/sDtpZskcxPharmaceuticalShareEdit/{id}",
+            removeUrl: prefix + "/sDtpZskcxPharmaceuticalShareRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "药学信息收集分享药学科普表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'createdBy', title: '创建人', align: 'center' },
+                    { field: 'createdDate', title: '创建日期', align: 'center' },
+                    { field: 'articleTitle', title: '文章标题', align: 'center' },
+                    { field: 'category', title: '分类', align: 'center' },
+                    { field: 'sourceStore', title: '来源门店', align: 'center' },
+                    { field: 'createdTime', title: '创建时间', align: 'center' },
+                    { field: 'updatedBy', title: '更新人', align: 'center' },
+                    { field: 'updatedTime', title: '更新时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpZskcxPharmaceuticalShare-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpZskcxPharmaceuticalShare-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 99 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmaceuticalSharePageEdit.html

@@ -0,0 +1,99 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学信息收集分享药学科普表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxPharmaceuticalShare-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建日期:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">文章标题:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="articleTitle" placeholder="文章标题" th:value="${articleTitle}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">分类:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="category" placeholder="分类" th:value="${category}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">来源门店:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="sourceStore" placeholder="来源门店" th:value="${sourceStore}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdTime" placeholder="创建时间" th:value="${createdTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedBy" placeholder="更新人" th:value="${updatedBy}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="updatedTime" placeholder="更新时间" th:value="${updatedTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpzskcxpharmaceuticalshare";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpZskcxPharmaceuticalShare-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpZskcxPharmaceuticalShareEdit", data);
+        }
+    }
+</script>

+ 89 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceAdd.html

@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学警戒表新增')" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<body class="white-bg">
+<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+    <form class="form-horizontal m" id="form-role-add">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                            <label class="col-sm-3 control-label">最后更新时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="lastUpdateTime" id="lastUpdateTime" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">名称:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="name" id="name" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">介绍:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="introduction" id="introduction" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">警戒创建人:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="alertCreator" id="alertCreator" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                            <label class="col-sm-3 control-label">创建时间:</label>
+                            <div class="col-sm-3">
+                                <div class="input-group">
+                                    <input name="createdAt" id="createdAt" class="styled-input" type="text" maxlength="255" >
+                                </div>
+                            </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: ztree-js" />
+<script type="text/javascript">
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            add();
+        }
+    }
+
+    function add() {
+           var lastUpdateTime = $("input[name='lastUpdateTime']").val();
+           var name = $("input[name='name']").val();
+           var introduction = $("input[name='introduction']").val();
+           var alertCreator = $("input[name='alertCreator']").val();
+           var createdAt = $("input[name='createdAt']").val();
+
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxpharmacovigilance/sDtpZskcxPharmacovigilanceAdd",
+            data : {
+                "lastUpdateTime": lastUpdateTime,
+                "name": name,
+                "introduction": introduction,
+                "alertCreator": alertCreator,
+                "createdAt": createdAt,
+            },
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+</script>
+</body>
+</html>

+ 90 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceEdit.html

@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学警戒表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxPharmacovigilance-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">最后更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastUpdateTime" placeholder="最后更新时间" th:value="${lastUpdateTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="name" placeholder="名称" th:value="${name}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">介绍:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="introduction" placeholder="介绍" th:value="${introduction}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">警戒创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="alertCreator" placeholder="警戒创建人" th:value="${alertCreator}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <!--<button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>-->
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function edit() {
+        var data = $("#form-SDtpZskcxPharmacovigilance-edit").serializeArray();
+        $.ajax({
+            cache : true,
+            type : "POST",
+            url : ctx + "dtp/sdtpzskcxpharmacovigilance/sDtpZskcxPharmacovigilanceEdit",
+            data : data,
+            async : false,
+            error : function(request) {
+                $.modal.alertError("系统错误");
+            },
+            success : function(data) {
+                $.operate.successCallback(data);
+            }
+        });
+    }
+
+    function submitHandler() {
+        if ($.validate.form()) {
+            edit();
+        }
+    }
+</script>

+ 213 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilanceList.html

@@ -0,0 +1,213 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('药学警戒表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SDtpZskcxPharmacovigilance-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                最后更新时间:<input type="text" class="styled-input" name="lastUpdateTime" autocomplete="off"/>
+                            </li>
+                            <li>
+                                名称:<input type="text" class="styled-input" name="name" autocomplete="off"/>
+                            </li>
+                            <li>
+                                介绍:<input type="text" class="styled-input" name="introduction" autocomplete="off"/>
+                            </li>
+                            <li>
+                                警戒创建人:<input type="text" class="styled-input" name="alertCreator" autocomplete="off"/>
+                            </li>
+                            <li>
+                                创建时间:<input type="text" class="styled-input" name="createdAt" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "dtp/sdtpzskcxpharmacovigilance";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sDtpZskcxPharmacovigilanceList",
+            viewUrl: prefix + "/sDtpZskcxPharmacovigilanceView/{id}",
+            createUrl: prefix + "/sDtpZskcxPharmacovigilanceAdd",
+            updateUrl: prefix + "/sDtpZskcxPharmacovigilanceEdit/{id}",
+            removeUrl: prefix + "/sDtpZskcxPharmacovigilanceRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "药学警戒表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'lastUpdateTime', title: '最后更新时间', align: 'center' },
+                    { field: 'name', title: '名称', align: 'center' },
+                    { field: 'introduction', title: '介绍', align: 'center' },
+                    { field: 'alertCreator', title: '警戒创建人', align: 'center' },
+                    { field: 'createdAt', title: '创建时间', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                            actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SDtpZskcxPharmacovigilance-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SDtpZskcxPharmacovigilance-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 81 - 0
health-admin/src/main/resources/templates/dtp/SDtpZskcxPharmacovigilancePageEdit.html

@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('药学警戒表修改')" />
+</head>
+<style>
+
+</style>
+<script>
+
+</script>
+<body>
+<div class="ui-layout-center">
+    <form class="form-horizontal" id="form-SDtpZskcxPharmacovigilance-edit" th:object="${user}">
+        <h4 class="form-header h4">基本信息</h4>
+        <input type="hidden" id="id" name="id" th:value="${id}">
+        <div class="row">
+            <div class="col-sm-12">
+                <div class="form-group">
+                    <!--is-required 增加星号 显示为必填-->
+                    <label class="col-sm-1 control-label">最后更新时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="lastUpdateTime" placeholder="最后更新时间" th:value="${lastUpdateTime}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">名称:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="name" placeholder="名称" th:value="${name}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">介绍:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="introduction" placeholder="介绍" th:value="${introduction}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">警戒创建人:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="alertCreator" placeholder="警戒创建人" th:value="${alertCreator}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                    <label class="col-sm-1 control-label">创建时间:</label>
+                    <div class="col-sm-2">
+                        <div class="input-group">
+                            <input name="createdAt" placeholder="创建时间" th:value="${createdAt}" class="styled-input" type="text" maxlength="255" required>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </form>
+</div>
+<div class="main-content">
+    <div class="col-sm-offset-5 col-sm-10">
+        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
+        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
+    </div>
+</div>
+<th:block th:include="include :: footer" />
+</body>
+</html>
+
+<script>
+    function submitHandler() {
+        var prefix = ctx + "dtp/sdtpzskcxpharmacovigilance";
+        if ($.validate.form()) {
+            var data = $("#form-SDtpZskcxPharmacovigilance-edit").serializeArray();
+            /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
+            var roleIds = $.form.selectCheckeds("role");
+            var postIds = $.form.selectSelects("post");
+            data.push({"name": "status", "value": status});
+            data.push({"name": "roleIds", "value": roleIds});
+            data.push({"name": "postIds", "value": postIds});*/
+            $.operate.saveTab(prefix + "/sDtpZskcxPharmacovigilanceEdit", data);
+        }
+    }
+</script>

+ 2 - 2
health-admin/src/main/resources/templates/dtp/cold/add.html

@@ -227,13 +227,13 @@
         }
     }
 
-    /* 用户管理-新增-选择门树 */
+    /* 用户管理-新增-选择门树 */
     function selectDeptTree() {
         var treeId = $("#treeId").val();
         var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
         var url = ctx + "system/user/selectDeptTree/" + deptId;
         var options = {
-            title: '选择门',
+            title: '选择门',
             width: "380",
             url: url,
             callBack: doSubmit

+ 2 - 2
health-admin/src/main/resources/templates/dtp/cold/cold.html

@@ -271,13 +271,13 @@
 		    $.table.init(options);
 		}
 
-		/* 用户管理-新增-选择门树 */
+		/* 用户管理-新增-选择门树 */
 		function selectDeptTree() {
 			var treeId = $("#treeId").val();
 			var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
 			var url = ctx + "system/user/selectDeptTree/" + deptId;
 			var options = {
-				title: '选择门',
+				title: '选择门',
 				width: "380",
 				url: url,
 				callBack: doSubmit

+ 2 - 2
health-admin/src/main/resources/templates/dtp/cold/edit.html

@@ -212,13 +212,13 @@
 
 <script>
 
-    /* 用户管理-新增-选择门树 */
+    /* 用户管理-新增-选择门树 */
     function selectDeptTree() {
         var treeId = $("#treeId").val();
         var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
         var url = ctx + "system/user/selectDeptTree/" + deptId;
         var options = {
-            title: '选择门',
+            title: '选择门',
             width: "380",
             url: url,
             callBack: doSubmit

+ 2 - 2
health-admin/src/main/resources/templates/dtp/configInfo/AssociatedPrescription.html

@@ -116,13 +116,13 @@
 	$('#btnRefresh').click(function() {
 	});
 
-	/* 用户管理-新增-选择门树 */
+	/* 用户管理-新增-选择门树 */
 	function selectDeptTree() {
 		var treeId = $("#treeId").val();
 		var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
 		var url = ctx + "system/user/selectDeptTree/" + deptId;
 		var options = {
-			title: '选择门',
+			title: '选择门',
 			width: "380",
 			url: url,
 			callBack: doSubmit

+ 2 - 2
health-admin/src/main/resources/templates/dtp/configInfo/addDrug.html

@@ -227,13 +227,13 @@
         }
     }
 
-    /* 用户管理-新增-选择门树 */
+    /* 用户管理-新增-选择门树 */
     function selectDeptTree() {
         var treeId = $("#treeId").val();
         var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
         var url = ctx + "system/user/selectDeptTree/" + deptId;
         var options = {
-            title: '选择门',
+            title: '选择门',
             width: "380",
             url: url,
             callBack: doSubmit

Some files were not shown because too many files changed in this diff