-
@@ -379,7 +391,8 @@ export default {
children: 'children', // 告诉组件:子节点字段名是 `children`(可省略,默认就是 children)
disabled: 'disabled' // 可选:如果有禁用逻辑,可以加
},
-
+ messages:[],
+ input:[]
};
},
@@ -413,22 +426,26 @@ export default {
{
id: res.g01.id,
docTitle: res.g01.name,
- children: res.g01.children
+ children: res.g01.children,
+ expanded: true
},
{
id: res.g02.id,
docTitle: res.g02.name,
- children: res.g02.children
+ children: res.g02.children,
+
},
{
id: res.g03.id,
docTitle: res.g03.name,
- children: res.g03.children
+ children: res.g03.children,
+
},
{
id: res.g04.id,
docTitle: res.g04.name,
- children: res.g04.children
+ children: res.g04.children,
+
},
]
this.cascadeOptions2 = [
@@ -697,13 +714,15 @@ export default {
}
.input-new-tag {
- padding: 0px 12px;
+ padding: 0px 6px;
border:none;
border-radius: 4px;
font-size: 14px;
outline: none;
height: 30px;
margin-left: 0.5vw;
+ width: 160px;
+ border-radius: 2vw;
}
.input-new-tag:focus {
@@ -736,28 +755,22 @@ export default {
top: 5.4vw;
background-color: #f3f7ff;
position: absolute;
+ overflow: auto;
}
.input {
width: 350px;
margin-left: 3vw;
- height: 30px;
border-radius: 2vw;
background-color: rgba(255, 255, 255, 0.65);
border: 2px solid #0776ff;
text-indent: 1vw;
font-size: 1.2vw;
margin-right: 15px;
+ padding: 5px 0px;
}
-.searchInfo {
- margin-top: 8%;
- position: relative;
- display: flex;
- justify-content: center;
-
-}
.input::placeholder {
height: 30px;
@@ -858,5 +871,42 @@ export default {
.vue-treeselect__multi-value-item {
font-size: 16px;
}
+.module1{
+ width: 600px;margin-bottom: 19px;display: flex;align-items: center;
+}
+.group0{
+
+ position: relative;
+ display: flex;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+.group1{
+
+ position: relative;
+ display: flex;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+.group2{
+
+ position: relative;
+ display: flex;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+.module{
+ height: 170px;
+ overflow: auto;
+}
+.group0 .module1:last-of-type {
+ margin-bottom: 0;
+}
+.group1 .module1:last-of-type {
+ margin-bottom: 0;
+}
+.group2 .module1:last-of-type {
+ margin-bottom: 0;
+}
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java
index 6a04b2f..d6683b6 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java
@@ -703,7 +703,7 @@ public class ZhyFileManageController extends BaseController {
}
zhyFileManageService.wordSplitterOld(null , url +"\\wordSplitter", 0,list);
- zhyFileManageService.createIndex(url + "\\wordSplitter", "D:\\project\\gyx\\tupudata\\fileManager\\index");
+// zhyFileManageService.createIndex(url + "\\wordSplitter", "D:\\project\\gyx\\tupudata\\fileManager\\index");
test1Mapper.updateParentId(list);
diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java b/ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java
index b764619..407f5f7 100644
--- a/ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java
+++ b/ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java
@@ -1084,104 +1084,89 @@ public class DocApiController extends BaseController {
}
@GetMapping("/getTitleByGroup")
public Map getTitleByGroup(HttpServletRequest request) {
- String token = request.getHeader("Token");
- if (!token.equals("")) {
- token = tokenService.parseToken(token).get("login_user_key", String.class);
- reushToken.DeletToken(token);
- LoginUser loginUser1 = redisCache.getCacheObject("login_tokens:" + token);
- if (loginUser1 != null) {
- //查询所有一级标题
-
- List
g01=test1Mapper.selectDocByLevelByGroup(0l,1l);
- List g02=test1Mapper.selectDocByLevelByGroup(0l,2l);
- List g03=test1Mapper.selectDocByLevelByGroup(0l,3l);
- List g04=test1Mapper.selectDocByLevelByGroup(0l,4l);
-
+ //查询所有一级标题
+ List g01=test1Mapper.selectDocByLevelByGroup(0l,1l);
+ List g02=test1Mapper.selectDocByLevelByGroup(0l,2l);
+ List g03=test1Mapper.selectDocByLevelByGroup(0l,3l);
+ List g04=test1Mapper.selectDocByLevelByGroup(0l,4l);
- List g11=test1Mapper.selectDocByLevelByGroup(1l,1l);
- List g12=test1Mapper.selectDocByLevelByGroup(1l,2l);
- List g13=test1Mapper.selectDocByLevelByGroup(1l,3l);
- List g14=test1Mapper.selectDocByLevelByGroup(1l,4l);
- List g21=test1Mapper.selectDocByLevelByGroup(2l,1l);
- List g22=test1Mapper.selectDocByLevelByGroup(2l,2l);
+ List g11=test1Mapper.selectDocByLevelByGroup(1l,1l);
+ List g12=test1Mapper.selectDocByLevelByGroup(1l,2l);
+ List g13=test1Mapper.selectDocByLevelByGroup(1l,3l);
+ List g14=test1Mapper.selectDocByLevelByGroup(1l,4l);
- Map mapAll=new HashMap<>();
- Map map01=new HashMap<>();
- map01.put("id",1);
- map01.put("name","方向");
- map01.put("children",g01);
+ List g21=test1Mapper.selectDocByLevelByGroup(2l,1l);
+ List g22=test1Mapper.selectDocByLevelByGroup(2l,2l);
- Map map02=new HashMap<>();
- map02.put("id",2);
- map02.put("name","作战");
- map02.put("children",g02);
+ Map mapAll=new HashMap<>();
+ Map map01=new HashMap<>();
+ map01.put("id",1);
+ map01.put("name","方向");
+ map01.put("children",g01);
- Map map03=new HashMap<>();
- map03.put("id",3);
- map03.put("name","装备");
- map03.put("children",g03);
+ Map map02=new HashMap<>();
+ map02.put("id",2);
+ map02.put("name","作战");
+ map02.put("children",g02);
- Map map04=new HashMap<>();
- map04.put("id",4);
- map04.put("name","环境");
- map04.put("children",g04);
+ Map map03=new HashMap<>();
+ map03.put("id",3);
+ map03.put("name","装备");
+ map03.put("children",g03);
- Map map11=new HashMap<>();
- map11.put("id",1);
- map11.put("name","业务系统");
- map11.put("children",g11);
+ Map map04=new HashMap<>();
+ map04.put("id",4);
+ map04.put("name","环境");
+ map04.put("children",g04);
- Map map12=new HashMap<>();
- map12.put("id",2);
- map12.put("name","模型库");
- map12.put("children",g12);
+ Map map11=new HashMap<>();
+ map11.put("id",1);
+ map11.put("name","业务系统");
+ map11.put("children",g11);
- Map map13=new HashMap<>();
- map13.put("id",3);
- map13.put("name","规则库");
- map13.put("children",g13);
+ Map map12=new HashMap<>();
+ map12.put("id",2);
+ map12.put("name","模型库");
+ map12.put("children",g12);
- Map map14=new HashMap<>();
- map14.put("id",4);
- map14.put("name","大类数据");
- map14.put("children",g14);
+ Map map13=new HashMap<>();
+ map13.put("id",3);
+ map13.put("name","规则库");
+ map13.put("children",g13);
- Map map21=new HashMap<>();
- map21.put("id",1);
- map21.put("name","模型方法");
- map21.put("children",g21);
+ Map map14=new HashMap<>();
+ map14.put("id",4);
+ map14.put("name","大类数据");
+ map14.put("children",g14);
- Map map22=new HashMap<>();
- map22.put("id",2);
- map22.put("name","指标");
- map22.put("children",g22);
+ Map map21=new HashMap<>();
+ map21.put("id",1);
+ map21.put("name","模型方法");
+ map21.put("children",g21);
+ Map map22=new HashMap<>();
+ map22.put("id",2);
+ map22.put("name","指标");
+ map22.put("children",g22);
- mapAll.put("g01",map01);
- mapAll.put("g02",map02);
- mapAll.put("g03",map03);
- mapAll.put("g04",map04);
- mapAll.put("g11",map11);
- mapAll.put("g12",map12);
- mapAll.put("g13",map13);
- mapAll.put("g14",map14);
+ mapAll.put("g01",map01);
+ mapAll.put("g02",map02);
+ mapAll.put("g03",map03);
+ mapAll.put("g04",map04);
- mapAll.put("g21",map21);
- mapAll.put("g22",map22);
+ mapAll.put("g11",map11);
+ mapAll.put("g12",map12);
+ mapAll.put("g13",map13);
+ mapAll.put("g14",map14);
+ mapAll.put("g21",map21);
+ mapAll.put("g22",map22);
- return mapAll;
- } else {
- return null;
- }
- } else {
- return null;
- }
-
+ return mapAll;
}
@Autowired
BuildService buildService;
@@ -1244,7 +1229,7 @@ public class DocApiController extends BaseController {
}
@PostMapping("/buildTwo")
- public void buildTwo(HttpServletRequest request,@RequestBody Map data) throws JsonProcessingException {
+ public void buildTwo(HttpServletRequest request,@RequestBody Map data) throws JsonProcessingException, InterruptedException {
System.out.println(data);
// 存储结果:group -> type -> List(ID 列表)
@@ -1450,37 +1435,126 @@ public class DocApiController extends BaseController {
//如果中途嘎了java等待,然后20分钟去访问mysql时间最后一条数据
}
- public void goPython(String title1,String title2,List