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
b39fd189
Commit
b39fd189
authored
Mar 18, 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
14ef50f8
6faac5d3
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
467 additions
and
390 deletions
+467
-390
process.scss
src/assets/styles/process.scss
+4
-0
index.vue
src/views/index.vue
+10
-1
index.vue
src/views/processing/carReview/vehicle-type/index.vue
+5
-0
index.vue
src/views/processing/carReview/write-check-form/index.vue
+202
-185
index.vue
src/views/processing/systemReview/confirm-result/index.vue
+5
-0
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+204
-187
index.vue
src/views/processing/unprocessed-review/index.vue
+19
-12
index.vue
src/views/setting/sample/taskDetails/index.vue
+16
-4
index.vue
src/views/system/menu/index.vue
+2
-1
No files found.
src/assets/styles/process.scss
View file @
b39fd189
...
@@ -717,3 +717,7 @@
...
@@ -717,3 +717,7 @@
.el-progress
{
.el-progress
{
display
:
flex
;
display
:
flex
;
}
}
.empty-message
{
text-align
:
center
;
margin
:
0
10px
;
}
src/views/index.vue
View file @
b39fd189
...
@@ -186,7 +186,10 @@
...
@@ -186,7 +186,10 @@
{{
item
.
standard
}}
{{
item
.
standard
}}
</div>
</div>
</div>
</div>
<AverageTest
:value=
"item.value"
></AverageTest>
<AverageTest
v-if=
"averageTestShow"
:value=
"item.value"
></AverageTest>
<div
<div
style=
"color: #606266; font-size: 16px; text-align: center"
style=
"color: #606266; font-size: 16px; text-align: center"
>
>
...
@@ -248,6 +251,7 @@ export default {
...
@@ -248,6 +251,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
averageTestShow
:
false
,
averageTestList
:
[
averageTestList
:
[
{
{
name
:
'汽车信息安全管理体系要求'
,
name
:
'汽车信息安全管理体系要求'
,
...
@@ -279,6 +283,11 @@ export default {
...
@@ -279,6 +283,11 @@ export default {
]
]
}
}
},
},
created
()
{
this
.
$nextTick
(()
=>
{
this
.
averageTestShow
=
true
})
},
methods
:
{
methods
:
{
format
(
percentage
)
{
format
(
percentage
)
{
return
(
percentage
=
`
${
percentage
}
个`
)
return
(
percentage
=
`
${
percentage
}
个`
)
...
...
src/views/processing/carReview/vehicle-type/index.vue
View file @
b39fd189
...
@@ -289,6 +289,7 @@
...
@@ -289,6 +289,7 @@
返回
返回
</footer-button>
</footer-button>
<footer-button
<footer-button
v-if=
"model.carReviewTask.leaderId == userId"
type=
"primary"
type=
"primary"
icon=
"hard-disk-one"
icon=
"hard-disk-one"
@
click=
"goToProcessedReview"
@
click=
"goToProcessedReview"
...
@@ -306,6 +307,7 @@ import { checkTaskDetail, carTaskSubmit, getBySubtaskId } from '@/api/task/task'
...
@@ -306,6 +307,7 @@ import { checkTaskDetail, carTaskSubmit, getBySubtaskId } from '@/api/task/task'
import
collapse
from
'@/components/Collapse/collapse'
import
collapse
from
'@/components/Collapse/collapse'
import
collapseItem
from
'@/components/Collapse/collapse-item'
import
collapseItem
from
'@/components/Collapse/collapse-item'
import
routerMixins
from
'@/mixins/router'
import
routerMixins
from
'@/mixins/router'
import
{
mapGetters
}
from
'vuex'
export
default
{
export
default
{
components
:
{
components
:
{
collapse
:
collapse
,
collapse
:
collapse
,
...
@@ -366,6 +368,9 @@ export default {
...
@@ -366,6 +368,9 @@ export default {
loading
:
false
loading
:
false
}
}
},
},
computed
:
{
...
mapGetters
([
'userId'
])
},
async
mounted
()
{
async
mounted
()
{
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
taskId
=
this
.
$route
.
query
.
id
this
.
taskId
=
this
.
$route
.
query
.
id
...
...
src/views/processing/carReview/write-check-form/index.vue
View file @
b39fd189
...
@@ -65,10 +65,16 @@
...
@@ -65,10 +65,16 @@
<div
class=
"checked-noUse"
>
<div
class=
"checked-noUse"
>
<el-checkbox
v-model=
"checked"
>
仅显示未完成页面
</el-checkbox>
<el-checkbox
v-model=
"checked"
>
仅显示未完成页面
</el-checkbox>
</div>
</div>
<div
v-if=
"detailsList.length"
>
<div
class=
"btn-tool"
>
<div
class=
"btn-tool"
>
<!-- 左边按钮 -->
<!-- 左边按钮 -->
<div
class=
"btn"
@
click=
"scrollLeft"
>
<div
class=
"btn"
@
click=
"scrollLeft"
>
<icon-park
type=
"left"
theme=
"outline"
size=
"32"
fill=
"#999999"
/>
<icon-park
type=
"left"
theme=
"outline"
size=
"32"
fill=
"#999999"
/>
</div>
</div>
<!-- 中间列表 -->
<!-- 中间列表 -->
<div
id=
"list-box"
class=
"center-content"
>
<div
id=
"list-box"
class=
"center-content"
>
...
@@ -259,6 +265,8 @@
...
@@ -259,6 +265,8 @@
</el-form>
</el-form>
</div>
</div>
</div>
</div>
<div
v-else
class=
"empty-message"
>
-暂无未完成条目-
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<footer-button
<footer-button
v-if=
"detailsList.length"
v-if=
"detailsList.length"
...
@@ -682,14 +690,23 @@ export default {
...
@@ -682,14 +690,23 @@ export default {
})
})
},
},
/**
/**
*确认
体系
审查
*确认
车型
审查
*/
*/
submitFrom
()
{
submitFrom
()
{
this
.
$modal
.
confirm
(
'是否确认提交表单,提交后不可修改'
,
{
type
:
'warning'
,
title
:
'提示'
,
closeOnClickModal
:
false
})
.
then
(
async
()
=>
{
carReviewTaskConfirm
({
carReviewTaskConfirm
({
taskId
:
this
.
taskId
taskId
:
this
.
taskId
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
})
})
})
.
catch
(()
=>
{})
},
},
/**
/**
*确认细则内容变更
*确认细则内容变更
...
...
src/views/processing/systemReview/confirm-result/index.vue
View file @
b39fd189
...
@@ -269,6 +269,7 @@
...
@@ -269,6 +269,7 @@
返回
返回
</footer-button>
</footer-button>
<footer-button
<footer-button
v-if=
"model.systemReviewTask.leaderId == userId"
type=
"primary"
type=
"primary"
icon=
"hard-disk-one"
icon=
"hard-disk-one"
@
click=
"goToProcessedReview"
@
click=
"goToProcessedReview"
...
@@ -286,6 +287,7 @@ import { reviewTaskDetail, taskSubmit, getBySubtaskId } from '@/api/task/task'
...
@@ -286,6 +287,7 @@ import { reviewTaskDetail, taskSubmit, getBySubtaskId } from '@/api/task/task'
import
collapse
from
'@/components/Collapse/collapse'
import
collapse
from
'@/components/Collapse/collapse'
import
collapseItem
from
'@/components/Collapse/collapse-item'
import
collapseItem
from
'@/components/Collapse/collapse-item'
import
routerMixins
from
'@/mixins/router'
import
routerMixins
from
'@/mixins/router'
import
{
mapGetters
}
from
'vuex'
export
default
{
export
default
{
components
:
{
components
:
{
collapse
:
collapse
,
collapse
:
collapse
,
...
@@ -320,6 +322,9 @@ export default {
...
@@ -320,6 +322,9 @@ export default {
loading
:
false
loading
:
false
}
}
},
},
computed
:
{
...
mapGetters
([
'userId'
])
},
async
mounted
()
{
async
mounted
()
{
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
taskId
=
this
.
$route
.
query
.
id
this
.
taskId
=
this
.
$route
.
query
.
id
...
...
src/views/processing/systemReview/write-check-form/index.vue
View file @
b39fd189
...
@@ -70,10 +70,16 @@
...
@@ -70,10 +70,16 @@
<div
class=
"checked-noUse"
>
<div
class=
"checked-noUse"
>
<el-checkbox
v-model=
"checked"
>
仅显示未完成页面
</el-checkbox>
<el-checkbox
v-model=
"checked"
>
仅显示未完成页面
</el-checkbox>
</div>
</div>
<div
v-if=
"detailsList.length"
>
<div
class=
"btn-tool"
>
<div
class=
"btn-tool"
>
<!-- 左边按钮 -->
<!-- 左边按钮 -->
<div
class=
"btn"
@
click=
"scrollLeft"
>
<div
class=
"btn"
@
click=
"scrollLeft"
>
<icon-park
type=
"left"
theme=
"outline"
size=
"32"
fill=
"#999999"
/>
<icon-park
type=
"left"
theme=
"outline"
size=
"32"
fill=
"#999999"
/>
</div>
</div>
<!-- 中间列表 -->
<!-- 中间列表 -->
<div
id=
"list-box"
class=
"center-content"
>
<div
id=
"list-box"
class=
"center-content"
>
...
@@ -269,6 +275,8 @@
...
@@ -269,6 +275,8 @@
</el-form>
</el-form>
</div>
</div>
</div>
</div>
<div
v-else
class=
"empty-message"
>
-暂无未完成条目-
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<footer-button
<footer-button
v-if=
"detailsList.length"
v-if=
"detailsList.length"
...
@@ -700,6 +708,13 @@ export default {
...
@@ -700,6 +708,13 @@ export default {
*确认体系审查
*确认体系审查
*/
*/
submitFrom
()
{
submitFrom
()
{
this
.
$modal
.
confirm
(
'是否确认提交表单,提交后不可修改'
,
{
type
:
'warning'
,
title
:
'提示'
,
closeOnClickModal
:
false
})
.
then
(
async
()
=>
{
reviewTaskConfirm
({
reviewTaskConfirm
({
taskId
:
this
.
taskId
taskId
:
this
.
taskId
}).
then
(
res
=>
{
}).
then
(
res
=>
{
...
@@ -708,6 +723,8 @@ export default {
...
@@ -708,6 +723,8 @@ export default {
path
:
'/processing/unprocessed-review'
path
:
'/processing/unprocessed-review'
})
})
})
})
})
.
catch
(()
=>
{})
},
},
confirmDetailChange
()
{
confirmDetailChange
()
{
reviewDetailsConfirm
({
reviewDetailsConfirm
({
...
...
src/views/processing/unprocessed-review/index.vue
View file @
b39fd189
...
@@ -434,7 +434,6 @@ export default {
...
@@ -434,7 +434,6 @@ export default {
* @param item 对象
* @param item 对象
*/
*/
handleRetentionFile
(
item
)
{
handleRetentionFile
(
item
)
{
console
.
log
(
item
)
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/processing/retention-file?id='
+
item
.
id
path
:
'/processing/retention-file?id='
+
item
.
id
})
})
...
@@ -457,6 +456,13 @@ export default {
...
@@ -457,6 +456,13 @@ export default {
* @param {} type 单项数据
* @param {} type 单项数据
*/
*/
async
startTask
(
item
)
{
async
startTask
(
item
)
{
this
.
$modal
.
confirm
(
'是否确认开始?'
,
{
type
:
'warning'
,
title
:
'提示'
,
closeOnClickModal
:
false
})
.
then
(
async
()
=>
{
const
res
=
await
reviewTaskStart
({
const
res
=
await
reviewTaskStart
({
id
:
item
.
id
id
:
item
.
id
})
})
...
@@ -467,9 +473,10 @@ export default {
...
@@ -467,9 +473,10 @@ export default {
this
.
$message
.
error
(
res
.
msg
)
this
.
$message
.
error
(
res
.
msg
)
}
}
}
}
})
.
catch
(()
=>
{})
},
},
goDetail
(
id
)
{
goDetail
(
id
)
{
console
.
log
(
111
)
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/task/task-detail?id='
+
id
path
:
'/task/task-detail?id='
+
id
})
})
...
...
src/views/setting/sample/taskDetails/index.vue
View file @
b39fd189
...
@@ -670,7 +670,7 @@
...
@@ -670,7 +670,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"blueCard"
>
<div
class=
"blueCard"
>
<div>
<div
style=
"width: 100%"
>
<div
class=
"title"
>
送样者
</div>
<div
class=
"title"
>
送样者
</div>
<div
class=
"content"
>
<div
class=
"content"
>
{{
item
.
sampleSender
?
item
.
sampleSender
:
'-'
}}
{{
item
.
sampleSender
?
item
.
sampleSender
:
'-'
}}
...
@@ -682,7 +682,7 @@
...
@@ -682,7 +682,7 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"greenCard"
>
<div
class=
"greenCard"
>
<div>
<div
style=
"width: 100%"
>
<div
class=
"title"
>
车辆识别码
</div>
<div
class=
"title"
>
车辆识别码
</div>
<div
class=
"content"
>
<div
class=
"content"
>
{{
{{
...
@@ -706,7 +706,7 @@
...
@@ -706,7 +706,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"blueCard"
>
<div
class=
"blueCard"
>
<div>
<div
style=
"width: 100%"
>
<div
class=
"title"
>
生产企业
</div>
<div
class=
"title"
>
生产企业
</div>
<div
class=
"content"
>
<div
class=
"content"
>
{{
{{
...
@@ -811,7 +811,7 @@
...
@@ -811,7 +811,7 @@
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<div
class=
"blueCard"
>
<div
class=
"blueCard"
>
<div>
<div
style=
"width: 100%"
>
<div
class=
"title"
>
生产企业
</div>
<div
class=
"title"
>
生产企业
</div>
<div
class=
"content"
>
<div
class=
"content"
>
{{
{{
...
@@ -1032,6 +1032,7 @@ export default {
...
@@ -1032,6 +1032,7 @@ export default {
height
:
70px
;
height
:
70px
;
background
:
rgba
(
19
,
190
,
36
,
0
.1
);
background
:
rgba
(
19
,
190
,
36
,
0
.1
);
border-radius
:
8px
;
border-radius
:
8px
;
width
:
100%
;
.title
{
.title
{
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -1044,6 +1045,9 @@ export default {
...
@@ -1044,6 +1045,9 @@ export default {
font-weight
:
700
;
font-weight
:
700
;
color
:
#13be24
;
color
:
#13be24
;
text-align
:
center
;
text-align
:
center
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
}
}
.yellowCard
{
.yellowCard
{
...
@@ -1053,6 +1057,7 @@ export default {
...
@@ -1053,6 +1057,7 @@ export default {
height
:
70px
;
height
:
70px
;
background
:
rgba
(
249
,
171
,
56
,
0
.1
);
background
:
rgba
(
249
,
171
,
56
,
0
.1
);
border-radius
:
8px
;
border-radius
:
8px
;
width
:
100%
;
.title
{
.title
{
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -1065,6 +1070,9 @@ export default {
...
@@ -1065,6 +1070,9 @@ export default {
font-weight
:
700
;
font-weight
:
700
;
color
:
#f9ab38
;
color
:
#f9ab38
;
text-align
:
center
;
text-align
:
center
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
}
}
.blueCard
{
.blueCard
{
...
@@ -1074,6 +1082,7 @@ export default {
...
@@ -1074,6 +1082,7 @@ export default {
height
:
70px
;
height
:
70px
;
background
:
rgba
(
26
,
111
,
215
,
0
.1
);
background
:
rgba
(
26
,
111
,
215
,
0
.1
);
border-radius
:
8px
;
border-radius
:
8px
;
width
:
100%
;
.title
{
.title
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
...
@@ -1086,6 +1095,9 @@ export default {
...
@@ -1086,6 +1095,9 @@ export default {
font-weight
:
700
;
font-weight
:
700
;
color
:
#1a6fd7
;
color
:
#1a6fd7
;
text-align
:
center
;
text-align
:
center
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
}
}
}
}
...
...
src/views/system/menu/index.vue
View file @
b39fd189
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
v-model=
"queryParams.status"
v-model=
"queryParams.status"
placeholder=
"菜单状态"
placeholder=
"菜单状态"
clearable
clearable
@
change=
"$forceUpdate()"
>
>
<el-option
<el-option
v-for=
"dict in dict.type.sys_normal_disable"
v-for=
"dict in dict.type.sys_normal_disable"
...
@@ -493,7 +494,7 @@ export default {
...
@@ -493,7 +494,7 @@ export default {
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
resetForm
(
'queryForm'
)
this
.
queryParams
=
{}
this
.
handleQuery
()
this
.
handleQuery
()
},
},
/** 新增按钮操作 */
/** 新增按钮操作 */
...
...
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