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
832fa1f4
Commit
832fa1f4
authored
Mar 13, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer/yanjiaxu' into develop
parents
d5e8db79
ca8397bb
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
36 additions
and
46 deletions
+36
-46
index.vue
src/components/Breadcrumb/index.vue
+0
-1
index.vue
src/layout/components/TagsView/index.vue
+1
-1
page.js
src/mixins/page.js
+0
-1
router.js
src/mixins/router.js
+14
-13
index.vue
src/views/processing/archivedTask/index.vue
+4
-4
companyFile.vue
...ing/carReview/write-check-form/components/companyFile.vue
+1
-0
previewView.vue
...ing/carReview/write-check-form/components/previewView.vue
+1
-1
index.vue
src/views/processing/processed-review/index.vue
+4
-4
companyFile.vue
.../systemReview/write-check-form/components/companyFile.vue
+1
-0
previewView.vue
.../systemReview/write-check-form/components/previewView.vue
+1
-1
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+0
-13
index.vue
src/views/processing/unprocessed-review/index.vue
+1
-1
index.vue
src/views/setting/company/index.vue
+5
-3
index.vue
src/views/task/on/index.vue
+3
-3
No files found.
src/components/Breadcrumb/index.vue
View file @
832fa1f4
...
...
@@ -63,7 +63,6 @@ export default {
const
result
=
[]
// 存储最终的结果数组
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
const
title
=
arr
[
i
].
meta
.
title
console
.
log
(
'面包屑'
,
title
)
if
(
!
titles
.
has
(
title
))
{
titles
.
add
(
title
)
result
.
push
(
arr
[
i
])
...
...
src/layout/components/TagsView/index.vue
View file @
832fa1f4
...
...
@@ -228,7 +228,7 @@ export default {
toLastView
(
visitedViews
,
view
)
{
const
latestView
=
visitedViews
.
slice
(
-
1
)[
0
]
if
(
latestView
)
{
this
.
$router
.
push
(
latestView
.
fullPath
)
this
.
$router
.
replace
(
latestView
.
fullPath
)
}
else
{
// now the default is to redirect to the home page if there is no tags-view,
// you can adjust it according to your needs.
...
...
src/mixins/page.js
View file @
832fa1f4
...
...
@@ -51,7 +51,6 @@ export default {
})
.
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
res
.
rows
)
this
.
tableData
=
res
.
rows
this
.
total
=
res
.
total
}
...
...
src/mixins/router.js
View file @
832fa1f4
export
default
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
formPath
=
from
.
path
console
.
log
(
vm
.
formPath
)
})
},
// beforeRouteEnter(to, from, next) {
// next(vm => {
// console.log(vm.formPath)
// vm.formPath.push(from.path)
// console.log(vm.formPath);
// })
// },
data
()
{
return
{
formPath
:
''
formPath
:
[]
}
},
methods
:
{
...
...
@@ -15,13 +16,13 @@ export default {
* 返回上一页
*/
goBack
()
{
if
(
this
.
formPath
)
{
this
.
$router
.
push
({
path
:
this
.
formPath
})
}
else
{
//
if (this.formPath) {
//
this.$router.push({
// path: this.formPath[0]
//
})
//
} else {
this
.
$router
.
back
()
}
//
}
}
}
}
src/views/processing/archivedTask/index.vue
View file @
832fa1f4
...
...
@@ -13,7 +13,7 @@
v-for=
"(item, key) in standardList"
:key=
"key"
:value=
"item.id"
:label=
"item.standardNo + item.name"
:label=
"item.standardNo +
' ' +
item.name"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -142,7 +142,7 @@
</div>
<div
v-if=
"item.taskStatus === 'FINISH'"
class=
"card-buttons"
>
<el-button
v-if=
"item.
reviewStatus !== 'NONE'
"
v-if=
"item.
systemReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -155,7 +155,7 @@
>
体系审查原始记录
</el-button
>
<el-button
v-if=
"item.carReview
Status !== 'NONE'
"
v-if=
"item.carReview
TaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -168,7 +168,7 @@
>
车型审查原始记录
</el-button
>
<el-button
v-if=
"item.car
TestStatus !== 'NONE'
"
v-if=
"item.car
ReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
src/views/processing/carReview/write-check-form/components/companyFile.vue
View file @
832fa1f4
...
...
@@ -184,6 +184,7 @@ export default {
if
(
valid
)
{
this
.
model
.
save
(
res
=>
{
this
.
model
.
reset
()
this
.
$store
.
dispatch
(
'processing/getCompanyFiles'
,
{
taskId
:
this
.
$route
.
query
.
taskId
})
...
...
src/views/processing/carReview/write-check-form/components/previewView.vue
View file @
832fa1f4
...
...
@@ -54,7 +54,7 @@
</div>
<div
class=
"standard-result"
>
审查结果:
<span
v-if=
"item.passed ===
''
"
>
__
</span>
<span
v-if=
"item.passed ===
null
"
>
__
</span>
<span
v-else-if=
"item.passed == 1"
class=
"green"
>
符合
</span>
<span
v-else
class=
"orange"
>
不符合
</span>
</div>
...
...
src/views/processing/processed-review/index.vue
View file @
832fa1f4
...
...
@@ -13,7 +13,7 @@
v-for=
"(item, key) in standardList"
:key=
"key"
:value=
"item.id"
:label=
"item.standardNo + item.name"
:label=
"item.standardNo +
' ' +
item.name"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -140,7 +140,7 @@
</div>
<div
class=
"card-buttons"
>
<el-button
v-if=
"item.
reviewStatus !== 'NONE'
"
v-if=
"item.
systemReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -153,7 +153,7 @@
>
体系审查原始记录
</el-button
>
<el-button
v-if=
"item.carReview
Status !== 'NONE'
"
v-if=
"item.carReview
TaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -166,7 +166,7 @@
>
车型审查原始记录
</el-button
>
<el-button
v-if=
"item.car
TestStatus !== 'NONE'
"
v-if=
"item.car
ReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
src/views/processing/systemReview/write-check-form/components/companyFile.vue
View file @
832fa1f4
...
...
@@ -184,6 +184,7 @@ export default {
if
(
valid
)
{
this
.
model
.
save
(
res
=>
{
this
.
model
.
reset
()
this
.
$store
.
dispatch
(
'processing/getCompanyFiles'
,
{
taskId
:
this
.
$route
.
query
.
taskId
})
...
...
src/views/processing/systemReview/write-check-form/components/previewView.vue
View file @
832fa1f4
...
...
@@ -54,7 +54,7 @@
</div>
<div
class=
"standard-result"
>
审查结果:
<span
v-if=
"item.passed ===
''
"
>
__
</span>
<span
v-if=
"item.passed ===
null
"
>
__
</span>
<span
v-else-if=
"item.passed == 1"
class=
"green"
>
符合
</span>
<span
v-else
class=
"orange"
>
不符合
</span>
</div>
...
...
src/views/processing/systemReview/write-check-form/index.vue
View file @
832fa1f4
...
...
@@ -302,7 +302,6 @@ export default {
dicts
:
[
'system_review_test'
],
data
()
{
return
{
formPath
:
''
,
sceneManger
:
{
dialogVisible
:
false
},
...
...
@@ -426,18 +425,6 @@ export default {
this
.
handleCircle
(
0
)
},
methods
:
{
/**
* 返回上一页
*/
goBack
()
{
if
(
this
.
formPath
)
{
this
.
$router
.
push
({
path
:
this
.
formPath
})
}
else
{
this
.
$router
.
back
()
}
},
/**
* 企业文件保存回调
*/
...
...
src/views/processing/unprocessed-review/index.vue
View file @
832fa1f4
...
...
@@ -13,7 +13,7 @@
v-for=
"(item, key) in standardList"
:key=
"key"
:value=
"item.id"
:label=
"item.standardNo + item.name"
:label=
"item.standardNo +
' ' +
item.name"
></el-option>
</el-select>
</el-form-item>
...
...
src/views/setting/company/index.vue
View file @
832fa1f4
...
...
@@ -218,9 +218,11 @@ export default {
methods
:
{
sort_change
(
column
,
prop
,
order
)
{
this
.
queryParams
.
pageNum
=
1
// 排序后返回第一页
this
.
queryParams
.
isAsc
=
order
===
'ascending'
?
'asc'
:
'desc'
this
.
queryParams
.
orderByColumn
=
column
.
prop
this
.
loadData
()
if
(
column
.
order
)
{
this
.
queryParams
.
isAsc
=
column
.
order
===
'ascending'
?
'asc'
:
'desc'
this
.
queryParams
.
orderByColumn
=
column
.
prop
this
.
loadData
()
}
},
handleDelete
(
id
)
{
this
.
$modal
...
...
src/views/task/on/index.vue
View file @
832fa1f4
...
...
@@ -405,7 +405,7 @@
</div>
<div
class=
"card-buttons"
>
<el-button
v-if=
"item.
reviewStatus && item.reviewStatus !== 'NONE'
"
v-if=
"item.
systemReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -418,7 +418,7 @@
>
体系审查原始记录
</el-button
>
<el-button
v-if=
"item.carReview
Status && item.carReviewStatus !== 'NONE'
"
v-if=
"item.carReview
TaskId
"
type=
"primary"
plain
size=
"mini"
...
...
@@ -431,7 +431,7 @@
>
车型审查原始记录
</el-button
>
<el-button
v-if=
"item.car
TestStatus && item.carTestStatus !== 'NONE'
"
v-if=
"item.car
ReviewTaskId
"
type=
"primary"
plain
size=
"mini"
...
...
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