Browse Source

Merge branch 'hanyuqing' of http://124.70.32.114:3100/jianzhenyu/Changsha_tupu into small-tupu

# Conflicts:
#	gyxtp/src/view/graphPageCopy0926.vue
small-tupu
菅振宇 6 months ago
parent
commit
6cb4224364
  1. 38
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java
  2. 11
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyRelationshipController.java
  3. 16
      ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java
  4. 106
      ruoyi-ui/src/views/system/docmuban/index.vue
  5. 16
      ruoyi-ui/src/views/system/fileManage/index.vue

38
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyFileManageController.java

@ -569,8 +569,8 @@ public class ZhyFileManageController extends BaseController {
List<ZhyDocmuban> lists11=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban); List<ZhyDocmuban> lists11=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban);
zhyDocmuban.setType("模型库"); zhyDocmuban.setType("模型库");
List<ZhyDocmuban> lists22=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban); List<ZhyDocmuban> lists22=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban);
zhyDocmuban.setType("规则库"); // zhyDocmuban.setType("规则库");
List<ZhyDocmuban> lists33=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban); // List<ZhyDocmuban> lists33=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban);
zhyDocmuban.setType("大类"); zhyDocmuban.setType("大类");
List<ZhyDocmuban> lists44=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban); List<ZhyDocmuban> lists44=zhyDocmubanMapper.selectZhyDocmubanList(zhyDocmuban);
zhyDocmuban.setType("小类"); zhyDocmuban.setType("小类");
@ -669,37 +669,37 @@ public class ZhyFileManageController extends BaseController {
// } // }
nodeList.add(zhyDoc); nodeList.add(zhyDoc);
} }
for(int i=0;i<lists33.size();i++){
ZhyDoc zhyDoc=new ZhyDoc();
zhyDoc.setDocTitle(lists33.get(i).getText());
zhyDoc.setContent(lists33.get(i).getContent());
zhyDoc.setDocLevel(3l);
zhyDoc.setGroupId(1l);
zhyDoc.setFileId(zhyFileManage.getId());
zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt");
// if(lists33.get(i).getParentId()!=null){
// zhyDoc.setDocParentId(lists33.get(i).getParentId());
// }
nodeList.add(zhyDoc);
}
for(int i=0;i<lists44.size();i++){ for(int i=0;i<lists44.size();i++){
ZhyDoc zhyDoc=new ZhyDoc(); ZhyDoc zhyDoc=new ZhyDoc();
zhyDoc.setDocTitle(lists44.get(i).getText()); zhyDoc.setDocTitle(lists44.get(i).getText());
zhyDoc.setContent(lists44.get(i).getContent()); zhyDoc.setContent(lists44.get(i).getContent());
zhyDoc.setDocLevel(4l); zhyDoc.setDocLevel(3l);
zhyDoc.setGroupId(1l); zhyDoc.setGroupId(1l);
zhyDoc.setFileId(zhyFileManage.getId()); zhyDoc.setFileId(zhyFileManage.getId());
zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt"); zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt");
// if(lists44.get(i).getParentId()!=null){ // if(lists33.get(i).getParentId()!=null){
// zhyDoc.setDocParentId(lists44.get(i).getParentId()); // zhyDoc.setDocParentId(lists33.get(i).getParentId());
// } // }
nodeList.add(zhyDoc); nodeList.add(zhyDoc);
} }
// for(int i=0;i<lists44.size();i++){
// ZhyDoc zhyDoc=new ZhyDoc();
// zhyDoc.setDocTitle(lists44.get(i).getText());
// zhyDoc.setContent(lists44.get(i).getContent());
// zhyDoc.setDocLevel(4l);
// zhyDoc.setGroupId(1l);
// zhyDoc.setFileId(zhyFileManage.getId());
// zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt");
//// if(lists44.get(i).getParentId()!=null){
//// zhyDoc.setDocParentId(lists44.get(i).getParentId());
//// }
// nodeList.add(zhyDoc);
// }
for(int i=0;i<lists55.size();i++){ for(int i=0;i<lists55.size();i++){
ZhyDoc zhyDoc=new ZhyDoc(); ZhyDoc zhyDoc=new ZhyDoc();
zhyDoc.setDocTitle(lists55.get(i).getText()); zhyDoc.setDocTitle(lists55.get(i).getText());
zhyDoc.setContent(lists55.get(i).getContent()); zhyDoc.setContent(lists55.get(i).getContent());
zhyDoc.setDocLevel(5l); zhyDoc.setDocLevel(4l);
zhyDoc.setGroupId(1l); zhyDoc.setGroupId(1l);
zhyDoc.setFileId(zhyFileManage.getId()); zhyDoc.setFileId(zhyFileManage.getId());
zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt"); zhyDoc.setDocUrl( url +"\\wordSplitter" + "\\" + zhyDoc.getDocTitle() + ".txt");

11
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZhyRelationshipController.java

@ -132,6 +132,7 @@ public class ZhyRelationshipController extends BaseController
@Log(title = "文章关系", businessType = BusinessType.INSERT) @Log(title = "文章关系", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody ZhyDocRelation zhyRelationship) throws IOException { public AjaxResult add(@RequestBody ZhyDocRelation zhyRelationship) throws IOException {
List<ZhyDoc> docs=test1Mapper.selectAllDoc1();
if(zhyRelationship.getFileList().size()>0){ if(zhyRelationship.getFileList().size()>0){
for(int i=0;i<zhyRelationship.getFileList().size();i++){ for(int i=0;i<zhyRelationship.getFileList().size();i++){
ZhyArticle article=new ZhyArticle(); ZhyArticle article=new ZhyArticle();
@ -148,7 +149,7 @@ public class ZhyRelationshipController extends BaseController
ZhyDoc vv = new ZhyDoc(); ZhyDoc vv = new ZhyDoc();
vv.setId(zhyRelationship.getSource()); vv.setId(zhyRelationship.getSource());
ZhyDoc dd = test1Mapper.selectDocById(vv); ZhyDoc dd = test1Mapper.selectDocById(vv);
List<ZhyDoc> docs=test1Mapper.selectAllDoc1();
if(dd==null){ if(dd==null){
ZhyFileManage fileManage=test1Mapper.getFileById(docs.get(0).getFileId()); ZhyFileManage fileManage=test1Mapper.getFileById(docs.get(0).getFileId());
zhyRelationship.setSourceName(fileManage.getFileName().replaceAll("(?i)\\.docx$", "")); zhyRelationship.setSourceName(fileManage.getFileName().replaceAll("(?i)\\.docx$", ""));
@ -207,7 +208,13 @@ public class ZhyRelationshipController extends BaseController
ZhyDoc vv = new ZhyDoc(); ZhyDoc vv = new ZhyDoc();
vv.setId(zhyRelationship.getSource()); vv.setId(zhyRelationship.getSource());
ZhyDoc dd = test1Mapper.selectDocById(vv); ZhyDoc dd = test1Mapper.selectDocById(vv);
zhyRelationship.setSourceName(dd.getDocTitle()); if(dd==null){
ZhyFileManage fileManage=test1Mapper.getFileById(docs.get(0).getFileId());
zhyRelationship.setSourceName(fileManage.getFileName().replaceAll("(?i)\\.docx$", ""));
}else{
zhyRelationship.setSourceName(dd.getDocTitle());
}
// zhyRelationship.setSourceName(dd.getDocTitle());
vv.setId(zhyRelationship.getTarget()); vv.setId(zhyRelationship.getTarget());
ZhyDoc dd2 = test1Mapper.selectDocById(vv); ZhyDoc dd2 = test1Mapper.selectDocById(vv);
zhyRelationship.setTargetName(dd2.getDocTitle()); zhyRelationship.setTargetName(dd2.getDocTitle());

16
ruoyi-api/src/main/java/com/ruoyi/api/controller/DocApiController.java

@ -1234,21 +1234,21 @@ public class DocApiController extends BaseController {
map12.put("name","模型库"); map12.put("name","模型库");
map12.put("children",g12); map12.put("children",g12);
// Map map13=new HashMap<>();
// map13.put("id",3);
// map13.put("name","规则库");
// map13.put("children",g13);
Map map13=new HashMap<>(); Map map13=new HashMap<>();
map13.put("id",3); map13.put("id",3);
map13.put("name","规则库"); map13.put("name","大类数据");
map13.put("children",g13); map13.put("children",g13);
Map map14=new HashMap<>(); Map map14=new HashMap<>();
map14.put("id",4); map14.put("id",4);
map14.put("name","类数据"); map14.put("name","类数据");
map14.put("children",g14); map14.put("children",g14);
Map map15=new HashMap<>();
map15.put("id",5);
map15.put("name","小类数据");
map15.put("children",g15);
Map map21=new HashMap<>(); Map map21=new HashMap<>();
map21.put("id",1); map21.put("id",1);
map21.put("name","模型方法"); map21.put("name","模型方法");
@ -1269,7 +1269,7 @@ public class DocApiController extends BaseController {
mapAll.put("g12",map12); mapAll.put("g12",map12);
mapAll.put("g13",map13); mapAll.put("g13",map13);
mapAll.put("g14",map14); mapAll.put("g14",map14);
mapAll.put("g15",map15); // mapAll.put("g15",map15);
mapAll.put("g21",map21); mapAll.put("g21",map21);
mapAll.put("g22",map22); mapAll.put("g22",map22);

106
ruoyi-ui/src/views/system/docmuban/index.vue

@ -20,9 +20,9 @@
</el-form> </el-form>
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==0"> <div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==0">
<div style="width: 20%;"> <div style="width: 20%;">
<div style="display: flex; flex-direction: row;justify-content: space-around;"> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">方向</div> <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">方向</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('方向')" plain>新增</el-button> <el-button style="height: 80%;" type="primary" @click="addZhyDoc('方向')" plain size="mini">新增</el-button>
</div> </div>
<el-table border height="700" v-loading="loading" :data="docmubanList01" > <el-table border height="700" v-loading="loading" :data="docmubanList01" >
@ -47,9 +47,9 @@
</el-table> </el-table>
</div> </div>
<div style="width: 20%;margin-left: 5%"> <div style="width: 20%;margin-left: 5%">
<div style="display: flex; flex-direction: row;justify-content: space-around;"> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">作战</div> <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">作战</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('作战')" plain>新增</el-button> <el-button style="height: 80%;" type="primary" @click="addZhyDoc('作战')" plain size="mini">新增</el-button>
</div> </div>
<el-table border height="700" v-loading="loading" :data="docmubanList02" > <el-table border height="700" v-loading="loading" :data="docmubanList02" >
@ -73,9 +73,9 @@
</el-table> </el-table>
</div> </div>
<div style="width: 20%;margin-left: 5%"> <div style="width: 20%;margin-left: 5%">
<div style="display: flex; flex-direction: row;justify-content: space-around"> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">装备</div> <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">装备</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('装备')" plain>新增</el-button> <el-button style="height: 80%;" type="primary" @click="addZhyDoc('装备')" plain size="mini">新增</el-button>
</div> </div>
<el-table border height="700" v-loading="loading" :data="docmubanList03" > <el-table border height="700" v-loading="loading" :data="docmubanList03" >
@ -99,9 +99,9 @@
</el-table> </el-table>
</div> </div>
<div style="width: 20%;margin-left: 5%"> <div style="width: 20%;margin-left: 5%">
<div style="display: flex; flex-direction: row;justify-content: space-around"> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">环境</div> <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">环境</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('环境')" plain>新增</el-button> <el-button style="height: 80%;" type="primary" @click="addZhyDoc('环境')" plain size="mini">新增</el-button>
</div> </div>
<el-table border height="700" v-loading="loading" :data="docmubanList04" > <el-table border height="700" v-loading="loading" :data="docmubanList04" >
@ -128,8 +128,11 @@
</div> </div>
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==1"> <div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==1">
<div style="width: 15%;"> <div style="width: 20%;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">业务系统</div> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">业务系统</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('业务系统')" plain size="mini">新增</el-button>
</div>
<el-table border height="700" v-loading="loading" :data="docmubanList11" > <el-table border height="700" v-loading="loading" :data="docmubanList11" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -151,8 +154,12 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div style="width: 15%;margin-left: 5%"> <div style="width: 20%;margin-left: 5%">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型库</div> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型库</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('模型库')" plain size="mini">新增</el-button>
</div>
<el-table border height="700" v-loading="loading" :data="docmubanList12" > <el-table border height="700" v-loading="loading" :data="docmubanList12" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -174,31 +181,35 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div style="width: 15%;margin-left: 5%"> <!-- <div style="width: 15%;margin-left: 5%">-->
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">规则库</div> <!-- <div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">规则库</div>-->
<el-table border height="700" v-loading="loading" :data="docmubanList13" > <!-- <el-table border height="700" v-loading="loading" :data="docmubanList13" >-->
<!-- <el-table-column label="内容" align="center" prop="text" />-->
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
<!-- <template slot-scope="scope">-->
<!-- <el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-edit"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改</el-button>-->
<!-- <el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-delete"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- >删除</el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- </el-table>-->
<!-- </div>-->
<div style="width: 20%;margin-left: 5%">
<div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">大类</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('大类')" plain size="mini">新增</el-button>
</div>
<el-table-column label="内容" align="center" prop="text" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
>删除</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div style="width: 15%;margin-left: 5%">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">大类</div>
<el-table border height="700" v-loading="loading" :data="docmubanList14" > <el-table border height="700" v-loading="loading" :data="docmubanList14" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -220,8 +231,12 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div style="width: 15%;margin-left: 5%"> <div style="width: 20%;margin-left: 5%">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">小类</div> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">小类</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('小类')" plain size="mini">新增</el-button>
</div>
<el-table border height="700" v-loading="loading" :data="docmubanList15" > <el-table border height="700" v-loading="loading" :data="docmubanList15" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -248,7 +263,10 @@
</div> </div>
<div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==2"> <div style="width: 100%;height: 100%;display: flex;justify-content: space-around" v-if="this.queryParams.groupId==2">
<div style="width: 30%;"> <div style="width: 30%;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型</div> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">模型</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('模型')" plain size="mini">新增</el-button>
</div>
<el-table border height="700" v-loading="loading" :data="docmubanList21" > <el-table border height="700" v-loading="loading" :data="docmubanList21" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -271,7 +289,10 @@
</el-table> </el-table>
</div> </div>
<div style="width: 30%;margin-left: 5%"> <div style="width: 30%;margin-left: 5%">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">指标</div> <div style="display: flex; flex-direction: row;justify-content: space-around;margin-bottom: 10px;">
<div style="text-align: center;font-size: 1.2vw;font-weight: bold;margin-bottom: 4%;">指标</div>
<el-button style="height: 80%;" type="primary" @click="addZhyDoc('指标')" plain size="mini">新增</el-button>
</div>
<el-table border height="700" v-loading="loading" :data="docmubanList22" > <el-table border height="700" v-loading="loading" :data="docmubanList22" >
<el-table-column label="内容" align="center" prop="text" /> <el-table-column label="内容" align="center" prop="text" />
@ -379,7 +400,7 @@ export default {
}, },
{ {
key:1, key:1,
text:"业务系统-模型库-规则库-大类-小类" text:"业务系统-模型库-大类-小类"
}, },
{ {
key:2, key:2,
@ -507,7 +528,6 @@ export default {
if(this.queryParams.groupId==1){ if(this.queryParams.groupId==1){
this.docmubanList11 = grouped["业务系统"] || []; this.docmubanList11 = grouped["业务系统"] || [];
this.docmubanList12 = grouped["模型库"] || []; this.docmubanList12 = grouped["模型库"] || [];
this.docmubanList13 = grouped["规则库"] || [];
this.docmubanList14 = grouped["大类"] || []; this.docmubanList14 = grouped["大类"] || [];
this.docmubanList15 = grouped["小类"] || []; this.docmubanList15 = grouped["小类"] || [];
} }
@ -537,7 +557,7 @@ export default {
this.form.groupId = 0; this.form.groupId = 0;
} }
if(this.form.type == "业务系统" || this.form.type == "模型库" || this.form.type == "规则库" || this.form.type == "大类" || this.form.type == "小类"){ if(this.form.type == "业务系统" || this.form.type == "模型库" || this.form.type == "大类" || this.form.type == "小类"){
this.form.groupId = 1; this.form.groupId = 1;
} }
if(this.form.type == "模型" || this.form.type == "指标"){ if(this.form.type == "模型" || this.form.type == "指标"){

16
ruoyi-ui/src/views/system/fileManage/index.vue

@ -614,7 +614,7 @@ export default {
}, },
{ {
key:1, key:1,
text:"业务系统-模型库-规则库-大类-小类" text:"业务系统-模型库-大类-小类"
}, },
{ {
key:2, key:2,
@ -634,7 +634,7 @@ export default {
}, },
{ {
key:1, key:1,
text:"业务系统-模型库-规则库-大类-小类" text:"业务系统-模型库-大类-小类"
}, },
{ {
key:2, key:2,
@ -680,9 +680,8 @@ export default {
1: [ 1: [
{ label: "业务系统", value: "1", maxParentLevel: 0 }, { label: "业务系统", value: "1", maxParentLevel: 0 },
{ label: "模型库", value: "2", maxParentLevel: 1 }, { label: "模型库", value: "2", maxParentLevel: 1 },
{ label: "规则库", value: "3", maxParentLevel: 2 }, { label: "大类", value: "3", maxParentLevel: 2 },
{ label: "大类", value: "4", maxParentLevel: 3 }, { label: "小类", value: "4", maxParentLevel: 3 }
{ label: "小类", value: "5", maxParentLevel: 4 }
], ],
2: [ 2: [
{ label: "模型", value: "1", maxParentLevel: 0 }, { label: "模型", value: "1", maxParentLevel: 0 },
@ -699,9 +698,8 @@ export default {
1: [ 1: [
{ label: "业务系统", value: "1" }, { label: "业务系统", value: "1" },
{ label: "模型库", value: "2" }, { label: "模型库", value: "2" },
{ label: "规则库", value: "3" }, { label: "大类", value: "3" },
{ label: "大类", value: "4" }, { label: "小类", value: "4" }
{ label: "小类", value: "5" }
], ],
2: [ 2: [
{ label: "模型", value: "1" }, { label: "模型", value: "1" },
@ -1019,7 +1017,7 @@ export default {
formatGroup(row, column, cellValue) { formatGroup(row, column, cellValue) {
const map = { const map = {
0: "方向-作战-装备-环境", 0: "方向-作战-装备-环境",
1: "业务系统-模型库-规则库-大类-小类", 1: "业务系统-模型库-大类-小类",
2: "模型-指标" 2: "模型-指标"
}; };
return map[cellValue] || '未知组别'; return map[cellValue] || '未知组别';

Loading…
Cancel
Save