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
6668c319
Commit
6668c319
authored
Jan 09, 2024
by
mzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标准库管理模态框功能完善
parent
69ef9128
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
13 deletions
+51
-13
Chexingdialog.vue
src/views/setting/standard/components/Chexingdialog.vue
+2
-1
Jianyandialog.vue
src/views/setting/standard/components/Jianyandialog.vue
+2
-1
Tixidialog.vue
src/views/setting/standard/components/Tixidialog.vue
+2
-1
Wendangdialog.vue
src/views/setting/standard/components/Wendangdialog.vue
+2
-1
index.vue
src/views/setting/standard/index.vue
+43
-9
No files found.
src/views/setting/standard/components/Chexingdialog.vue
View file @
6668c319
...
...
@@ -96,7 +96,7 @@ export default {
},
computed
:
{
modelTitle
()
{
return
this
.
dialogManger
.
source
.
id
?
'编辑
'
:
'新增'
+
'
标准'
return
this
.
dialogManger
.
source
.
id
?
'编辑
标准'
:
'新增
标准'
}
},
methods
:
{
...
...
@@ -107,6 +107,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
valid
)
console
.
log
(
'车型审查'
)
}
})
}
...
...
src/views/setting/standard/components/Jianyandialog.vue
View file @
6668c319
...
...
@@ -135,7 +135,7 @@ export default {
},
computed
:
{
modelTitle
()
{
return
this
.
dialogManger
.
source
.
id
?
'编辑
'
:
'新增'
+
'
标准'
return
this
.
dialogManger
.
source
.
id
?
'编辑
标准'
:
'新增
标准'
}
},
methods
:
{
...
...
@@ -149,6 +149,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
valid
)
console
.
log
(
'检验测试'
)
}
})
}
...
...
src/views/setting/standard/components/Tixidialog.vue
View file @
6668c319
...
...
@@ -96,7 +96,7 @@ export default {
},
computed
:
{
modelTitle
()
{
return
this
.
dialogManger
.
source
.
id
?
'编辑
'
:
'新增'
+
'
标准'
return
this
.
dialogManger
.
source
.
id
?
'编辑
标准'
:
'新增
标准'
}
},
methods
:
{
...
...
@@ -107,6 +107,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
valid
)
console
.
log
(
'体系审查'
)
}
})
}
...
...
src/views/setting/standard/components/Wendangdialog.vue
View file @
6668c319
...
...
@@ -107,7 +107,7 @@ export default {
},
computed
:
{
modelTitle
()
{
return
this
.
dialogManger
.
source
.
id
?
'编辑
'
:
'新增'
+
'
标准'
return
this
.
dialogManger
.
source
.
id
?
'编辑
标准'
:
'新增
标准'
}
},
methods
:
{
...
...
@@ -118,6 +118,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
valid
)
console
.
log
(
'文档审查'
)
}
})
}
...
...
src/views/setting/standard/index.vue
View file @
6668c319
...
...
@@ -175,7 +175,7 @@
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(
1,
scope.row)"
>
修改
</el-button
>
<el-button
...
...
@@ -265,7 +265,7 @@
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(
2,
scope.row)"
>
修改
</el-button
>
<el-button
...
...
@@ -350,7 +350,7 @@
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(
3,
scope.row)"
>
修改
</el-button
>
<el-button
...
...
@@ -436,7 +436,7 @@
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(
4,
scope.row)"
>
修改
</el-button
>
<el-button
...
...
@@ -525,10 +525,28 @@ export default {
},
watch
:
{
'
d
ialogManger.refreshList'
(
val
)
{
'
TixiD
ialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
dialogManger
.
refreshList
=
false
this
.
TixiDialogManger
.
refreshList
=
false
}
},
'ChexingDialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
ChexingDialogManger
.
refreshList
=
false
}
},
'WendangDialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
WendangDialogManger
.
refreshList
=
false
}
},
'JianyanDialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
JianyanDialogManger
.
refreshList
=
false
}
}
},
...
...
@@ -595,9 +613,25 @@ export default {
})
.
catch
(()
=>
{})
},
handleUpdate
(
row
)
{
this
.
dialogManger
.
dialogVisible
=
true
this
.
dialogManger
.
source
=
row
handleUpdate
(
type
,
row
)
{
switch
(
type
)
{
case
1
:
this
.
TixiDialogManger
.
dialogVisible
=
true
this
.
TixiDialogManger
.
source
=
row
break
case
2
:
this
.
ChexingDialogManger
.
dialogVisible
=
true
this
.
ChexingDialogManger
.
source
=
row
break
case
3
:
this
.
WendangDialogManger
.
dialogVisible
=
true
this
.
WendangDialogManger
.
source
=
row
break
case
4
:
this
.
JianyanDialogManger
.
dialogVisible
=
true
this
.
JianyanDialogManger
.
source
=
row
break
}
}
}
}
...
...
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