Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
fc5ab20f
提交
fc5ab20f
authored
4月 20, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
new
上级
096c1185
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
77 行增加
和
87 行删除
+77
-87
evaluationReport.vue
src/components/evaluationReport/evaluationReport.vue
+7
-4
otherPdf.vue
src/components/otherPdf/otherPdf.vue
+51
-51
reportAssess.vue
src/components/reportAssess/reportAssess.vue
+18
-19
axios.js
src/services/axios.js
+0
-12
server.js
src/services/server.js
+1
-1
没有找到文件。
src/components/evaluationReport/evaluationReport.vue
浏览文件 @
fc5ab20f
...
...
@@ -113,11 +113,14 @@ export default {
}
this
.
$server
.
getEvaluationList
(
this
.
currentPage
,
this
.
pagesize
,
val
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
this
.
allData
=
res
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
total
;
for
(
let
item
of
this
.
allData
)
{
item
.
createDate
=
item
.
createDate
===
''
?
'暂无'
:
this
.
time
(
item
.
createDate
);
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
;
for
(
let
item
of
this
.
allData
)
{
item
.
createDate
=
item
.
createDate
===
''
?
'暂无'
:
this
.
time
(
item
.
createDate
);
}
}
}).
catch
(
err
=>
{
console
.
log
(
err
.
message
);
})
...
...
src/components/otherPdf/otherPdf.vue
浏览文件 @
fc5ab20f
...
...
@@ -900,76 +900,76 @@ export default {
id
:
this
.
$route
.
query
.
id
}
this
.
$server
.
getTechnology
(
val
).
then
(
res
=>
{
// console.log('数据请求结果', res.data)
// console.log('数据请求结果', res.data
.data
)
console
.
log
(
this
.
$route
.
query
.
agree
)
if
(
res
.
data
!==
5
00
)
{
this
.
title
=
res
.
data
.
localContact
;
this
.
systemName
=
res
.
data
.
sysName
;
this
.
reportName
=
res
.
data
.
type
===
2
?
'适配'
:
'改造'
+
'工作评估报告'
;
if
(
res
.
data
.
code
===
2
00
)
{
this
.
title
=
res
.
data
.
data
.
localContact
;
this
.
systemName
=
res
.
data
.
data
.
sysName
;
this
.
reportName
=
res
.
data
.
data
.
type
===
2
?
'适配'
:
'改造'
+
'工作评估报告'
;
this
.
reportName
=
'在国产化安全自主可控环境下的'
+
this
.
reportName
;
this
.
htmlTitle
=
this
.
reportName
;
console
.
log
(
res
.
data
.
sysScale
)
this
.
sysScale
.
codeNum
=
res
.
data
.
sysScale
.
code
.
num
===
-
1
?
'-'
:
res
.
data
.
sysScale
.
code
.
num
;
this
.
sysScale
.
modelNum
=
res
.
data
.
sysScale
.
mode
.
num
===
-
1
?
'-'
:
res
.
data
.
sysScale
.
mode
.
num
;
this
.
sysScale
.
fileNum
=
res
.
data
.
sysScale
.
file
.
num
===
-
1
?
'-'
:
res
.
data
.
sysScale
.
file
.
num
;
this
.
technologyDependence
=
res
.
data
.
technologyList
.
des
;
this
.
systemStructure
.
push
(
res
.
data
.
difficultyAssessment
.
frameDifficulty
.
systemEvaluation
);
this
.
systemStructure
.
push
(
res
.
data
.
difficultyAssessment
.
frameDifficulty
.
message
);
this
.
systemStructure
.
push
(
res
.
data
.
difficultyAssessment
.
frameDifficulty
.
difficulty
);
this
.
systemStructure
.
push
(
res
.
data
.
difficultyAssessment
.
frameDifficulty
.
load
);
this
.
middleware
.
push
(
res
.
data
.
difficultyAssessment
.
middlewareDifficulty
.
systemEvaluation
);
this
.
middleware
.
push
(
res
.
data
.
difficultyAssessment
.
middlewareDifficulty
.
message
);
this
.
middleware
.
push
(
res
.
data
.
difficultyAssessment
.
middlewareDifficulty
.
difficulty
);
this
.
middleware
.
push
(
res
.
data
.
difficultyAssessment
.
middlewareDifficulty
.
load
);
console
.
log
(
res
.
data
.
data
.
sysScale
)
this
.
sysScale
.
codeNum
=
res
.
data
.
data
.
sysScale
.
code
.
num
===
-
1
?
'-'
:
res
.
data
.
data
.
sysScale
.
code
.
num
;
this
.
sysScale
.
modelNum
=
res
.
data
.
data
.
sysScale
.
mode
.
num
===
-
1
?
'-'
:
res
.
data
.
data
.
sysScale
.
mode
.
num
;
this
.
sysScale
.
fileNum
=
res
.
data
.
data
.
sysScale
.
file
.
num
===
-
1
?
'-'
:
res
.
data
.
data
.
sysScale
.
file
.
num
;
this
.
technologyDependence
=
res
.
data
.
data
.
technologyList
.
des
;
this
.
systemStructure
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
frameDifficulty
.
systemEvaluation
);
this
.
systemStructure
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
frameDifficulty
.
message
);
this
.
systemStructure
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
frameDifficulty
.
difficulty
);
this
.
systemStructure
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
frameDifficulty
.
load
);
this
.
middleware
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
middlewareDifficulty
.
systemEvaluation
);
this
.
middleware
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
middlewareDifficulty
.
message
);
this
.
middleware
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
middlewareDifficulty
.
difficulty
);
this
.
middleware
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
middlewareDifficulty
.
load
);
this
.
dataBase
.
push
(
'/'
);
this
.
dataBase
.
push
(
'/'
);
this
.
dataBase
.
push
(
res
.
data
.
difficultyAssessment
.
databaseDifficulty
.
difficulty
);
this
.
dataBase
.
push
(
res
.
data
.
difficultyAssessment
.
databaseDifficulty
.
load
);
this
.
dataBase
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
databaseDifficulty
.
difficulty
);
this
.
dataBase
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
databaseDifficulty
.
load
);
this
.
localProgram
.
push
(
'/'
);
this
.
localProgram
.
push
(
'/'
);
this
.
localProgram
.
push
(
res
.
data
.
difficultyAssessment
.
programDifficulty
.
difficulty
);
this
.
localProgram
.
push
(
res
.
data
.
difficultyAssessment
.
programDifficulty
.
load
);
this
.
monthlyEstimate
.
development
.
developmentVolume
=
res
.
data
.
workload
.
development
?
res
.
data
.
workload
.
development
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
development
.
correctionFactor
=
res
.
data
.
workload
.
development
?
res
.
data
.
workload
.
development
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
test
.
developmentVolume
=
res
.
data
.
workload
.
test
?
res
.
data
.
workload
.
test
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
test
.
correctionFactor
=
res
.
data
.
workload
.
test
?
res
.
data
.
workload
.
test
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
deploy
.
developmentVolume
=
res
.
data
.
workload
.
deploy
?
res
.
data
.
workload
.
deploy
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
deploy
.
correctionFactor
=
res
.
data
.
workload
.
deploy
?
res
.
data
.
workload
.
deploy
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
total
.
developmentVolume
=
res
.
data
.
workload
.
total
?
res
.
data
.
workload
.
total
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
total
.
correctionFactor
=
res
.
data
.
workload
.
total
?
res
.
data
.
workload
.
total
.
correctionFactor
:
''
;
this
.
newApply
=
res
.
data
.
apply
;
this
.
newCost
.
person
.
normal
=
res
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
manufacturingCost
.
artificial
.
calculation
;
this
.
localProgram
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
programDifficulty
.
difficulty
);
this
.
localProgram
.
push
(
res
.
data
.
d
ata
.
d
ifficultyAssessment
.
programDifficulty
.
load
);
this
.
monthlyEstimate
.
development
.
developmentVolume
=
res
.
data
.
data
.
workload
.
development
?
res
.
data
.
data
.
workload
.
development
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
development
.
correctionFactor
=
res
.
data
.
data
.
workload
.
development
?
res
.
data
.
data
.
workload
.
development
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
test
.
developmentVolume
=
res
.
data
.
data
.
workload
.
test
?
res
.
data
.
data
.
workload
.
test
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
test
.
correctionFactor
=
res
.
data
.
data
.
workload
.
test
?
res
.
data
.
data
.
workload
.
test
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
deploy
.
developmentVolume
=
res
.
data
.
data
.
workload
.
deploy
?
res
.
data
.
data
.
workload
.
deploy
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
deploy
.
correctionFactor
=
res
.
data
.
data
.
workload
.
deploy
?
res
.
data
.
data
.
workload
.
deploy
.
correctionFactor
:
''
;
this
.
monthlyEstimate
.
total
.
developmentVolume
=
res
.
data
.
data
.
workload
.
total
?
res
.
data
.
data
.
workload
.
total
.
developmentVolume
:
''
;
this
.
monthlyEstimate
.
total
.
correctionFactor
=
res
.
data
.
data
.
workload
.
total
?
res
.
data
.
data
.
workload
.
total
.
correctionFactor
:
''
;
this
.
newApply
=
res
.
data
.
data
.
apply
;
this
.
newCost
.
person
.
normal
=
res
.
data
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
data
.
manufacturingCost
.
artificial
.
calculation
;
this
.
newCost
.
person
.
operating
=
this
.
$route
.
query
.
popp
;
this
.
newCost
.
person
.
now
=
Number
(
this
.
newCost
.
person
.
normal
)
+
Number
(
this
.
newCost
.
person
.
operating
);
this
.
newCost
.
work
.
normal
=
res
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
manufacturingCost
.
workLoad
.
calculation
;
this
.
newCost
.
work
.
now
=
res
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
manufacturingCost
.
workLoad
.
calculation
;
this
.
newCost
.
other
.
normal
=
res
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
manufacturingCost
.
apply
.
calculation
;
this
.
newCost
.
work
.
normal
=
res
.
data
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
data
.
manufacturingCost
.
workLoad
.
calculation
;
this
.
newCost
.
work
.
now
=
res
.
data
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
data
.
manufacturingCost
.
workLoad
.
calculation
;
this
.
newCost
.
other
.
normal
=
res
.
data
.
data
.
manufacturingCost
===
''
?
0
:
res
.
data
.
data
.
manufacturingCost
.
apply
.
calculation
;
this
.
newCost
.
other
.
operating
=
this
.
$route
.
query
.
agree
===
'true'
?
'同意'
:
0
;
this
.
newCost
.
other
.
now
=
this
.
$route
.
query
.
agree
===
'true'
?
res
.
data
.
manufacturingCost
.
apply
.
calculation
:
0
;
this
.
newCost
.
cost
.
now
=
res
.
data
.
manufacturingCost
===
''
?
0
:
(
(
(
Number
(
this
.
newCost
.
person
.
normal
)
+
Number
(
this
.
newCost
.
person
.
operating
))
*
Number
(
this
.
newCost
.
work
.
now
)
)
+
Number
(
this
.
newCost
.
other
.
now
)
).
toFixed
(
3
)
this
.
degreeOfDifficulty
=
res
.
data
.
manufacturingCost
.
degreeOfDifficulty
.
calculation
;
this
.
newCost
.
other
.
now
=
this
.
$route
.
query
.
agree
===
'true'
?
res
.
data
.
data
.
manufacturingCost
.
apply
.
calculation
:
0
;
this
.
newCost
.
cost
.
now
=
res
.
data
.
data
.
manufacturingCost
===
''
?
0
:
(
(
(
Number
(
this
.
newCost
.
person
.
normal
)
+
Number
(
this
.
newCost
.
person
.
operating
))
*
Number
(
this
.
newCost
.
work
.
now
)
)
+
Number
(
this
.
newCost
.
other
.
now
)
).
toFixed
(
3
)
this
.
degreeOfDifficulty
=
res
.
data
.
data
.
manufacturingCost
.
degreeOfDifficulty
.
calculation
;
this
.
tableTitle
[
0
].
val
=
this
.
title
;
// 单位名称
this
.
tableTitle
[
1
].
val
=
this
.
systemName
;
// 原系统名称
console
.
log
(
res
.
data
.
language
)
this
.
tableTitle
[
3
].
val
=
res
.
data
.
language
===
1
?
'C'
:
res
.
data
.
language
===
2
?
'VB'
:
res
.
data
.
language
===
3
?
'DELPHI'
:
res
.
data
.
language
===
4
?
'PHP'
:
res
.
data
.
language
===
5
?
'JAVA'
:
res
.
data
.
language
===
6
?
'PYTHON'
:
res
.
data
.
language
===
7
?
'GO'
:
res
.
data
.
language
===
8
?
'RUST'
:
res
.
data
.
language
===
9
?
'RUBY'
:
res
.
data
.
language
===
10
?
'PERL'
:
res
.
data
.
language
===
11
?
'MATLAB'
:
res
.
data
.
language
===
12
?
'QITA'
:
res
.
data
.
language
===
13
?
'HTML'
:
'-'
this
.
tableTitle
[
4
].
val
=
res
.
data
.
framework
===
1
?
'前后端分离'
:
res
.
data
.
framework
===
2
?
'混合'
:
res
.
data
.
framework
===
-
1
?
'-'
:
''
;
// 架构
console
.
log
(
res
.
data
.
data
.
language
)
this
.
tableTitle
[
3
].
val
=
res
.
data
.
data
.
language
===
1
?
'C'
:
res
.
data
.
data
.
language
===
2
?
'VB'
:
res
.
data
.
data
.
language
===
3
?
'DELPHI'
:
res
.
data
.
data
.
language
===
4
?
'PHP'
:
res
.
data
.
data
.
language
===
5
?
'JAVA'
:
res
.
data
.
data
.
language
===
6
?
'PYTHON'
:
res
.
data
.
data
.
language
===
7
?
'GO'
:
res
.
data
.
data
.
language
===
8
?
'RUST'
:
res
.
data
.
data
.
language
===
9
?
'RUBY'
:
res
.
data
.
data
.
language
===
10
?
'PERL'
:
res
.
data
.
data
.
language
===
11
?
'MATLAB'
:
res
.
data
.
data
.
language
===
12
?
'QITA'
:
res
.
data
.
data
.
language
===
13
?
'HTML'
:
'-'
this
.
tableTitle
[
4
].
val
=
res
.
data
.
data
.
framework
===
1
?
'前后端分离'
:
res
.
data
.
data
.
framework
===
2
?
'混合'
:
res
.
data
.
data
.
framework
===
-
1
?
'-'
:
''
;
// 架构
this
.
tableTitle
[
5
].
val
=
this
.
sysScale
.
codeNum
;
// 代码行
this
.
tableTitle
[
6
].
val
=
this
.
sysScale
.
fileNum
+
'/'
+
this
.
sysScale
.
modelNum
;
// 文件/模块
this
.
tableTitle
[
7
].
val
=
this
.
degreeOfDifficulty
;
// 综合难度系数
this
.
tableTitle
[
8
].
val
=
res
.
data
.
type
===
1
?
'修改'
:
(
res
.
data
.
type
===
2
&&
res
.
data
.
language
===
1
&&
res
.
data
.
framework
===
1
)
?
'修改'
:
'重构'
;
// 建议
this
.
tableTitle
[
8
].
val
=
res
.
data
.
data
.
type
===
1
?
'修改'
:
(
res
.
data
.
data
.
type
===
2
&&
res
.
data
.
data
.
language
===
1
&&
res
.
data
.
data
.
framework
===
1
)
?
'修改'
:
'重构'
;
// 建议
this
.
tableTitle
[
9
].
val
=
this
.
newCost
.
work
.
now
+
'人工月'
;
// 总工作量
this
.
tableTitle
[
10
].
val
=
this
.
newCost
.
other
.
now
+
'万元'
;
// 额外申请费用
this
.
tableTitle
[
11
].
val
=
this
.
newCost
.
cost
.
now
+
'万元'
;
// 评估预算总费用
if
(
res
.
data
.
technologyList
.
technologyReports
.
length
!==
0
)
{
// 轮询 3.2
for
(
let
i
=
0
;
i
<
res
.
data
.
technologyList
.
technologyReports
.
length
;
i
++
)
{
// 轮询出所有的表
if
(
res
.
data
.
data
.
technologyList
.
technologyReports
.
length
!==
0
)
{
// 轮询 3.2
for
(
let
i
=
0
;
i
<
res
.
data
.
data
.
technologyList
.
technologyReports
.
length
;
i
++
)
{
// 轮询出所有的表
let
name
=
{
name
:
res
.
data
.
technologyList
.
technologyReports
[
i
].
technology
,
name
:
res
.
data
.
data
.
technologyList
.
technologyReports
[
i
].
technology
,
val
:
[[]]
}
this
.
optimizedItemsList
.
push
(
name
);
// 把名称拿出来新增到变量中
let
page
=
0
;
// 当前页为0
for
(
let
a
=
0
;
a
<
res
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
.
length
;
a
++
)
{
for
(
let
a
=
0
;
a
<
res
.
data
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
.
length
;
a
++
)
{
if
(
a
%
7
===
0
)
{
// 每隔七条分一页
this
.
optimizedItemsList
[
i
].
val
.
push
([[]]);
// 当到了七条就新增一个数组
if
(
a
!==
0
)
{
...
...
@@ -977,9 +977,9 @@ export default {
}
}
let
value
=
{
'file'
:
res
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
file
,
'keyWord'
:
res
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
keyWord
,
'position'
:
res
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
position
'file'
:
res
.
data
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
file
,
'keyWord'
:
res
.
data
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
keyWord
,
'position'
:
res
.
data
.
data
.
technologyList
.
technologyReports
[
i
].
technologyContents
[
a
].
position
}
this
.
optimizedItemsList
[
i
].
val
[
page
].
push
(
value
)
// 把对应的值放到对应表和对应的页中
}
...
...
@@ -1007,8 +1007,8 @@ export default {
},
init2
()
{
this
.
$server
.
getExcel
(
this
.
$route
.
query
.
id
).
then
(
res
=>
{
this
.
messageAll
=
res
.
data
;
this
.
tableTitle
[
2
].
val
=
res
.
data
[
0
].
arrayList
[
8
].
value
+
'万元'
;
// 适配预算
this
.
messageAll
=
res
.
data
.
data
;
this
.
tableTitle
[
2
].
val
=
res
.
data
.
data
[
0
].
arrayList
[
8
].
value
+
'万元'
;
// 适配预算
let
array
=
[];
for
(
let
item
of
this
.
messageAll
)
{
if
(
item
.
arrayList
.
length
!==
0
)
{
...
...
src/components/reportAssess/reportAssess.vue
浏览文件 @
fc5ab20f
...
...
@@ -1030,7 +1030,7 @@ export default {
console
.
log
(
name
)
this
.
$server
.
getTechnology
(
name
).
then
(
res
=>
{
console
.
log
(
'数据请求结果'
,
res
)
if
(
res
.
data
===
500
)
{
if
(
res
.
data
.
code
===
500
)
{
this
.
picture
=
true
// this.orgName = res.data.orgName
...
...
@@ -1040,51 +1040,50 @@ export default {
// this.type = res.data.type
}
else
{
this
.
orgName
=
res
.
data
.
orgName
this
.
sysName
=
res
.
data
.
sysName
this
.
time
=
res
.
data
.
time
this
.
difficulty
=
res
.
data
.
difficulty
this
.
type
=
res
.
data
.
type
this
.
orgName
=
res
.
data
.
data
.
orgName
this
.
sysName
=
res
.
data
.
data
.
sysName
this
.
time
=
res
.
data
.
data
.
time
this
.
difficulty
=
res
.
data
.
data
.
difficulty
this
.
type
=
res
.
data
.
data
.
type
// this.type === 1 ? this.type = '改造' : this.type = '适配'
this
.
framework
=
res
.
data
.
framework
this
.
framework
=
res
.
data
.
data
.
framework
this
.
language
=
res
.
data
.
language
this
.
budget
=
res
.
data
.
budget
this
.
language
=
res
.
data
.
data
.
language
this
.
budget
=
res
.
data
.
data
.
budget
// firstTable
this
.
tableData
=
res
.
data
.
sysScale
console
.
log
(
'pic'
,
res
.
data
)
this
.
tableData
=
res
.
data
.
data
.
sysScale
console
.
log
(
'pic'
,
res
.
data
.
data
)
// console.log( '3333',this.tableData)
// console.log( 'type',this.type)
// technologyReports 技术和替换策略建议
// 循环表格
this
.
table1Data
=
res
.
data
.
technologyList
.
technologyReports
this
.
table1Data
=
res
.
data
.
data
.
technologyList
.
technologyReports
console
.
log
(
'9090'
,
this
.
tableData
)
console
.
log
(
this
.
table1Data
,
'替换策略'
)
let
firstDetial
;
this
.
firstDetial
=
res
.
data
.
technologyList
this
.
firstDetial
=
res
.
data
.
data
.
technologyList
// 技术和替换策略建议
//
this
.
opper
=
res
.
data
.
technologyList
.
technologyReports
this
.
opper
=
res
.
data
.
data
.
technologyList
.
technologyReports
console
.
log
(
'oooo'
,
this
.
opper
)
// 工作量评估
// let newWork;
this
.
newWork
=
res
.
data
.
workload
;
this
.
newWork
=
res
.
data
.
data
.
workload
;
// console.log('wordLoad2222',this.newWork)
// 额外费用申请
this
.
newApply
=
res
.
data
.
apply
this
.
newApply
=
res
.
data
.
data
.
apply
// console.log('额外费用申请',this.newApply)
// 适配难度评估
// 系统部署架构难度
this
.
newDifficuty
=
res
.
data
.
difficultyAssessment
this
.
newDifficuty
=
res
.
data
.
d
ata
.
d
ifficultyAssessment
// 中间件
...
...
@@ -1166,7 +1165,7 @@ export default {
// 适配难度评估
// 造价估算 manufacturingCost
this
.
newCost
=
res
.
data
.
manufacturingCost
this
.
newCost
=
res
.
data
.
data
.
manufacturingCost
console
.
log
(
'造价估算'
,
this
.
newCost
)
// 造价估算
...
...
src/services/axios.js
浏览文件 @
fc5ab20f
...
...
@@ -42,18 +42,6 @@ axios.interceptors.response.use(function (response) {
}
},
function
(
error
)
{
// 预处理响应错误(error)
console
.
log
(
error
.
request
.
status
);
if
(
error
.
request
.
status
===
403
)
{
v
.
$message
.
error
(
'您没有访问权限!'
);
setTimeout
(
function
()
{
router
.
push
({
name
:
'login'
})
},
500
)
}
else
if
(
error
.
request
.
status
===
400
)
{
v
.
$message
.
error
(
'登录已超时,请重新登陆!'
);
setTimeout
(
function
()
{
router
.
push
({
name
:
'login'
})
},
500
)
}
// console.log(error.splice(error.length - 4,error.length - 1))
return
Promise
.
reject
(
error
);
});
...
...
src/services/server.js
浏览文件 @
fc5ab20f
...
...
@@ -375,7 +375,7 @@ const server = {
method
:
'get'
,
})
},
upExcel
(
data
){
//excel
upExcel
(
data
){
//
excel
return
axios
(
assessma
+
'/inspect/importExcelToRapidAssessment'
,{
method
:
'post'
,
data
:
data
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论