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
191ced1a
Commit
191ced1a
authored
Nov 18, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务记录功能修改
parent
6c6be1ea
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
78 additions
and
17 deletions
+78
-17
viewproject.vue
src/views/innovatecompany/lreleaseproject/viewproject.vue
+2
-2
addplanmentation.vue
src/views/mobile/servicerecord/addplanmentation.vue
+30
-4
api.js
src/views/mobile/servicerecord/api/api.js
+17
-0
editplanmentaion.vue
src/views/mobile/servicerecord/editplanmentaion.vue
+0
-0
editproject.vue
src/views/mobile/servicerecord/editproject.vue
+0
-1
fielddisplaydetails.vue
src/views/mobile/servicerecord/fielddisplaydetails.vue
+17
-4
recorddetails.vue
src/views/mobile/servicerecord/recorddetails.vue
+5
-2
releasetype.vue
src/views/mobile/servicerecord/releasetype.vue
+1
-1
serviceenterprise.vue
src/views/mobile/servicerecord/serviceenterprise.vue
+1
-1
workplandetails.vue
src/views/mobile/servicerecord/workplandetails.vue
+5
-2
No files found.
src/views/innovatecompany/lreleaseproject/viewproject.vue
View file @
191ced1a
...
@@ -1077,13 +1077,13 @@
...
@@ -1077,13 +1077,13 @@
let
companyLabelList
=
[];
let
companyLabelList
=
[];
if
(
this
.
addData
.
companyLabelList
.
length
!=
0
){
if
(
this
.
addData
.
companyLabelList
.
length
!=
0
){
for
(
let
i
in
this
.
addData
.
companyLabelList
){
for
(
let
i
in
this
.
addData
.
companyLabelList
){
companyLabelList
.
push
({
key
:
i
,
value
:
this
.
addData
.
companyLabelList
[
i
]})
companyLabelList
.
push
({
key
Id
:
i
,
value
:
this
.
addData
.
companyLabelList
[
i
]})
}
}
}
}
let
customerLabelList
=
[];
let
customerLabelList
=
[];
if
(
this
.
addData
.
customerLabelList
.
length
!=
0
){
if
(
this
.
addData
.
customerLabelList
.
length
!=
0
){
for
(
let
i
in
this
.
addData
.
customerLabelList
){
for
(
let
i
in
this
.
addData
.
customerLabelList
){
customerLabelList
.
push
({
key
:
i
,
value
:
this
.
addData
.
customerLabelList
[
i
]})
customerLabelList
.
push
({
key
Id
:
i
,
value
:
this
.
addData
.
customerLabelList
[
i
]})
}
}
}
}
let
companyEventList
=
[];
let
companyEventList
=
[];
...
...
src/views/mobile/servicerecord/addplanmentation.vue
View file @
191ced1a
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</div>
</div>
</div>
</div>
<div
v-if=
"!isedit"
class=
"content_data"
>
<div
v-if=
"!isedit"
class=
"content_data"
>
<editplanmentaion
ref=
"child"
:response=
"$route.query.response"
:labName=
"labName"
:serviceId=
"this.$route.query.serviceId"
:ServicephasesId=
"ServicephasesId"
:screenchildList=
"screenchildList"
></editplanmentaion>
<editplanmentaion
ref=
"child"
:response=
"$route.query.response"
:
responseed=
"$route.query.response"
:
labName=
"labName"
:serviceId=
"this.$route.query.serviceId"
:ServicephasesId=
"ServicephasesId"
:screenchildList=
"screenchildList"
></editplanmentaion>
</div>
</div>
<div
class=
"service_bottom"
>
<div
class=
"service_bottom"
>
<p
v-if=
"isedit"
@
click=
"goto"
>
下一步
</p>
<p
v-if=
"isedit"
@
click=
"goto"
>
下一步
</p>
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
},
},
methods
:{
methods
:{
gotoed
(){
gotoed
(){
this
.
$router
.
push
({
path
:
"/personalcenter"
,
query
:{
serviceId
:
this
.
$route
.
query
.
response
.
serviceId
}});
this
.
$router
.
push
({
path
:
"/personalcenter"
,
query
:{
serviceId
:
this
.
$route
.
query
.
serviceId
}});
},
},
submitplan
(){
submitplan
(){
this
.
$refs
.
child
.
addedit
();
this
.
$refs
.
child
.
addedit
();
...
@@ -107,14 +107,35 @@
...
@@ -107,14 +107,35 @@
}
}
}
}
}
}
for
(
let
i
in
response
.
result
){
if
(
response
.
result
[
i
].
subFieldList
){
for
(
let
t
in
response
.
result
[
i
].
subFieldList
){
if
(
this
.
$route
.
query
.
response
){
for
(
let
s
in
this
.
$route
.
query
.
response
.
fieldList
){
if
(
response
.
result
[
i
].
subFieldList
[
t
].
fieldCode
==
this
.
$route
.
query
.
response
.
fieldList
[
s
].
fieldCode
){
response
.
result
[
i
].
subFieldList
[
t
].
checked
=
true
;
}
}
}
}
}
}
}
else
{
}
else
{
for
(
let
i
in
response
.
result
){
for
(
let
i
in
response
.
result
){
if
(
response
.
result
[
i
]){
response
.
result
[
i
].
checked
=
false
;
response
.
result
[
i
].
checked
=
false
;
}
}
for
(
let
i
in
response
.
result
){
if
(
response
.
result
[
i
]){
if
(
this
.
$route
.
query
.
response
){
for
(
let
s
in
this
.
$route
.
query
.
response
.
fieldList
){
if
(
response
.
result
[
i
].
fieldCode
==
this
.
$route
.
query
.
response
.
fieldList
[
s
].
fieldCode
){
response
.
result
[
i
].
checked
=
true
;
}
}
}
}
}
}
}
}
this
.
screenchildList
=
response
.
result
;
this
.
screenchildList
=
response
.
result
;
}
else
{
}
else
{
this
.
$message
.
error
(
response
.
msg
);
this
.
$message
.
error
(
response
.
msg
);
...
@@ -134,6 +155,11 @@
...
@@ -134,6 +155,11 @@
api
.
getServicePhases
(
window
.
sessionStorage
.
getItem
(
"statechange"
)).
then
(
response
=>
{
api
.
getServicePhases
(
window
.
sessionStorage
.
getItem
(
"statechange"
)).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
if
(
response
.
code
==
0
)
{
this
.
options
=
response
.
result
;
this
.
options
=
response
.
result
;
if
(
this
.
$route
.
query
.
response
){
this
.
cascadermodel
.
push
(
this
.
$route
.
query
.
response
.
phasePId
)
this
.
cascadermodel
.
push
(
this
.
$route
.
query
.
response
.
phaseId
)
this
.
cascader_lit
(
this
.
cascadermodel
);
}
}
else
{
}
else
{
this
.
$message
.
error
(
response
.
msg
);
this
.
$message
.
error
(
response
.
msg
);
}
}
...
...
src/views/mobile/servicerecord/api/api.js
View file @
191ced1a
...
@@ -71,4 +71,20 @@ export default {
...
@@ -71,4 +71,20 @@ export default {
getRecordFieldDetail
(
params
)
{
getRecordFieldDetail
(
params
)
{
return
api
.
fetchLoadingPost
(
'/business/service/getRecordFieldDetail'
,
Qs
.
stringify
(
params
));
return
api
.
fetchLoadingPost
(
'/business/service/getRecordFieldDetail'
,
Qs
.
stringify
(
params
));
},
},
selectNationList
(){
return
api
.
fetchGet
(
'/business/geo/selectNationList'
);
},
selectCityList
(
params
){
return
api
.
fetchGet
(
'/business/geo/selectCityList?geoId='
+
params
);
},
selectProvinceList
(
params
){
return
api
.
fetchGet
(
'/business/geo/selectProvinceList?geoId='
+
params
);
},
selectBigBusinessLevelOne
(){
return
api
.
fetchGet
(
'/business/industry/selectBigBusinessLevelOne'
);
},
editRecordDetail
(
params
)
{
return
api
.
fetchLoadingPost
(
'/business/service/editRecordDetail'
,
params
);
},
}
}
\ No newline at end of file
src/views/mobile/servicerecord/editplanmentaion.vue
View file @
191ced1a
This diff is collapsed.
Click to expand it.
src/views/mobile/servicerecord/editproject.vue
View file @
191ced1a
...
@@ -386,7 +386,6 @@
...
@@ -386,7 +386,6 @@
},
},
//整合行业领域数据
//整合行业领域数据
industry
(
val
){
industry
(
val
){
this
.
$forceUpdate
()
let
arr
=
[];
let
arr
=
[];
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
){
arr
.
push
(
val
[
i
][
1
])
arr
.
push
(
val
[
i
][
1
])
...
...
src/views/mobile/servicerecord/fielddisplaydetails.vue
View file @
191ced1a
<
template
>
<
template
>
<div>
<div>
<div
class=
"service_top"
>
<div
class=
"service_top"
>
<serviceTop
:isHistory=
"false"
:isrecord=
"true"
:isSearch=
"true"
recordtext=
"记录时间:--
"
></serviceTop>
<serviceTop
:isHistory=
"false"
:isrecord=
"true"
:isSearch=
"true"
:recordtext=
"$route.query.state?'':'记录时间:'+response.createdTime
"
></serviceTop>
</div>
</div>
<div>
<div>
<div
class=
"record_div"
>
<div
class=
"record_div"
>
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<p>
{{
item
.
createdTime
}}
</p>
<p>
{{
item
.
createdTime
}}
</p>
<p
v-if=
"$route.query.state"
>
阶段:
<span>
{{
$route
.
query
.
state
?
item
.
phaseName
:
item
.
fieldName
}}
</span></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
:class=
"$route.query.state?'':'fieldName'"
>
{{
item
.
fieldName
}}
</p>
<p
v-if=
"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
.
fieldValue
}}
</p>
<p
v-if=
"item.fieldCode!='manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'&&item.previousValue"
>
历史:
{{
item
.
previousValue
}}
</p>
<p
v-if=
"item.fieldCode!='
projectPatent'&&item.fieldCode!='
manageTeam'&&item.fieldCode!='coreTeam'&&item.fieldCode!='stockRight'&&item.fieldCode!='technologyTeam'&&item.previousValue"
>
历史:
{{
item
.
previousValue
}}
</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
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
prop=
"empName"
label=
"姓名"
align=
"center"
width=
"80"
>
</el-table-column>
</el-table-column>
...
@@ -47,6 +47,19 @@
...
@@ -47,6 +47,19 @@
<el-table-column
prop=
"stockProportion"
label=
"占比"
align=
"center"
>
<el-table-column
prop=
"stockProportion"
label=
"占比"
align=
"center"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-table
v-if=
"item.fieldCode=='projectPatent'"
:data=
"item.fieldValue"
tooltip-effect=
"dark"
class=
"projectTable1"
style=
"margin-top: 0.2rem;"
>
<el-table-column
prop=
"patentNumber"
label=
"专利号"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"patentName"
label=
"专利名称"
align=
"center"
>
</el-table-column>
</el-table>
<span
v-if=
"item.fieldCode=='projectPatent'&&item.previousValue"
>
历史:
</span>
<el-table
v-if=
"item.fieldCode=='projectPatent'&&item.previousValue"
:data=
"item.fieldValue"
tooltip-effect=
"dark"
class=
"projectTable1"
style=
"margin-top: 0.2rem;"
>
<el-table-column
prop=
"patentNumber"
label=
"专利号"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"patentName"
label=
"专利名称"
align=
"center"
>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
<div
v-if=
"response.explication"
>
<div
v-if=
"response.explication"
>
...
@@ -81,7 +94,7 @@
...
@@ -81,7 +94,7 @@
},
},
methods
:{
methods
:{
editgo
(){
editgo
(){
this
.
$router
.
push
({
path
:
"/addplanmentation"
,
query
:{
response
:
this
.
response
}});
this
.
$router
.
push
({
path
:
"/addplanmentation"
,
query
:{
response
:
this
.
response
,
serviceId
:
this
.
response
.
serviceId
}});
},
},
removeRecord
(){
removeRecord
(){
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
...
...
src/views/mobile/servicerecord/recorddetails.vue
View file @
191ced1a
...
@@ -135,8 +135,11 @@
...
@@ -135,8 +135,11 @@
},
},
removeed
(){
removeed
(){
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
this
.
recordjson
.
state
=
1
;
let
params
=
{
api
.
updateBSSsrviceById
(
this
.
recordjson
).
then
(
response
=>
{
recordId
:
this
.
recordjson
.
recordId
,
state
:
1
,
}
api
.
updateBSSsrviceById
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
if
(
response
.
code
==
0
)
{
this
.
$toast
(
"删除分析记录成功"
);
this
.
$toast
(
"删除分析记录成功"
);
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
...
...
src/views/mobile/servicerecord/releasetype.vue
View file @
191ced1a
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
}
else
if
(
this
.
typeto
==
1
){
}
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
}});
}
else
if
(
this
.
typeto
==
2
){
}
else
if
(
this
.
typeto
==
2
){
this
.
$router
.
push
({
path
:
"/addplanmentation"
,
query
:{
serviceId
:
this
.
$route
.
query
.
serviceId
}});
}
}
}
else
{
}
else
{
...
...
src/views/mobile/servicerecord/serviceenterprise.vue
View file @
191ced1a
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
},
},
releasetype
(
val
){
releasetype
(
val
){
this
.
$router
.
push
({
path
:
"/releasetype"
,
query
:{
projectId
:
val
.
projectId
}});
this
.
$router
.
push
({
path
:
"/releasetype"
,
query
:{
projectId
:
val
.
projectId
,
serviceId
:
val
.
serviceId
}});
},
},
searchinput
(){
searchinput
(){
this
.
tableData
=
[];
this
.
tableData
=
[];
...
...
src/views/mobile/servicerecord/workplandetails.vue
View file @
191ced1a
...
@@ -198,8 +198,11 @@
...
@@ -198,8 +198,11 @@
},
},
removeed
(){
removeed
(){
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
MessageBox
.
confirm
(
'确定要删除吗?'
).
then
(
action
=>
{
this
.
recordjson
.
state
=
1
;
let
params
=
{
api
.
updateBSSsrviceById
(
this
.
recordjson
).
then
(
response
=>
{
recordId
:
this
.
recordjson
.
recordId
,
state
:
1
,
}
api
.
updateBSSsrviceById
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
if
(
response
.
code
==
0
)
{
this
.
$toast
(
"删除工作规划成功"
);
this
.
$toast
(
"删除工作规划成功"
);
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
...
...
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