Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
93d2207b
提交
93d2207b
authored
4月 09, 2020
作者:
thy
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into 'thy'
# Conflicts: # src/components/roleDispose/roleDispose.vue
上级
def9eb54
412a515c
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
119 行增加
和
51 行删除
+119
-51
newCompany.vue
src/components/admittance/company/newCompany.vue
+1
-1
technology.vue
src/components/admittance/product/technology.vue
+1
-1
addTechnical.vue
src/components/admittance/technical/addTechnical.vue
+8
-2
technical.vue
src/components/admittance/technical/technical.vue
+4
-0
company.vue
src/components/basicInformation/company/company.vue
+7
-3
newCompany.vue
src/components/basicInformation/company/newCompany.vue
+1
-1
addPerson.vue
src/components/basicInformation/person/addPerson.vue
+3
-3
person.vue
src/components/basicInformation/person/person.vue
+4
-0
personPage.vue
src/components/basicInformation/person/personPage.vue
+6
-2
product.vue
src/components/basicInformation/product/product.vue
+13
-5
technology.vue
src/components/basicInformation/product/technology.vue
+6
-3
authority.vue
src/components/basicInformation/role/authority.vue
+4
-2
role.vue
src/components/basicInformation/role/role.vue
+2
-0
addComplaint.vue
src/components/complaint/complaint/addComplaint.vue
+3
-1
complaint.vue
src/components/complaint/complaint/complaint.vue
+2
-0
addComplaintManagement.vue
.../complaint/complaintManagement/addComplaintManagement.vue
+3
-1
complaintManagement.vue
...nts/complaint/complaintManagement/complaintManagement.vue
+2
-0
complaintManagementDetail.vue
...mplaint/complaintManagement/complaintManagementDetail.vue
+1
-1
evaluationReport.vue
src/components/evaluationReport/evaluationReport.vue
+10
-9
home.vue
src/components/home/home.vue
+2
-2
keyTechnologyAdd.vue
src/components/keyTechnology/keyTechnologyAdd.vue
+2
-3
parameterConfiguration.vue
...ponents/parameterConfiguration/parameterConfiguration.vue
+1
-1
document.vue
src/components/projectManagement/document/document.vue
+1
-1
hardware.vue
src/components/projectManagement/hardware/hardware.vue
+2
-0
journal.vue
src/components/projectManagement/journal/journal.vue
+2
-0
projectManagement.vue
...omponents/projectManagement/project/projectManagement.vue
+4
-0
projectInformation.vue
...ojectManagement/projectInformation/projectInformation.vue
+2
-0
software.vue
src/components/projectManagement/software/software.vue
+2
-0
technicalRoute.vue
...nents/projectManagement/technicalRoute/technicalRoute.vue
+2
-0
reportAssess.vue
src/components/reportAssess/reportAssess.vue
+4
-6
roleDispose.vue
src/components/roleDispose/roleDispose.vue
+13
-2
axios.js
src/services/axios.js
+1
-1
没有找到文件。
src/components/admittance/company/newCompany.vue
浏览文件 @
93d2207b
...
...
@@ -87,7 +87,7 @@ export default {
this
.
$message
.
success
(
'单位新建成功!'
);
this
.
$emit
(
'on-cancel'
,
true
)
}
else
{
this
.
$message
.
error
(
'单位新建失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'单位新建失败!'
);
...
...
src/components/admittance/product/technology.vue
浏览文件 @
93d2207b
...
...
@@ -59,7 +59,7 @@ export default {
console
.
log
(
res
)
this
.
techNameList
=
res
.
data
.
data
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
this
.
$message
.
error
(
'数据请求失败!'
);
})
}
},
...
...
src/components/admittance/technical/addTechnical.vue
浏览文件 @
93d2207b
...
...
@@ -124,6 +124,8 @@ export default {
'product2List'
:
product2List
}
this
.
allProduct
.
push
(
val
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -152,7 +154,7 @@ export default {
this
.
$message
.
success
(
'修改技术路线成功!'
)
this
.
$emit
(
'on-cancel'
)
}
else
{
this
.
$message
.
error
(
'修改技术路线失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -164,7 +166,7 @@ export default {
this
.
$message
.
success
(
'新增技术路线成功!'
)
this
.
$emit
(
'on-cancel'
)
}
else
{
this
.
$message
.
error
(
'新增技术路线失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -193,6 +195,8 @@ export default {
this
.
$server
.
getFindByForm
(
val
).
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
this
.
allProduct
[
index
].
product2List
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -217,6 +221,8 @@ export default {
this
.
$server
.
getFindByForm
(
val
).
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
this
.
product2List
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/admittance/technical/technical.vue
浏览文件 @
93d2207b
...
...
@@ -104,6 +104,8 @@ export default {
this
.
$server
.
getProduceFindAccess
().
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
this
.
productList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
console
.
log
(
res
.
data
.
data
)
}).
catch
(
err
=>
{
...
...
@@ -136,6 +138,8 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/basicInformation/company/company.vue
浏览文件 @
93d2207b
...
...
@@ -158,8 +158,12 @@ export default {
}
console
.
log
(
data
)
this
.
$server
.
postUnitSearch
(
data
).
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
...
...
@@ -209,7 +213,7 @@ export default {
if
(
res
.
data
.
msg
===
'OK'
)
{
this
.
$message
.
success
(
'导入单位成功!'
);
}
else
{
this
.
$message
.
error
(
'导入单位失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'导入单位失败!'
);
...
...
src/components/basicInformation/company/newCompany.vue
浏览文件 @
93d2207b
...
...
@@ -87,7 +87,7 @@ export default {
this
.
$message
.
success
(
'单位新建成功!'
);
this
.
$emit
(
'on-cancel'
,
true
)
}
else
{
this
.
$message
.
error
(
'单位新建失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'单位新建失败!'
);
...
...
src/components/basicInformation/person/addPerson.vue
浏览文件 @
93d2207b
...
...
@@ -105,8 +105,8 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
$message
.
success
(
'新增人员成功!'
);
this
.
resetForm
(
'form'
)
}
else
{
this
.
$message
.
error
(
'新增人员失败!'
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -136,7 +136,7 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
path
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
'数据请求失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/basicInformation/person/person.vue
浏览文件 @
93d2207b
...
...
@@ -137,6 +137,8 @@ export default {
}
this
.
$store
.
commit
(
'changeJumpOther'
,
val
);
this
.
init
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -172,6 +174,8 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/basicInformation/person/personPage.vue
浏览文件 @
93d2207b
...
...
@@ -121,10 +121,14 @@ export default {
this
.
imageUrl
=
value
.
path
}
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -151,7 +155,7 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
$message
.
success
(
'上传头像成功!'
)
}
else
{
this
.
$message
.
error
(
'上传头像失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -176,7 +180,7 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
$message
.
success
(
'修改信息成功!'
)
}
else
{
this
.
$message
.
error
(
'修改信息失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/basicInformation/product/product.vue
浏览文件 @
93d2207b
...
...
@@ -149,7 +149,11 @@ export default {
// this.allData = res.data.data
// })
this
.
$server
.
getTechFindAll
().
then
(
res
=>
{
// 请求技术路线
this
.
techList
=
res
.
data
.
data
if
(
res
.
data
.
code
===
200
)
{
this
.
techList
=
res
.
data
.
data
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
...
...
@@ -197,8 +201,12 @@ export default {
t
:
message
};
this
.
$server
.
postProduceSearch
(
data
).
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
...
...
@@ -241,8 +249,8 @@ export default {
if
(
res
.
data
.
msg
===
'OK'
)
{
this
.
$message
.
success
(
'产品导入成功!'
);
this
.
search
();
}
else
{
this
.
$message
.
error
(
'产品导入失败!'
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'产品导入失败!'
);
...
...
src/components/basicInformation/product/technology.vue
浏览文件 @
93d2207b
...
...
@@ -56,10 +56,13 @@ export default {
}
})
this
.
$server
.
getProduceFind
(
this
.
list
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
techNameList
=
res
.
data
.
data
if
(
res
.
data
.
code
===
200
)
{
this
.
techNameList
=
res
.
data
.
data
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
this
.
$message
.
error
(
'数据请求失败!'
);
})
}
},
...
...
src/components/basicInformation/role/authority.vue
浏览文件 @
93d2207b
...
...
@@ -55,6 +55,8 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
authority
=
res
.
data
.
data
;
this
.
init
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -105,7 +107,7 @@ export default {
this
.
$message
.
success
(
'角色新增成功!'
);
this
.
cancel
();
}
else
{
this
.
$message
.
error
(
'角色新增失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -120,7 +122,7 @@ export default {
this
.
$message
.
success
(
'角色修改成功!'
);
this
.
cancel
();
}
else
{
this
.
$message
.
error
(
'角色修改失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/basicInformation/role/role.vue
浏览文件 @
93d2207b
...
...
@@ -109,6 +109,8 @@ export default {
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/complaint/complaint/addComplaint.vue
浏览文件 @
93d2207b
...
...
@@ -190,7 +190,7 @@ export default {
this
.
$message
.
success
(
'新增投诉成功!'
);
this
.
$router
.
push
({
name
:
'complaint'
});
}
else
{
this
.
$message
.
success
(
'新增投诉失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -219,6 +219,8 @@ export default {
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
===
200
)
{
this
.
unit
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/complaint/complaint/complaint.vue
浏览文件 @
93d2207b
...
...
@@ -130,6 +130,8 @@ export default {
item
.
type
=
item
.
type
===
1
?
'服务质量'
:
item
.
type
===
2
?
'服务态度'
:
item
.
type
===
3
?
'响应速度'
:
'其他'
;
item
.
target
=
item
.
target
===
1
?
'集成商'
:
item
.
target
===
2
?
'监理商'
:
item
.
target
===
3
?
'开发商'
:
item
.
target
===
4
?
'硬件产品'
:
item
.
target
===
5
?
'软件产品'
:
'其他'
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/complaint/complaintManagement/addComplaintManagement.vue
浏览文件 @
93d2207b
...
...
@@ -189,7 +189,7 @@ export default {
this
.
$message
.
success
(
'新增投诉成功!'
);
this
.
$router
.
push
({
name
:
'complaint'
});
}
else
{
this
.
$message
.
success
(
'新增投诉失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -218,6 +218,8 @@ export default {
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
===
200
)
{
this
.
unit
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/complaint/complaintManagement/complaintManagement.vue
浏览文件 @
93d2207b
...
...
@@ -131,6 +131,8 @@ export default {
item
.
type
=
item
.
type
===
1
?
'服务质量'
:
item
.
type
===
2
?
'服务态度'
:
item
.
type
===
3
?
'响应速度'
:
'其他'
;
item
.
target
=
item
.
target
===
1
?
'集成商'
:
item
.
target
===
2
?
'监理商'
:
item
.
target
===
3
?
'开发商'
:
item
.
target
===
4
?
'硬件产品'
:
item
.
target
===
5
?
'软件产品'
:
'其他'
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/complaint/complaintManagement/complaintManagementDetail.vue
浏览文件 @
93d2207b
...
...
@@ -173,7 +173,7 @@ export default {
this
.
$message
.
success
(
'投诉回复成功!'
)
this
.
$router
.
push
({
name
:
'complaintManagement'
});
}
else
{
this
.
$message
.
error
(
'投诉回复成功!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/evaluationReport/evaluationReport.vue
浏览文件 @
93d2207b
...
...
@@ -21,12 +21,14 @@
style=
"width: 100%;"
>
<el-table-column
prop=
"projectName"
:show-overflow-tooltip=
"true"
label=
"项目名称"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"username"
label=
"用户名"
width=
"150"
align=
"center"
>
</el-table-column>
<el-table-column
...
...
@@ -206,15 +208,14 @@ export default {
},
// 时间换算
time
(
value
)
{
value
=
value
.
replace
(
/-/g
,
'/'
).
replace
(
'T'
,
' '
).
replace
(
'.000+0000'
,
''
)
if
(
value
!==
undefined
&&
value
!==
null
)
{
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
day
=
moment
(
value
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
let
day2
=
moment
(
day
).
utc
().
format
()
return
day
}
else
{
return
''
}
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
Y
=
date
.
getFullYear
()
+
'-'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'-'
;
let
D
=
(
date
.
getDate
()
<
10
?
'0'
+
date
.
getDate
()
:
date
.
getDate
());
let
h
=
(
date
.
getHours
()
<
10
?
'0'
+
date
.
getHours
()
:
date
.
getHours
())
+
':'
;
let
m
=
(
date
.
getMinutes
()
<
10
?
'0'
+
date
.
getMinutes
()
:
date
.
getMinutes
())
+
':'
;
let
s
=
(
date
.
getSeconds
()
<
10
?
'0'
+
date
.
getSeconds
()
:
date
.
getSeconds
());
return
Y
+
M
+
D
+
' '
+
h
+
m
+
s
;
}
},
components
:
{
...
...
src/components/home/home.vue
浏览文件 @
93d2207b
...
...
@@ -42,7 +42,7 @@
<img
src=
"./img/PG.png"
>
<span>
评估报告管理
</span>
</p>
<p
class=
"bg"
@
click=
"otherJump"
>
<p
class=
"bg"
@
click=
"otherJump"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001700') !== -1"
>
<img
src=
"./img/PC.png"
>
<span>
评测报告管理
</span>
</p>
...
...
@@ -105,7 +105,7 @@ export default {
// 页面布局
init
(
val
)
{
let
one
=
'.menu:nth-child('
+
val
+
')>p'
;
if
(
$
(
one
).
length
<
6
)
{
if
(
$
(
one
).
length
<
6
&&
$
(
one
).
length
!==
0
)
{
let
i
=
6
-
$
(
one
).
length
;
for
(
let
a
=
0
;
a
<
i
;
a
++
)
{
let
html
=
$
(
'<p class="blank"></p>'
);
...
...
src/components/keyTechnology/keyTechnologyAdd.vue
浏览文件 @
93d2207b
...
...
@@ -128,9 +128,8 @@ export default {
this
.
$message
.
success
(
'新增成功!'
)
this
.
$emit
(
'on-cancel'
)
}
else
{
this
.
$message
.
error
(
'新增失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
});
}
else
{
this
.
$server
.
editKey
(
this
.
value
.
id
,
this
.
form
).
then
(
res
=>
{
...
...
@@ -138,7 +137,7 @@ export default {
this
.
$message
.
success
(
'修改成功!'
)
this
.
$emit
(
'on-cancel'
)
}
else
{
this
.
$message
.
error
(
'修改失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/parameterConfiguration/parameterConfiguration.vue
浏览文件 @
93d2207b
...
...
@@ -133,7 +133,7 @@ export default {
if
(
res
.
data
===
200
)
{
this
.
$message
.
success
(
'修改成功!'
)
}
else
{
this
.
$message
.
error
(
'修改失败!'
)
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/document/document.vue
浏览文件 @
93d2207b
...
...
@@ -179,7 +179,7 @@ export default {
this
.
$message
.
success
(
'文件上传成功!'
);
this
.
search
(
'search'
);
}
else
{
this
.
$message
.
error
(
'文件上传失败!'
);
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'文件上传失败!'
);
...
...
src/components/projectManagement/hardware/hardware.vue
浏览文件 @
93d2207b
...
...
@@ -103,6 +103,8 @@ export default {
for
(
let
item
of
this
.
allData
)
{
item
.
form
===
1
?
item
.
form
=
'服务器'
:
item
.
form
===
2
?
item
.
form
=
'CPU'
:
item
.
form
===
3
?
item
.
form
=
'操作系统'
:
item
.
form
===
4
?
item
.
form
=
'数据库'
:
item
.
form
===
5
?
item
.
form
=
'中间件'
:
item
.
form
=
'其他'
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/journal/journal.vue
浏览文件 @
93d2207b
...
...
@@ -99,6 +99,8 @@ export default {
for
(
let
item
of
this
.
allData
)
{
item
.
time
=
this
.
timeC
(
item
.
time
)
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/project/projectManagement.vue
浏览文件 @
93d2207b
...
...
@@ -129,6 +129,8 @@ export default {
item
.
endTime
=
this
.
timeC
(
item
.
endTime
);
item
.
schedule
=
item
.
processMap
.
actual
===
0
?
'新建'
:
item
.
processMap
.
actual
===
1
?
'需求调研阶段'
:
item
.
processMap
.
actual
===
2
?
'开发阶段'
:
item
.
processMap
.
actual
===
3
?
'试运行阶段'
:
item
.
processMap
.
actual
===
4
?
'终验'
:
''
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
@@ -145,6 +147,8 @@ export default {
item
.
endTime
=
this
.
timeC
(
item
.
endTime
);
item
.
schedule
=
item
.
processMap
.
actual
===
0
?
'新建'
:
item
.
processMap
.
actual
===
1
?
'需求调研阶段'
:
item
.
processMap
.
actual
===
2
?
'开发阶段'
:
item
.
processMap
.
actual
===
3
?
'试运行阶段'
:
item
.
processMap
.
actual
===
4
?
'终验'
:
''
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/projectInformation/projectInformation.vue
浏览文件 @
93d2207b
...
...
@@ -185,6 +185,8 @@ export default {
that
.
allVal
.
now
=
res
.
data
.
data
.
processMap
.
actual
===
0
?
'新建'
:
res
.
data
.
data
.
processMap
.
actual
===
1
?
'需求调研阶段'
:
res
.
data
.
data
.
processMap
.
actual
===
2
?
'开发阶段'
:
res
.
data
.
data
.
processMap
.
actual
===
3
?
'试运行阶段'
:
res
.
data
.
data
.
processMap
.
actual
===
4
?
'终验'
:
''
;
}
that
.
changeCss
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/software/software.vue
浏览文件 @
93d2207b
...
...
@@ -105,6 +105,8 @@ export default {
item
.
des
=
item
.
des
===
null
?
'暂无'
:
item
.
des
;
}
this
.
totleLength
=
res
.
data
.
data
.
total
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/projectManagement/technicalRoute/technicalRoute.vue
浏览文件 @
93d2207b
...
...
@@ -95,6 +95,8 @@ export default {
this
.
allVal
.
middleware
.
push
(
item
.
name
)
}
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
...
...
src/components/reportAssess/reportAssess.vue
浏览文件 @
93d2207b
...
...
@@ -246,10 +246,10 @@
</div>
<el-table
:data=
" item.technologyContents"
style=
"width: 100%"
>
<el-table-column
align=
'center'
...
...
@@ -271,7 +271,7 @@
label=
"位置"
>
</el-table-column>
</el-table>
<!--
<div
v-if=
"currenIndex == index && isTear"
>
-->
<!--
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"width: 88%;text-align: center;cursor: default; "
>
...
...
@@ -287,7 +287,7 @@
<
!
-
-
<td
width=
"15%"
>
{{
item
.
local
}}
</td>
-->
<!--
<td
width=
"20%"
>
{{
itemson
.
keyWord
}}
</td>
<td
width=
"20%"
>
{{
itemson
.
file
}}
</td>
<td
width=
"20%"
>
{{
itemson
.
position
}}
</td>
-->
<td
width=
"20%"
>
{{
itemson
.
position
}}
</td>
-->
<!--
<td
width=
"20%"
>
{{
item
.
strategy
}}
</td>
-->
<!--
</tr>
</tbody>
...
...
@@ -779,7 +779,6 @@
<
script
>
// 这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
// 例如:import 《组件名称》 from '《组件路径》';
export
default
{
name
:
'reportAssess'
,
// import引入的组件需要注入到对象中才能使用
...
...
@@ -969,7 +968,6 @@ export default {
console
.
log
(
name
)
this
.
$server
.
getTechnology
(
name
).
then
(
res
=>
{
console
.
log
(
'数据请求结果'
,
res
.
data
)
if
(
res
.
data
===
500
)
{
this
.
picture
=
true
...
...
src/components/roleDispose/roleDispose.vue
浏览文件 @
93d2207b
...
...
@@ -108,6 +108,12 @@ export default {
}
},
mounted
()
{
this
.
$server
.
getAllList
().
then
(
res
=>
{
// 获取所有关键技术
console
.
log
(
res
)
this
.
allList
=
res
.
data
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
this
.
search
();
},
methods
:
{
...
...
@@ -222,16 +228,21 @@ export default {
display
:
flex
;
}
.roleDispose
.content
.searchVal
{
width
:
28
0px
;
width
:
32
0px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.roleDispose
.content
.searchVal
>
span
{
width
:
7
5px
;
width
:
9
5px
;
display
:
inline-block
;
line-height
:
34px
;
}
.roleDispose
.content
.searchVal
:nth-child
(
2
)>
span
{
width
:
150px
;
margin-left
:
20px
;
text-align
:
right
;
}
.roleDispose
.content
.button
{
display
:
inline-block
;
width
:
100px
;
...
...
src/services/axios.js
浏览文件 @
93d2207b
...
...
@@ -43,7 +43,7 @@ axios.interceptors.response.use(function (response) {
export
default
function
(
url
,
{
// 不传时,默认参数
method
=
'get'
,
timeout
=
6
0000
,
timeout
=
18
0000
,
data
=
{},
headers
=
{
'Content-Type'
:
'application/json'
},
// application/x-www-form-urlencoded;charset=UTF-8;
dataType
=
'json'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论