提交 d6049bb4 authored 作者: CRS's avatar CRS

new report

上级 ea561344
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">未知依赖配置</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -71,7 +70,7 @@ export default { ...@@ -71,7 +70,7 @@ export default {
tableData: [], tableData: [],
tablePageSize: 0, tablePageSize: 0,
myPage: 1, // 分页第一页 myPage: 1, // 分页第一页
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
openModel: false, openModel: false,
components: '', components: '',
technologyId:'内部依赖(未知)', technologyId:'内部依赖(未知)',
...@@ -89,7 +88,7 @@ export default { ...@@ -89,7 +88,7 @@ export default {
technologyName: this.technologyId, technologyName: this.technologyId,
target: this.input2 target: this.input2
} }
this.$server.getConfigPageList(this.myPage, 8, obj).then(res => { this.$server.getConfigPageList(this.myPage, this.pageSize, obj).then(res => {
console.log(res); console.log(res);
this.tableData = res.data.objects; this.tableData = res.data.objects;
this.tablePageSize = res.data.totalElement; this.tablePageSize = res.data.totalElement;
...@@ -100,7 +99,7 @@ export default { ...@@ -100,7 +99,7 @@ export default {
let obj = { let obj = {
technologyName:this.technologyId technologyName:this.technologyId
} }
this.$server.getConfigPageList(this.myPage,8,obj).then(res => { this.$server.getConfigPageList(this.myPage,this.pageSize,obj).then(res => {
this.tableData = res.data.objects; this.tableData = res.data.objects;
this.tablePageSize = res.data.totalElement; this.tablePageSize = res.data.totalElement;
}); });
...@@ -245,4 +244,4 @@ export default { ...@@ -245,4 +244,4 @@ export default {
background-color: #ffffff; background-color: #ffffff;
color: #4877e6; color: #4877e6;
} }
</style> </style>
\ No newline at end of file
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">最新动态</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -76,7 +75,7 @@ export default { ...@@ -76,7 +75,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 8, // 获取后台传的所有数据的长度 totleLength: 8, // 获取后台传的所有数据的长度
allData:[ allData:[
{ {
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">单位管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>单位名称:</span> <span>单位名称:</span>
...@@ -78,7 +77,7 @@ export default { ...@@ -78,7 +77,7 @@ export default {
return { return {
totalLength: 0, totalLength: 0,
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
searchName: '', searchName: '',
openModel: false, // 弹框开关 openModel: false, // 弹框开关
components: '', // 当前弹框内容 components: '', // 当前弹框内容
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">产品管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>产品名称:</span> <span>产品名称:</span>
...@@ -95,7 +94,7 @@ export default { ...@@ -95,7 +94,7 @@ export default {
return { return {
totalLength: 0, totalLength: 0,
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
formValue: '', formValue: '',
name: '', name: '',
formList: [{form: 1},{form: 2},{form: 3},{form: 4},{form: 5},{form: 6}], formList: [{form: 1},{form: 2},{form: 3},{form: 4},{form: 5},{form: 6}],
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">技术路线管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>技术路线名称:</span> <span>技术路线名称:</span>
...@@ -88,7 +87,7 @@ export default { ...@@ -88,7 +87,7 @@ export default {
data () { data () {
return { return {
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
openModel: false, // 弹框开关 openModel: false, // 弹框开关
components: '', // 当前弹框内容 components: '', // 当前弹框内容
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">单位管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>单位名称:</span> <span>单位名称:</span>
...@@ -94,7 +93,7 @@ export default { ...@@ -94,7 +93,7 @@ export default {
return { return {
totalLength: 0, totalLength: 0,
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
searchName: '', searchName: '',
openModel: false, // 弹框开关 openModel: false, // 弹框开关
components: '', // 当前弹框内容 components: '', // 当前弹框内容
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">人员管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>姓名:</span> <span>姓名:</span>
...@@ -94,7 +93,7 @@ export default { ...@@ -94,7 +93,7 @@ export default {
data () { data () {
return { return {
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
openModel: false, // 弹框开关 openModel: false, // 弹框开关
components: '', // 当前弹框内容 components: '', // 当前弹框内容
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">产品管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>产品名称:</span> <span>产品名称:</span>
...@@ -111,7 +110,7 @@ export default { ...@@ -111,7 +110,7 @@ export default {
return { return {
totalLength: 0, totalLength: 0,
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
formValue: '', formValue: '',
name: '', name: '',
formList: [{form: 1},{form: 2},{form: 3},{form: 4},{form: 5},{form: 6}], formList: [{form: 1},{form: 2},{form: 3},{form: 4},{form: 5},{form: 6}],
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">角色管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -74,7 +73,7 @@ export default { ...@@ -74,7 +73,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
openModel: false, // 弹框开关 openModel: false, // 弹框开关
components: '', // 当前弹框内容 components: '', // 当前弹框内容
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">意见建议</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -88,7 +87,7 @@ export default { ...@@ -88,7 +87,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
allData:[] // 列表内容 allData:[] // 列表内容
} }
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">投诉管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -89,7 +88,7 @@ export default { ...@@ -89,7 +88,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
allData:[] // 列表内容 allData:[] // 列表内容
} }
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">评估报告管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -73,7 +72,7 @@ export default { ...@@ -73,7 +72,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
allData:[] // 列表内容 allData:[] // 列表内容
} }
......
...@@ -113,8 +113,8 @@ export default { ...@@ -113,8 +113,8 @@ export default {
'getSidebar': { // 监听侧边栏点击 'getSidebar': { // 监听侧边栏点击
handler: function (val) { handler: function (val) {
this.sidebar = val; this.sidebar = val;
if (val.path !== this.$store.getters.getNowPath && val.menu !== undefined) { // 判断是否显示首页 if (val.menu !== undefined) {
for (let i = 0; i < val.menu.length; i++) { // 没有显示首页,轮询子菜单对比名称 for (let i = 0; i < val.menu.length; i++) { // 当前页与子菜单进行对比
if (val.menu[i].path === this.$store.getters.getNowPath) { // 判断子菜单path与当前path if (val.menu[i].path === this.$store.getters.getNowPath) { // 判断子菜单path与当前path
$('.listVal>span').removeClass('menuClick') // 修改样式 $('.listVal>span').removeClass('menuClick') // 修改样式
$('.menuTitle').removeClass('goTitle') $('.menuTitle').removeClass('goTitle')
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">最新动态</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -76,7 +75,7 @@ export default { ...@@ -76,7 +75,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 8, // 获取后台传的所有数据的长度 totleLength: 8, // 获取后台传的所有数据的长度
allData:[ allData:[
{ {
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">关键技术管理</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -93,7 +92,7 @@ export default { ...@@ -93,7 +92,7 @@ export default {
return { return {
searchVal: '', searchVal: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0, // 获取后台传的所有数据的长度 totleLength: 0, // 获取后台传的所有数据的长度
allData:[], // 列表内容 allData:[], // 列表内容
openModel: false, // 弹框开关 openModel: false, // 弹框开关
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">人员信息</p>
<p class="buttonP" @click="change"> <p class="buttonP" @click="change">
<span class="button" title="编辑"><span></span></span> <span class="button" title="编辑"><span></span></span>
</p> </p>
...@@ -159,14 +158,8 @@ export default { ...@@ -159,14 +158,8 @@ export default {
background: #fff; background: #fff;
overflow: hidden; overflow: hidden;
} }
.parameter .content .title{
padding: 30px 0 0 60px;
font-size: 20px;
color: #233b6e;
position: relative;
}
.parameter .content .buttonP{ .parameter .content .buttonP{
padding: 10px 70px 40px 0px; padding: 30px 70px 40px 0px;
text-align: right; text-align: right;
} }
.parameter .content .button{ .parameter .content .button{
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">{{pageName}}</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -92,7 +91,7 @@ export default { ...@@ -92,7 +91,7 @@ export default {
allData: [], allData: [],
pageName: '', pageName: '',
currentPage: 1, // 分页第一页 currentPage: 1, // 分页第一页
pagesize: 8, // 每页个数 pagesize: 9, // 每页个数
totleLength: 0 // 获取后台传的所有数据的长度 totleLength: 0 // 获取后台传的所有数据的长度
} }
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="contentAll"> <div class="contentAll">
<p class="title">项目管理 <p class="title">
<span class="back" @click="back" title="返回"></span> <span class="back" @click="back" title="返回"></span>
</p> </p>
<p class="titleList"> <p class="titleList">
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
<!-- <p v-if="picture" style="color:red">本评估报告不适用于C/S架构的应用系统,不适用于非Java体系下开发的应用系统。</p> --> <!-- <p v-if="picture" style="color:red">本评估报告不适用于C/S架构的应用系统,不适用于非Java体系下开发的应用系统。</p> -->
<p v-if="picture">不支持此类系统的评估 </p> <p v-if="picture">不支持此类系统的评估 </p>
<div v-if="picture" class="firstBtn" @click="reback"><span>改造替换</span></div> <div v-if="picture" class="firstBtn" @click="reback"><span>改造替换</span></div>
</div> </div>
</div> </div>
<!-- 声明 --> <!-- 声明 -->
<!-- 概要 --> <!-- 概要 -->
<div class="my-box" v-if="!picture"> <div class="my-box" v-if="!picture">
<div class="one"> <div class="one">
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<div style="padding-left:35px;"> 建议:<span > <div style="padding-left:35px;"> 建议:<span >
{{ this.type === 1 ? {{ this.type === 1 ?
'修改' : (this.type === 2 && this.language ===1 &&this.framework ===1) ? '修改': '重构' }} '修改' : (this.type === 2 && this.language ===1 &&this.framework ===1) ? '修改': '重构' }}
</span> </span>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</div> </div>
</div> </div>
<div class="six"> <div class="six" v-if="this.$route.query.authority === 1">
<div class="oneTitle"> <div class="oneTitle">
<!--<div @click="openMenuFour">--> <!--<div @click="openMenuFour">-->
<!--&lt;!&ndash;<img src="../assets/img/tab.png" alt="">&ndash;&gt;--> <!--&lt;!&ndash;<img src="../assets/img/tab.png" alt="">&ndash;&gt;-->
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
<div style="height: 20px"></div> <div style="height: 20px"></div>
</div> </div>
<div class="seven"> <div class="seven" v-if="this.$route.query.authority !== 1">
<div class="oneTitle"> <i></i>评估建议</div> <div class="oneTitle"> <i></i>评估建议</div>
<!-- 评估建议各项 --> <!-- 评估建议各项 -->
<div class="seven-title"> <div class="seven-title">
...@@ -649,7 +649,7 @@ ...@@ -649,7 +649,7 @@
<el-col :span="6" > <el-col :span="6" >
<p v-if="this.newDifficuty.databaseDifficulty"> <p v-if="this.newDifficuty.databaseDifficulty">
<p style="margin-top:8px;float:left;">其他内容:</p> <p style="margin-top:8px;float:left;">其他内容:</p>
<span > <span >
{{this.newDifficuty.databaseDifficulty.otherContent}} {{this.newDifficuty.databaseDifficulty.otherContent}}
</span> </span>
...@@ -721,6 +721,17 @@ ...@@ -721,6 +721,17 @@
</div> </div>
<div class="seven" v-if="this.$route.query.authority === 1">
<div class="oneTitle"> <i></i>评估建议</div>
<p class="otherTitle">1、关键技术及替换策略建议</p>
<p class="bird">{{this.firstDetial.des}}</p>
<p class="otherTitle">2、工作量评估</p>
<p class="bird">{{this.newWork.des}}</p>
<p class="otherTitle">3、额外依赖服务申请</p>
<p class="bird">额外依赖服务申请费用 <span></span> {{this.newApply.cost === -1 ? '无' : this.newApply.cost}}</p>
<p class="otherTitle">4、适配难度评估</p>
<p class="bird">{{this.newDifficuty.des}}</p>
</div>
...@@ -735,20 +746,20 @@ ...@@ -735,20 +746,20 @@
</el-scrollbar> </el-scrollbar>
</div> </div>
</template> </template>
<script> <script>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) // 这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》'; // 例如:import 《组件名称》 from '《组件路径》';
export default { export default {
name: 'reportAssess', name: 'reportAssess',
//import引入的组件需要注入到对象中才能使用 // import引入的组件需要注入到对象中才能使用
components: { components: {
}, },
data() { data() {
//这里存放数据 // 这里存放数据
return { return {
orgName: '', orgName: '',
sysName: '', sysName: '',
...@@ -804,34 +815,34 @@ export default { ...@@ -804,34 +815,34 @@ export default {
}; };
}, },
//监听属性 类似于data概念 // 监听属性 类似于data概念
// computed: {}, // computed: {},
computed: { computed: {
sumAmount(){ sumAmount(){
if(this.newCost == ''){ if (this.newCost === ''){
return 0 return 0
}else{ } else {
return Number(this.newCost.artificial.calculation) + Number(this.popp.basic ) return Number(this.newCost.artificial.calculation) + Number(this.popp.basic )
} }
}, },
sumAmount1(){ sumAmount1(){
if(this.newCost == ''){ if (this.newCost === ''){
return 0 return 0
}else if(this.isAgree){ } else if (this.isAgree){
return ( ( (Number(this.newCost.artificial.calculation) + Number(this.popp.basic )) * Number(this.newCost.workLoad.calculation) ) + Number(this.newCost.apply.calculation) ).toFixed(3) return ( ( (Number(this.newCost.artificial.calculation) + Number(this.popp.basic )) * Number(this.newCost.workLoad.calculation) ) + Number(this.newCost.apply.calculation) ).toFixed(3)
} else { } else {
return ( (Number(this.newCost.artificial.calculation) + Number(this.popp.basic )) * Number(this.newCost.workLoad.calculation) ).toFixed(3) return ( (Number(this.newCost.artificial.calculation) + Number(this.popp.basic )) * Number(this.newCost.workLoad.calculation) ).toFixed(3)
} }
}, },
}, },
//监控data中的数据变化 // 监控data中的数据变化
watch: { watch: {
// popp: { // popp: {
// handler (val, oldVal) { // handler (val, oldVal) {
...@@ -843,33 +854,32 @@ export default { ...@@ -843,33 +854,32 @@ export default {
// deep: true // deep: true
// } // }
}, },
//方法集合 // 方法集合
methods: { methods: {
goBackprev(){ goBackprev(){
this.$router.push({name:'evaluationReport', query:{
this.$router.push({name:'evaluationReport', query:{ username: this.$route.query.username,
username: this.$route.query.username, id: this.$route.query.id,
id: this.$route.query.id, authority: this.$route.query.authority,
authority: this.$route.query.authority, }})
}}) // if(this.$route.query.authority == 0){
// if(this.$route.query.authority == 0){ // console.log("执行")
// console.log("执行") // this.$router.push({name:'AssessmentUser', query: {
// this.$router.push({name:'AssessmentUser', query: { // username: this.$route.query.username,
// username: this.$route.query.username, // id: this.$route.query.id,
// id: this.$route.query.id, // authority: this.$route.query.authority,
// authority: this.$route.query.authority, // }})
// }}) // }else if (this.$route.query.authority == 1){
// }else if (this.$route.query.authority == 1){ // console.log("执行")
// console.log("执行") // this.$router.push({name:'Assessment', query: {
// this.$router.push({name:'Assessment', query: { // username: this.$route.query.username,
// username: this.$route.query.username, // id: this.$route.query.id,
// id: this.$route.query.id, // authority: this.$route.query.authority,
// authority: this.$route.query.authority, // }})
// }}) // }
// }
}, },
openMenu() { //展开 openMenu() { // 展开
this.isShow = !this.isShow; this.isShow = !this.isShow;
}, },
// tear() { // tear() {
...@@ -887,16 +897,16 @@ export default { ...@@ -887,16 +897,16 @@ export default {
tableShow() { tableShow() {
this.isTableShow = !this.isTableShow; this.isTableShow = !this.isTableShow;
}, },
openMenuOne() { //展开 openMenuOne() { // 展开
this.isShowOne = !this.isShowOne; this.isShowOne = !this.isShowOne;
}, },
openMenuTwo() { //展开 openMenuTwo() { // 展开
this.isShowTwo = !this.isShowTwo; this.isShowTwo = !this.isShowTwo;
}, },
openMenuThree() { //展开 openMenuThree() { // 展开
this.isShowThree = !this.isShowThree; this.isShowThree = !this.isShowThree;
}, },
openMenuFour() { //展开 openMenuFour() { // 展开
this.isShowFour = !this.isShowFour; this.isShowFour = !this.isShowFour;
}, },
...@@ -933,7 +943,7 @@ export default { ...@@ -933,7 +943,7 @@ export default {
this.$server.getTechnology(name).then(res=>{ this.$server.getTechnology(name).then(res=>{
console.log('数据请求结果',res.data) console.log('数据请求结果',res.data)
if(res.data == 500) { if (res.data === 500) {
this.picture = true this.picture = true
// this.orgName = res.data.orgName // this.orgName = res.data.orgName
...@@ -942,7 +952,7 @@ export default { ...@@ -942,7 +952,7 @@ export default {
// this.difficulty = res.data.difficulty // this.difficulty = res.data.difficulty
// this.type = res.data.type // this.type = res.data.type
}else { } else {
this.orgName = res.data.orgName this.orgName = res.data.orgName
this.sysName = res.data.sysName this.sysName = res.data.sysName
...@@ -960,7 +970,7 @@ export default { ...@@ -960,7 +970,7 @@ export default {
console.log( '3333',this.tableData) console.log( '3333',this.tableData)
console.log( 'type',this.type) console.log( 'type',this.type)
//technologyReports 技术和替换策略建议 // technologyReports 技术和替换策略建议
// 循环表格 // 循环表格
this.table1Data = res.data.technologyList.technologyReports this.table1Data = res.data.technologyList.technologyReports
...@@ -990,76 +1000,76 @@ export default { ...@@ -990,76 +1000,76 @@ export default {
// 中间件 // 中间件
//系统部署架构难度 // 系统部署架构难度
this.newDifficuty.frameDifficulty.details === 1 ? this.newDifficuty.frameDifficulty.details === 1 ?
this.newDifficuty.frameDifficulty.details = '混合' : this.newDifficuty.frameDifficulty.details ===2 ? this.newDifficuty.frameDifficulty.details = '混合' : this.newDifficuty.frameDifficulty.details ===2 ?
this.newDifficuty.frameDifficulty.details = '前后端分离' : this.newDifficuty.frameDifficulty.details == -1 ? this.newDifficuty.frameDifficulty.details = '前后端分离' : this.newDifficuty.frameDifficulty.details === -1 ?
this.newDifficuty.frameDifficulty.details = '-':'' this.newDifficuty.frameDifficulty.details = '-':''
this.newDifficuty.frameDifficulty.distributed === 1 ? this.newDifficuty.frameDifficulty.distributed === 1 ?
this.newDifficuty.frameDifficulty.distributed = '是' : this.newDifficuty.frameDifficulty.distributed === 2 ? this.newDifficuty.frameDifficulty.distributed = '是' : this.newDifficuty.frameDifficulty.distributed === 2 ?
this.newDifficuty.frameDifficulty.distributed = '否' : this.newDifficuty.frameDifficulty.distributed == -1 ? this.newDifficuty.frameDifficulty.distributed = '否' : this.newDifficuty.frameDifficulty.distributed === -1 ?
this.newDifficuty.frameDifficulty.distributed = '-' :'' this.newDifficuty.frameDifficulty.distributed = '-' :''
this.newDifficuty.frameDifficulty.loadBalance === 1 ? this.newDifficuty.frameDifficulty.loadBalance === 1 ?
this.newDifficuty.frameDifficulty.loadBalance = '是' : this.newDifficuty.frameDifficulty.loadBalance === 2 ? this.newDifficuty.frameDifficulty.loadBalance = '是' : this.newDifficuty.frameDifficulty.loadBalance === 2 ?
this.newDifficuty.frameDifficulty.loadBalance = '否' :this.newDifficuty.frameDifficulty.loadBalance == -1 ? this.newDifficuty.frameDifficulty.loadBalance = '否' :this.newDifficuty.frameDifficulty.loadBalance === -1 ?
this.newDifficuty.frameDifficulty.loadBalance = '-' : '' this.newDifficuty.frameDifficulty.loadBalance = '-' : ''
this.newDifficuty.frameDifficulty.disaster === 1 ? this.newDifficuty.frameDifficulty.disaster === 1 ?
this.newDifficuty.frameDifficulty.disaster = '分布式' : this.newDifficuty.frameDifficulty.disaster === 2 ? this.newDifficuty.frameDifficulty.disaster = '分布式' : this.newDifficuty.frameDifficulty.disaster === 2 ?
this.newDifficuty.frameDifficulty.disaster = '否' : this.newDifficuty.frameDifficulty.disaster == -1 ? this.newDifficuty.frameDifficulty.disaster = '否' : this.newDifficuty.frameDifficulty.disaster === -1 ?
this.newDifficuty.frameDifficulty.disaster = '-' : '' this.newDifficuty.frameDifficulty.disaster = '-' : ''
//系统部署架构难度 // 系统部署架构难度
//中间件难度 // 中间件难度
this.newDifficuty.middlewareDifficulty.web === 1 ? this.newDifficuty.middlewareDifficulty.web === 1 ?
this.newDifficuty.middlewareDifficulty.web = '是' : this.newDifficuty.middlewareDifficulty.web === 2 ? this.newDifficuty.middlewareDifficulty.web = '是' : this.newDifficuty.middlewareDifficulty.web === 2 ?
this.newDifficuty.middlewareDifficulty.web = '否' : this.newDifficuty.middlewareDifficulty.web == -1 ? this.newDifficuty.middlewareDifficulty.web = '否' : this.newDifficuty.middlewareDifficulty.web === -1 ?
this.newDifficuty.middlewareDifficulty.web = '-' : '' this.newDifficuty.middlewareDifficulty.web = '-' : ''
this.newDifficuty.middlewareDifficulty.jndi === 1 ? this.newDifficuty.middlewareDifficulty.jndi === 1 ?
this.newDifficuty.middlewareDifficulty.jndi = '是' : this.newDifficuty.middlewareDifficulty.jndi === 2 ? this.newDifficuty.middlewareDifficulty.jndi = '是' : this.newDifficuty.middlewareDifficulty.jndi === 2 ?
this.newDifficuty.middlewareDifficulty.jndi = '否' : this.newDifficuty.middlewareDifficulty.jndi == -1 ? this.newDifficuty.middlewareDifficulty.jndi = '否' : this.newDifficuty.middlewareDifficulty.jndi === -1 ?
this.newDifficuty.middlewareDifficulty.jndi = '-' : '' this.newDifficuty.middlewareDifficulty.jndi = '-' : ''
this.newDifficuty.middlewareDifficulty.jms === 1 ? this.newDifficuty.middlewareDifficulty.jms === 1 ?
this.newDifficuty.middlewareDifficulty.jms = '是' : this.newDifficuty.middlewareDifficulty.jms === 2 ? this.newDifficuty.middlewareDifficulty.jms = '是' : this.newDifficuty.middlewareDifficulty.jms === 2 ?
this.newDifficuty.middlewareDifficulty.jms = '否' : this.newDifficuty.middlewareDifficulty.jms == -1 ? this.newDifficuty.middlewareDifficulty.jms = '否' : this.newDifficuty.middlewareDifficulty.jms === -1 ?
this.newDifficuty.middlewareDifficulty.jms = '-' : '' this.newDifficuty.middlewareDifficulty.jms = '-' : ''
this.newDifficuty.middlewareDifficulty.route === 1 ? this.newDifficuty.middlewareDifficulty.route === 1 ?
this.newDifficuty.middlewareDifficulty.route = '是' : this.newDifficuty.middlewareDifficulty.route === 2 ? this.newDifficuty.middlewareDifficulty.route = '是' : this.newDifficuty.middlewareDifficulty.route === 2 ?
this.newDifficuty.middlewareDifficulty.route = '否' : this.newDifficuty.middlewareDifficulty.route == -1 ? this.newDifficuty.middlewareDifficulty.route = '否' : this.newDifficuty.middlewareDifficulty.route === -1 ?
this.newDifficuty.middlewareDifficulty.route = '-' : '' this.newDifficuty.middlewareDifficulty.route = '-' : ''
//中间件难度 // 中间件难度
this.newDifficuty.databaseDifficulty.disasterTolerance === 1 ? this.newDifficuty.databaseDifficulty.disasterTolerance === 1 ?
this.newDifficuty.databaseDifficulty.disasterTolerance = '否' : this.newDifficuty.databaseDifficulty.disasterTolerance === 2 ? this.newDifficuty.databaseDifficulty.disasterTolerance = '否' : this.newDifficuty.databaseDifficulty.disasterTolerance === 2 ?
this.newDifficuty.databaseDifficulty.disasterTolerance = '主备' : this.newDifficuty.databaseDifficulty.disasterTolerance === 3 ? this.newDifficuty.databaseDifficulty.disasterTolerance = '主备' : this.newDifficuty.databaseDifficulty.disasterTolerance === 3 ?
this.newDifficuty.databaseDifficulty.disasterTolerance = '分布式' : this.newDifficuty.databaseDifficulty.disasterTolerance === -1 ? this.newDifficuty.databaseDifficulty.disasterTolerance = '分布式' : this.newDifficuty.databaseDifficulty.disasterTolerance === -1 ?
this.newDifficuty.databaseDifficulty.disasterTolerance = '-' : '' this.newDifficuty.databaseDifficulty.disasterTolerance = '-' : ''
//数据库难度 // 数据库难度
this.newDifficuty.databaseDifficulty.safe ===1 ? this.newDifficuty.databaseDifficulty.safe ===1 ?
this.newDifficuty.databaseDifficulty.safe = '是' : this.newDifficuty.databaseDifficulty.safe === 2 ? this.newDifficuty.databaseDifficulty.safe = '是' : this.newDifficuty.databaseDifficulty.safe === 2 ?
this.newDifficuty.databaseDifficulty.safe = '否' : this.newDifficuty.databaseDifficulty.safe == -1 ? this.newDifficuty.databaseDifficulty.safe = '否' : this.newDifficuty.databaseDifficulty.safe === -1 ?
this.newDifficuty.databaseDifficulty.safe = '-' : '' this.newDifficuty.databaseDifficulty.safe = '-' : ''
this.newDifficuty.databaseDifficulty.separate ===1 ? this.newDifficuty.databaseDifficulty.separate ===1 ?
this.newDifficuty.databaseDifficulty.separate = '是' : this.newDifficuty.databaseDifficulty.separate === 2 ? this.newDifficuty.databaseDifficulty.separate = '是' : this.newDifficuty.databaseDifficulty.separate === 2 ?
this.newDifficuty.databaseDifficulty.separate = '否' : this.newDifficuty.databaseDifficulty.separate == -1 ? this.newDifficuty.databaseDifficulty.separate = '否' : this.newDifficuty.databaseDifficulty.separate === -1 ?
this.newDifficuty.databaseDifficulty.separate = '-' : '' this.newDifficuty.databaseDifficulty.separate = '-' : ''
this.newDifficuty.databaseDifficulty.performance ===1 ? this.newDifficuty.databaseDifficulty.performance ===1 ?
this.newDifficuty.databaseDifficulty.performance = '是' : this.newDifficuty.databaseDifficulty.performance === 2 ? this.newDifficuty.databaseDifficulty.performance = '是' : this.newDifficuty.databaseDifficulty.performance === 2 ?
this.newDifficuty.databaseDifficulty.performance = '不' : this.newDifficuty.databaseDifficulty.performance == -1 ? this.newDifficuty.databaseDifficulty.performance = '不' : this.newDifficuty.databaseDifficulty.performance === -1 ?
this.newDifficuty.databaseDifficulty.performance = '-' : '' this.newDifficuty.databaseDifficulty.performance = '-' : ''
//数据库难度 // 数据库难度
// console.log('适配难度评估',this.newDifficuty) // console.log('适配难度评估',this.newDifficuty)
// 系统部署架构难度 // 系统部署架构难度
...@@ -1087,10 +1097,10 @@ export default { ...@@ -1087,10 +1097,10 @@ export default {
reback() { // 改造替换 reback() { // 改造替换
this.$router.push({name:'assessmentReport', query: { this.$router.push({name:'assessmentReport', query: {
username: this.$route.query.username, username: this.$route.query.username,
id: this.$route.query.id, id: this.$route.query.id,
authority: this.$route.query.authority, authority: this.$route.query.authority,
}}) }})
}, },
// close() { // 关闭 // close() { // 关闭
...@@ -1106,9 +1116,9 @@ export default { ...@@ -1106,9 +1116,9 @@ export default {
// //
backTop() { backTop() {
console.log(11) console.log(11)
document.getElementById("isFlag").scrollIntoView({ document.getElementById('isFlag').scrollIntoView({
behavior: "smooth", // 平滑过渡 behavior: 'smooth', // 平滑过渡
block: "start" // 上边框与视窗顶部平齐。默认值 block: 'start' // 上边框与视窗顶部平齐。默认值
}); });
}, },
...@@ -1117,7 +1127,7 @@ export default { ...@@ -1117,7 +1127,7 @@ export default {
timeFilter(timestamp) { // 时间戳转为yyyy-mm-dd hh:mm:ss timeFilter(timestamp) { // 时间戳转为yyyy-mm-dd hh:mm:ss
// console.log(timestamp) // console.log(timestamp)
if (timestamp !== undefined && timestamp !== null) { if (timestamp !== undefined && timestamp !== null) {
let date = new Date(timestamp); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000 let date = new Date(timestamp); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let Y = date.getFullYear() + '-'; let Y = date.getFullYear() + '-';
let M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'; let M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
...@@ -1132,16 +1142,16 @@ export default { ...@@ -1132,16 +1142,16 @@ export default {
}, },
}, },
//生命周期 - 创建完成(可以访问当前this实例) // 生命周期 - 创建完成(可以访问当前this实例)
created() { created() {
// this.getTechnology() // this.getTechnology()
}, },
//生命周期 - 挂载完成(可以访问DOM元素) // 生命周期 - 挂载完成(可以访问DOM元素)
mounted() { mounted() {
console.log('传参的name',this.$route.query.username) console.log('传参的name',this.$route.query.username)
console.log('传参的id',this.$route.query.id) console.log('传参的id',this.$route.query.id)
var obj = { let obj = {
name:this.$route.query.username, name:this.$route.query.username,
id:this.$route.query.id id:this.$route.query.id
} }
...@@ -1160,13 +1170,13 @@ export default { ...@@ -1160,13 +1170,13 @@ export default {
destroyed () { // 销毁监听事件,当我们离开这个页面的时候,便会调用这个函数 destroyed () { // 销毁监听事件,当我们离开这个页面的时候,便会调用这个函数
window.removeEventListener('scroll', this.showBtn) window.removeEventListener('scroll', this.showBtn)
}, },
beforeCreate() {}, //生命周期 - 创建之前 beforeCreate() {}, // 生命周期 - 创建之前
beforeMount() {}, //生命周期 - 挂载之前 beforeMount() {}, // 生命周期 - 挂载之前
beforeUpdate() {}, //生命周期 - 更新之前 beforeUpdate() {}, // 生命周期 - 更新之前
updated() {}, //生命周期 - 更新之后 updated() {}, // 生命周期 - 更新之后
beforeDestroy() {}, //生命周期 - 销毁之前 beforeDestroy() {}, // 生命周期 - 销毁之前
destroyed() {}, //生命周期 - 销毁完成 destroyed() {}, // 生命周期 - 销毁完成
activated() {} //如果页面有keep-alive缓存功能,这个函数会触发 activated() {} // 如果页面有keep-alive缓存功能,这个函数会触发
} }
</script> </script>
...@@ -1179,11 +1189,11 @@ export default { ...@@ -1179,11 +1189,11 @@ export default {
padding: 0 45px 0 45px; padding: 0 45px 0 45px;
color: black; color: black;
/* padding-top: 30px; */ /* padding-top: 30px; */
} }
.scrollbar { .scrollbar {
height: 97vh; height: 97vh;
} }
.bigTitle { .bigTitle {
text-align: center; text-align: center;
...@@ -1382,7 +1392,7 @@ export default { ...@@ -1382,7 +1392,7 @@ export default {
} }
.snack div span { .snack div span {
color: #333; color: #333;
display: inline-block; display: inline-block;
width: 200px; width: 200px;
height: 36px; height: 36px;
...@@ -1391,7 +1401,7 @@ export default { ...@@ -1391,7 +1401,7 @@ export default {
border-radius: 2px; border-radius: 2px;
line-height: 36px; line-height: 36px;
padding: 0 12px padding: 0 12px
} }
.snack div span i { .snack div span i {
color: #41ba87; color: #41ba87;
...@@ -1713,4 +1723,9 @@ export default { ...@@ -1713,4 +1723,9 @@ export default {
} }
/*20200308*/ /*20200308*/
</style> .otherTitle{
\ No newline at end of file color: #000;
font-size: 18px;
margin-top: 30px;
}
</style>
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="content"> <div class="content">
<p class="title">规则配置</p>
<p class="search"> <p class="search">
<span class="searchVal"> <span class="searchVal">
<span>查询:</span> <span>查询:</span>
...@@ -78,7 +77,7 @@ export default { ...@@ -78,7 +77,7 @@ export default {
input2: '', input2: '',
tableData: [], tableData: [],
tablePageSize: 0, tablePageSize: 0,
pageSize: 8, // 每页个数 pageSize: 9, // 每页个数
openModel: false, openModel: false,
components: '', components: '',
myPage: 1, myPage: 1,
...@@ -96,7 +95,7 @@ export default { ...@@ -96,7 +95,7 @@ export default {
let obj = { let obj = {
technologyName:this.input2 technologyName:this.input2
} }
this.$server.getConfigPageList(this.myPage,8,obj).then(res => { this.$server.getConfigPageList(this.myPage,this.pageSize,obj).then(res => {
this.tableData = res.data.objects; this.tableData = res.data.objects;
this.tablePageSize = res.data.totalElement; this.tablePageSize = res.data.totalElement;
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论