Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
e8fc4010
提交
e8fc4010
authored
4月 21, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
wps
上级
8c4a72ba
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
32 行增加
和
31 行删除
+32
-31
homeDetailcopy.vue
src/components/assessment/homeDetailcopy.vue
+26
-27
reportAssess.vue
src/components/reportAssess/reportAssess.vue
+6
-4
没有找到文件。
src/components/assessment/homeDetailcopy.vue
浏览文件 @
e8fc4010
...
...
@@ -290,7 +290,7 @@
<li
:class=
"
{'box-nav-title':true,'active':isOpen1}" @click="open1">
系统部署架构
<img
v-show=
"systemStructure.application.deploy == '' && systemStructure.application.code == '' && systemStructure.application.other == '' && systemStructure.application.edition == '' && systemStructure.database.other == '' && systemStructure.database.deploy == '' && systemStructure.database.code == '' && systemStructure.database.edition == '' && systemStructure.storage.edition == '' && systemStructure.storage.other == '' && systemStructure.storage.deploy == '' && systemStructure.storage.code == '' && systemStructure.otherEquipment.code == '' && systemStructure.otherEquipment.edition == '' && systemStructure.otherEquipment.deploy == '' && systemStructure.otherEquipment.other == '' && systemStructure.slb.code == '' && systemStructure.slb.edition == '' && systemStructure.slb.deploy == '' && systemStructure.slb.other == '' &&
v-show=
"systemStructure.application.deploy == '' && systemStructure.application.code == '' && systemStructure.application.other == '' && systemStructure.application.edition == '' && systemStructure.database.other == '' && systemStructure.database.deploy == '' && systemStructure.database.code == '' && systemStructure.database.edition == '' && systemStructure.storage.edition == '' && systemStructure.storage.other == '' && systemStructure.storage.deploy == '' && systemStructure.storage.code == '' && systemStructure.otherEquipment.code == '' && systemStructure.otherEquipment.edition == '' && systemStructure.otherEquipment.deploy == '' && systemStructure.otherEquipment.other == '' && systemStructure.slb.code == '' && systemStructure.slb.edition == '' && systemStructure.slb.deploy == '' && systemStructure.slb.other == '' &&
systemStructure.vps.code == '' && systemStructure.vps.edition == '' && systemStructure.vps.deploy == '' && systemStructure.vps.other == '' &&systemStructure.cdn.code == '' && systemStructure.cdn.edition == '' && systemStructure.cdn.deploy == '' && systemStructure.cdn.other == '' &&systemStructure.nas.code == '' && systemStructure.nas.edition == '' && systemStructure.nas.deploy == '' && systemStructure.nas.other == '' &&systemStructure.otherDemand == '' && systemStructure.loadBalance == '' && systemStructure.disaster == '' && systemStructure.distributed == '' && systemStructure.nas.cpuNum == '' && systemStructure.nas.num == '' && systemStructure.nas.ghz == '' && systemStructure.cdn.cpuNum == '' && systemStructure.cdn.num == '' && systemStructure.cdn.ghz == '' && systemStructure.slb.ghz == '' && systemStructure.slb.cpuNum == '' && systemStructure.slb.num == '' && systemStructure.vps.cpuNum == '' && systemStructure.vps.ghz == '' && systemStructure.vps.num == '' && systemStructure.application.cpuNum == '' && systemStructure.application.num == '' && systemStructure.application.ghz == '' && systemStructure.database.cpuNum == '' && systemStructure.database.num == '' && systemStructure.database.ghz == '' && systemStructure.otherEquipment.num == '' && systemStructure.otherEquipment.ghz == '' && systemStructure.otherEquipment.cpuNum == '' && systemStructure.cdn.memory == '' &&
systemStructure.slb.memory == '' &&
systemStructure.vps.memory == '' &&
...
...
@@ -1805,7 +1805,7 @@ systemStructure.cdn.memory != '' "
<div
class=
"radios-box"
>
<el-checkbox-group
v-model=
"developLanguageSystem.fontDevTechnologies"
>
<el-checkbox
:label=
"item"
v-for=
"(item,index) in fontDevTechnologiesList"
:key=
"index"
>
{{
item
.
name
}}
</el-checkbox>
</el-checkbox-group>
</div>
<div
class=
"copy-box-main-input"
>
...
...
@@ -2445,7 +2445,7 @@ systemStructure.cdn.memory != '' "
</el-checkbox-group>
</div>
</div>
<!--
<!--
<div
class=
"form-radio one left"
>
<div
class=
"radio-text one"
>
编目服务:
</div>
<el-radio
...
...
@@ -2896,7 +2896,7 @@ export default {
{
code
:
10
,
des
:
""
,
name
:
"LVS"
,
version
:
""
},
{
code
:
11
,
des
:
""
,
name
:
"LHA"
,
version
:
""
},
{
code
:
12
,
des
:
""
,
name
:
"GERONIMO"
,
version
:
""
},
],
compatibleBrowsers1
:
[
{
code
:
4
,
des
:
""
,
name
:
"IE Trident 内核"
,
version
:
""
},
...
...
@@ -3656,12 +3656,12 @@ export default {
console
.
log
(
"======>"
,
obj
);
console
.
log
(
"ma======>"
,
JSON
.
stringify
(
obj
));
// console.log("=231321=====>", obj.applicationType.length);
// return
this
.
$server
.
goPg
(
obj
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
$store
.
commit
(
"changeRoutePg"
,
1
);
this
.
$message
({
message
:
"生成评估报告成功"
,
...
...
@@ -3794,7 +3794,7 @@ export default {
this
.
$server
.
upExcel
(
fd
).
then
(
res
=>
{
console
.
log
(
"导入Excel成功"
,
res
);
this
.
$message
({
message
:
"导入Excel成功"
,
type
:
"success"
...
...
@@ -3833,7 +3833,7 @@ export default {
}
];
for
(
var
i
=
0
;
i
<
res
.
data
.
browser
[
key
].
length
;
i
++
){
if
(
res
.
data
.
browser
[
key
][
i
].
code
==
3
){
console
.
log
(
"?????"
,
res
.
data
.
browser
[
key
][
i
].
des
)
arr
[
0
].
des
=
res
.
data
.
browser
[
key
][
i
].
des
...
...
@@ -3846,7 +3846,7 @@ export default {
}
setTimeout
(()
=>
{
this
.
compatibleBrowsersList
=
arr
;
this
.
browser
[
key
]
=
arr2
;
},
500
);
}
...
...
@@ -3933,7 +3933,7 @@ export default {
}
];
for
(
var
i
=
0
;
i
<
res
.
data
.
middleware
[
key
].
length
;
i
++
){
if
(
res
.
data
.
middleware
[
key
][
i
].
code
==
15
){
arr
[
0
].
des
=
res
.
data
.
middleware
[
key
][
i
].
des
arr2
[
0
].
des
=
res
.
data
.
middleware
[
key
][
i
].
des
...
...
@@ -3947,10 +3947,10 @@ export default {
this
.
middlewareEnumsList
=
arr
;
this
.
middleware
[
key
]
=
arr2
;
},
500
);
}
else
if
(
key
==
"microServices"
)
{
console
.
log
(
"先打印"
,
this
.
middleware
[
key
]);
var
arr
=
[
{
...
...
@@ -4437,7 +4437,7 @@ export default {
}
else
{
this
.
rto
=
res
.
data
.
rto
}
// this.rpo = res.data.rpo
// this.rto = res.data.rto
Object
.
keys
(
this
.
form
).
forEach
(
key
=>
{
...
...
@@ -4472,7 +4472,7 @@ export default {
}
];
for
(
var
i
=
0
;
i
<
res
.
data
.
browser
[
key
].
length
;
i
++
){
if
(
res
.
data
.
browser
[
key
][
i
].
code
==
3
){
console
.
log
(
"?????"
,
res
.
data
.
browser
[
key
][
i
].
des
)
arr
[
0
].
des
=
res
.
data
.
browser
[
key
][
i
].
des
...
...
@@ -4485,7 +4485,7 @@ export default {
}
setTimeout
(()
=>
{
this
.
compatibleBrowsersList
=
arr
;
this
.
browser
[
key
]
=
arr2
;
},
500
);
}
...
...
@@ -4565,7 +4565,7 @@ export default {
}
];
for
(
var
i
=
0
;
i
<
res
.
data
.
middleware
[
key
].
length
;
i
++
){
if
(
res
.
data
.
middleware
[
key
][
i
].
code
==
15
){
arr
[
0
].
des
=
res
.
data
.
middleware
[
key
][
i
].
des
arr2
[
0
].
des
=
res
.
data
.
middleware
[
key
][
i
].
des
...
...
@@ -4579,7 +4579,7 @@ export default {
this
.
middlewareEnumsList
=
arr
;
this
.
middleware
[
key
]
=
arr2
;
},
500
);
}
else
if
(
key
==
"microServices"
)
{
console
.
log
(
"先打印"
,
this
.
middleware
[
key
]);
...
...
@@ -5051,7 +5051,6 @@ export default {
},
//生命周期 - 创建完成(可以访问当前this实例)
created
()
{
this
.
getPrev
();
// console.log("系统不熟",this.$loading());
},
...
...
@@ -5065,35 +5064,35 @@ ws.onopen = function() {
//心跳检测重置
// heartCheck.start();
};
ws
.
onmessage
=
function
(
e
)
{
//1成功 2失败
//1成功 2失败
console
.
log
(
'链接成功'
);
if
(
JSON
.
parse
(
e
.
data
).
msg
!=
""
){
// this.myloadingText = JSON.parse(e.data)
// var str = document.querySelector(".myloading2 .el-loading-text")
// console.log('dsadsadsadsadsadsadsa',str)
// console.log(this.$loading(options))
var
str
=
document
.
querySelector
(
".myloading2 .el-loading-text"
)
// console.log('dsadsadsadsadsadsadsa',str)
str
.
innerText
=
JSON
.
parse
(
e
.
data
).
msg
// console.log(JSON.parse(e.data));
}
// console.log(JSON.parse(e.data));
};
ws
.
onclose
=
function
()
{
console
.
log
(
'链接关闭'
);
};
ws
.
onerror
=
function
()
{
console
.
log
(
'发生异常了'
);
}
},
beforeCreate
()
{},
//生命周期 - 创建之前
...
...
src/components/reportAssess/reportAssess.vue
浏览文件 @
e8fc4010
...
...
@@ -787,7 +787,7 @@
<
script
>
// 这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
// 例如:import 《组件名称》 from '《组件路径》';
import
$
from
'jquery'
import
config
from
'../../../config'
;
export
default
{
name
:
'reportAssess'
,
// import引入的组件需要注入到对象中才能使用
...
...
@@ -907,12 +907,14 @@ export default {
}
this
.
$server
.
getEvaDownload
(
val
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
status
===
200
)
{
if
(
res
.
data
!==
''
)
{
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
data
!==
''
)
{
let
name
=
this
.
type
===
2
?
'适配'
:
'改造'
+
'报告'
;
name
=
this
.
sysName
+
'系统'
+
name
let
x
=
new
XMLHttpRequest
();
x
.
open
(
'GET'
,
res
.
data
,
true
);
this
.
$message
.
success
(
'正在生成wps文件,请稍等!'
)
let
url
=
config
.
assessma
+
res
.
data
.
data
;
x
.
open
(
'GET'
,
url
,
true
);
x
.
responseType
=
'blob'
;
x
.
onload
=
(
e
)
=>
{
console
.
log
(
e
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论