Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-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
中汽研标准应用数据库
car-database-web
Commits
8fb5df0a
Commit
8fb5df0a
authored
Sep 11, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: (检测内容/实施细则)修改条件查询不能更新的bug
parent
877dc5c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
chapterOption.vue
src/components/Page/chapterOption.vue
+0
-5
index.vue
src/views/setting/standardTerms/index.vue
+4
-3
No files found.
src/components/Page/chapterOption.vue
View file @
8fb5df0a
...
@@ -210,11 +210,6 @@ export default {
...
@@ -210,11 +210,6 @@ export default {
return
node
return
node
})
})
},
},
/**
* 任务:
* 1.chapter去重
* 2.将类型映射位中文可渲染形式
*/
async
loadData
()
{
async
loadData
()
{
this
.
loading
=
true
this
.
loading
=
true
...
...
src/views/setting/standardTerms/index.vue
View file @
8fb5df0a
...
@@ -344,7 +344,7 @@ export default {
...
@@ -344,7 +344,7 @@ export default {
// 公共组件左侧标准全局变量选中
// 公共组件左侧标准全局变量选中
'$store.getters.standardObj'
:
{
'$store.getters.standardObj'
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
.
id
==
oldVal
.
id
&&
newVal
.
type
==
oldVal
.
type
&&
newVal
.
chapter
==
oldVal
.
chapter
&&
newVal
.
name
==
oldVal
.
name
){
if
(
newVal
.
id
==
oldVal
.
id
&&
newVal
.
type
==
oldVal
.
type
&&
newVal
.
chapter
==
oldVal
.
chapter
&&
newVal
.
name
==
oldVal
.
name
&&
newVal
.
text
==
oldVal
.
text
){
console
.
log
(
true
)
console
.
log
(
true
)
}
else
{
}
else
{
this
.
queryParams
.
standardId
=
newVal
.
id
this
.
queryParams
.
standardId
=
newVal
.
id
...
@@ -539,9 +539,10 @@ export default {
...
@@ -539,9 +539,10 @@ export default {
},
2000
)
},
2000
)
this
.
queryParams
.
text
=
this
.
searchQueryParams
.
text
this
.
queryParams
.
text
=
this
.
searchQueryParams
.
text
let
obj
=
{
let
obj
=
{
id
:
this
.
$store
.
getters
.
standardObj
.
id
,
id
:
this
.
$store
.
getters
.
standardObj
.
id
,
type
:
this
.
$store
.
getters
.
standardObj
.
type
,
type
:
this
.
$store
.
getters
.
standardObj
.
type
,
chapter
:
this
.
searchQueryParams
.
chapter
chapter
:
this
.
searchQueryParams
.
chapter
,
text
:
this
.
searchQueryParams
.
text
,
}
}
this
.
$store
.
dispatch
(
'standard/setStandardObj'
,
obj
)
this
.
$store
.
dispatch
(
'standard/setStandardObj'
,
obj
)
},
},
...
...
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