Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
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
张伯涛
contractmanage
Commits
8a0a1e1e
Commit
8a0a1e1e
authored
May 13, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
$nextTick!!!!
parent
65b57bdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CompanyDialog.vue
src/views/list/CompanyDialog.vue
+3
-1
addProject.vue
src/views/projectInfo/addProject.vue
+5
-1
No files found.
src/views/list/CompanyDialog.vue
View file @
8a0a1e1e
...
@@ -141,7 +141,9 @@ export default {
...
@@ -141,7 +141,9 @@ export default {
watch
:
{
watch
:
{
'fatherType'
:
function
(
val
)
{
'fatherType'
:
function
(
val
)
{
if
(
val
===
'project'
)
{
if
(
val
===
'project'
)
{
this
.
getList
()
this
.
$nextTick
(()
=>
{
this
.
getList
()
})
}
}
}
}
},
},
...
...
src/views/projectInfo/addProject.vue
View file @
8a0a1e1e
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
label=
"参与二级单位"
label=
"参与二级单位"
prop=
"ZCY2NDORG"
prop=
"ZCY2NDORG"
>
>
<el-select
v-model=
"form.ZCY2NDORG"
clearable
placeholder=
"请选择"
>
<el-select
v-model=
"form.ZCY2NDORG"
multiple
style=
"width: 100%"
clearable
placeholder=
"请选择"
>
<el-option
<el-option
v-for=
"item in secondUnitOptions"
v-for=
"item in secondUnitOptions"
:key=
"item.OID"
:key=
"item.OID"
...
@@ -1670,6 +1670,9 @@ export default {
...
@@ -1670,6 +1670,9 @@ export default {
console
.
log
(
'获取详情'
,
list
)
console
.
log
(
'获取详情'
,
list
)
this
.
ZBZTList
.
push
(
list
)
this
.
ZBZTList
.
push
(
list
)
}
}
if
(
formList
.
ZCY2NDORG
)
{
formList
.
ZCY2NDORG
=
formList
.
ZCY2NDORG
.
split
(
','
)
}
this
.
form
=
{
this
.
form
=
{
BUSINESSID
:
formList
.
BUSINESSID
,
BUSINESSID
:
formList
.
BUSINESSID
,
ZFUNDNAME
:
formList
.
ZFUNDNAME
,
ZFUNDNAME
:
formList
.
ZFUNDNAME
,
...
@@ -1865,6 +1868,7 @@ export default {
...
@@ -1865,6 +1868,7 @@ export default {
this
.
addLoading
=
true
this
.
addLoading
=
true
this
.
form
.
ZAWARDMAINAME
=
this
.
ZBZTList
.
map
(
item
=>
item
.
ZBPNAME_ZH
).
join
(
','
)
this
.
form
.
ZAWARDMAINAME
=
this
.
ZBZTList
.
map
(
item
=>
item
.
ZBPNAME_ZH
).
join
(
','
)
this
.
form
.
ZAWARDMAI
=
this
.
ZBZTList
.
map
(
item
=>
item
.
ZBP
).
join
(
','
)
this
.
form
.
ZAWARDMAI
=
this
.
ZBZTList
.
map
(
item
=>
item
.
ZBP
).
join
(
','
)
this
.
form
.
ZCY2NDORG
=
this
.
form
.
ZCY2NDORG
.
length
?
this
.
form
.
ZCY2NDORG
.
join
(
','
)
:
''
const
formList
=
this
.
form
const
formList
=
this
.
form
// form 表单截取部分数据 以便新增或修改
// form 表单截取部分数据 以便新增或修改
this
.
form
=
{
this
.
form
=
{
...
...
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