jiangping
2025-04-16 34de82b3794a413b438b66e0aa8bcdbe8133f7d5
代码初始化
已修改5个文件
13 ■■■■■ 文件已修改
admin/src/components/business/OperaCategoryDcaProblemWindow.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/components/business/OperaCategoryWindow.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/java/com/doumee/api/web/WebMemberController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/java/com/doumee/core/constants/Constants.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/java/com/doumee/service/business/impl/CategoryServiceImpl.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/components/business/OperaCategoryDcaProblemWindow.vue
@@ -29,7 +29,7 @@
        </el-cascader>-->
      </el-form-item>
      <el-form-item label="排序码" prop="sortnum">
        <el-input v-model="form.sortnum" placeholder="请输入排序码(升序)" v-trim/>
        <el-input v-model="form.sortnum"  type="number" placeholder="请输入排序码(升序)" v-trim/>
      </el-form-item>
      <el-form-item label="备注" prop="remark">
        <el-input v-model="form.remark" type="textarea" placeholder="请输入备注" v-trim/>
@@ -142,6 +142,7 @@
      if (target == null) {
        this.$nextTick(() => {
          this.$refs.form.resetFields()
          this.form.parentId = parentId
          this.form[this.configData['field.id']] = null
          // this.form.categoryList = []
          /*if (parentIdPath && parentIdPath != null) {
admin/src/components/business/OperaCategoryWindow.vue
@@ -130,6 +130,7 @@
      if (target == null) {
        this.$nextTick(() => {
          this.$refs.form.resetFields()
          this.form.parentId = parentId
          this.form[this.configData['field.id']] = null
          this.form.categoryList = []
          /* if (parentIdPath && parentIdPath != null) {
server/src/main/java/com/doumee/api/web/WebMemberController.java
@@ -41,12 +41,10 @@
public class WebMemberController {
    @Resource
    private JwtTokenUtil jwtTokenUtil;
    @Resource
    private MemberService memberService;
    @Resource
    private SystemDictDataBiz systemDictDataBiz;
    @PreventRepeat(limit = 10, lockTime = 10000)
    @ApiOperation("H5业务登录")
server/src/main/java/com/doumee/core/constants/Constants.java
@@ -31,6 +31,8 @@
    public static final Integer TWO = 2;
    public static final Integer ZERO = 0;
    public static final Integer THREE = 3;
    public static final Integer FOUR = 4;
    public static final Integer SIX = 6;
    public static boolean WORKORDER_SHE_EMAIL_SENDING = false;
    public static  boolean DEALING_COMPANY_SYNC = false ;
    public static  boolean DEALING_MEMBER_SYNC = false ;
server/src/main/java/com/doumee/service/business/impl/CategoryServiceImpl.java
@@ -70,7 +70,10 @@
            if(parent == null || Constants.equalsInteger(parent.getIsdeleted(),Constants.ONE)){
                throw new BusinessException(ResponseStatus.DATA_EXISTS.getCode(), "对不起,父级信息不存在~");
            }
            if(Constants.equalsInteger(parent.getType(),Constants.FOUR) && parent.getParentId()!=null){
                //如果是二级CDA主题,自己为观察项
                category.setType(Constants.SIX);
            }
            idPath = parent.getIdPath();
            category.setIdPath(parent.getIdPath()+category.getId()+"/");
            category.setNamePath(parent.getNamePath()+"/"+category.getName());