Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽测评-信息安全测评系统
web
Commits
b6dceeba
Commit
b6dceeba
authored
Mar 26, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.91isoft.com:90/car-test/web
into developer/gaixiankang
parents
b01ac001
ef1738fa
Changes
30
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
598 additions
and
472 deletions
+598
-472
.env.development
.env.development
+1
-1
.env.production
.env.production
+3
-2
.env.staging
.env.staging
+2
-2
index.html
public/index.html
+1
-1
task.js
src/api/task/task.js
+12
-0
process.scss
src/assets/styles/process.scss
+7
-9
TaskStandard.vue
src/components/Page/TaskStandard.vue
+2
-6
useCaseRisk.vue
src/views/echartHome/useCaseRisk.vue
+1
-1
index.vue
src/views/index.vue
+2
-2
index.vue
src/views/processing/carReview/source-record/index.vue
+9
-7
index.vue
src/views/processing/carReview/vehicle-type/index.vue
+33
-13
companyFile.vue
...ing/carReview/write-check-form/components/companyFile.vue
+0
-3
previewView.vue
...ing/carReview/write-check-form/components/previewView.vue
+9
-5
index.vue
src/views/processing/carReview/write-check-form/index.vue
+186
-134
index.vue
src/views/processing/carTest/confirmation-test/index.vue
+86
-116
index.vue
src/views/processing/carTest/execution-test-plan/index.vue
+3
-3
index.vue
src/views/processing/carTest/review-form/index.vue
+2
-3
dialog.vue
src/views/processing/fileLibrary/components/dialog.vue
+0
-3
index.vue
src/views/processing/fileLibrary/index.vue
+1
-0
index.vue
src/views/processing/systemReview/source-record/index.vue
+9
-7
companyFile.vue
.../systemReview/write-check-form/components/companyFile.vue
+0
-3
previewView.vue
.../systemReview/write-check-form/components/previewView.vue
+9
-5
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+208
-137
index.vue
src/views/processing/unprocessed-review/index.vue
+1
-1
documentReviewDialog.vue
...setting/standardTerms/components/documentReviewDialog.vue
+1
-1
vehicleModelDialog.vue
...s/setting/standardTerms/components/vehicleModelDialog.vue
+1
-1
index.vue
src/views/setting/testMatrix/useCaseDetails/index.vue
+1
-2
authUser.vue
src/views/system/role/authUser.vue
+4
-0
index.vue
src/views/system/role/index.vue
+2
-2
vue.config.js
vue.config.js
+2
-2
No files found.
.env.development
View file @
b6dceeba
# 页面标题
# 页面标题
VUE_APP_TITLE =
安全信息
检测平台
VUE_APP_TITLE =
周期性
检测平台
# 开发环境配置
# 开发环境配置
ENV = 'development'
ENV = 'development'
...
...
.env.production
View file @
b6dceeba
...
@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台
...
@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
# 中汽研安全检测平台管理系统/生产环境
# 中汽研安全检测平台管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/prod-api'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API ='
/
'
VUE_APP_IMAGE_API ='
https://10.12.48.78
'
VUE_APP_CLIENT_API = 'http
://10.12.48.78:8090
'
VUE_APP_CLIENT_API = 'http
s://10.12.48.78/vvmpapi
'
.env.staging
View file @
b6dceeba
# 页面标题
# 页面标题
VUE_APP_TITLE =
安全信息
检测平台
VUE_APP_TITLE =
周期性
检测平台
# 开发环境配置
# 开发环境配置
ENV = 'staging'
ENV = 'staging'
...
@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
...
@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_CLIENT_API = 'http
://10.12.48.78:8090
'
VUE_APP_CLIENT_API = 'http
s://10.12.48.78/vvmpapi
'
public/index.html
View file @
b6dceeba
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<!-- <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> -->
<!-- <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> -->
<script
src=
"https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_31435_85.f03f7ada23edcf4cd72e61338ed55693
.js"
></script>
<script
src=
"https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_31435_86.9b2d26764ccec5f05296d7ffca18aa56
.js"
></script>
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
<!--[if lt IE 11]>
<!--[if lt IE 11]>
<script>window.location.href = '/html/ie.html';</script><![endif]-->
<script>window.location.href = '/html/ie.html';</script><![endif]-->
...
...
src/api/task/task.js
View file @
b6dceeba
...
@@ -217,4 +217,16 @@ export function geTaskCase(data) {
...
@@ -217,4 +217,16 @@ export function geTaskCase(data) {
data
data
})
})
}
}
/**
*提交确认表单
*/
export
function
taskImageSubmit
(
data
)
{
return
request
({
url
:
'/car/test/task/submit'
,
method
:
'post'
,
data
})
}
src/assets/styles/process.scss
View file @
b6dceeba
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
width
:
calc
(
100%
-
100px
);
width
:
calc
(
100%
-
100px
);
}
}
.standard-title
{
.standard-title
{
width
:
calc
(
100%
-
1
0px
);
width
:
calc
(
70%
-
4
0px
);
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -709,15 +709,13 @@
...
@@ -709,15 +709,13 @@
width
:
120px
!
important
;
width
:
120px
!
important
;
// text-align: center !important;
// text-align: center !important;
}
}
.passed
{
.el-progress
{
.el-form-item__label
{
margin-left
:
-10px
;
}
}
.el-progress
{
display
:
flex
;
display
:
flex
;
}
}
.empty-message
{
.empty-message
{
text-align
:
center
;
margin
:
0
10px
;
margin
:
0
10px
;
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
color
:
#ccc
;
}
}
src/components/Page/TaskStandard.vue
View file @
b6dceeba
...
@@ -36,11 +36,7 @@ export default {
...
@@ -36,11 +36,7 @@ export default {
},
},
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
// 获取当前路由信息
this
.
$router
.
back
()
const
currentRoute
=
this
.
$router
.
currentRoute
// 获取来源页面的路由信息
const
fromRoute
=
currentRoute
.
from
console
.
log
(
currentRoute
)
}
}
}
}
}
}
...
@@ -48,7 +44,7 @@ export default {
...
@@ -48,7 +44,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.page-data
{
.page-data
{
padding
:
0
24px
;
padding
:
0
24px
;
padding-bottom
:
24px
;
padding-bottom
:
24px
;
}
}
.card-box
{
.card-box
{
...
...
src/views/echartHome/useCaseRisk.vue
View file @
b6dceeba
...
@@ -19,7 +19,7 @@ export default {
...
@@ -19,7 +19,7 @@ export default {
// 3.配置数据
// 3.配置数据
const
option
=
{
const
option
=
{
title
:
{
title
:
{
text
:
'
任务保密等级占比
'
,
text
:
'
用例风险程度概览
'
,
left
:
'left'
,
left
:
'left'
,
textStyle
:
{
textStyle
:
{
color
:
'#606266'
,
color
:
'#606266'
,
...
...
src/views/index.vue
View file @
b6dceeba
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
size=
"36"
size=
"36"
></iconpark-icon>
></iconpark-icon>
</div>
</div>
<span>
已
完成 :43个
</span>
<span>
未
完成 :43个
</span>
<div>
<div>
<el-progress
<el-progress
:percentage=
"40"
:percentage=
"40"
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"cardStyle"
style=
"height: 500px"
>
<div
class=
"cardStyle"
style=
"height: 500px"
>
<div
class=
"cardTitle"
>
任务完成情况占比
</div>
<div
class=
"cardTitle"
>
参与任务情况
</div>
<div
<div
style=
"
style=
"
display: flex;
display: flex;
...
...
src/views/processing/carReview/source-record/index.vue
View file @
b6dceeba
...
@@ -212,13 +212,15 @@
...
@@ -212,13 +212,15 @@
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
<div
<div
v-if=
"reviewDetail.result"
>
v-if=
"
<div
v-if=
"reviewDetail.result.fileList"
>
reviewDetail.result && reviewDetail.result.fileName
<template
v-for=
"i in reviewDetail.result.fileList"
>
"
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
>
</
template
>
《
{{
reviewDetail
.
result
.
fileName
}}
》
</div>
{{
reviewDetail
.
result
.
catalogue
}}
<div
v-if=
"reviewDetail.result.comment"
>
{{ reviewDetail.result.comment }}
</div>
</div>
</div>
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
...
...
src/views/processing/carReview/vehicle-type/index.vue
View file @
b6dceeba
...
@@ -191,18 +191,21 @@
...
@@ -191,18 +191,21 @@
<tr
:key=
"reviewDetailKey"
>
<tr
:key=
"reviewDetailKey"
>
<td
align=
"center"
>
{{
reviewDetail
.
text
}}
</td>
<td
align=
"center"
>
{{
reviewDetail
.
text
}}
</td>
<td
align=
"center"
class=
"investigate-result"
>
<td
align=
"center"
class=
"investigate-result"
>
<el-tag
<div
v-if=
"reviewDetail.result"
>
v-if=
"reviewDetail.result.passed === 1"
<el-tag
size=
"medium"
v-if=
"reviewDetail.result.passed === 1"
type=
"success"
size=
"medium"
>
符合
</el-tag
type=
"success"
>
>
符合
</el-tag
<el-tag
>
v-if=
"reviewDetail.result.passed === 0"
<el-tag
size=
"medium"
v-if=
"reviewDetail.result.passed === 0"
type=
"danger"
size=
"medium"
>
不符合
</el-tag
type=
"warning"
>
>
不符合
</el-tag
>
</div>
<div
v-else
>
__
</div>
</td>
</td>
<td
align=
"center"
class=
"written-by"
>
<td
align=
"center"
class=
"written-by"
>
{{
{{
...
@@ -230,7 +233,16 @@
...
@@ -230,7 +233,16 @@
<span
class=
"title-content"
>
确定车型试验范围
</span>
<span
class=
"title-content"
>
确定车型试验范围
</span>
</div>
</div>
<div
class=
"img-item"
>
<div
class=
"img-item"
>
<div
class=
"img-label"
style=
"margin-top: 20px"
>
选择测试场景
</div>
<div
class=
"img-label"
style=
"margin-top: 20px"
>
选择测试场景
<footer-button
style=
"width: 80px; height: 25px"
type=
"primary"
@
click=
"selectAll"
>
全部选择
</footer-button>
</div>
</div>
</div>
<!-- 测试场景 -->
<!-- 测试场景 -->
<div
class=
"test-scenario-container"
>
<div
class=
"test-scenario-container"
>
...
@@ -456,6 +468,14 @@ export default {
...
@@ -456,6 +468,14 @@ export default {
},
},
closeAll
()
{
closeAll
()
{
this
.
activeNames
=
[]
this
.
activeNames
=
[]
},
// 全选
selectAll
()
{
this
.
model
.
testScenarioList
.
forEach
(
obj
=>
{
obj
.
check
=
true
})
this
.
selectedScenario
=
this
.
model
.
testScenarioList
.
map
(
obj
=>
{
return
obj
.
value
})
}
}
}
}
}
}
...
...
src/views/processing/carReview/write-check-form/components/companyFile.vue
View file @
b6dceeba
...
@@ -129,9 +129,6 @@ export default {
...
@@ -129,9 +129,6 @@ export default {
],
],
identifyNumber
:
[
identifyNumber
:
[
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
],
photo
:
[
{
required
:
true
,
message
:
'请选择文件照片'
,
trigger
:
'change'
}
]
]
},
},
model
:
this
.
$modelDataSource
({
model
:
this
.
$modelDataSource
({
...
...
src/views/processing/carReview/write-check-form/components/previewView.vue
View file @
b6dceeba
...
@@ -99,11 +99,15 @@
...
@@ -99,11 +99,15 @@
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
<div
<div
v-if=
"reviewDetail.result"
>
v-if=
"reviewDetail.result && reviewDetail.result.fileName"
<div
v-if=
"reviewDetail.result.fileList"
>
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
reviewDetail
.
result
.
fileName
}}
》
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
reviewDetail
.
result
.
catalogue
}}
</
template
>
</div>
<div
v-if=
"reviewDetail.result.comment"
>
{{ reviewDetail.result.comment }}
</div>
</div>
</div>
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
...
...
src/views/processing/carReview/write-check-form/index.vue
View file @
b6dceeba
This diff is collapsed.
Click to expand it.
src/views/processing/carTest/confirmation-test/index.vue
View file @
b6dceeba
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"task-item"
>
<div
class=
"task-item"
>
<span
class=
"task-label"
>
任务编号:
</span>
<span
class=
"task-label"
>
任务编号:
</span>
<span
class=
"task-content"
>
<span
class=
"task-content"
>
{{
model
.
carReviewT
ask
.
taskNo
}}
{{
t
ask
.
taskNo
}}
</span>
</span>
</div>
</div>
<div
class=
"task-item"
>
<div
class=
"task-item"
>
...
@@ -30,17 +30,12 @@
...
@@ -30,17 +30,12 @@
{{
task
.
entrustedUnit
}}
{{
task
.
entrustedUnit
}}
</span>
</span>
</div>
</div>
<div
class=
"task-item"
>
<!--
<div
class=
"task-item"
>
-->
<span
class=
"task-label"
>
任务状态:
</span>
<!--
<span
class=
"task-label"
>
任务状态:
</span>
-->
<span
class=
"task-content"
>
<!--
<span
class=
"task-content"
>
-->
{{
<!--
{{
getDictData
(
dict
.
type
.
task_test_status
,
task
.
taskStatus
)
}}
-->
getDictData
(
<!--
</span>
-->
dict
.
type
.
test_cartype_type
,
<!--
</div>
-->
model
.
carReviewTask
.
taskStatus
)
}}
</span>
</div>
</div>
</div>
<div
class=
"task-body"
>
<div
class=
"task-body"
>
<!--card统计值-->
<!--card统计值-->
...
@@ -131,46 +126,58 @@
...
@@ -131,46 +126,58 @@
<col
style=
"width: 100px"
/>
<col
style=
"width: 100px"
/>
<thead>
<thead>
<tr>
<tr>
<th>
章节号
</th>
<th
style=
"width: 100px"
>
章节号
</th>
<th>
标准技术要求
</th>
<th>
标准技术要求
</th>
<th>
标准测试方法
</th>
<th>
标准测试方法
</th>
<th>
测试场景
</th>
<th>
测试场景
</th>
<th>
测试类型
</th>
<th>
测试类型
</th>
<th>
用例编号
</th>
<th>
用例编号
</th>
<th>
测试结果
</th>
<th>
测试结果
</th>
<!--
<th>
用例名称
</th>
-->
<!--
<th>
工具
</th>
-->
<!--
<th>
对应输入
</th>
-->
<!--
<th
style=
"width: 370px"
>
测试用例
</th>
-->
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<!-- 循环遍历 keyPointList -->
<template
v-for=
"(i, PointIndex) in tableData"
>
<template
v-for=
"(i, PointIndex) in tableData.keyPointList"
>
<tr
:key=
"'PointIndex1' + PointIndex"
>
<tr
:key=
"'PointIndex1' + PointIndex"
>
<td
align=
"center"
:rowspan=
"getRows(i)"
>
<td
align=
"center"
:rowspan=
"getRows
3
(i)"
>
{{
'7.1.1'
}}
{{
i
.
chapter
}}
</td>
</td>
<td
align=
"center"
:rowspan=
"getRows(i)"
>
<td
align=
"center"
:rowspan=
"getRows
3
(i)"
>
{{
i
.
text
}}
{{
i
.
text
}}
</td>
</td>
<td
align=
"center"
:rowspan=
"getRows(i)"
>
<td
align=
"center"
:rowspan=
"getRows
3
(i)"
>
{{
i
.
te
xt
}}
{{
i
.
te
stMethod
}}
</td>
</td>
</tr>
</tr>
<!-- 循环遍历 reviewDetailsList -->
<template
v-for=
"(v, testCaseIndex) in i.testCaseList"
>
<template
v-for=
"(v, reviewDetailIndex) in i.reviewDetailsList"
>
<tr
:key=
"'testCaseIndex' + PointIndex + testCaseIndex"
>
<tr
<td
align=
"center"
rowspan=
"1"
>
:key=
"'reviewDetailIndex' + PointIndex + reviewDetailIndex"
{{
v
.
testScenario
}}
>
<td
align=
"center"
>
{{
'测试场景'
}}
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
rowspan=
"1"
>
{{
'测试类型'
}}
{{
v
.
testType
}}
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
rowspan=
"1"
>
{{
'用例编号'
}}
{{
v
.
usecaseNo
}}
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
rowspan=
"1"
>
{{
'
测试结果
'
}}
{{
''
}}
</td>
</td>
<!--
<td
align=
"center"
rowspan=
"1"
>
-->
<!--
{{
v
.
name
}}
-->
<!--
</td>
-->
<!--
<td
align=
"center"
rowspan=
"1"
>
-->
<!--
{{
v
.
tools
}}
-->
<!--
</td>
-->
<!--
<td
align=
"center"
rowspan=
"1"
>
-->
<!--
{{
v
.
input
}}
-->
<!--
</td>
-->
<!--
<td
align=
"center"
rowspan=
"1"
>
-->
<!--
{{
v
.
description
}}
-->
<!--
</td>
-->
</tr>
</tr>
</
template
>
</
template
>
</template>
</template>
...
@@ -209,6 +216,7 @@
...
@@ -209,6 +216,7 @@
返回
返回
</footer-button>
</footer-button>
<footer-button
<footer-button
v-if=
"this.isLeader !== false"
type=
"primary"
type=
"primary"
icon=
"hard-disk-one"
icon=
"hard-disk-one"
@
click=
"goToProcessedReview"
@
click=
"goToProcessedReview"
...
@@ -223,11 +231,12 @@
...
@@ -223,11 +231,12 @@
<!--js逻辑-->
<!--js逻辑-->
<
script
>
<
script
>
import
routerMixins
from
'@/mixins/router'
import
routerMixins
from
'@/mixins/router'
import
{
getRows
,
getRows2
}
from
'../../../../utils/reviewDetailsTable'
import
{
getRows3
}
from
'../../../../utils/reviewDetailsTable'
import
{
listInspection
}
from
'../../../../api/setting/standardTerms'
import
{
testDetail
}
from
'../../../../api/task/test'
import
{
getBySubtaskId
,
taskImageSubmit
}
from
'../../../../api/task/task'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
dicts
:
[
't
est_cartype_type
'
],
dicts
:
[
't
ask_test_status
'
],
mixins
:
[
routerMixins
],
mixins
:
[
routerMixins
],
data
()
{
data
()
{
return
{
return
{
...
@@ -243,95 +252,56 @@ export default {
...
@@ -243,95 +252,56 @@ export default {
inspectionLeader
:
''
,
inspectionLeader
:
''
,
result
:
[]
result
:
[]
},
},
rules
:
{
loading
:
false
,
enterpriseLeader
:
[
isLeader
:
''
{
required
:
true
,
message
:
'请输入车企负责人'
,
trigger
:
'blur'
}
],
inspectionLeader
:
[
{
required
:
true
,
message
:
'请输入检验负责人'
,
trigger
:
'blur'
}
]
},
taskId
:
''
,
loading
:
false
}
}
},
},
// async mounted() {
// if (this.$route.query.id) {
// this.taskId = this.$route.query.id
// }
// await this.getTask()
// this.openAll()
// },
mounted
()
{
mounted
()
{
this
.
init
()
this
.
getTest
()
this
.
getTestDetail
()
},
},
methods
:
{
methods
:
{
getRows
,
getRows3
,
getRows2
,
/* 返回跳转*/
/** 获取体系审查、车型审查检验内容 */
goToProcessedReview
()
{
init
()
{
// this.ruleForm.taskId = '1771093631118106626'
const
formData
=
{
// imagesUrl: [
// this.ruleForm.enterpriseLeader,
// this.ruleForm.inspectionLeader
// ],
imagesUrl
:
[{}],
taskId
:
this
.
$route
.
query
.
id
}
console
.
log
(
'formData'
,
formData
)
taskImageSubmit
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
this
.
$router
.
push
({
path
:
'/processing/unprocessed-review'
})
}
else
{
this
.
$modal
.
msgError
(
res
.
msg
)
}
})
},
/** 获取任务详情 */
getTest
()
{
getBySubtaskId
({
id
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
task
=
res
.
data
const
auditors
=
res
.
data
.
auditors
this
.
isLeader
=
auditors
.
some
(
item
=>
item
.
isLeader
===
1
)
console
.
log
(
'found'
,
this
.
isLeader
)
// 输出: true 如果找到,否则输出: false
}
})
},
getTestDetail
()
{
this
.
loading
=
true
this
.
loading
=
true
listInspection
({
id
:
'1744181159757221888'
}).
then
(
res
=>
{
testDetail
({
taskId
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
this
.
tableData
=
res
.
data
this
.
loading
=
false
this
.
loading
=
false
})
})
},
/**
* 获取任务详情
*/
// async getTask() {
// this.loading = true
// const res = await checkTaskDetail({
// taskId: this.taskId
// })
// this.loading = false
// if (res.code === 200) {
// this.model = res.data
// await this.getTaskDetail()
// if (this.model.carReviewTask.imagesUrl) {
// const imgs = this.model.carReviewTask.imagesUrl.split(',')
// this.ruleForm.enterpriseLeader
// ? process.env.VUE_APP_IMAGE_API + imgs[0]
// : ''
// this.ruleForm.inspectionLeader
// ? process.env.VUE_APP_IMAGE_API + imgs[1]
// : ''
// }
// } else {
// this.$modal.msgError(res.msg)
// }
// },
/**
* 获取任务详情
*/
// async getTaskDetail() {
// const result = await getBySubtaskId({
// id: this.taskId
// })
// if (result.code === 200) {
// this.task = result.data
// }
// },
/* 返回跳转*/
goToProcessedReview
()
{
// this.ruleForm.taskId = this.taskId
// const formData = {
// imagesUrl: [
// this.ruleForm.enterpriseLeader,
// this.ruleForm.inspectionLeader
// ],
// taskId: this.taskId
// }
// carTaskSubmit(formData).then(res => {
// if (res.code === 200) {
// this.$modal.msgSuccess('确认提交成功')
// this.$router.push({
// path: '/processing/unprocessed-review'
// })
// } else {
// this.$modal.msgError(res.msg)
// }
// })
}
}
}
}
}
}
...
...
src/views/processing/carTest/execution-test-plan/index.vue
View file @
b6dceeba
<!-- 测试用例详情 -->
<!-- 测试用例详情 -->
<
template
>
<
template
>
<
page
-standard>
<
task
-standard>
<div
class=
"web-page"
>
<div
class=
"web-page"
>
<iframe
<iframe
:src=
"url"
:src=
"url"
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
style=
"width: 100%; height: 100%"
style=
"width: 100%; height: 100%"
></iframe>
></iframe>
</div>
</div>
</
page
-standard>
</
task
-standard>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
id
=
this
.
$route
.
query
.
id
const
id
=
this
.
$route
.
query
.
id
this
.
url
=
`http
://10.12.48.80:1234
/car/complianceTestingCenter/projectOverView/
${
id
}
`
this
.
url
=
`http
s://10.12.48.78:8090
/car/complianceTestingCenter/projectOverView/
${
id
}
`
},
},
methods
:
{}
methods
:
{}
}
}
...
...
src/views/processing/carTest/review-form/index.vue
View file @
b6dceeba
...
@@ -139,7 +139,6 @@ export default {
...
@@ -139,7 +139,6 @@ export default {
detailsList
:
[]
detailsList
:
[]
},
},
task
:
{},
task
:
{},
taskId
:
''
,
loading
:
false
loading
:
false
}
}
},
},
...
@@ -150,7 +149,7 @@ export default {
...
@@ -150,7 +149,7 @@ export default {
methods
:
{
methods
:
{
getRows3
,
getRows3
,
getTest
()
{
getTest
()
{
getBySubtaskId
({
id
:
'1768527384203460609'
}).
then
(
res
=>
{
getBySubtaskId
({
id
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
task
=
res
.
data
this
.
task
=
res
.
data
}
}
...
@@ -159,7 +158,7 @@ export default {
...
@@ -159,7 +158,7 @@ export default {
/** 获取任务详情 */
/** 获取任务详情 */
getTestDetail
()
{
getTestDetail
()
{
this
.
loading
=
true
this
.
loading
=
true
testDetail
({
taskId
:
'1768527384203460609'
}).
then
(
res
=>
{
testDetail
({
taskId
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
this
.
tableData
=
res
.
data
this
.
tableData
=
res
.
data
this
.
loading
=
false
this
.
loading
=
false
})
})
...
...
src/views/processing/fileLibrary/components/dialog.vue
View file @
b6dceeba
...
@@ -135,9 +135,6 @@ export default {
...
@@ -135,9 +135,6 @@ export default {
],
],
identifyNumber
:
[
identifyNumber
:
[
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
],
photo
:
[
{
required
:
true
,
message
:
'请选择文件照片'
,
trigger
:
'change'
}
]
]
}
}
}
}
...
...
src/views/processing/fileLibrary/index.vue
View file @
b6dceeba
...
@@ -157,6 +157,7 @@
...
@@ -157,6 +157,7 @@
prop
=
"createBy"
prop
=
"createBy"
label
=
"创建人员"
label
=
"创建人员"
min
-
width
=
"130"
min
-
width
=
"130"
show
-
overflow
-
tooltip
align
=
"left"
align
=
"left"
>
>
<
/el-table-column
>
<
/el-table-column
>
...
...
src/views/processing/systemReview/source-record/index.vue
View file @
b6dceeba
...
@@ -217,13 +217,15 @@
...
@@ -217,13 +217,15 @@
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
<div
<div
v-if=
"reviewDetail.result"
>
v-if=
"
<div
v-if=
"reviewDetail.result.fileList"
>
reviewDetail.result && reviewDetail.result.fileName
<template
v-for=
"i in reviewDetail.result.fileList"
>
"
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
>
</
template
>
《
{{
reviewDetail
.
result
.
fileName
}}
》
</div>
{{
reviewDetail
.
result
.
catalogue
}}
<div
v-if=
"reviewDetail.result.comment"
>
{{ reviewDetail.result.comment }}
</div>
</div>
</div>
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
...
...
src/views/processing/systemReview/write-check-form/components/companyFile.vue
View file @
b6dceeba
...
@@ -129,9 +129,6 @@ export default {
...
@@ -129,9 +129,6 @@ export default {
],
],
identifyNumber
:
[
identifyNumber
:
[
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'请输入文件识别号'
,
trigger
:
'blur'
}
],
photo
:
[
{
required
:
true
,
message
:
'请选择文件照片'
,
trigger
:
'change'
}
]
]
},
},
model
:
this
.
$modelDataSource
({
model
:
this
.
$modelDataSource
({
...
...
src/views/processing/systemReview/write-check-form/components/previewView.vue
View file @
b6dceeba
...
@@ -99,11 +99,15 @@
...
@@ -99,11 +99,15 @@
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
<div
<div
v-if=
"reviewDetail.result"
>
v-if=
"reviewDetail.result && reviewDetail.result.fileName"
<div
v-if=
"reviewDetail.result.fileList"
>
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
reviewDetail
.
result
.
fileName
}}
》
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
reviewDetail
.
result
.
catalogue
}}
</
template
>
</div>
<div
v-if=
"reviewDetail.result.comment"
>
{{ reviewDetail.result.comment }}
</div>
</div>
</div>
<div
v-else
>
__
</div>
<div
v-else
>
__
</div>
</td>
</td>
...
...
src/views/processing/systemReview/write-check-form/index.vue
View file @
b6dceeba
This diff is collapsed.
Click to expand it.
src/views/processing/unprocessed-review/index.vue
View file @
b6dceeba
...
@@ -600,7 +600,7 @@ export default {
...
@@ -600,7 +600,7 @@ export default {
// 确认测试结果
// 确认测试结果
case
'SIGNED'
:
case
'SIGNED'
:
this
.
$router
.
push
({
this
.
$router
.
push
({
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
p
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
})
})
break
break
case
'FINISH'
:
case
'FINISH'
:
...
...
src/views/setting/standardTerms/components/documentReviewDialog.vue
View file @
b6dceeba
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
title=
"检验内容"
title=
"检验内容"
:visible
.
sync=
"dialogManger.dialogVisible"
:visible
.
sync=
"dialogManger.dialogVisible"
direction=
"rtl"
direction=
"rtl"
size=
"
4
0%"
size=
"
8
0%"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<template
slot=
"title"
>
<template
slot=
"title"
>
...
...
src/views/setting/standardTerms/components/vehicleModelDialog.vue
View file @
b6dceeba
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<el-drawer
<el-drawer
:visible
.
sync=
"dialogManger.dialogVisible"
:visible
.
sync=
"dialogManger.dialogVisible"
direction=
"rtl"
direction=
"rtl"
size=
"
4
0%"
size=
"
8
0%"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<template
slot=
"title"
>
<template
slot=
"title"
>
...
...
src/views/setting/testMatrix/useCaseDetails/index.vue
View file @
b6dceeba
...
@@ -18,12 +18,11 @@ export default {
...
@@ -18,12 +18,11 @@ export default {
return
{
return
{
id
:
this
.
$route
.
query
,
id
:
this
.
$route
.
query
,
url
:
''
url
:
''
// http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/case_items;375
}
}
},
},
mounted
()
{
mounted
()
{
const
id
=
this
.
$route
.
query
.
id
const
id
=
this
.
$route
.
query
.
id
this
.
url
=
`http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/
${
id
}
`
this
.
url
=
`http
s
://10.12.48.78:8090/car/caseManage/case/casePublishDetail/
${
id
}
`
},
},
methods
:
{}
methods
:
{}
}
}
...
...
src/views/system/role/authUser.vue
View file @
b6dceeba
...
@@ -239,6 +239,8 @@ export default {
...
@@ -239,6 +239,8 @@ export default {
const
roleId
=
this
.
queryParams
.
roleId
const
roleId
=
this
.
queryParams
.
roleId
this
.
$modal
this
.
$modal
.
confirm
(
'确认要取消该用户"'
+
row
.
userName
+
'"角色吗?'
,
{
.
confirm
(
'确认要取消该用户"'
+
row
.
userName
+
'"角色吗?'
,
{
type
:
'warning'
,
title
:
'取消授权'
,
closeOnClickModal
:
false
closeOnClickModal
:
false
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
@@ -256,6 +258,8 @@ export default {
...
@@ -256,6 +258,8 @@ export default {
const
userIds
=
this
.
userIds
.
join
(
','
)
const
userIds
=
this
.
userIds
.
join
(
','
)
this
.
$modal
this
.
$modal
.
confirm
(
'是否取消选中用户授权数据项?'
,
{
.
confirm
(
'是否取消选中用户授权数据项?'
,
{
type
:
'warning'
,
title
:
'取消授权'
,
closeOnClickModal
:
false
closeOnClickModal
:
false
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
...
src/views/system/role/index.vue
View file @
b6dceeba
...
@@ -196,12 +196,12 @@
...
@@ -196,12 +196,12 @@
>
更多
</el-button
>
更多
</el-button
>
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
<
!--
<
el-dropdown-item
v-hasPermi=
"['system:role:edit']"
v-hasPermi=
"['system:role:edit']"
command=
"handleDataScope"
command=
"handleDataScope"
icon=
"el-icon-circle-check"
icon=
"el-icon-circle-check"
>
数据权限
</el-dropdown-item
>
数据权限
</el-dropdown-item
>
>
-->
<el-dropdown-item
<el-dropdown-item
v-hasPermi=
"['system:role:edit']"
v-hasPermi=
"['system:role:edit']"
command=
"handleAuthUser"
command=
"handleAuthUser"
...
...
vue.config.js
View file @
b6dceeba
...
@@ -42,7 +42,7 @@ module.exports = {
...
@@ -42,7 +42,7 @@ module.exports = {
}
}
},
},
[
process
.
env
.
VUE_APP_CLIENT_API
]:
{
[
process
.
env
.
VUE_APP_CLIENT_API
]:
{
target
:
`http
://10.12.48.78:8090
`
,
target
:
`http
s://10.12.48.78/vvmpapi
`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_CLIENT_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_CLIENT_API
]:
''
...
@@ -116,7 +116,7 @@ module.exports = {
...
@@ -116,7 +116,7 @@ module.exports = {
.
use
(
'graphql-tag/loader'
)
.
use
(
'graphql-tag/loader'
)
.
loader
(
'graphql-tag/loader'
)
.
loader
(
'graphql-tag/loader'
)
.
end
();
.
end
();
config
.
when
(
process
.
env
.
NODE_ENV
!==
'development
'
,
config
=>
{
config
.
when
(
process
.
env
.
NODE_ENV
===
'production
'
,
config
=>
{
config
config
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
after
(
'html'
)
.
after
(
'html'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment