Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
enterprise-serevice-platform-web
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
张伯涛
enterprise-serevice-platform-web
Commits
23d140d2
Commit
23d140d2
authored
Oct 31, 2022
by
杨硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
4ba67397
e604f69a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
191 additions
and
134 deletions
+191
-134
policySearchDetails.vue
src/views/PolicyDirect/components/policySearchDetails.vue
+0
-3
AffiliatedEnterprises.vue
...views/personalCenter/components/AffiliatedEnterprises.vue
+70
-43
AffiliatedEnterprisesUpdate.vue
...personalCenter/components/AffiliatedEnterprisesUpdate.vue
+118
-86
messageDetails.vue
src/views/personalCenter/messageDetails.vue
+1
-1
vue.config.js
vue.config.js
+2
-1
No files found.
src/views/PolicyDirect/components/policySearchDetails.vue
View file @
23d140d2
...
@@ -555,9 +555,6 @@ export default {
...
@@ -555,9 +555,6 @@ export default {
}
}
})
})
}
}
console
.
log
(
'00000000000000000000'
)
console
.
log
(
this
.
declareForm
)
console
.
log
(
'00000000000000000000'
)
// 调用接口信息
// 调用接口信息
this
.
getOptions
()
this
.
getOptions
()
this
.
getIssuingDept
()
this
.
getIssuingDept
()
...
...
src/views/personalCenter/components/AffiliatedEnterprises.vue
View file @
23d140d2
<
template
>
<
template
>
<div
class=
"AffiliatedEnterprises-module"
>
<div
class=
"AffiliatedEnterprises-module"
>
<div
class=
"progress"
>
<div
class=
"progress"
>
<div
class=
"title"
>
关联企业
</div>
<div
><span
class=
"title"
>
关联企业
</span>
</div>
<el-button
v-if=
"form.id!==undefined"
type=
"text"
class=
"updataBtn"
@
click=
"handleUpdate(form.id)"
>
{{
<el-button
v-if=
"form.id!==undefined"
type=
"text"
@
click=
"handleUpdate(form.id)"
>
title
<i
class=
"el-icon-edit"
></i>
}}
<span
class=
"editspan"
>
{{
title
}}
</span>
</el-button>
</el-button>
</div>
</div>
<el-divider
class=
"dividerMoudule"
/>
<el-divider
class=
"dividerMoudule"
/>
<div
v-if=
"listStatus === 0"
class=
"img-content"
>
<div
v-if=
"listStatus === 0"
class=
"img-content"
>
...
@@ -33,27 +33,28 @@
...
@@ -33,27 +33,28 @@
class=
"switchEnterprises"
class=
"switchEnterprises"
type=
"primary"
type=
"primary"
size=
"small"
size=
"small"
round
@
click=
"switchEnterprises"
@
click=
"switchEnterprises"
>
切换企业
>
切换企业
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-button
v-if=
"this.form.status === '0'"
class=
"certificationButton"
type=
"primary"
size=
"small"
<el-button
round
v-if=
"this.form.status === '0'"
class=
"certificationButton"
type=
"primary"
size=
"small"
@
click=
"certificationEnterpries"
>
@
click=
"certificationEnterpries"
>
认证企业
认证企业
</el-button>
</el-button>
<el-button
v-if=
"this.form.status === '3'"
class=
"certificationButton"
type=
"primary"
size=
"small"
<el-button
round
v-if=
"this.form.status === '3'"
class=
"certificationButton"
type=
"primary"
size=
"small"
@
click=
"certificationEnterpries"
>
@
click=
"certificationEnterpries"
>
认证企业
认证企业
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-button
v-if=
"this.form.status !==0"
class=
"deleteButton"
type=
"danger"
size=
"small"
<el-button
round
v-if=
"this.form.status !==0"
class=
"deleteButton"
type=
"danger"
size=
"small"
@
click=
"deleteEnterPrises"
>
移除企业
@
click=
"deleteEnterPrises"
>
移除企业
</el-button>
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"form-title"
>
一: 企业基本信息
</div>
<div
>
<span
class=
"form-title"
>
一: 企业基本信息
</span>
</div>
<el-row>
<el-row>
<el-col
:span=
"12"
class=
"form-title-col"
>
<el-col
:span=
"12"
class=
"form-title-col"
>
<el-form-item
class=
"unitItem"
label=
"注册资本:"
prop=
"registeredCapital"
style=
"padding-left: 0px"
>
<el-form-item
class=
"unitItem"
label=
"注册资本:"
prop=
"registeredCapital"
style=
"padding-left: 0px"
>
...
@@ -147,7 +148,7 @@
...
@@ -147,7 +148,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"form-title"
>
二: 人事信息
</div>
<div
><span
class=
"form-title"
>
二: 人事信息
</span>
</div>
<el-row
class=
"peopleInfo"
:gutter=
"20"
>
<el-row
class=
"peopleInfo"
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
class=
"unitItem"
label=
"企业总人数:"
prop=
"totalPeople"
>
<el-form-item
class=
"unitItem"
label=
"企业总人数:"
prop=
"totalPeople"
>
...
@@ -224,14 +225,15 @@
...
@@ -224,14 +225,15 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"form-title"
>
三: 经营数据
</div>
<div
><span
class=
"form-title"
>
三: 经营数据
</span>
</div>
<el-table
<el-table
:header-cell-style=
"
{background:'#EDF5FD'}"
class="businessData"
class="businessData"
border
border
style="padding-right: 10px"
style="padding-right: 10px"
:data="form.userEnterpriseOperateRelativeList"
:data="form.userEnterpriseOperateRelativeList"
>
>
<el-table-column
align=
"center"
label=
"年份"
prop=
"year"
width=
"8
9
"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
label=
"年份"
prop=
"year"
width=
"8
0
"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.year !==null && scope.row.year !== ''"
>
{{
scope
.
row
.
year
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.year !==null && scope.row.year !== ''"
>
{{
scope
.
row
.
year
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.year ===null || scope.row.year === ''"
>
{{
content
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.year ===null || scope.row.year === ''"
>
{{
content
}}
</span>
...
@@ -247,7 +249,7 @@
...
@@ -247,7 +249,7 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"净利润(万元)"
width=
"17
9
"
prop=
"netProfit"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
label=
"净利润(万元)"
width=
"17
0
"
prop=
"netProfit"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
<span
class=
"fromSpan"
v-if=
"scope.row.netProfit !== null && scope.row.netProfit !== ''"
>
{{
scope
.
row
.
netProfit
}}
</span>
v-if=
"scope.row.netProfit !== null && scope.row.netProfit !== ''"
>
{{
scope
.
row
.
netProfit
}}
</span>
...
@@ -256,7 +258,7 @@
...
@@ -256,7 +258,7 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"营业收入(万元)"
width=
"15
5
"
prop=
"operatingIncome"
<el-table-column
align=
"center"
label=
"营业收入(万元)"
width=
"15
0
"
prop=
"operatingIncome"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.operatingIncome !== null && scope.row.operatingIncome !== ''"
>
{{
<span
class=
"fromSpan"
v-if=
"scope.row.operatingIncome !== null && scope.row.operatingIncome !== ''"
>
{{
...
@@ -266,7 +268,7 @@
...
@@ -266,7 +268,7 @@
v-if=
"scope.row.operatingIncome === null || scope.row.operatingIncome === ''"
>
{{
content
}}
</span>
v-if=
"scope.row.operatingIncome === null || scope.row.operatingIncome === ''"
>
{{
content
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"主营业收入(万元)"
width=
"1
7
7"
prop=
"mainBusinessIncome"
<el-table-column
align=
"center"
label=
"主营业收入(万元)"
width=
"1
6
7"
prop=
"mainBusinessIncome"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
<span
class=
"fromSpan"
...
@@ -279,7 +281,7 @@
...
@@ -279,7 +281,7 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"税收(万元)"
width=
"1
6
3"
prop=
"tax"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
label=
"税收(万元)"
width=
"1
5
3"
prop=
"tax"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.tax !== null && scope.row.tax !== ''"
>
{{
scope
.
row
.
tax
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.tax !== null && scope.row.tax !== ''"
>
{{
scope
.
row
.
tax
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.tax === null || scope.row.tax === ''"
>
{{
content
}}
</span>
<span
class=
"fromSpan"
v-if=
"scope.row.tax === null || scope.row.tax === ''"
>
{{
content
}}
</span>
...
@@ -299,9 +301,10 @@
...
@@ -299,9 +301,10 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"form-title"
>
四: 知识产权
</div>
<div
><span
class=
"form-title"
>
四: 知识产权
</span>
</div>
<el-table
<el-table
class=
"intellectualProperty"
class=
"intellectualProperty"
:header-cell-style=
"{background:'#EDF5FD'}"
border
border
style=
"padding-right: 10px"
style=
"padding-right: 10px"
:data=
"Intellectual"
:data=
"Intellectual"
...
@@ -328,7 +331,7 @@
...
@@ -328,7 +331,7 @@
v-if=
"scope.row.patentsNumber === null || scope.row.patentsNumber === '' "
>
{{
content
}}
</span>
v-if=
"scope.row.patentsNumber === null || scope.row.patentsNumber === '' "
>
{{
content
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"注册商标总数(个)"
width=
"2
6
7"
prop=
"trademarksNumber"
<el-table-column
align=
"center"
label=
"注册商标总数(个)"
width=
"2
5
7"
prop=
"trademarksNumber"
:show-overflow-tooltip=
"true"
>
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.trademarksNumber !== null && scope.row.trademarksNumber !== ''"
>
{{
<span
class=
"fromSpan"
v-if=
"scope.row.trademarksNumber !== null && scope.row.trademarksNumber !== ''"
>
{{
...
@@ -351,9 +354,10 @@
...
@@ -351,9 +354,10 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"form-title"
>
五: 项目信息
</div>
<div
><span
class=
"form-title"
>
五: 项目信息
</span>
</div>
<el-table
<el-table
class=
"ProjectInformation"
class=
"ProjectInformation"
:header-cell-style=
"{background:'#EDF5FD'}"
border
border
style=
"padding-right: 10px"
style=
"padding-right: 10px"
:data=
" ProjectInformation"
:data=
" ProjectInformation"
...
@@ -380,7 +384,7 @@
...
@@ -380,7 +384,7 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"项目情况"
width=
"3
5
5"
prop=
"projectStatus"
>
<el-table-column
label=
"项目情况"
width=
"3
4
5"
prop=
"projectStatus"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.projectStatus !== null && scope.row.projectStatus !== ''"
>
{{
<span
class=
"fromSpan"
v-if=
"scope.row.projectStatus !== null && scope.row.projectStatus !== ''"
>
{{
replaceProjectStatus
(
scope
.
row
.
projectStatus
)
replaceProjectStatus
(
scope
.
row
.
projectStatus
)
...
@@ -390,8 +394,9 @@
...
@@ -390,8 +394,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"form-title"
>
六: 载体信息
</div>
<div
><span
class=
"form-title"
>
六: 载体信息
</span>
</div>
<el-table
<el-table
:header-cell-style=
"{background:'#EDF5FD'}"
class=
"Carrierinformation"
class=
"Carrierinformation"
border
border
style=
"padding-right: 10px"
style=
"padding-right: 10px"
...
@@ -421,7 +426,7 @@
...
@@ -421,7 +426,7 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"毕业企业数(个)"
prop=
"graduateCompanies"
width=
"3
5
5"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"毕业企业数(个)"
prop=
"graduateCompanies"
width=
"3
4
5"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fromSpan"
v-if=
"scope.row.graduateCompanies !== null && scope.row.graduateCompanies !== ''"
>
{{
<span
class=
"fromSpan"
v-if=
"scope.row.graduateCompanies !== null && scope.row.graduateCompanies !== ''"
>
{{
scope
.
row
.
graduateCompanies
scope
.
row
.
graduateCompanies
...
@@ -615,6 +620,7 @@ export default {
...
@@ -615,6 +620,7 @@ export default {
name
:
'AffiliatedEnterprises'
,
name
:
'AffiliatedEnterprises'
,
data
()
{
data
()
{
return
{
return
{
type
:
'关联企业'
,
// 判断后端传来的数据是否为手机号 0:代表是,1代表不是
// 判断后端传来的数据是否为手机号 0:代表是,1代表不是
isPhone
:
'1'
,
isPhone
:
'1'
,
// 数组之间连接
// 数组之间连接
...
@@ -842,6 +848,8 @@ export default {
...
@@ -842,6 +848,8 @@ export default {
}
}
},
},
computed
:
{},
computed
:
{},
created
()
{
},
watch
:
{
watch
:
{
'certificationInfo.verificationCode'
:
function
(
val
)
{
'certificationInfo.verificationCode'
:
function
(
val
)
{
if
(
val
!==
''
&&
val
!==
undefined
&&
this
.
taxFlag
===
'0'
)
{
if
(
val
!==
''
&&
val
!==
undefined
&&
this
.
taxFlag
===
'0'
)
{
...
@@ -873,8 +881,6 @@ export default {
...
@@ -873,8 +881,6 @@ export default {
mounted
()
{
mounted
()
{
this
.
getAffiliateInfo
()
this
.
getAffiliateInfo
()
this
.
getAddressJson
()
this
.
getAddressJson
()
this
.
getEnterpriseAbility
()
this
.
getEnterpriseQualifi
()
// this.changTitle()
// this.changTitle()
},
},
methods
:
{
methods
:
{
...
@@ -1335,11 +1341,12 @@ export default {
...
@@ -1335,11 +1341,12 @@ export default {
},
},
/** 移除企业**/
/** 移除企业**/
async
deleteEnterPrises
()
{
async
deleteEnterPrises
()
{
const
deleteEnterById
=
await
this
.
$confirm
(
'
此操作将永久删除该企业,是否继续?
'
,
'提示'
,
{
const
deleteEnterById
=
await
this
.
$confirm
(
'
<span style="color: #333333;font-size: 15px;">此操作将永久删除该企业,是否继续?</span>
'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
cancelButtonClass
:
'cancelBtn'
,
cancelButtonClass
:
'cancelBtn'
,
confirmButtonClass
:
'confirmBtn'
,
confirmButtonClass
:
'confirmBtn'
,
dangerouslyUseHTMLString
:
true
,
type
:
'warning'
type
:
'warning'
})
})
if
(
deleteEnterById
!==
'confirm'
)
{
if
(
deleteEnterById
!==
'confirm'
)
{
...
@@ -1361,11 +1368,12 @@ export default {
...
@@ -1361,11 +1368,12 @@ export default {
/** 切换中移除企业**/
/** 切换中移除企业**/
async
deleteInfo
(
row
)
{
async
deleteInfo
(
row
)
{
console
.
log
(
row
.
id
)
console
.
log
(
row
.
id
)
const
deleteInfoById
=
await
this
.
$confirm
(
'
确定要移除企业么
'
,
'提示'
,
{
const
deleteInfoById
=
await
this
.
$confirm
(
'
<span style="color: #333333;font-size: 15px;">确定要移除企业么</span>
'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
cancelButtonClass
:
'cancelBtn'
,
cancelButtonClass
:
'cancelBtn'
,
confirmButtonClass
:
'confirmBtn'
,
confirmButtonClass
:
'confirmBtn'
,
dangerouslyUseHTMLString
:
true
,
type
:
'warning'
type
:
'warning'
})
})
if
(
deleteInfoById
!==
'confirm'
)
{
if
(
deleteInfoById
!==
'confirm'
)
{
...
@@ -1638,21 +1646,23 @@ export default {
...
@@ -1638,21 +1646,23 @@ export default {
margin-bottom
:
16px
;
margin-bottom
:
16px
;
.title
{
.title
{
width
:
68px
;
width
:
152px
;
height
:
17px
;
height
:
19px
;
font-size
:
17px
;
font-size
:
19px
;
font-family
:
Source
Han
Sans
CN-Bold
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
margin-top
:
20px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#333333
;
color
:
#333333
;
line-height
:
24px
;
line-height
:
24px
;
-webkit-background-clip
:
text
;
}
}
.editspan
{
margin-left
:
2%
;
}
.el-icon-edit
{
.el-icon-edit
{
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
color
:
#1A78E5
;
color
:
#1A78E5
;
margin-left
:
710px
;
margin-left
:
31%
;
}
}
.updataBtn
{
.updataBtn
{
...
@@ -1681,26 +1691,42 @@ export default {
...
@@ -1681,26 +1691,42 @@ export default {
}
}
.Inputname
{
.Inputname
{
color
:
#333333
;
::v-deep
.el-input__inner
{
color
:
#333333
!
important
;
}
width
:
430px
;
width
:
430px
;
height
:
36px
;
height
:
36px
;
//width: 633px;
//width: 633px;
//height: 36px;
//height: 36px;
background
:
#EBEBEB
;
font-size
:
15px
;
border-radius
:
6px
6px
6px
6px
;
font-weight
:
400
;
color
:
#333333
;
border-style
:
none
!
important
;
}
}
.fromSpan
{
.fromSpan
{
::v-deep
.el-input__inner
{
color
:
#333333
!
important
;
background-color
:
#EBEBEB
!
important
;
border-style
:
none
!
important
;
}
width
:
200px
;
width
:
200px
;
height
:
36px
;
height
:
36px
;
font-size
:
15px
;
font-size
:
15px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#707070
;
}
}
.fromSpan1
{
.fromSpan1
{
::v-deep
.el-input__inner
{
color
:
#333333
!
important
;
background-color
:
#EBEBEB
!
important
;
border-style
:
none
!
important
;
}
font-size
:
15px
;
font-size
:
15px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#707070
;
border-style
:
none
!
important
;
}
}
.switchEnterprises
{
.switchEnterprises
{
...
@@ -1709,30 +1735,31 @@ export default {
...
@@ -1709,30 +1735,31 @@ export default {
height
:
36px
;
height
:
36px
;
border-color
:
#1A78E5
;
border-color
:
#1A78E5
;
background
:
#1A78E5
;
background
:
#1A78E5
;
border-radius
:
6px
;
}
}
.certificationButton
{
.certificationButton
{
margin-left
:
-14%
;
width
:
102px
;
width
:
102px
;
height
:
36px
;
height
:
36px
;
border-color
:
#6EBB21
;
border-color
:
#6EBB21
;
background
:
#6EBB21
;
background
:
#6EBB21
;
border-radius
:
6px
;
}
}
.deleteButton
{
.deleteButton
{
margin-left
:
-28%
;
width
:
102px
;
width
:
102px
;
height
:
36px
;
height
:
36px
;
border-color
:
#C24E3E
;
border-color
:
#C24E3E
;
background
:
#C24E3E
;
background
:
#C24E3E
;
border-radius
:
6px
;
}
}
.footer
{
.footer
{
text-align
:
center
;
text-align
:
center
;
}
}
::v-deep
.el-form-item__label
{
font-weight
:
bold
;
}
.unitItem
{
.unitItem
{
::v-deep
.el-form-item__content
{
::v-deep
.el-form-item__content
{
display
:
flex
;
display
:
flex
;
...
@@ -1755,7 +1782,7 @@ export default {
...
@@ -1755,7 +1782,7 @@ export default {
width
:
152px
;
width
:
152px
;
height
:
19px
;
height
:
19px
;
font-size
:
19px
;
font-size
:
19px
;
font-family
:
Source
Han
Sans
CN-
Bold
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-
Regular
,
Source
Han
Sans
CN
;
margin-top
:
20px
;
margin-top
:
20px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#333333
;
color
:
#333333
;
...
...
src/views/personalCenter/components/AffiliatedEnterprisesUpdate.vue
View file @
23d140d2
...
@@ -6,13 +6,15 @@
...
@@ -6,13 +6,15 @@
<div
class=
"AffiliatedEnterprisesUpdate-content"
>
<div
class=
"AffiliatedEnterprisesUpdate-content"
>
<el-row>
<el-row>
<el-col
:span=
"0.5"
>
<el-col
:span=
"0.5"
>
<i
class=
"el-icon-arrow-left"
style=
"color: #1A78E5;font-weight: bold;padding-top: 40px;cursor: pointer"
@
click=
"handleBack"
/>
<i
class=
"el-icon-arrow-left"
style=
"color: #1A78E5;font-weight: bold;padding-top: 40px;cursor: pointer"
@
click=
"handleBack"
/>
</el-col>
</el-col>
<el-col
:span=
"22"
>
<el-col
:span=
"22"
>
<div
class=
"affiliatedBody"
>
<div
class=
"affiliatedBody"
>
<div
class=
"info-top"
>
<div
class=
"info-top"
>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"title"
><span
class=
"editEnterprises"
>
{{
title
}}
</span></div>
<el-button
icon=
"el-icon-edit"
type=
"text"
class=
"addBtn"
@
click=
"addEnterpriseInfo"
>
保存
</el-button>
<el-button
icon=
"el-icon-edit"
type=
"text"
class=
"addBtn"
@
click=
"addEnterpriseInfo"
><span
class=
"saveAdd"
>
保存
</span></el-button>
</div>
</div>
<el-divider
class=
"affiliatedDivider"
/>
<el-divider
class=
"affiliatedDivider"
/>
<el-form
<el-form
...
@@ -27,7 +29,7 @@
...
@@ -27,7 +29,7 @@
<el-form-item
label=
"企业名称"
prop=
"name"
>
<el-form-item
label=
"企业名称"
prop=
"name"
>
<el-input
<el-input
class=
"enterprise-name"
class=
"enterprise-name"
style=
"width: 408px;height: 36px"
style=
"width: 408px;height: 36px
;
"
v-model
.
trim=
"affiliateFrom.name"
v-model
.
trim=
"affiliateFrom.name"
:maxlength=
"80"
:maxlength=
"80"
placeholder=
"请输入企业名称"
placeholder=
"请输入企业名称"
...
@@ -103,7 +105,7 @@
...
@@ -103,7 +105,7 @@
<el-col
:span=
"7"
>
<el-col
:span=
"7"
>
<el-form-item
label=
"注册地址"
prop=
"address"
>
<el-form-item
label=
"注册地址"
prop=
"address"
>
<el-cascader
<el-cascader
:
popper-
append-to-body=
"false"
:append-to-body=
"false"
class=
"first-input"
class=
"first-input"
v-model=
"address"
v-model=
"address"
placeholder=
"请选择注册地址"
placeholder=
"请选择注册地址"
...
@@ -276,7 +278,7 @@
...
@@ -276,7 +278,7 @@
maxlength=
"8"
maxlength=
"8"
size=
"medium"
size=
"medium"
>
>
<
template
slot=
"append"
>
人
</
template
>
<
template
slot=
"append"
>
人
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -299,7 +301,8 @@
...
@@ -299,7 +301,8 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"178"
align=
"center"
label=
"总资产(万元)"
prop=
"assetTotal"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"178"
align=
"center"
label=
"总资产(万元)"
prop=
"assetTotal"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
...
@@ -315,7 +318,8 @@
...
@@ -315,7 +318,8 @@
</el-input>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"178"
align=
"center"
label=
"净利润(万元)"
prop=
"netProfit"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"178"
align=
"center"
label=
"净利润(万元)"
prop=
"netProfit"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
...
@@ -329,7 +333,8 @@
...
@@ -329,7 +333,8 @@
</el-input>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"178"
align=
"center"
label=
"营业收入(万元)"
prop=
"operatingIncome"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"178"
align=
"center"
label=
"营业收入(万元)"
prop=
"operatingIncome"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
...
@@ -343,7 +348,8 @@
...
@@ -343,7 +348,8 @@
</el-input>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"178"
align=
"center"
label=
"主营业收入(万元)"
prop=
"mainBusinessIncome"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"178"
align=
"center"
label=
"主营业收入(万元)"
prop=
"mainBusinessIncome"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
...
@@ -371,7 +377,8 @@
...
@@ -371,7 +377,8 @@
</el-input>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"178"
align=
"center"
label=
"研发投入(万元)"
prop=
"researchInvestment"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"178"
align=
"center"
label=
"研发投入(万元)"
prop=
"researchInvestment"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
...
@@ -391,7 +398,8 @@
...
@@ -391,7 +398,8 @@
style=
"padding-left: 43px"
style=
"padding-left: 43px"
:data=
"IntellectualProperty"
:data=
"IntellectualProperty"
>
>
<el-table-column
width=
"313"
align=
"center"
label=
"知识产权总数(个)"
prop=
"intellectualProperty"
:show-overflow-tooltip=
"true"
>
<el-table-column
width=
"313"
align=
"center"
label=
"知识产权总数(个)"
prop=
"intellectualProperty"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"auto"
>
<el-form-item
label-width=
"auto"
>
<el-input
<el-input
...
@@ -404,31 +412,31 @@
...
@@ -404,31 +412,31 @@
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"313"
align=
"center"
label=
"专利总数(个)"
prop=
"patentsNumber"
>
<el-table-column
width=
"313"
align=
"center"
label=
"专利总数(个)"
prop=
"patentsNumber"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"auto"
>
<el-form-item
label-width=
"auto"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
v-model
.
trim=
"scope.row.patentsNumber"
v-model
.
trim=
"scope.row.patentsNumber"
oninput=
"this.value= this.value.replace(/[^0-9]/g,'')"
oninput=
"this.value= this.value.replace(/[^0-9]/g,'')"
@
blur=
" InputNumberFoment('patentsNumber',1)"
@
blur=
" InputNumberFoment('patentsNumber',1)"
maxlength=
"8"
maxlength=
"8"
placeholder=
"请输入"
>
placeholder=
"请输入"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"313"
align=
"center"
label=
"注册商标总数(个)"
prop=
"trademarksNumber"
>
<el-table-column
width=
"313"
align=
"center"
label=
"注册商标总数(个)"
prop=
"trademarksNumber"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"auto"
>
<el-form-item
label-width=
"auto"
>
<el-input
<el-input
size=
"medium"
size=
"medium"
v-model
.
trim=
"scope.row.trademarksNumber"
v-model
.
trim=
"scope.row.trademarksNumber"
oninput=
"this.value= this.value.replace(/[^0-9]/g,'')"
oninput=
"this.value= this.value.replace(/[^0-9]/g,'')"
@
blur=
" InputNumberFoment('trademarksNumber',1)"
@
blur=
" InputNumberFoment('trademarksNumber',1)"
maxlength=
"8"
maxlength=
"8"
placeholder=
"请输入"
></el-input>
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"313"
align=
"center"
label=
"软件著作总数(个)"
prop=
"softwareWorksNumber"
>
<el-table-column
width=
"313"
align=
"center"
label=
"软件著作总数(个)"
prop=
"softwareWorksNumber"
>
...
@@ -446,10 +454,11 @@
...
@@ -446,10 +454,11 @@
</el-table>
</el-table>
<div
class=
"form-title"
>
五、项目信息
</div>
<div
class=
"form-title"
>
五、项目信息
</div>
<el-table
<el-table
border
class=
"ProjectTable"
style=
"padding-left: 43px"
border
:data=
"ProjectInformation"
style=
"padding-left: 43px"
>
:data=
"ProjectInformation"
>
<el-table-column
width=
"416"
label=
"项目总投资(万元)"
prop=
"projectInvestment"
>
<el-table-column
width=
"416"
label=
"项目总投资(万元)"
prop=
"projectInvestment"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
<el-input
...
@@ -473,9 +482,11 @@
...
@@ -473,9 +482,11 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"420"
label=
"项目情况"
prop=
"projectStatus"
>
<el-table-column
width=
"420"
label=
"项目情况"
prop=
"projectStatus"
:key=
"Math.random()"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.projectStatus"
style=
"width: 100%"
placeholder=
"请选择"
>
<!-- -->
<el-select
v-model=
"scope.row.projectStatus"
style=
"width: 100%"
placeholder=
"请选择"
>
<el-option
<el-option
v-for=
"item in option"
v-for=
"item in option"
:key=
"item.value"
:key=
"item.value"
...
@@ -488,10 +499,11 @@
...
@@ -488,10 +499,11 @@
</el-table>
</el-table>
<div
class=
"form-title"
>
六、载体信息
</div>
<div
class=
"form-title"
>
六、载体信息
</div>
<el-table
<el-table
border
style=
"padding-left: 43px"
border
style=
"padding-left: 43px"
:data=
"VehicleInformation"
:data=
"VehicleInformation"
>
>
<el-table-column
width=
"416"
label=
"载体支配面积(平方米)"
prop=
"carrierDominanceArea"
>
<el-table-column
width=
"416"
label=
"载体支配面积(平方米)"
prop=
"carrierDominanceArea"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"medium"
<el-input
size=
"medium"
...
@@ -556,23 +568,23 @@ export default {
...
@@ -556,23 +568,23 @@ export default {
}
}
],
],
// 知识产权
// 知识产权
IntellectualProperty
:[
IntellectualProperty
:
[
{
{
intellectualPropertyNumber
:
''
,
intellectualPropertyNumber
:
''
,
patentsNumber
:
''
,
patentsNumber
:
''
,
trademarksNumber
:
''
,
trademarksNumber
:
''
,
softwareWorksNumber
:
''
softwareWorksNumber
:
''
}
}
],
],
// 项目信息
// 项目信息
ProjectInformation
:
[
ProjectInformation
:
[
{
{
projectInvestment
:
''
,
projectInvestment
:
''
,
implementationTime
:
''
,
implementationTime
:
''
,
projectStatus
:
''
projectStatus
:
''
}
}
],
],
nameCode
:
false
,
nameCode
:
false
,
// 开始时间范围限定
// 开始时间范围限定
start_date
:
{
start_date
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
...
@@ -861,8 +873,8 @@ export default {
...
@@ -861,8 +873,8 @@ export default {
// }
// }
},
},
methods
:
{
methods
:
{
// 回显地址
// 回显地址
showaddress
(
tempAddress
){
showaddress
(
tempAddress
)
{
if
(
tempAddress
!==
''
&&
tempAddress
!==
null
)
{
if
(
tempAddress
!==
''
&&
tempAddress
!==
null
)
{
// 转换地址
// 转换地址
var
province
=
tempAddress
.
slice
(
0
,
4
)
var
province
=
tempAddress
.
slice
(
0
,
4
)
...
@@ -874,11 +886,11 @@ export default {
...
@@ -874,11 +886,11 @@ export default {
address
.
push
(
area
)
address
.
push
(
area
)
this
.
address
=
address
this
.
address
=
address
return
address
return
address
}
else
{
}
else
{
return
''
return
''
}
}
},
},
InputNumberFoment
(
val
,
flag
)
{
InputNumberFoment
(
val
,
flag
)
{
//flag=1 代表知识产权 flag = 2 代表 项目信息 flag = 3 代表 载体信息
//flag=1 代表知识产权 flag = 2 代表 项目信息 flag = 3 代表 载体信息
if
(
flag
===
1
)
{
if
(
flag
===
1
)
{
// console.log("this.IntellectualProperty[0][val]",this.IntellectualProperty[0][val])
// console.log("this.IntellectualProperty[0][val]",this.IntellectualProperty[0][val])
...
@@ -895,23 +907,26 @@ export default {
...
@@ -895,23 +907,26 @@ export default {
this
.
ProjectInformation
[
0
][
val
]
=
this
.
thousand
.
fmoney
(
this
.
ProjectInformation
[
0
][
val
]);
//千分位反格式化
this
.
ProjectInformation
[
0
][
val
]
=
this
.
thousand
.
fmoney
(
this
.
ProjectInformation
[
0
][
val
]);
//千分位反格式化
}
}
}
else
if
(
flag
===
3
)
{
}
else
if
(
flag
===
3
)
{
console
.
log
(
'this.VehicleInformation[0][val]>>>'
,
this
.
VehicleInformation
[
0
][
val
])
// let number = this.VehicleInformation[0][val].substring(0,1)
// console.log('this.VehicleInformation[0][val]>>>',this.VehicleInformation[0][val])
// console.log("number===",number)
// console.log("1111111111",this.VehicleInformation[0][val].substring(1))
if
(
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
)
!==
-
1
)
{
if
(
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
)
!==
-
1
)
{
//截取整数
//截取整数
const
integer
=
this
.
VehicleInformation
[
0
][
val
].
substring
(
0
,
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
))
const
integer
=
this
.
VehicleInformation
[
0
][
val
].
substring
(
0
,
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
))
//截取小数
//截取小数
const
decimal
=
this
.
VehicleInformation
[
0
][
val
].
substring
(
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
),
this
.
VehicleInformation
[
0
][
val
].
length
)
const
decimal
=
this
.
VehicleInformation
[
0
][
val
].
substring
(
this
.
VehicleInformation
[
0
][
val
].
indexOf
(
'.'
),
this
.
VehicleInformation
[
0
][
val
].
length
)
this
.
VehicleInformation
[
0
][
val
]
=
this
.
thousand
.
fmoney
(
integer
)
+
decimal
.
substring
(
0
,
3
);
//千分位反格式化
this
.
VehicleInformation
[
0
][
val
]
=
integer
+
decimal
.
substring
(
0
,
3
);
//千分位反格式化
}
else
{
}
else
{
this
.
VehicleInformation
[
0
][
val
]
=
this
.
thousand
.
fmoney
(
this
.
VehicleInformation
[
0
][
val
]);
//千分位反格式化
this
.
VehicleInformation
[
0
][
val
]
=
this
.
VehicleInformation
[
0
][
val
]
}
}
}
}
},
},
// 经营数据千分为转化
// 经营数据千分为转化
managementInputMoneyFoment
(
val
,
index
)
{
managementInputMoneyFoment
(
val
,
index
)
{
console
.
log
(
"val>>>"
,
val
)
console
.
log
(
"val>>>"
,
val
)
console
.
log
(
"index>>>"
,
index
)
console
.
log
(
"index>>>"
,
index
)
console
.
log
(
'this.affiliateFrom.userEnterpriseOperateRelativeList[index][val]>>>'
,
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
])
console
.
log
(
'this.affiliateFrom.userEnterpriseOperateRelativeList[index][val]>>>'
,
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
])
if
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
indexOf
(
'.'
)
!==
-
1
)
{
if
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
indexOf
(
'.'
)
!==
-
1
)
{
//截取整数
//截取整数
const
integer
=
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
substring
(
0
,
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
indexOf
(
'.'
))
const
integer
=
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
substring
(
0
,
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
].
indexOf
(
'.'
))
...
@@ -922,7 +937,7 @@ export default {
...
@@ -922,7 +937,7 @@ export default {
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]
=
this
.
thousand
.
fmoney
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]);
//千分位反格式化
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]
=
this
.
thousand
.
fmoney
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]);
//千分位反格式化
}
}
},
},
managementInputMoneyBack
(
val
,
index
)
{
managementInputMoneyBack
(
val
,
index
)
{
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
])
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
]
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
index
][
val
])
},
},
inputMoneyFometBack
(
val
)
{
inputMoneyFometBack
(
val
)
{
...
@@ -930,7 +945,7 @@ export default {
...
@@ -930,7 +945,7 @@ export default {
this
.
affiliateFrom
[
val
]
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
[
val
]);
//千分位反格式化
this
.
affiliateFrom
[
val
]
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
[
val
]);
//千分位反格式化
},
},
inputMoneyFomet
(
val
)
{
inputMoneyFomet
(
val
)
{
console
.
log
(
'this.affiliateFrom[val]'
,
this
.
affiliateFrom
[
val
])
console
.
log
(
'this.affiliateFrom[val]'
,
this
.
affiliateFrom
[
val
])
if
(
this
.
affiliateFrom
[
val
].
indexOf
(
'.'
)
!==
-
1
)
{
if
(
this
.
affiliateFrom
[
val
].
indexOf
(
'.'
)
!==
-
1
)
{
//截取整数
//截取整数
const
integer
=
this
.
affiliateFrom
[
val
].
substring
(
0
,
this
.
affiliateFrom
[
val
].
indexOf
(
'.'
))
const
integer
=
this
.
affiliateFrom
[
val
].
substring
(
0
,
this
.
affiliateFrom
[
val
].
indexOf
(
'.'
))
...
@@ -975,8 +990,8 @@ export default {
...
@@ -975,8 +990,8 @@ export default {
this
.
object4
.
tabId
=
list4
this
.
object4
.
tabId
=
list4
this
.
object5
.
tabId
=
list5
this
.
object5
.
tabId
=
list5
this
.
showEnterpriseType
=
this
.
object1
.
tabId
[
0
]
this
.
showEnterpriseType
=
this
.
object1
.
tabId
[
0
]
console
.
log
(
"this.object1.tabId[0]"
,
this
.
object1
.
tabId
[
0
])
console
.
log
(
"this.object1.tabId[0]"
,
this
.
object1
.
tabId
[
0
])
console
.
log
(
"this.showEnterpriseType>>>>"
,
this
.
showEnterpriseType
)
console
.
log
(
"this.showEnterpriseType>>>>"
,
this
.
showEnterpriseType
)
this
.
affiliateFrom
=
res
.
data
[
0
]
this
.
affiliateFrom
=
res
.
data
[
0
]
this
.
affiliateFrom
.
address
=
res
.
data
[
0
].
address
this
.
affiliateFrom
.
address
=
res
.
data
[
0
].
address
this
.
affiliateFrom
.
registeredCapital
=
this
.
thousand
.
rmoney
(
res
.
data
[
0
].
registeredCapital
)
this
.
affiliateFrom
.
registeredCapital
=
this
.
thousand
.
rmoney
(
res
.
data
[
0
].
registeredCapital
)
...
@@ -986,7 +1001,7 @@ export default {
...
@@ -986,7 +1001,7 @@ export default {
this
.
IntellectualProperty
[
0
].
softwareWorksNumber
=
this
.
affiliateFrom
.
softwareWorksNumber
this
.
IntellectualProperty
[
0
].
softwareWorksNumber
=
this
.
affiliateFrom
.
softwareWorksNumber
this
.
ProjectInformation
[
0
].
projectInvestment
=
this
.
affiliateFrom
.
projectInvestment
this
.
ProjectInformation
[
0
].
projectInvestment
=
this
.
affiliateFrom
.
projectInvestment
this
.
ProjectInformation
[
0
].
projectStatus
=
this
.
affiliateFrom
.
projectStatus
this
.
ProjectInformation
[
0
].
projectStatus
=
this
.
affiliateFrom
.
projectStatus
console
.
log
(
"this.this.ProjectInformation[0].projectStatus"
,
this
.
ProjectInformation
[
0
].
projectStatus
)
console
.
log
(
"this.this.ProjectInformation[0].projectStatus"
,
this
.
ProjectInformation
[
0
].
projectStatus
)
this
.
ProjectInformation
[
0
].
implementationTime
=
this
.
affiliateFrom
.
implementationTime
this
.
ProjectInformation
[
0
].
implementationTime
=
this
.
affiliateFrom
.
implementationTime
this
.
VehicleInformation
[
0
].
incubationCompanies
=
this
.
affiliateFrom
.
incubationCompanies
this
.
VehicleInformation
[
0
].
incubationCompanies
=
this
.
affiliateFrom
.
incubationCompanies
this
.
VehicleInformation
[
0
].
carrierDominanceArea
=
this
.
affiliateFrom
.
carrierDominanceArea
this
.
VehicleInformation
[
0
].
carrierDominanceArea
=
this
.
affiliateFrom
.
carrierDominanceArea
...
@@ -1027,7 +1042,13 @@ export default {
...
@@ -1027,7 +1042,13 @@ export default {
// 处理返回时的函数
// 处理返回时的函数
handleBack
()
{
handleBack
()
{
this
.
$refs
[
'formRef'
].
clearValidate
()
this
.
$refs
[
'formRef'
].
clearValidate
()
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
({
path
:
'/personalCenter/index'
,
query
:
{
type
:
'关联企业'
}
})
// this.$router.go(-1)
},
},
// 修改title值
// 修改title值
changTitle
()
{
changTitle
()
{
...
@@ -1091,7 +1112,7 @@ export default {
...
@@ -1091,7 +1112,7 @@ export default {
address
.
push
(
area
)
address
.
push
(
area
)
this
.
address
=
address
this
.
address
=
address
}
}
console
.
log
(
"this.affiliateFrom.name"
,
this
.
affiliateFrom
.
name
)
console
.
log
(
"this.affiliateFrom.name"
,
this
.
affiliateFrom
.
name
)
console
.
log
(
res
.
data
[
0
].
userEnterpriseTabRelativeList
)
console
.
log
(
res
.
data
[
0
].
userEnterpriseTabRelativeList
)
for
(
var
i
=
0
;
i
<
res
.
data
[
0
].
userEnterpriseTabRelativeList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
res
.
data
[
0
].
userEnterpriseTabRelativeList
.
length
;
i
++
)
{
console
.
log
(
i
)
console
.
log
(
i
)
...
@@ -1114,7 +1135,7 @@ export default {
...
@@ -1114,7 +1135,7 @@ export default {
this
.
object4
.
tabId
=
list4
this
.
object4
.
tabId
=
list4
this
.
object5
.
tabId
=
list5
this
.
object5
.
tabId
=
list5
this
.
showEnterpriseType
=
this
.
object1
.
tabId
[
0
]
this
.
showEnterpriseType
=
this
.
object1
.
tabId
[
0
]
console
.
log
(
"res.data[0].fwEnterpriseOperateRelativeList>>>>>>"
,
res
.
data
[
0
].
userEnterpriseOperateRelativeList
)
console
.
log
(
"res.data[0].fwEnterpriseOperateRelativeList>>>>>>"
,
res
.
data
[
0
].
userEnterpriseOperateRelativeList
)
if
(
res
.
data
[
0
].
userEnterpriseOperateRelativeList
.
length
===
1
)
{
if
(
res
.
data
[
0
].
userEnterpriseOperateRelativeList
.
length
===
1
)
{
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
0
]
=
res
.
data
[
0
].
userEnterpriseOperateRelativeList
[
0
]
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
[
0
]
=
res
.
data
[
0
].
userEnterpriseOperateRelativeList
[
0
]
}
else
if
(
res
.
data
[
0
].
userEnterpriseOperateRelativeList
.
length
===
2
)
{
}
else
if
(
res
.
data
[
0
].
userEnterpriseOperateRelativeList
.
length
===
2
)
{
...
@@ -1343,18 +1364,18 @@ export default {
...
@@ -1343,18 +1364,18 @@ export default {
// sum = count1 * 4 + count2 * 3 + count3 * 2
// sum = count1 * 4 + count2 * 3 + count3 * 2
// this.affiliateFrom.completeness = sum
// this.affiliateFrom.completeness = sum
console
.
log
(
this
.
address
)
console
.
log
(
this
.
address
)
console
.
log
(
'this.affiliateFrom.userEnterpriseTabRelativeList'
,
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
)
console
.
log
(
'this.affiliateFrom.userEnterpriseTabRelativeList'
,
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
)
if
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
===
undefined
)
{
if
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
===
undefined
)
{
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
=
[]
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
=
[]
}
}
console
.
log
(
this
.
object1
)
console
.
log
(
this
.
object1
)
console
.
log
()
console
.
log
()
if
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
.
length
===
0
)
{
if
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
.
length
===
0
)
{
console
.
log
(
"this.object1.tabId"
,
this
.
object1
.
tabId
)
console
.
log
(
"this.object1.tabId"
,
this
.
object1
.
tabId
)
if
(
this
.
object1
.
tabId
.
length
===
0
)
{
if
(
this
.
object1
.
tabId
.
length
===
0
)
{
this
.
object1
.
tabId
.
push
(
this
.
showEnterpriseType
)
this
.
object1
.
tabId
.
push
(
this
.
showEnterpriseType
)
}
else
if
(
this
.
object1
.
tabId
.
length
===
1
)
{
}
else
if
(
this
.
object1
.
tabId
.
length
===
1
)
{
this
.
object1
.
tabId
[
0
]
=
this
.
showEnterpriseType
this
.
object1
.
tabId
[
0
]
=
this
.
showEnterpriseType
}
}
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
.
push
(
this
.
object1
)
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
.
push
(
this
.
object1
)
console
.
log
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
)
console
.
log
(
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
)
...
@@ -1369,14 +1390,14 @@ export default {
...
@@ -1369,14 +1390,14 @@ export default {
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
[
3
].
tabId
=
this
.
object4
.
tabId
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
[
3
].
tabId
=
this
.
object4
.
tabId
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
[
4
].
tabId
=
this
.
object5
.
tabId
this
.
affiliateFrom
.
userEnterpriseTabRelativeList
[
4
].
tabId
=
this
.
object5
.
tabId
}
}
this
.
affiliateFrom
.
intellectualProperty
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
intellectualPropertyNumber
)
this
.
affiliateFrom
.
intellectualProperty
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
intellectualPropertyNumber
)
this
.
affiliateFrom
.
patentsNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
patentsNumber
)
this
.
affiliateFrom
.
patentsNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
patentsNumber
)
this
.
affiliateFrom
.
softwareWorksNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
softwareWorksNumber
)
this
.
affiliateFrom
.
softwareWorksNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
softwareWorksNumber
)
this
.
affiliateFrom
.
trademarksNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
trademarksNumber
)
this
.
affiliateFrom
.
trademarksNumber
=
this
.
thousand
.
rmoney
(
this
.
IntellectualProperty
[
0
].
trademarksNumber
)
this
.
affiliateFrom
.
projectInvestment
=
this
.
thousand
.
rmoney
(
this
.
ProjectInformation
[
0
].
projectInvestment
)
this
.
affiliateFrom
.
projectInvestment
=
this
.
thousand
.
rmoney
(
this
.
ProjectInformation
[
0
].
projectInvestment
)
this
.
affiliateFrom
.
projectStatus
=
this
.
ProjectInformation
[
0
].
projectStatus
this
.
affiliateFrom
.
projectStatus
=
this
.
ProjectInformation
[
0
].
projectStatus
this
.
affiliateFrom
.
implementationTime
=
this
.
ProjectInformation
[
0
].
implementationTime
this
.
affiliateFrom
.
implementationTime
=
this
.
ProjectInformation
[
0
].
implementationTime
this
.
affiliateFrom
.
carrierDominanceArea
=
this
.
thousand
.
rmoney
(
this
.
VehicleInformation
[
0
].
carrierDominanceArea
)
this
.
affiliateFrom
.
carrierDominanceArea
=
this
.
VehicleInformation
[
0
].
carrierDominanceArea
this
.
affiliateFrom
.
incubationCompanies
=
this
.
VehicleInformation
[
0
].
incubationCompanies
this
.
affiliateFrom
.
incubationCompanies
=
this
.
VehicleInformation
[
0
].
incubationCompanies
this
.
affiliateFrom
.
graduateCompanies
=
this
.
VehicleInformation
[
0
].
graduateCompanies
this
.
affiliateFrom
.
graduateCompanies
=
this
.
VehicleInformation
[
0
].
graduateCompanies
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
.
forEach
(
item
=>
{
this
.
affiliateFrom
.
userEnterpriseOperateRelativeList
.
forEach
(
item
=>
{
...
@@ -1404,7 +1425,7 @@ export default {
...
@@ -1404,7 +1425,7 @@ export default {
})
})
if
(
this
.
affiliateFrom
.
registeredCapital
)
{
if
(
this
.
affiliateFrom
.
registeredCapital
)
{
this
.
affiliateFrom
.
registeredCapital
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
.
registeredCapital
)
this
.
affiliateFrom
.
registeredCapital
=
this
.
thousand
.
rmoney
(
this
.
affiliateFrom
.
registeredCapital
)
console
.
log
(
"this.affiliateFrom.registeredCapital=>"
,
this
.
affiliateFrom
.
registeredCapital
)
console
.
log
(
"this.affiliateFrom.registeredCapital=>"
,
this
.
affiliateFrom
.
registeredCapital
)
}
}
console
.
log
(
'this.affiliateFrom'
,
this
.
affiliateFrom
)
console
.
log
(
'this.affiliateFrom'
,
this
.
affiliateFrom
)
const
id
=
this
.
$route
.
query
.
id
const
id
=
this
.
$route
.
query
.
id
...
@@ -1466,7 +1487,7 @@ export default {
...
@@ -1466,7 +1487,7 @@ export default {
getEnterpriseNatureByTab
()
{
getEnterpriseNatureByTab
()
{
policyTabGetByName
(
'企业性质'
).
then
(
res
=>
{
policyTabGetByName
(
'企业性质'
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"res.data[0].childrenList>>>"
,
res
.
data
[
0
].
childrenList
)
console
.
log
(
"res.data[0].childrenList>>>"
,
res
.
data
[
0
].
childrenList
)
this
.
enterpriseNature
=
res
.
data
[
0
].
childrenList
this
.
enterpriseNature
=
res
.
data
[
0
].
childrenList
}
}
})
})
...
@@ -1488,7 +1509,7 @@ export default {
...
@@ -1488,7 +1509,7 @@ export default {
})
})
},
},
// 获取企业技术能力
// 获取企业技术能力
getEnterpriseAbilityByTab
(){
getEnterpriseAbilityByTab
()
{
policyTabGetByName
(
'企业技术能力'
).
then
(
res
=>
{
policyTabGetByName
(
'企业技术能力'
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
enterpriseAbility
=
res
.
data
[
0
].
childrenList
this
.
enterpriseAbility
=
res
.
data
[
0
].
childrenList
...
@@ -1556,6 +1577,7 @@ export default {
...
@@ -1556,6 +1577,7 @@ export default {
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#333333
;
color
:
#333333
;
line-height
:
25px
;
line-height
:
25px
;
.peopleRow
{
.peopleRow
{
margin-top
:
36px
;
margin-top
:
36px
;
}
}
...
@@ -1586,7 +1608,7 @@ export default {
...
@@ -1586,7 +1608,7 @@ export default {
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
.el-divider--horizontal
{
.el-divider--horizontal
{
margin
:
0
.5%
0
24px
10px
!
important
;
margin
:
0
.5%
0
24px
10px
!
important
;
width
:
97
.5%
;
width
:
97
.5%
;
//background-color: black !important;
//background-color: black !important;
}
}
...
@@ -1594,8 +1616,9 @@ export default {
...
@@ -1594,8 +1616,9 @@ export default {
.affiliateAddFrom
{
.affiliateAddFrom
{
.first-input
{
.first-input
{
width
:
266px
;
width
:
266px
;
::v-deep
.el-popper
{
z-index
:
5
!
important
;
::v-deep
.el-popper
{
z-index
:
5
!
important
;
}
}
}
}
}
}
...
@@ -1606,17 +1629,26 @@ export default {
...
@@ -1606,17 +1629,26 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
.title
{
.saveAdd
{
float
:
right
;
font-size
:
15px
;
}
.editEnterprises
{
font-size
:
17px
;
font-size
:
17px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.title
{
float
:
right
;
}
.addBtn
{
.addBtn
{
font-size
:
15px
;
font-size
:
15px
;
}
}
}
}
}
}
.affiliatedDivider
{
.affiliatedDivider
{
color
:
#EBEBEB
;
color
:
#EBEBEB
;
margin-top
:
8px
!
important
;
margin-top
:
8px
!
important
;
...
...
src/views/personalCenter/messageDetails.vue
View file @
23d140d2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-row>
<el-row>
<el-col
:span=
"1"
>
<el-col
:span=
"1"
>
<!--
<el-button
class=
"back-button"
type=
"primary"
icon=
"el-icon-arrow-left"
circle
@
click=
"handleGoBack"
/>
-->
<!--
<el-button
class=
"back-button"
type=
"primary"
icon=
"el-icon-arrow-left"
circle
@
click=
"handleGoBack"
/>
-->
<i
class=
"el-icon-arrow-left"
@
click=
"handleGoBack"
/>
<i
style=
"cursor: pointer"
class=
"el-icon-arrow-left"
@
click=
"handleGoBack"
/>
</el-col>
</el-col>
<el-col
:span=
"23"
>
<el-col
:span=
"23"
>
<div
style=
"background-color: #ffffff;padding: 29px 30px 20px 30px;min-height: 500px"
>
<div
style=
"background-color: #ffffff;padding: 29px 30px 20px 30px;min-height: 500px"
>
...
...
vue.config.js
View file @
23d140d2
...
@@ -53,7 +53,8 @@ module.exports = {
...
@@ -53,7 +53,8 @@ module.exports = {
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.1.17:10010/internal`,
// target: `http://192.168.1.17:10010/internal`,
// target: `http://10.5.87.231:10010/internal`,
// target: `http://10.5.87.231:10010/internal`,
// target: `http://116.205.136.218:8080/`,
target
:
`http://116.205.136.218:8080/`
,
// target: `http://192.168.1.8:8080/`,
// target: `http://192.168.1.75:8080/`,
// target: `http://192.168.1.75:8080/`,
// target: `http://192.168.1.20:8080/`,
// target: `http://192.168.1.20:8080/`,
target
:
`http://192.168.1.55:8080/`
,
target
:
`http://192.168.1.55:8080/`
,
...
...
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