Commit 3114aa46 by liuyong

修改bug

1 parent cea2b101
...@@ -539,6 +539,10 @@ export function deleteDocument(params) { ...@@ -539,6 +539,10 @@ export function deleteDocument(params) {
export function addEditDocument(params) { export function addEditDocument(params) {
return post('/kl-doc-parser/savOrUptTitle', params); return post('/kl-doc-parser/savOrUptTitle', params);
} }
// 文档解析
export function documentResolve(params) {
return post('/kl-doc-parser/docParser', params);
}
// 系统资产架构,批量删除,删除 // 系统资产架构,批量删除,删除
export function deleteSystemTable(params) { export function deleteSystemTable(params) {
return post('/network/arc-ast-sys/delBatch', params); return post('/network/arc-ast-sys/delBatch', params);
......
...@@ -205,6 +205,16 @@ const routes = [ ...@@ -205,6 +205,16 @@ const routes = [
name: 'otherArchiDesignDetails', name: 'otherArchiDesignDetails',
component: () => import('@/views/otherArchiDesign/details.vue'), component: () => import('@/views/otherArchiDesign/details.vue'),
}, },
{
path: '/main/reviewSituation',//评审情况(概要设计)
name: 'reviewSituation',
component: () => import('@/views/reviewSituation/index.vue'),
},
{
path: '/main/reviewSituationDetails',//评审情况(概要设计),详情
name: 'reviewSituationDetails',
component: () => import('@/views/reviewSituation/details.vue'),
},
] ]
} }
] ]
......
...@@ -61,17 +61,6 @@ ...@@ -61,17 +61,6 @@
<span style="margin-left: 5px;">元模型字典管理</span> <span style="margin-left: 5px;">元模型字典管理</span>
</div> </div>
</div> </div>
<!-- <img class="menu_1_item_line" src="@/assets/main/line.png" alt="" /> -->
<!-- <div class="menu_1_item">
<div class="menu_1_item_title">
<img src="@/assets/main/2img.png" alt="">
<span style="margin-left: 5px;">架构视图管理</span>
</div>
<div class="menu_1_item_subtitle" @click="jumpPage('总体架构资产设计与维护', '架构视图管理', '架构视图管理')">
<img src="@/assets/main/3img.png" alt="">
<span style="margin-left: 5px;">架构视图管理</span>
</div>
</div> -->
<img class="menu_1_item_line" src="@/assets/main/line.png" alt="" /> <img class="menu_1_item_line" src="@/assets/main/line.png" alt="" />
<div class="menu_1_item"> <div class="menu_1_item">
<div class="menu_1_item_title"> <div class="menu_1_item_title">
...@@ -149,15 +138,15 @@ ...@@ -149,15 +138,15 @@
<img src="@/assets/main/2img.png" alt=""> <img src="@/assets/main/2img.png" alt="">
<span style="margin-left: 5px;">系统架构设计</span> <span style="margin-left: 5px;">系统架构设计</span>
</div> </div>
<div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '系统架构设计', '系统架构视图设计')"> <div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '系统架构设计', '系统架构视图设计')">
<img src="@/assets/main/3img.png" alt=""> <img src="@/assets/main/3img.png" alt="">
<span style="margin-left: 5px;">系统架构视图设计</span> <span style="margin-left: 5px;">系统架构视图设计</span>
</div> </div>
<div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '概设阶段架构设计', '概设阶段架构设计')"> <div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '系统架构设计', '概设阶段架构设计')">
<img src="@/assets/main/3img.png" alt=""> <img src="@/assets/main/3img.png" alt="">
<span style="margin-left: 5px;">概设阶段架构设计</span> <span style="margin-left: 5px;">概设阶段架构设计</span>
</div> </div>
<div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '概设阶段架构设计', '其他视图设计')"> <div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '系统架构设计', '其他视图设计')">
<img src="@/assets/main/3img.png" alt=""> <img src="@/assets/main/3img.png" alt="">
<span style="margin-left: 5px;">其他视图设计</span> <span style="margin-left: 5px;">其他视图设计</span>
</div> </div>
...@@ -169,7 +158,7 @@ ...@@ -169,7 +158,7 @@
<span style="margin-left: 5px;">系统架构管控要求</span> <span style="margin-left: 5px;">系统架构管控要求</span>
</div> </div>
<div class="menu_1_item_subtitle"> <div class="menu_1_item_subtitle" @click="jumpPage('系统架构设计与管控', '系统架构管控要求', '评审情况(概要设计)')">
<img src="@/assets/main/3img.png" alt=""> <img src="@/assets/main/3img.png" alt="">
<span style="margin-left: 5px;">评审情况(概要设计)</span> <span style="margin-left: 5px;">评审情况(概要设计)</span>
</div> </div>
...@@ -560,6 +549,10 @@ ...@@ -560,6 +549,10 @@
this.$router.push( '/main/otherArchiDesign', () => {}, () => {} ); this.$router.push( '/main/otherArchiDesign', () => {}, () => {} );
this.visible2 = false; this.visible2 = false;
break; break;
case '评审情况(概要设计)':
this.$router.push( '/main/reviewSituation', () => {}, () => {} );
this.visible2 = false;
break;
} }
} }
} }
......
...@@ -228,8 +228,8 @@ export default { ...@@ -228,8 +228,8 @@ export default {
docId: data.docId, docId: data.docId,
docName: data.docName, docName: data.docName,
titleName: data.titleName, titleName: data.titleName,
parentDocTitleId: data.parentDocTitleId, parentDocTitleId: data.docTitleId,
parentDocTit1e: data.parentDocTitle, parentDocTit1e: data.docTitle,
titleLevel: data.titleLevel, titleLevel: data.titleLevel,
} }
}, },
...@@ -329,7 +329,7 @@ export default { ...@@ -329,7 +329,7 @@ export default {
...this.leftInfo, ...this.leftInfo,
docTitle: this.ruleForm.let1, docTitle: this.ruleForm.let1,
paraExplain: this.ruleForm.let2, paraExplain: this.ruleForm.let2,
docContent: this.ruleForm.let5, docContent: this.editorHtml,
}; };
console.log(requestParams) console.log(requestParams)
addEditDocument(requestParams).then(res => { addEditDocument(requestParams).then(res => {
...@@ -486,7 +486,7 @@ export default { ...@@ -486,7 +486,7 @@ export default {
.left_container{ .left_container{
width: 20%; width: 20%;
margin-right: 20px; margin-right: 20px;
overflow-y: auto;
} }
.custom-tree-node { .custom-tree-node {
flex: 1; flex: 1;
......
...@@ -145,6 +145,7 @@ import { ...@@ -145,6 +145,7 @@ import {
get_BaoGaoMoBanJieGouHua_Table, get_BaoGaoMoBanJieGouHua_Table,
editReportTemplateFabric, editReportTemplateFabric,
deleteAllBaoGaoMoBanJieGouHua, deleteAllBaoGaoMoBanJieGouHua,
documentResolve
} from '@/api/index.js'; } from '@/api/index.js';
import { MessageBox, Message } from 'element-ui'; import { MessageBox, Message } from 'element-ui';
import $ from 'jquery'; import $ from 'jquery';
...@@ -210,7 +211,8 @@ export default { ...@@ -210,7 +211,8 @@ export default {
}, },
is_add_edit: 'add', is_add_edit: 'add',
editId: undefined, editId: undefined,
moBanLeiXing: [] moBanLeiXing: [],
fileBuffer: null,
}; };
}, },
mounted(){ mounted(){
...@@ -257,8 +259,13 @@ export default { ...@@ -257,8 +259,13 @@ export default {
this.ruleForm.let3 = null; this.ruleForm.let3 = null;
this.ruleForm.let5 = null; this.ruleForm.let5 = null;
this.ruleForm.let6 = null; this.ruleForm.let6 = null;
this.fileBuffer = null;
}, },
handleFileUploadSuccess(res, file, fileList) {//文件上传 handleFileUploadSuccess(res, file, fileList) {//文件上传
// console.log(res)
// console.log(file)
// console.log(fileList)
this.fileBuffer = file.raw;
this.ruleForm.let3 = res.data.fileId; this.ruleForm.let3 = res.data.fileId;
this.ruleForm.let5 = file.name; this.ruleForm.let5 = file.name;
this.ruleForm.let6 = res.data.downLoadUrl; this.ruleForm.let6 = res.data.downLoadUrl;
...@@ -309,7 +316,22 @@ export default { ...@@ -309,7 +316,22 @@ export default {
fileUrl: this.ruleForm.let6, fileUrl: this.ruleForm.let6,
tplRemark: this.ruleForm.let4, tplRemark: this.ruleForm.let4,
}; };
let formData = new FormData();
formData.append("docId", this.ruleForm.let3);
formData.append("docName", this.ruleForm.let5);
formData.append("file", this.fileBuffer);
formData.append("titleName", this.ruleForm.let1);
const requestParams = this.is_add_edit == 'add' ? params : { ...params, tplId: this.editId }; const requestParams = this.is_add_edit == 'add' ? params : { ...params, tplId: this.editId };
documentResolve(formData).then(res => {
if(res.code == 200) {
// console.log(res);
}else {
Message({
type: 'error',
message: res.msg
});
}
});
if(this.is_add_edit == 'add') { if(this.is_add_edit == 'add') {
addReportTemplateFabric(requestParams).then(res => { addReportTemplateFabric(requestParams).then(res => {
if(res.code == 200) { if(res.code == 200) {
......
<template>
<div class="reviewSituationDetails">
<el-tabs>
<el-tab-pane label="一致性评审">
<Tab1></Tab1>
</el-tab-pane>
<el-tab-pane label="架构遵从">
<Tab2></Tab2>
</el-tab-pane>
<el-tab-pane label="关键技术深度评审">
<Tab3></Tab3>
</el-tab-pane>
<el-tab-pane label="功能深度评审">
<Tab4></Tab4>
</el-tab-pane>
<el-tab-pane label="数据深度评审">
<Tab5></Tab5>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import Tab1 from './tab1.vue';
import Tab2 from './tab2.vue';
import Tab3 from './tab3.vue';
import Tab4 from './tab4.vue';
import Tab5 from './tab5.vue';
import { MessageBox, Message } from 'element-ui';
import $ from 'jquery';
import {
saveArchiViewManageCardDetails
} from '@/api/index.js';
export default {
name: 'reviewSituationDetails',
components: {
Tab1,
Tab2,
Tab3,
Tab4,
Tab5,
},
data() {
return {
routerId: null,
};
},
mounted(){
},
methods: {
}
}
</script>
<style>
.confirmClass{
background-color: #0D867F !important;
}
.el-message-box__content{
padding: 60px 15px 60px 15px;
}
</style>
<style scoped>
.el-tabs{
width: 100%;
height: 100%;
}
/deep/ .el-tabs__item.is-active {
color: #0D867F;
}
/deep/ .el-tabs__item:hover{
color: #0D867F;
}
/deep/ .el-tabs__active-bar{
background-color: #0D867F;
}
/deep/ .el-tabs__content{
height: calc(100% - 38px);
padding: 0;
}
.el-tab-pane{
height: 100%;
}
.reviewSituationDetails{
width: 100%;
height: 100%;
display: flex;
position: relative;
}
/deep/ .el-dialog__header{
background-color: #0D867F;
text-align: left;
}
/deep/ .el-dialog__title{
color: #fff;
}
/deep/ .el-dialog__close {
color: #fff;
}
.greenButton{
background-color: #0D867F;
color: #fff;
}
</style>
<template>
<div class="tab1">
</div>
</template>
<script>
import {
getArchiViewManageTable
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default {
name: 'tab1',
components: {
},
data() {
return {
};
},
mounted(){
},
methods: {
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="tab2">
</div>
</template>
<script>
import {
getArchiViewManageTable
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default {
name: 'tab2',
components: {
},
data() {
return {
};
},
mounted(){
},
methods: {
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="tab3">
</div>
</template>
<script>
import {
getArchiViewManageTable
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default {
name: 'tab3',
components: {
},
data() {
return {
};
},
mounted(){
},
methods: {
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="tab4">
</div>
</template>
<script>
import {
getArchiViewManageTable
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default {
name: 'tab4',
components: {
},
data() {
return {
};
},
mounted(){
},
methods: {
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="tab5">
</div>
</template>
<script>
import {
getArchiViewManageTable
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default {
name: 'tab5',
components: {
},
data() {
return {
};
},
mounted(){
},
methods: {
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!