Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
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
fulixin
dsk-operate-sys-cscec
Commits
29bdf8c0
Commit
29bdf8c0
authored
Jan 03, 2024
by
yht15023815643
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评标助手资质标准
parent
c3b6a8a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
7 deletions
+34
-7
certs.json
dsk-operate-ui/src/assets/json/certs.json
+1
-1
AptitudeStandard.vue
...ate-ui/src/views/supplier/components/AptitudeStandard.vue
+33
-6
No files found.
dsk-operate-ui/src/assets/json/certs.json
View file @
29bdf8c0
...
...
@@ -433,7 +433,7 @@
},
{
"name"
:
"工程勘察劳务"
,
"id"
:
267
,
"id"
:
1701
,
"type"
:
2
,
"parentId"
:
227
}
...
...
dsk-operate-ui/src/views/supplier/components/AptitudeStandard.vue
View file @
29bdf8c0
...
...
@@ -13,12 +13,20 @@
:value=
"item"
>
</el-option>
</el-select>
<el-select
v-model=
"value1"
@
change=
"selectChange1"
v-if=
"options.length>0"
placeholder=
"请选择"
>
<el-select
v-model=
"value1"
value-key=
"id"
@
change=
"selectChange1"
v-if=
"options.length>0"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:key=
"item.name"
:label=
"item.name"
:value=
"item.id"
>
:value=
"item"
>
</el-option>
</el-select>
<el-select
v-model=
"value2"
value-key=
"id"
@
change=
"selectChange2"
v-if=
"options2.length>0"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options2"
:key=
"item.name"
:label=
"item.name"
:value=
"item"
>
</el-option>
</el-select>
</div>
...
...
@@ -61,8 +69,10 @@ export default {
list
,
activeIndex
:
0
,
options
:
[],
options2
:
[],
value
:
''
,
value1
:
''
,
value2
:
''
,
info
:
""
,
}
},
...
...
@@ -98,6 +108,7 @@ export default {
}
},
selectChange
(){
this
.
info
=
""
;
if
(
this
.
value
.
list
&&
this
.
value
.
list
.
length
>
0
){
this
.
options
=
this
.
value
.
list
;
this
.
value1
=
""
...
...
@@ -105,20 +116,36 @@ export default {
this
.
options
=
[]
standard
({
id
:
this
.
value
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
})
}
this
.
value2
=
""
;
this
.
options2
=
[]
},
selectChange1
(){
standard
({
id
:
this
.
value1
}).
then
(
res
=>
{
this
.
info
=
""
;
if
(
this
.
value1
.
list
&&
this
.
value1
.
list
.
length
>
0
){
this
.
options2
=
this
.
value1
.
list
;
this
.
value2
=
""
}
else
{
this
.
options2
=
[]
standard
({
id
:
this
.
value1
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
})
}
},
selectChange2
(){
this
.
info
=
""
;
standard
({
id
:
this
.
value2
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
})
},
changeActiveIndex
(
index
){
this
.
info
=
""
;
this
.
activeIndex
=
index
;
this
.
value
=
''
;
this
.
options
=
[]
this
.
options
=
[];
this
.
value2
=
""
;
this
.
options2
=
[]
},
}
}
...
...
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