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
a9db52c8
Commit
a9db52c8
authored
Nov 20, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务记录问题修改
parent
b4a5b55b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
8 deletions
+37
-8
editplanmentaion.vue
src/views/mobile/servicerecord/editplanmentaion.vue
+20
-1
fielddisplaydetails.vue
src/views/mobile/servicerecord/fielddisplaydetails.vue
+2
-2
recorddetails.vue
src/views/mobile/servicerecord/recorddetails.vue
+6
-1
releasetype.vue
src/views/mobile/servicerecord/releasetype.vue
+3
-3
workplandetails.vue
src/views/mobile/servicerecord/workplandetails.vue
+6
-1
No files found.
src/views/mobile/servicerecord/editplanmentaion.vue
View file @
a9db52c8
...
...
@@ -260,7 +260,10 @@
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.cooperationWay"
maxlength=
"36"
placeholder=
"请输入合作方式"
></el-input>
</el-form-item>
<el-form-item
v-if=
"subprojectjson.companyScale===null"
label=
"目前公司规模"
>
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.companyScale"
maxlength=
"36"
placeholder=
"请输入目前公司规模"
></el-input>
<el-select
style=
"width:100%;"
@
change=
"inputchange()"
v-model=
"projectjson.companyScale"
:placeholder=
"$t('releasejson.plcompanyScale')"
>
<el-option
v-for=
"item in companyScaleData"
:key=
"item.dictKey"
:label=
"item.dictValue"
:value=
"item.dictKey"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"subprojectjson.contactEmpName===null"
label=
"项目联系人"
>
<el-input
@
input=
"inputchange()"
v-model=
"projectjson.contactEmpName"
maxlength=
"36"
placeholder=
"请输入项目联系人"
></el-input>
...
...
@@ -306,6 +309,7 @@
projectphaseData
:[],
latestFinancingTurnData
:[],
companyIndustryEditList
:[],
companyScaleData
:[],
countryData
:[],
//获取国家列表
provinceData
:[],
//获取省份列表
cityData
:[],
//获取城市列表
...
...
@@ -566,6 +570,20 @@
return
false
;
})
},
//公司规模
companyScaleDataed
(){
api
.
selectDictList
(
'project_company_scale'
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
companyScaleData
=
response
.
result
;
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
})
},
//国家select触发
countryChang
(
val
){
if
(
val
){
...
...
@@ -867,6 +885,7 @@
this
.
$forceUpdate
()
this
.
projectphaselist
();
this
.
getNationList
();
this
.
companyScaleDataed
();
this
.
smallbusinessselect
();
this
.
projectformlist
();
this
.
selectBigBusinessLevelect
();
...
...
src/views/mobile/servicerecord/fielddisplaydetails.vue
View file @
a9db52c8
...
...
@@ -15,8 +15,8 @@
<p>
{{
item
.
createdTime
}}
</p>
<p
v-if=
"$route.query.state"
>
阶段:
<span>
{{
$route
.
query
.
state
?
item
.
phaseName
:
item
.
fieldName
}}
</span></p>
<p
:class=
"$route.query.state?'':'fieldName'"
>
{{
item
.
fieldName
}}
</p>
<p
v-if=
"item.fieldCode!='projectPatent'&&item.fieldCode!='manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'"
>
{{
item
.
fieldValue
}}
</p>
<p
v-if=
"item.fieldCode!='projectPatent'&&item.fieldCode!='manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'&&item.previousValue"
>
历史:
{{
item
.
previous
Value
}}
</p>
<p
v-if=
"item.fieldCode!='projectPatent'&&item.fieldCode!='manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'"
>
{{
item
.
fieldValue
===
1
?
'是'
:
item
.
fieldValue
===
0
?
'否'
:
item
.
fieldValue
}}
</p>
<p
v-if=
"item.fieldCode!='projectPatent'&&item.fieldCode!='manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'&&item.previousValue"
>
历史:
{{
item
.
fieldValue
===
1
?
'是'
:
item
.
fieldValue
===
0
?
'否'
:
item
.
field
Value
}}
</p>
<el-table
v-if=
"item.fieldCode=='manageTeam'||item.fieldCode=='coreTeam'||item.fieldCode=='technologyTeam'"
:data=
"item.fieldValue"
tooltip-effect=
"dark"
class=
"projectTable1"
style=
"margin-top: 0.2rem;"
>
<el-table-column
prop=
"empName"
label=
"姓名"
align=
"center"
width=
"80"
>
</el-table-column>
...
...
src/views/mobile/servicerecord/recorddetails.vue
View file @
a9db52c8
...
...
@@ -110,8 +110,12 @@
};
api
.
insertBSSsrvice
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
if
(
this
.
isproject
){
this
.
$router
.
push
({
path
:
"/serviceenterprise"
,
query
:{}});
}
else
{
this
.
$router
.
go
(
-
1
)
}
this
.
$toast
(
"创建分析记录成功"
);
this
.
$router
.
go
(
-
1
)
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
...
...
@@ -158,6 +162,7 @@
},
},
mounted
(){
this
.
isproject
=
this
.
$route
.
query
.
isproject
;
this
.
addeditif
=
this
.
$route
.
query
.
editstate
;
if
(
this
.
$route
.
query
.
editstate
){
let
params
=
{
...
...
src/views/mobile/servicerecord/releasetype.vue
View file @
a9db52c8
...
...
@@ -59,11 +59,11 @@
}
if
(
num
){
if
(
this
.
typeto
==
0
){
this
.
$router
.
push
({
path
:
"/recorddetails"
,
query
:{
projectId
:
this
.
projectId
,
editstate
:
false
}});
this
.
$router
.
push
({
path
:
"/recorddetails"
,
query
:{
projectId
:
this
.
projectId
,
editstate
:
false
,
isproject
:
true
}});
}
else
if
(
this
.
typeto
==
1
){
this
.
$router
.
push
({
path
:
"/workplandetails"
,
query
:{
projectId
:
this
.
projectId
,
editstate
:
false
}});
this
.
$router
.
push
({
path
:
"/workplandetails"
,
query
:{
projectId
:
this
.
projectId
,
editstate
:
false
,
isproject
:
true
}});
}
else
if
(
this
.
typeto
==
2
){
this
.
$router
.
push
({
path
:
"/addplanmentation"
,
query
:{
serviceId
:
this
.
$route
.
query
.
serviceId
}});
this
.
$router
.
push
({
path
:
"/addplanmentation"
,
query
:{
serviceId
:
this
.
$route
.
query
.
serviceId
,
isproject
:
true
}});
}
}
else
{
...
...
src/views/mobile/servicerecord/workplandetails.vue
View file @
a9db52c8
...
...
@@ -173,8 +173,12 @@
};
api
.
insertBSSsrvice
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
if
(
this
.
isproject
){
this
.
$router
.
push
({
path
:
"/serviceenterprise"
,
query
:{}});
}
else
{
this
.
$router
.
go
(
-
1
)
}
this
.
$toast
(
"创建工作规划成功"
);
this
.
$router
.
go
(
-
1
)
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
...
...
@@ -221,6 +225,7 @@
},
},
mounted
(){
this
.
isproject
=
this
.
$route
.
query
.
isproject
;
this
.
addeditif
=
this
.
$route
.
query
.
editstate
;
if
(
this
.
$route
.
query
.
editstate
){
let
params
=
{
...
...
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