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
cbbf0af5
Commit
cbbf0af5
authored
Nov 01, 2022
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
70d5921b
e82afec7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
8 deletions
+69
-8
policyRecommendation.vue
src/views/PolicyDirect/components/policyRecommendation.vue
+11
-0
header.vue
...iews/homePage/components/searchHome/components/header.vue
+35
-4
AffiliatedEnterprises.vue
...views/personalCenter/components/AffiliatedEnterprises.vue
+23
-4
No files found.
src/views/PolicyDirect/components/policyRecommendation.vue
View file @
cbbf0af5
...
...
@@ -726,6 +726,17 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
enterpriseNotExist
=
false
this
.
form
=
res
.
data
if
(
this
.
form
.
address
)
{
// 转换地址
var
province
=
this
.
form
.
address
.
slice
(
0
,
4
)
var
city
=
this
.
form
.
address
.
slice
(
4
,
8
)
var
area
=
this
.
form
.
address
.
slice
(
8
,
this
.
form
.
address
.
length
)
var
address
=
[]
address
.
push
(
province
)
address
.
push
(
city
)
address
.
push
(
area
)
this
.
address
=
address
}
this
.
form
.
fwEnterpriseOperateRelativeList
=
[
{
year
:
'2022'
,
...
...
src/views/homePage/components/searchHome/components/header.vue
View file @
cbbf0af5
...
...
@@ -25,13 +25,15 @@
:close-on-click-modal=
"false"
:title=
"dialog.title"
:visible
.
sync=
"dialog.dialogVisible"
width=
"
52
%"
width=
"
40
%"
@
close=
"dialog.dialogVisible=false"
:show-close=
"false"
>
<el-button
icon=
"el-icon-plus"
type=
"primary"
size=
"small"
@
click=
"addEnterprise"
>
添加关联企业
</el-button>
<el-button
class=
"addButton"
type=
"primary"
size=
"small"
@
click=
"addEnterprise"
><span
class=
"addspan"
>
添加关联企业
</span>
</el-button>
<!-- -->
<el-table
ref=
"EnterprisesListRef"
:header-cell-style=
"
{background:'#fffeff'}"
class="dialogTable"
:data="EnterprisesList"
:header-cell-class-name="cellClass"
...
...
@@ -39,8 +41,12 @@
@current-change="currentChange"
>
<el-table-column
label=
"选择"
width=
"50"
type=
"selection"
/>
<el-table-column
align=
"center"
label=
"企业名称"
prop=
"name"
width=
"380"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"操作"
width=
"300"
>
<el-table-column
align=
"center"
label=
"企业名称"
prop=
"name"
width=
"380"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<span
style=
"color: #333333"
>
{{
scope
.
row
.
name
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"280"
>
<
template
slot-scope=
"scope"
>
<el-button
icon=
"el-icon-edit"
type=
"text"
size=
"small"
@
click=
"updataInfo(scope.row)"
>
完善信息
</el-button>
<el-button
icon=
"el-icon-delete"
type=
"text"
size=
"small"
@
click=
"deleteInfo(scope.row)"
>
移除企业
...
...
@@ -334,11 +340,36 @@ export default {
}
.headerDialog
{
.addButton
{
margin-top
:
1%
;
width
:
128px
;
height
:
36px
;
.addspan
{
font-size
:
15px
;
color
:
#333333
!
important
;
}
}
.dialogTable
{
margin-top
:
4%
;
}
.dialog-footer
{
.cancelBtn
:hover
{
background-color
:
#e8f2fc
!
important
;
}
}
::v-deep
.el-table
.disabledCheck
.cell
.el-checkbox__inner
{
display
:
none
!
important
;
}
::v-deep
.el-dialog
{
border-radius
:
0px
!
important
;
}
::v-deep
.el-dialog__title
{
color
:
#333333
;
}
::v-deep
.el-table
{
tr
td
,
tr
th
{
border-right
:
none
;
}
}
}
</
style
>
src/views/personalCenter/components/AffiliatedEnterprises.vue
View file @
cbbf0af5
...
...
@@ -49,9 +49,10 @@
</el-button>
</el-col>
<el-col
:span=
"3"
>
<el-button
round
v-if=
"this.form.status
!==0
"
class=
"deleteButton"
type=
"danger"
size=
"small"
<el-button
round
v-if=
"this.form.status
==='0' || this.form.status === '3'
"
class=
"deleteButton"
type=
"danger"
size=
"small"
@
click=
"deleteEnterPrises"
>
移除企业
</el-button>
<el-button
round
v-if=
"this.form.status === '1' || this.form.status === '2'|| this.form.status === '4'"
class=
"deleteButton1"
type=
"danger"
size=
"small"
@
click=
"deleteEnterPrises"
>
移除企业
</el-button>
</el-col>
</el-row>
<div>
<span
class=
"form-title"
>
一: 企业基本信息
</span></div>
...
...
@@ -440,6 +441,7 @@
</el-form>
<!-- 对话框区域 -->
<el-dialog
class=
"switchDialog"
highlight-current-row
:close-on-click-modal=
"false"
:title=
"dialog.title"
...
...
@@ -447,7 +449,7 @@
:show-close=
"false"
width=
"40%"
>
<el-button
class=
"addEnterprises"
type=
"primary"
size=
"small"
@
click=
"addEnterprise"
>
添加关联企业
</el-button>
<el-button
class=
"addEnterprises"
type=
"primary"
size=
"small"
@
click=
"addEnterprise"
>
<span
class=
"addSpan"
>
添加关联企业
</span>
</el-button>
<!-- 切换企业弹出框 -->
<el-table
class=
"dialogTable"
...
...
@@ -460,7 +462,11 @@
style=
"width: 100%"
>
<el-table-column
label=
"选择"
width=
"50"
type=
"selection"
/>
<el-table-column
align=
"center"
label=
"企业名称"
prop=
"name"
width=
"380"
:show-overflow-tooltip=
"true"
/>
<el-table-column
align=
"center"
label=
"企业名称"
prop=
"name"
width=
"380"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span
style=
"color: #333333"
>
{{
scope
.
row
.
name
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"280"
>
<
template
slot-scope=
"scope"
>
<el-button
icon=
"el-icon-edit"
type=
"text"
size=
"small"
@
click=
"updataInfo(scope.row)"
>
完善信息
</el-button>
...
...
@@ -1770,6 +1776,14 @@ export default {
background
:
#C24E3E
;
border-radius
:
6px
;
}
.deleteButton1
{
margin-left
:
-17px
;
width
:
102px
;
height
:
36px
;
border-color
:
#C24E3E
;
background
:
#C24E3E
;
border-radius
:
6px
;
}
.footer
{
text-align
:
center
;
...
...
@@ -1803,10 +1817,15 @@ export default {
color
:
#333333
;
line-height
:
24px
;
}
.
el-button
{
.
switchDialog
{
.addEnterprises
{
margin-top
:
1%
;
width
:
128px
;
height
:
36px
;
.addSpan
{
font-size
:
15px
;
color
:
#333333
!
important
;
}
}
}
.dialogTable
{
...
...
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