diff --git a/ruoyi-admin/src/main/resources/application-prop.yml b/ruoyi-admin/src/main/resources/application-prop.yml index 328d30f1c..ddb00e3a6 100644 --- a/ruoyi-admin/src/main/resources/application-prop.yml +++ b/ruoyi-admin/src/main/resources/application-prop.yml @@ -12,10 +12,10 @@ spring: # 从库数据源 slave: # 从数据源开关/默认关闭 - enabled: false - url: - username: - password: + enabled: true + url: jdbc:mysql://120.77.157.122:3306/gch?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: gch + password: phJAccAEKaswNfK6 # 初始连接数 initialSize: 5 # 最小连接池数量 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDefaultDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDefaultDaoController.java new file mode 100644 index 000000000..967e786ee --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDefaultDaoController.java @@ -0,0 +1,100 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtFoodDefaultDao; +import com.ruoyi.system.fantang.service.IFtFoodDefaultDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 默认报餐管理Controller + * + * @author ft + * @date 2020-11-25 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/foodDefault") +public class FtFoodDefaultDaoController extends BaseController { + + private final IFtFoodDefaultDaoService iFtFoodDefaultDaoService; + + /** + * 查询默认报餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:list')") + @GetMapping("/list") + public TableDataInfo list(FtFoodDefaultDao ftFoodDefaultDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftFoodDefaultDao); + if (ftFoodDefaultDao.getType() != null) { + lqw.eq(FtFoodDefaultDao::getType, ftFoodDefaultDao.getType()); + } + List list = iFtFoodDefaultDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出默认报餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:export')") + @Log(title = "默认报餐管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtFoodDefaultDao ftFoodDefaultDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftFoodDefaultDao); + List list = iFtFoodDefaultDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtFoodDefaultDao.class); + return util.exportExcel(list, "foodDefault"); + } + + /** + * 获取默认报餐管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) { + return AjaxResult.success(iFtFoodDefaultDaoService.getById(id)); + } + + /** + * 新增默认报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:add')") + @Log(title = "默认报餐管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtFoodDefaultDao ftFoodDefaultDao) { + return toAjax(iFtFoodDefaultDaoService.save(ftFoodDefaultDao) ? 1 : 0); + } + + /** + * 修改默认报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:edit')") + @Log(title = "默认报餐管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtFoodDefaultDao ftFoodDefaultDao) { + return toAjax(iFtFoodDefaultDaoService.updateById(ftFoodDefaultDao) ? 1 : 0); + } + + /** + * 删除默认报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:foodDefault:remove')") + @Log(title = "默认报餐管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) { + return toAjax(iFtFoodDefaultDaoService.removeByIds(Arrays.asList(ids)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java deleted file mode 100644 index 770d0b32f..000000000 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java +++ /dev/null @@ -1,109 +0,0 @@ -package com.ruoyi.system.fantang.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.toolkit.Wrappers; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; -import com.ruoyi.system.fantang.service.IFtSpecialDemandDaoService; -import lombok.RequiredArgsConstructor; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.*; - -import java.util.Arrays; -import java.util.List; - -/** - * 特殊用餐管理Controller - * - * @author ft - * @date 2020-11-19 - */ -@RequiredArgsConstructor(onConstructor_ = @Autowired) -@RestController -@RequestMapping("/fantang/demand") -public class FtSpecialDemandDaoController extends BaseController { - - private final IFtSpecialDemandDaoService iFtSpecialDemandDaoService; - - /** - * 查询特殊用餐管理列表 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:list')") - @GetMapping("/list") - public TableDataInfo list(FtSpecialDemandDao ftSpecialDemandDao) { - startPage(); - LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftSpecialDemandDao); - if (ftSpecialDemandDao.getType() != null) { - lqw.eq(FtSpecialDemandDao::getType, ftSpecialDemandDao.getType()); - } - if (ftSpecialDemandDao.getCreateAt() != null) { - lqw.eq(FtSpecialDemandDao::getCreateAt, ftSpecialDemandDao.getCreateAt()); - } - if (ftSpecialDemandDao.getPrice() != null) { - lqw.eq(FtSpecialDemandDao::getPrice, ftSpecialDemandDao.getPrice()); - } - if (ftSpecialDemandDao.getTerm() != null) { - lqw.eq(FtSpecialDemandDao::getTerm, ftSpecialDemandDao.getTerm()); - } - List list = iFtSpecialDemandDaoService.list(lqw); - return getDataTable(list); - } - - /** - * 导出特殊用餐管理列表 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:export')") - @Log(title = "特殊用餐管理", businessType = BusinessType.EXPORT) - @GetMapping("/export") - public AjaxResult export(FtSpecialDemandDao ftSpecialDemandDao) { - LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftSpecialDemandDao); - List list = iFtSpecialDemandDaoService.list(lqw); - ExcelUtil util = new ExcelUtil(FtSpecialDemandDao.class); - return util.exportExcel(list, "demand"); - } - - /** - * 获取特殊用餐管理详细信息 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:query')") - @GetMapping(value = "/{id}") - public AjaxResult getInfo(@PathVariable("id") Long id) { - return AjaxResult.success(iFtSpecialDemandDaoService.getById(id)); - } - - /** - * 新增特殊用餐管理 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:add')") - @Log(title = "特殊用餐管理", businessType = BusinessType.INSERT) - @PostMapping - public AjaxResult add(@RequestBody FtSpecialDemandDao ftSpecialDemandDao) { - return toAjax(iFtSpecialDemandDaoService.save(ftSpecialDemandDao) ? 1 : 0); - } - - /** - * 修改特殊用餐管理 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:edit')") - @Log(title = "特殊用餐管理", businessType = BusinessType.UPDATE) - @PutMapping - public AjaxResult edit(@RequestBody FtSpecialDemandDao ftSpecialDemandDao) { - return toAjax(iFtSpecialDemandDaoService.updateById(ftSpecialDemandDao) ? 1 : 0); - } - - /** - * 删除特殊用餐管理 - */ - @PreAuthorize("@ss.hasPermi('fantang:demand:remove')") - @Log(title = "特殊用餐管理", businessType = BusinessType.DELETE) - @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(iFtSpecialDemandDaoService.removeByIds(Arrays.asList(ids)) ? 1 : 0); - } -} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDefaultDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDefaultDao.java new file mode 100644 index 000000000..ef1a7a6f7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDefaultDao.java @@ -0,0 +1,59 @@ +package com.ruoyi.system.fantang.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; +import com.ruoyi.common.annotation.Excel; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import java.io.Serializable; +import java.util.Date; +import java.math.BigDecimal; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 默认报餐管理对象 ft_food_default + * + * @author ft + * @date 2020-11-25 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_food_default") +public class FtFoodDefaultDao implements Serializable { + +private static final long serialVersionUID=1L; + + + /** id */ + @TableId(value = "id") + private Long id; + + /** 报餐类型 */ + @Excel(name = "报餐类型") + private Long type; + + /** 菜品列表 */ + private String foodList; + + /** 创建日期 */ + @Excel(name = "创建日期" , width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createdAt; + + /** 创建人 */ + private Long createdBy; + + /** 更新日期 */ + private Date updatedAt; + + /** 更新人 */ + private Long updatedBy; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java deleted file mode 100644 index a93e96b61..000000000 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.ruoyi.system.fantang.domain; - -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.ruoyi.common.annotation.Excel; -import lombok.Data; -import lombok.EqualsAndHashCode; -import lombok.NoArgsConstructor; -import lombok.ToString; -import lombok.experimental.Accessors; - -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -/** - * 特殊用餐管理对象 ft_special_demand - * - * @author ft - * @date 2020-11-19 - */ -@Data -@ToString -@EqualsAndHashCode -@NoArgsConstructor -@Accessors(chain = true) -@TableName("ft_special_demand") -public class FtSpecialDemandDao implements Serializable { - - private static final long serialVersionUID = 1L; - - - /** - * id - */ - @TableId(value = "id") - private Long id; - - /** - * 病人id - */ - private Long patientId; - - /** - * 订单详情 - */ - @Excel(name = "订单详情") - private String foods; - - /** - * 用餐类型 - */ - @Excel(name = "用餐类型") - private Long type; - - /** - * 创建时间 - */ - @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private Date createAt; - - /** - * 创建人 - */ - private Long createBy; - - /** - * 总价 - */ - @Excel(name = "总价") - private BigDecimal price; - - /** - * 有效期 - */ - @Excel(name = "有效期") - private Long term; - - /** - * 更新日期 - */ - private Date updateAt; - - /** - * 更新操作人 id - */ - private Long updateBy; -} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDefaultDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDefaultDaoMapper.java new file mode 100644 index 000000000..82eba136d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDefaultDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.ruoyi.system.fantang.domain.FtFoodDefaultDao; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * 默认报餐管理Mapper接口 + * + * @author ft + * @date 2020-11-25 + */ +public interface FtFoodDefaultDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java deleted file mode 100644 index a4e928efb..000000000 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.ruoyi.system.fantang.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; - -/** - * 特殊用餐管理Mapper接口 - * - * @author ft - * @date 2020-11-19 - */ -public interface FtSpecialDemandDaoMapper extends BaseMapper { - -} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDefaultDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDefaultDaoService.java new file mode 100644 index 000000000..de7a8221d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDefaultDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.ruoyi.system.fantang.domain.FtFoodDefaultDao; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * 默认报餐管理Service接口 + * + * @author ft + * @date 2020-11-25 + */ +public interface IFtFoodDefaultDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java deleted file mode 100644 index 83ea2a2c0..000000000 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.ruoyi.system.fantang.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; - -/** - * 特殊用餐管理Service接口 - * - * @author ft - * @date 2020-11-19 - */ -public interface IFtSpecialDemandDaoService extends IService { - -} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDefaultDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDefaultDaoServiceImpl.java new file mode 100644 index 000000000..66e237d90 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDefaultDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.mapper.FtFoodDefaultDaoMapper; +import com.ruoyi.system.fantang.domain.FtFoodDefaultDao; +import com.ruoyi.system.fantang.service.IFtFoodDefaultDaoService; + +/** + * 默认报餐管理Service业务层处理 + * + * @author ft + * @date 2020-11-25 + */ +@Service +public class FtFoodDefaultDaoServiceImpl extends ServiceImpl implements IFtFoodDefaultDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java deleted file mode 100644 index be172fa43..000000000 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.ruoyi.system.fantang.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; -import com.ruoyi.system.fantang.mapper.FtSpecialDemandDaoMapper; -import com.ruoyi.system.fantang.service.IFtSpecialDemandDaoService; -import org.springframework.stereotype.Service; - -/** - * 特殊用餐管理Service业务层处理 - * - * @author ft - * @date 2020-11-19 - */ -@Service -public class FtSpecialDemandDaoServiceImpl extends ServiceImpl implements IFtSpecialDemandDaoService { - -} diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDefaultDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDefaultDaoMapper.xml new file mode 100644 index 000000000..7813c5c19 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDefaultDaoMapper.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml deleted file mode 100644 index 74c6ed309..000000000 --- a/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/foodDefault.js b/ruoyi-ui/src/api/fantang/foodDefault.js new file mode 100644 index 000000000..38594fb5a --- /dev/null +++ b/ruoyi-ui/src/api/fantang/foodDefault.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询默认报餐管理列表 +export function listFoodDefault(query) { + return request({ + url: '/fantang/foodDefault/list', + method: 'get', + params: query + }) +} + +// 查询默认报餐管理详细 +export function getFoodDefault(id) { + return request({ + url: '/fantang/foodDefault/' + id, + method: 'get' + }) +} + +// 新增默认报餐管理 +export function addFoodDefault(data) { + return request({ + url: '/fantang/foodDefault', + method: 'post', + data: data + }) +} + +// 修改默认报餐管理 +export function updateFoodDefault(data) { + return request({ + url: '/fantang/foodDefault', + method: 'put', + data: data + }) +} + +// 删除默认报餐管理 +export function delFoodDefault(id) { + return request({ + url: '/fantang/foodDefault/' + id, + method: 'delete' + }) +} + +// 导出默认报餐管理 +export function exportFoodDefault(query) { + return request({ + url: '/fantang/foodDefault/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue index 618ed55eb..4803a3d4a 100644 --- a/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue +++ b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue @@ -169,7 +169,6 @@ import { careStaffList, delStaffInfo, exportStaffInfo, - getStaffInfo, getNursingInfo, updateNursingInfo, } from "@/api/fantang/staffInfo"; diff --git a/ruoyi-ui/src/views/fantang/foodDefault/index.vue b/ruoyi-ui/src/views/fantang/foodDefault/index.vue new file mode 100644 index 000000000..a25555a2f --- /dev/null +++ b/ruoyi-ui/src/views/fantang/foodDefault/index.vue @@ -0,0 +1,312 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/staffInfo/index.vue b/ruoyi-ui/src/views/fantang/staffInfo/index.vue index b4d6d6d75..5b6c4c4dc 100644 --- a/ruoyi-ui/src/views/fantang/staffInfo/index.vue +++ b/ruoyi-ui/src/views/fantang/staffInfo/index.vue @@ -160,10 +160,10 @@ > - - + + @@ -212,7 +212,7 @@ export default { components: {}, data() { return { - deptListOptions: [], + departIdOptions: [], sexOptions: [], postOptions: [], flagOptions: [{ @@ -268,8 +268,8 @@ export default { sex: [ {required: true, message: "性别不能为空", trigger: "change"} ], - deptList: [ - {required: true, message: "性别不能为空", trigger: "change"} + departId: [ + {required: true, message: "科室不能为空", trigger: "change"} ], tel: [ {required: true, message: "手机号码不能为空", trigger: "change"} @@ -305,7 +305,7 @@ export default { console.log("flag-----", response); }); listDepart(this.queryParams).then(response => { - this.deptListOptions = response.rows; + this.departIdOptions = response.rows; }) }, // 取消按钮