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
806c6208
Commit
806c6208
authored
Oct 16, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 填写车型实验表时未通过条目状态样式更新
parent
a8355697
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
16 deletions
+35
-16
fileSelect.vue
src/components/fileSelect.vue
+0
-1
index.vue
src/views/processing/carReview/write-check-form/index.vue
+12
-4
index.vue
src/views/processing/systemReview/source-record/index.vue
+22
-10
index.vue
src/views/task/new/index.vue
+1
-1
No files found.
src/components/fileSelect.vue
View file @
806c6208
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
v-for=
"(childItem, childIndex) in item.userPhotoStorageList"
v-for=
"(childItem, childIndex) in item.userPhotoStorageList"
:key=
"childIndex"
:key=
"childIndex"
class=
"image"
class=
"image"
>
>
<div
class=
"img-card"
@
click=
"selectImage(index, childIndex, childItem.name,childItem.path, childItem.id)"
:class=
"childItem.selected ? 'selected' : ''"
>
<div
class=
"img-card"
@
click=
"selectImage(index, childIndex, childItem.name,childItem.path, childItem.id)"
:class=
"childItem.selected ? 'selected' : ''"
>
<el-image
<el-image
...
...
src/views/processing/carReview/write-check-form/index.vue
View file @
806c6208
...
@@ -97,16 +97,23 @@
...
@@ -97,16 +97,23 @@
:class=
"
{
:class=
"
{
'select-circle': index === activeModel,
'select-circle': index === activeModel,
'exclamation-point': item.warn
'exclamation-point': item.warn
}"
}"
@click="changeStep(index)"
@click="changeStep(index)"
>
>
<svg-icon
<svg-icon
v-show=
"item.result && item.result.passed !==
null
"
v-show=
"item.result && item.result.passed !==
0
"
width=
"20px"
width=
"20px"
height=
"20px"
height=
"20px"
class=
"tick-class"
class=
"tick-class"
icon-class=
"tag_xuanzhong"
icon-class=
"tag_xuanzhong"
></svg-icon>
></svg-icon>
<svg-icon
v-show=
"item.result && item.result.passed == 0"
width=
"19px"
height=
"19px"
class=
"tick-class"
icon-class=
"tag_weixuanzhong"
></svg-icon>
<span
class=
"inner-text"
>
{{
item
.
order
}}
</span>
<span
class=
"inner-text"
>
{{
item
.
order
}}
</span>
</div>
</div>
...
@@ -692,7 +699,8 @@ export default {
...
@@ -692,7 +699,8 @@ export default {
!
this
.
allPropertiesCheck
(
this
.
form
.
fileList
,
'isFileUpdate'
)
!
this
.
allPropertiesCheck
(
this
.
form
.
fileList
,
'isFileUpdate'
)
)
{
)
{
this
.
handleCircle
(
index
)
this
.
handleCircle
(
index
)
}
else
{
}
else
{
this
.
$message
.
error
(
'您有未保存内容,请点击保存按钮'
)
this
.
$message
.
error
(
'您有未保存内容,请点击保存按钮'
)
}
}
},
},
...
@@ -895,6 +903,6 @@ export default {
...
@@ -895,6 +903,6 @@ export default {
listEl
.
style
.
left
=
'-'
+
(
leftMove
+
180
)
+
'px'
listEl
.
style
.
left
=
'-'
+
(
leftMove
+
180
)
+
'px'
}
}
}
}
}
}
,
}
}
</
script
>
</
script
>
src/views/processing/systemReview/source-record/index.vue
View file @
806c6208
...
@@ -123,7 +123,6 @@
...
@@ -123,7 +123,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--审查表单概要-->
<!--审查表单概要-->
<div>
<div>
<div
class=
"form-review-questionnaire"
>
<div
class=
"form-review-questionnaire"
>
...
@@ -184,7 +183,7 @@
...
@@ -184,7 +183,7 @@
<th
class=
"written-by"
>
填写人
</th>
<th
class=
"written-by"
>
填写人
</th>
</tr>
</tr>
<template
v-for=
"(keyPoint, keyPointKey) in item.keyPointList"
>
<template
v-for=
"(keyPoint, keyPointKey) in item.keyPointList"
>
<tr
:key=
"keyPointKey"
>
<tr>
<td
:rowspan=
"keyPoint.reviewDetailsList.length + 1"
>
<td
:rowspan=
"keyPoint.reviewDetailsList.length + 1"
>
{{
keyPoint
.
text
}}
{{
keyPoint
.
text
}}
</td>
</td>
...
@@ -194,8 +193,10 @@
...
@@ -194,8 +193,10 @@
reviewDetail, reviewDetailKey
reviewDetail, reviewDetailKey
) in keyPoint.reviewDetailsList"
) in keyPoint.reviewDetailsList"
>
>
<tr
:key=
"reviewDetailKey"
>
<tr>
<td
align=
"center"
>
{{
reviewDetail
.
text
}}
</td>
<td
align=
"center"
>
<span
style=
"white-space: pre-wrap;"
>
{{
reviewDetail
.
text
|
ellipsis
}}
</span>
</td>
<td
align=
"center"
class=
"investigate-result"
>
<td
align=
"center"
class=
"investigate-result"
>
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result"
>
...
@@ -383,6 +384,16 @@ export default {
...
@@ -383,6 +384,16 @@ export default {
await
this
.
getTask
()
await
this
.
getTask
()
this
.
openAll
()
this
.
openAll
()
}
,
}
,
filters
:
{
// 过滤器:当字符串超过64位时,之后的字符用...代替
ellipsis
(
value
)
{
if
(
!
value
)
return
''
if
(
value
.
length
>
12
)
{
return
value
.
slice
(
0
,
12
)
+
'
\
n'
+
value
.
slice
(
12
)
}
return
value
}
}
,
methods
:
{
methods
:
{
/**
/**
* 获取子任务详情
* 获取子任务详情
...
@@ -398,12 +409,8 @@ export default {
...
@@ -398,12 +409,8 @@ export default {
this
.
model
=
res
.
data
this
.
model
=
res
.
data
if
(
this
.
model
.
systemReviewTask
.
imagesUrl
)
{
if
(
this
.
model
.
systemReviewTask
.
imagesUrl
)
{
const
imgs
=
this
.
model
.
systemReviewTask
.
imagesUrl
.
split
(
','
)
const
imgs
=
this
.
model
.
systemReviewTask
.
imagesUrl
.
split
(
','
)
this
.
ruleForm
.
enterpriseLeader
=
imgs
[
0
]
this
.
ruleForm
.
enterpriseLeader
=
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
0
]
||
''
?
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
0
]
this
.
ruleForm
.
inspectionLeader
=
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
1
]
||
''
:
''
this
.
ruleForm
.
inspectionLeader
=
imgs
[
1
]
?
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
1
]
:
''
}
}
}
else
{
}
else
{
this
.
$modal
.
msgError
(
res
.
msg
)
this
.
$modal
.
msgError
(
res
.
msg
)
...
@@ -436,3 +443,8 @@ export default {
...
@@ -436,3 +443,8 @@ export default {
}
}
}
}
<
/script
>
<
/script
>
<
style
>
td
{
word
-
wrap
:
break
-
word
;
}
<
/style
>
src/views/task/new/index.vue
View file @
806c6208
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
<span
v-else-if=
"$index === 0"
>
{{
<span
v-else-if=
"$index === 0"
>
{{
row
.
dept
.
deptName
||
'-'
row
.
dept
.
deptName
||
'-'
}}
</span>
}}
</span>
<span
v-else-if=
"$index >= 1"
>
{{
row
.
dept
||
'-'
}}
</span>
<span
v-else-if=
"$index >= 1"
>
{{
row
.
dept
.
deptName
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column
<!-- <el-table-column
...
...
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