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
41cc3154
Commit
41cc3154
authored
Nov 04, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx
parent
5ceee3ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
dialog.vue
src/views/processing/fileLibrary/components/dialog.vue
+5
-3
index.vue
src/views/processing/fileLibrary/index.vue
+9
-6
index.vue
src/views/processing/unprocessed-review/index.vue
+2
-1
No files found.
src/views/processing/fileLibrary/components/dialog.vue
View file @
41cc3154
...
...
@@ -21,7 +21,7 @@
<el-form-item
label=
"企业名称"
prop=
"enterpriseName"
>
<el-input
v-model=
"model.enterpriseName"
placeholder=
"请输入
"
:disabled=
"true
"
></el-input>
</el-form-item>
<el-form-item
label=
"文件版本"
prop=
"version"
>
...
...
@@ -125,7 +125,8 @@ export default {
return
{
dialogVisible
:
false
,
dialogEditId
:
0
,
taskId
:
''
taskId
:
''
,
enterpriseName
:
''
,
}
}
}
...
...
@@ -138,7 +139,7 @@ export default {
dataKey
:
'model'
,
attributes
:
{
id
:
0
,
enterpriseName
:
''
,
enterpriseName
:
this
.
dialogManger
.
enterpriseName
,
fileName
:
''
,
version
:
''
,
publishDate
:
''
,
...
...
@@ -186,6 +187,7 @@ export default {
watch
:
{
'dialogManger.dialogVisible'
(
newValue
){
this
.
model
.
taskId
=
this
.
dialogManger
.
taskId
this
.
model
.
enterpriseName
=
this
.
dialogManger
.
enterpriseName
},
'dialogManger.dialogEditId'
(
newValue
)
{
this
.
model
.
fetch
(
...
...
src/views/processing/fileLibrary/index.vue
View file @
41cc3154
...
...
@@ -267,7 +267,8 @@ export default {
dialogManger
:
{
dialogVisible
:
false
,
refreshList
:
false
,
dialogEditId
:
0
dialogEditId
:
0
,
enterpriseName
:
''
}
,
queryParams
:
{
pageNum
:
1
,
...
...
@@ -310,6 +311,7 @@ export default {
}
,
created
()
{
this
.
queryParams
.
taskId
=
this
.
$route
.
query
.
id
this
.
dialogManger
.
enterpriseName
=
this
.
$route
.
query
.
enterpriseName
}
,
methods
:
{
handleBeforeUpload
(
file
,
fileList
)
{
}
,
...
...
@@ -326,17 +328,17 @@ export default {
// 这里可能需要后端攒一个对象
/*
{
name :
path :
name :
path :
}
*/
*/
// 没有名字时用地址替代
if
(
data
.
photo
){
console
.
log
(
data
)
let
photos
=
data
.
photo
.
split
(
','
)
let
photosName
=
[]
if
(
data
.
photoName
){
photosName
=
data
.
photoName
.
split
(
','
)
photosName
=
data
.
photoName
.
split
(
','
)
}
for
(
let
i
=
0
;
i
<
photos
.
length
;
i
++
){
photos
[
i
]
...
...
@@ -383,6 +385,7 @@ export default {
this.dialogManger.dialogVisible = true
this.dialogManger.dialogEditId = id
this.dialogManger.taskId = this.$route.query.id
console.log('1212',this.dialogManger)
}
else{
this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
confirmButtonText: '确定',
...
...
@@ -406,7 +409,7 @@ export default {
}
)
}
)
}
}
}
}
...
...
src/views/processing/unprocessed-review/index.vue
View file @
41cc3154
...
...
@@ -489,7 +489,8 @@ export default {
this
.
$router
.
push
({
path
:
'/processing/fileLibrary?id='
+
item
.
id
,
query
:
{
carReviewTaskId
:
item
.
carReviewTaskId
carReviewTaskId
:
item
.
carReviewTaskId
,
enterpriseName
:
item
.
enterpriseName
}
})
},
...
...
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