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
6599fca4
Commit
6599fca4
authored
Apr 01, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into developer/yanjiaxu
parents
ea52464a
43bc470b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
37 deletions
+38
-37
index.vue
src/views/task/edit/index.vue
+14
-13
index.vue
src/views/task/new/index.vue
+14
-13
index.vue
src/views/task/task-detail/index.vue
+10
-11
No files found.
src/views/task/edit/index.vue
View file @
6599fca4
...
@@ -297,15 +297,15 @@
...
@@ -297,15 +297,15 @@
/>
/>
</el-form>
</el-form>
<!-- 文件上传 -->
<!-- 文件上传 -->
<
div
class=
"tip-navigation"
>
<
!-- <div class="tip-navigation">--
>
<div
class=
"tip"
></div
>
<!-- <div class="tip"></div>--
>
<div
class=
"tip-title"
>
文件信息
</div
>
<!-- <div class="tip-title">文件信息</div>--
>
<
/div
>
<
!-- </div>--
>
<
DocumentInfo
<
!-- <DocumentInfo-->
class=
"global-left-margin"
<!-- class="global-left-margin"-->
:pass-data=
"passDocumentInfoArr"
<!-- :pass-data="passDocumentInfoArr"-->
@
change=
"handleDocumentInfoChange"
<!-- @change="handleDocumentInfoChange"-->
/
>
<!-- />--
>
<!--返回按钮-->
<!--返回按钮-->
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<footer-button
<footer-button
...
@@ -348,7 +348,6 @@ export default {
...
@@ -348,7 +348,6 @@ export default {
'inspection_item'
'inspection_item'
],
],
components
:
{
components
:
{
DocumentInfo
,
CarInfo
,
CarInfo
,
PartInfo
PartInfo
},
},
...
@@ -790,9 +789,11 @@ export default {
...
@@ -790,9 +789,11 @@ export default {
},
},
getUserByRole
()
{
getUserByRole
()
{
getUserByRole
({
roleName
:
'检验员'
}).
then
(
response
=>
{
getUserByRole
({
roleName
:
'检验员'
}).
then
(
response
=>
{
this
.
userList
=
response
.
data
.
map
(
obj
=>
{
this
.
userList
=
response
.
data
return
{
...
obj
,
disabled
:
false
}
.
filter
(
obj
=>
obj
.
status
.
toString
()
!==
'1'
)
})
.
map
(
obj
=>
{
return
{
...
obj
,
disabled
:
false
}
})
console
.
log
(
'this.userList-1'
,
this
.
userList
)
console
.
log
(
'this.userList-1'
,
this
.
userList
)
this
.
getInspectionItemDict
()
this
.
getInspectionItemDict
()
})
})
...
...
src/views/task/new/index.vue
View file @
6599fca4
...
@@ -296,15 +296,15 @@
...
@@ -296,15 +296,15 @@
/>
/>
</el-form>
</el-form>
<!-- 文件上传 -->
<!-- 文件上传 -->
<
div
class=
"tip-navigation"
>
<
!-- <div class="tip-navigation">--
>
<div
class=
"tip"
></div
>
<!-- <div class="tip"></div>--
>
<div
class=
"tip-title"
>
文件信息
</div
>
<!-- <div class="tip-title">文件信息</div>--
>
<
/div
>
<
!-- </div>--
>
<
DocumentInfo
<
!-- <DocumentInfo-->
class=
"global-left-margin"
<!-- class="global-left-margin"-->
:pass-data=
"passDocumentInfoArr"
<!-- :pass-data="passDocumentInfoArr"-->
@
change=
"handleDocumentChange"
<!-- @change="handleDocumentChange"-->
/
>
<!-- />--
>
<!--返回按钮-->
<!--返回按钮-->
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<footer-button
<footer-button
...
@@ -347,7 +347,6 @@ export default {
...
@@ -347,7 +347,6 @@ export default {
'inspection_item'
'inspection_item'
],
],
components
:
{
components
:
{
DocumentInfo
,
CarInfo
,
CarInfo
,
PartInfo
PartInfo
},
},
...
@@ -804,9 +803,11 @@ export default {
...
@@ -804,9 +803,11 @@ export default {
},
},
getUserByRole
()
{
getUserByRole
()
{
getUserByRole
({
roleName
:
'检验员'
}).
then
(
response
=>
{
getUserByRole
({
roleName
:
'检验员'
}).
then
(
response
=>
{
this
.
userList
=
response
.
data
.
map
(
obj
=>
{
this
.
userList
=
response
.
data
return
{
...
obj
,
disabled
:
false
}
.
filter
(
obj
=>
obj
.
status
.
toString
()
!==
'1'
)
})
.
map
(
obj
=>
{
return
{
...
obj
,
disabled
:
false
}
})
console
.
log
(
'this.userList-1'
,
this
.
userList
)
console
.
log
(
'this.userList-1'
,
this
.
userList
)
this
.
getInspectionItemDict
()
this
.
getInspectionItemDict
()
})
})
...
...
src/views/task/task-detail/index.vue
View file @
6599fca4
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
>
>
<el-table-column
label=
"姓名"
align=
"left"
prop=
"nickName"
>
<el-table-column
label=
"姓名"
align=
"left"
prop=
"nickName"
>
<template
slot-scope=
"
{ row }">
<template
slot-scope=
"
{ row }">
<span
v-if=
"row.userId !== ''"
>
{{
row
.
name
}}
</span>
<span>
{{
row
.
name
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"组内角色"
align=
"left"
prop=
"role"
>
<el-table-column
label=
"组内角色"
align=
"left"
prop=
"role"
>
...
@@ -250,15 +250,15 @@
...
@@ -250,15 +250,15 @@
@
change=
"handleModChange"
@
change=
"handleModChange"
/>
/>
<!-- 文件上传 -->
<!-- 文件上传 -->
<
div
class=
"tip-navigation"
>
<
!-- <div class="tip-navigation">--
>
<div
class=
"tip"
></div
>
<!-- <div class="tip"></div>--
>
<div
class=
"tip-title"
>
文件信息
</div
>
<!-- <div class="tip-title">文件信息</div>--
>
<
/div
>
<
!-- </div>--
>
<
DocumentInfo
<
!-- <DocumentInfo-->
class=
"global-left-margin"
<!-- class="global-left-margin"-->
:pass-data=
"passDocumentInfoArr"
<!-- :pass-data="passDocumentInfoArr"-->
:is-detail=
"true"
<!-- :is-detail="true"-->
/
>
<!-- />--
>
</el-form>
</el-form>
</page-standard>
</page-standard>
</template>
</template>
...
@@ -281,7 +281,6 @@ export default {
...
@@ -281,7 +281,6 @@ export default {
'inspection_item'
'inspection_item'
],
],
components
:
{
components
:
{
DocumentInfo
,
CarInfo
,
CarInfo
,
PartInfo
PartInfo
},
},
...
...
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