Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
132ec052
Commit
132ec052
authored
Nov 20, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务记录问题修改
parent
eac8303c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
26 deletions
+30
-26
editOnlyproject.vue
src/views/mobile/servicerecord/editOnlyproject.vue
+28
-24
editproject.vue
src/views/mobile/servicerecord/editproject.vue
+2
-2
No files found.
src/views/mobile/servicerecord/editOnlyproject.vue
View file @
132ec052
...
...
@@ -68,10 +68,10 @@
<div
v-if=
"subprojectjson.competitorProduct===null"
>
<el-form-item
label=
"竞争对手及主要产品"
>
</el-form-item>
<div
v-for=
"item in
competitorProduct
"
style=
"margin-top: -0.2rem;"
>
<div
v-for=
"item in
empIntroduction
"
style=
"margin-top: -0.2rem;"
>
<el-form-item
label=
""
>
<el-input
v-model=
"item.
competitor
Name"
maxlength=
"36"
placeholder=
"请输入竞争对手"
></el-input>
<el-input
v-model=
"item.
competitorProduct"
maxlength=
"300"
placeholder=
"请输入历史投资方
"
type=
"textarea"
:rows=
"6"
></el-input>
<el-input
v-model=
"item.
emp
Name"
maxlength=
"36"
placeholder=
"请输入竞争对手"
></el-input>
<el-input
v-model=
"item.
empIntroduction"
maxlength=
"300"
placeholder=
"请输入历史投资方"
style=
"margin-top: 0.2rem
"
type=
"textarea"
:rows=
"6"
></el-input>
</el-form-item>
</div>
<div>
...
...
@@ -125,9 +125,9 @@
stockHolder
:
''
,
stockProportion
:
''
,
}],
competitorProduct
:[{
competitor
Name
:
''
,
competitorProduct
:
''
,
empIntroduction
:[{
emp
Name
:
''
,
empIntroduction
:
''
,
}],
}
},
...
...
@@ -157,26 +157,30 @@
this
.
projectjson
.
stockRight
.
push
(
this
.
stockRight
[
i
])
}
}
for
(
let
i
in
this
.
competitorProduct
){
if
(
this
.
competitorProduct
[
i
].
competitorName
!=
''
&&
this
.
competitorProduct
[
i
].
competitorProduct
!=
''
){
for
(
let
i
in
this
.
empIntroduction
){
if
(
this
.
empIntroduction
[
i
].
empName
!=
''
&&
this
.
empIntroduction
[
i
].
empIntroduction
!=
''
){
if
(
this
.
projectjson
.
competitorProduct
==
null
){
this
.
projectjson
.
competitorProduct
=
[];
}
this
.
projectjson
.
competitorProduct
.
push
(
this
.
competitorProduct
[
i
])
this
.
projectjson
.
competitorProduct
.
push
(
this
.
empIntroduction
[
i
])
}
}
api
.
fillDetail
(
this
.
projectjson
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
$toast
(
"完善成功"
);
this
.
$router
.
go
(
-
1
);
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
})
this
.
$refs
.
projectjson
.
validate
((
valid
)
=>
{
if
(
valid
)
{
api
.
fillDetail
(
this
.
projectjson
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
$toast
(
"完善成功"
);
this
.
$router
.
go
(
-
1
);
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
})
}
});
},
inputchange
(){
this
.
$forceUpdate
()
...
...
@@ -249,9 +253,9 @@
stockProportion
:
''
,});
},
addcompetitor
(){
this
.
competitorProduct
.
push
({
competitor
Name
:
''
,
competitorProduct
:
''
,});
this
.
empIntroduction
.
push
({
emp
Name
:
''
,
empIntroduction
:
''
,});
},
},
mounted
(){
...
...
src/views/mobile/servicerecord/editproject.vue
View file @
132ec052
...
...
@@ -202,8 +202,8 @@
</div>
</div>
<el-form-item
v-if=
"subprojectjson.
financingInvestor
===null"
label=
"本轮融资阶段"
>
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.
financingInvestor
"
maxlength=
"36"
placeholder=
"请输入本轮融资阶段"
></el-input>
<el-form-item
v-if=
"subprojectjson.
currentFinancingTurn
===null"
label=
"本轮融资阶段"
>
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.
currentFinancingTurn
"
maxlength=
"36"
placeholder=
"请输入本轮融资阶段"
></el-input>
</el-form-item>
<el-form-item
v-if=
"subprojectjson.preValuation===null"
label=
"当前投前估值 (单位:万)"
>
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.preValuation"
type=
"number"
maxlength=
"36"
placeholder=
"请输入当前投前估值"
></el-input>
...
...
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