Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
2d673b85
提交
2d673b85
authored
4月 27, 2020
作者:
thy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
输出页面语言增加
上级
1fc263b9
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
71 行增加
和
25 行删除
+71
-25
dist.rar
dist.rar
+0
-0
upload.vue
src/components/assessment/components/upload.vue
+1
-1
reportAssess.vue
src/components/reportAssess/reportAssess.vue
+69
-23
server.js
src/services/server.js
+1
-1
没有找到文件。
dist.rar
浏览文件 @
2d673b85
No preview for this file type
src/components/assessment/components/upload.vue
浏览文件 @
2d673b85
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
uploader_key
:
new
Date
().
getTime
(),
//这个用来刷新组件--解决不刷新页面连续上传的缓存上传数据(注:每次上传时,强制这个值进行更改---根据自己的实际情况重新赋值)
uploader_key
:
new
Date
().
getTime
(),
//这个用来刷新组件--解决不刷新页面连续上传的缓存上传数据(注:每次上传时,强制这个值进行更改---根据自己的实际情况重新赋值)
options
:
{
options
:
{
target
:
'http://120.55.57.35:8078/inspect/uploads'
,
//SpringBoot后台接收文件夹数据的接口
target
:
'http://120.55.57.35:8078/inspect/uploads'
,
//SpringBoot后台接收文件夹数据的接口
// target: 'http://1
92.168.1.8
5:8078/inspect/uploads',//SpringBoot后台接收文件夹数据的接口
// target: 'http://1
20.55.57.3
5:8078/inspect/uploads',//SpringBoot后台接收文件夹数据的接口
testChunks
:
false
//是否测试分片
testChunks
:
false
//是否测试分片
},
},
tableDataAdd
:
[],
tableDataAdd
:
[],
...
...
src/components/reportAssess/reportAssess.vue
浏览文件 @
2d673b85
...
@@ -39,24 +39,12 @@
...
@@ -39,24 +39,12 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div>
<div>
<span
style=
"float:left; line-height:38px;"
>
语言:
语言:
<span
class=
"nmmsl"
>
</span>
{{
this
.
language
===
1
?
<span
class=
"nmmsl ccc"
>
'C'
:
this
.
language
===
2
?
{{
languages
}}
'VB'
:
this
.
language
===
3
?
'DELPHI'
:
this
.
language
===
4
?
'PHP'
:
this
.
language
===
5
?
'JAVA'
:
this
.
language
===
6
?
'PYTHON'
:
this
.
language
===
7
?
'GO'
:
this
.
language
===
8
?
'RUST'
:
this
.
language
===
9
?
'RUBY'
:
this
.
language
===
10
?
'PERL'
:
this
.
language
==
11
?
'MATLAB'
:
this
.
language
===
12
?
'QITA'
:
this
.
language
===
13
?
'JAVASCRIPT'
:
this
.
language
===
14
?
'HTML'
:
'-'
}}
</span>
</span>
</div>
</div>
...
@@ -70,12 +58,18 @@
...
@@ -70,12 +58,18 @@
<el-row
:gutter=
"24"
style=
"padding-bottom: 15px;"
>
<el-row
:gutter=
"24"
style=
"padding-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div>
<div>
难度系数:
<span
class=
"nmmsl"
>
{{
this
.
difficulty
===
-
1
?
this
.
difficulty
=
'-'
:
this
.
difficulty
}}
</span>
<span
style=
"float:left; line-height:38px;"
>
难度系数:
</span>
<span
class=
"nmmsl"
>
{{
this
.
difficulty
===
-
1
?
this
.
difficulty
=
'-'
:
this
.
difficulty
}}
</span>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div>
<div>
<span
style=
"float:left; line-height:38px;"
>
架构:
架构:
</span>
<span
class=
"nmmsl"
>
<span
class=
"nmmsl"
>
<!--
{{
this
.
framework
}}
-->
<!--
{{
this
.
framework
}}
-->
...
@@ -93,8 +87,8 @@
...
@@ -93,8 +87,8 @@
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div>
修改建议:
<span
class=
"nmmsl"
>
<div>
修改建议:
<span
class=
"nmmsl"
>
{{
this
.
type
===
1
?
{{
recastMethod
===
1
?
'
修改'
:
(
this
.
type
===
2
&&
this
.
language
===
1
&&
this
.
framework
===
1
)
?
'代码修改'
:
'系统重构
'
}}
'
适配重构'
:
recastMethod
===
2
?
'代码修改'
:
recastMethod
===
3
?
'无需代码修改'
:
'-
'
}}
</span>
</span>
</div>
</div>
</el-col>
</el-col>
...
@@ -809,7 +803,7 @@ export default {
...
@@ -809,7 +803,7 @@ export default {
newDifficuty
:
''
,
newDifficuty
:
''
,
newCost
:
''
,
newCost
:
''
,
framework
:
''
,
framework
:
''
,
language
:
''
,
language
s
:
[]
,
tableData
:
[],
tableData
:
[],
table1Data
:
[],
table1Data
:
[],
table2Data
:
[],
table2Data
:
[],
...
@@ -837,7 +831,7 @@ export default {
...
@@ -837,7 +831,7 @@ export default {
},
},
wer
:
''
,
wer
:
''
,
currenIndex
:
''
,
currenIndex
:
''
,
recastMethod
:
''
,
opper
:
''
,
opper
:
''
,
replaceSuggest
:
''
,
replaceSuggest
:
''
,
picture
:
false
,
// 返回
picture
:
false
,
// 返回
...
@@ -1042,6 +1036,7 @@ export default {
...
@@ -1042,6 +1036,7 @@ export default {
// this.type = res.data.type
// this.type = res.data.type
}
else
{
}
else
{
this
.
recastMethod
=
res
.
data
.
data
.
recastMethod
this
.
orgName
=
res
.
data
.
data
.
orgName
this
.
orgName
=
res
.
data
.
data
.
orgName
this
.
sysName
=
res
.
data
.
data
.
sysName
this
.
sysName
=
res
.
data
.
data
.
sysName
this
.
time
=
res
.
data
.
data
.
time
this
.
time
=
res
.
data
.
data
.
time
...
@@ -1051,7 +1046,53 @@ export default {
...
@@ -1051,7 +1046,53 @@ export default {
this
.
framework
=
res
.
data
.
data
.
framework
this
.
framework
=
res
.
data
.
data
.
framework
this
.
language
=
res
.
data
.
data
.
language
this
.
languages
=
res
.
data
.
data
.
languages
for
(
var
i
=
0
;
i
<
this
.
languages
.
length
;
i
++
){
if
(
this
.
languages
[
i
]
===
1
){
this
.
languages
[
i
]
=
'C'
}
else
if
(
this
.
languages
[
i
]
===
2
){
this
.
languages
[
i
]
=
'VB'
}
else
if
(
this
.
languages
[
i
]
===
3
){
this
.
languages
[
i
]
=
'DELPHI'
}
else
if
(
this
.
languages
[
i
]
===
4
){
this
.
languages
[
i
]
=
'PHP'
}
else
if
(
this
.
languages
[
i
]
===
5
){
this
.
languages
[
i
]
=
'JAVA'
}
else
if
(
this
.
languages
[
i
]
===
6
){
this
.
languages
[
i
]
=
'PYTHON'
}
else
if
(
this
.
languages
[
i
]
===
7
){
this
.
languages
[
i
]
=
'GO'
}
else
if
(
this
.
languages
[
i
]
===
8
){
this
.
languages
[
i
]
=
'RUST'
}
else
if
(
this
.
languages
[
i
]
===
9
){
this
.
languages
[
i
]
=
'RUBY'
}
else
if
(
this
.
languages
[
i
]
===
10
){
this
.
languages
[
i
]
=
'PERL'
}
else
if
(
this
.
languages
[
i
]
===
11
){
this
.
languages
[
i
]
=
'MATLAB'
}
else
if
(
this
.
languages
[
i
]
===
12
){
this
.
languages
[
i
]
=
'QITA'
}
else
if
(
this
.
languages
[
i
]
===
13
){
this
.
languages
[
i
]
=
'JAVASCRIPT'
}
else
if
(
this
.
languages
[
i
]
===
14
){
this
.
languages
[
i
]
=
'HTML'
}
}
this
.
languages
=
this
.
languages
.
join
(
','
)
this
.
budget
=
res
.
data
.
data
.
budget
this
.
budget
=
res
.
data
.
data
.
budget
// firstTable
// firstTable
this
.
tableData
=
res
.
data
.
data
.
sysScale
this
.
tableData
=
res
.
data
.
data
.
sysScale
...
@@ -1495,6 +1536,11 @@ export default {
...
@@ -1495,6 +1536,11 @@ export default {
padding
:
0
12px
padding
:
0
12px
}
}
.snack
div
.nmmsl.ccc
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.snack
div
span
i
{
.snack
div
span
i
{
color
:
#41ba87
;
color
:
#41ba87
;
float
:
right
;
float
:
right
;
...
...
src/services/server.js
浏览文件 @
2d673b85
...
@@ -11,7 +11,7 @@ import axios from '@/services/axios';
...
@@ -11,7 +11,7 @@ import axios from '@/services/axios';
*/
*/
import
qs
from
'qs'
;
import
qs
from
'qs'
;
const
assessma
=
'http://120.55.57.35:8078'
const
assessma
=
'http://120.55.57.35:8078'
// const assessma = 'http://1
92.168.1.8
5:8078'
// const assessma = 'http://1
20.55.57.3
5:8078'
const
server
=
{
const
server
=
{
getloginOut
(
id
)
{
// 用户退出
getloginOut
(
id
)
{
// 用户退出
return
axios
(
'/user/loginOut/'
+
id
,
{
return
axios
(
'/user/loginOut/'
+
id
,
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论