Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
8a6934c6
提交
8a6934c6
authored
3月 06, 2020
作者:
zax
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zax' 到 'master'
bug修复 查看合并请求
!27
上级
0ceebdf7
6f74a5d2
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
23 行增加
和
273 行删除
+23
-273
company.vue
src/components/admittance/company/company.vue
+6
-63
newCompany.vue
src/components/admittance/company/newCompany.vue
+0
-9
newProduct.vue
src/components/admittance/product/newProduct.vue
+0
-9
product.vue
src/components/admittance/product/product.vue
+3
-57
company.vue
src/components/basicInformation/company/company.vue
+8
-64
companyDetails.vue
src/components/basicInformation/company/companyDetails.vue
+1
-1
newCompany.vue
src/components/basicInformation/company/newCompany.vue
+0
-9
newProduct.vue
src/components/basicInformation/product/newProduct.vue
+0
-9
product.vue
src/components/basicInformation/product/product.vue
+5
-52
没有找到文件。
src/components/admittance/company/company.vue
浏览文件 @
8a6934c6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</span>
</span>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<span>
单位类别:
</span>
<span>
单位类别:
</span>
<el-select
v-model=
"classVal"
@
change=
"search
"
placeholder=
"请选择"
>
<el-select
v-model=
"classVal"
@
change=
"search
('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in companyClass"
v-for=
"item in companyClass"
:label=
"typeCompany(item)"
:label=
"typeCompany(item)"
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
<span
class=
"button searchBtn"
@
click=
"search"
>
搜索
</span>
<span
class=
"button searchBtn"
@
click=
"search
('search')
"
>
搜索
</span>
</p>
</p>
<div
class=
"common-table"
>
<div
class=
"common-table"
>
<el-table
<el-table
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
newCompany
newCompany
},
},
mounted
()
{
mounted
()
{
this
.
search
(
'page'
)
this
.
search
()
},
},
methods
:
{
methods
:
{
// 单位搜索
// 单位搜索
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
'测试机构'
:
7
,
'测试机构'
:
7
,
'开发商'
:
8
'开发商'
:
8
}
}
if
(
val
!==
'page
'
)
{
// 点击搜索按钮,不是点击分页跳转
if
(
val
===
'search
'
)
{
// 点击搜索按钮,不是点击分页跳转
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
message
.
name
=
this
.
searchName
;
message
.
name
=
this
.
searchName
;
message
.
type
=
change
[
this
.
classVal
];
message
.
type
=
change
[
this
.
classVal
];
...
@@ -146,7 +146,6 @@ export default {
...
@@ -146,7 +146,6 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
t
:
message
t
:
message
}
}
this
.
$server
.
postUnitSearchAccess
(
data
).
then
(
res
=>
{
this
.
$server
.
postUnitSearchAccess
(
data
).
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
...
@@ -161,7 +160,7 @@ export default {
...
@@ -161,7 +160,7 @@ export default {
// 当前页数
// 当前页数
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
search
(
'page'
)
this
.
search
(
);
},
},
// 关闭弹框
// 关闭弹框
reset
(
val
)
{
reset
(
val
)
{
...
@@ -169,7 +168,7 @@ export default {
...
@@ -169,7 +168,7 @@ export default {
this
.
components
=
''
;
this
.
components
=
''
;
this
.
companyName
=
''
;
this
.
companyName
=
''
;
if
(
val
)
{
if
(
val
)
{
this
.
unit
()
this
.
search
();
}
}
},
},
// 获取单位名称
// 获取单位名称
...
@@ -229,20 +228,6 @@ export default {
...
@@ -229,20 +228,6 @@ export default {
.company
.content
.change
>
img
{
.company
.content
.change
>
img
{
margin-right
:
3px
;
margin-right
:
3px
;
}
}
.company
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.company
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.company
.content
.button
{
.company
.content
.button
{
display
:
inline-block
;
display
:
inline-block
;
width
:
100px
;
width
:
100px
;
...
@@ -270,40 +255,6 @@ export default {
...
@@ -270,40 +255,6 @@ export default {
.company
.searchBtn
{
.company
.searchBtn
{
margin-left
:
30px
;
margin-left
:
30px
;
}
}
/*表格样式*/
.company
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.company
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.company
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.company
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
cursor
:
pointer
;
}
.company
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.company
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.company
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.company
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.company
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.company
.content
.block
{
.company
.content
.block
{
text-align
:
right
;
text-align
:
right
;
padding
:
30px
70px
0
0
;
padding
:
30px
70px
0
0
;
...
@@ -330,12 +281,4 @@ export default {
...
@@ -330,12 +281,4 @@ export default {
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
color
:
#fff
;
}
}
.company
.content
.common-table
{
box-shadow
:
rgba
(
72
,
119
,
230
,
0.1
)
4px
4px
5px
;
border-width
:
0.5px
;
border-style
:
solid
;
border-color
:
transparent
;
border-image
:
initial
;
border-radius
:
10px
;
}
</
style
>
</
style
>
src/components/admittance/company/newCompany.vue
浏览文件 @
8a6934c6
...
@@ -123,15 +123,6 @@ export default {
...
@@ -123,15 +123,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
25px
30px
0
30px
;
margin
:
25px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
src/components/admittance/product/newProduct.vue
浏览文件 @
8a6934c6
...
@@ -144,15 +144,6 @@ export default {
...
@@ -144,15 +144,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
20px
30px
0
30px
;
margin
:
20px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
src/components/admittance/product/product.vue
浏览文件 @
8a6934c6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</span>
</span>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<span>
产品类型:
</span>
<span>
产品类型:
</span>
<el-select
v-model=
"formValue"
@
change=
"search('search')"
placeholder=
"请选择"
>
<el-select
v-model=
"formValue"
@
change=
"search('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in formList"
v-for=
"item in formList"
:key=
"item.id"
:key=
"item.id"
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</span>
</span>
<span
class=
"searchVal"
style=
"margin-left: 6px"
>
<span
class=
"searchVal"
style=
"margin-left: 6px"
>
<span>
技术路线:
</span>
<span>
技术路线:
</span>
<el-select
v-model=
"techVal"
@
change=
"search('search')"
placeholder=
"请选择"
>
<el-select
v-model=
"techVal"
@
change=
"search('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in techList"
v-for=
"item in techList"
:key=
"item.id"
:key=
"item.id"
...
@@ -197,7 +197,7 @@ export default {
...
@@ -197,7 +197,7 @@ export default {
// 当前页数
// 当前页数
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
search
(
'page'
)
this
.
search
()
},
},
// 关闭弹框
// 关闭弹框
reset
(
val
)
{
reset
(
val
)
{
...
@@ -266,20 +266,6 @@ export default {
...
@@ -266,20 +266,6 @@ export default {
.product
.content
.change
>
img
{
.product
.content
.change
>
img
{
margin-right
:
3px
;
margin-right
:
3px
;
}
}
.product
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.product
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.product
.content
.button
{
.product
.content
.button
{
display
:
inline-block
;
display
:
inline-block
;
width
:
100px
;
width
:
100px
;
...
@@ -304,37 +290,6 @@ export default {
...
@@ -304,37 +290,6 @@ export default {
/* position: absolute;*/
/* position: absolute;*/
/* right: 180px;*/
/* right: 180px;*/
/*}*/
/*}*/
.product
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.product
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.product
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.product
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.product
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.product
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.product
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.product
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.product
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.product
.content
.block
{
.product
.content
.block
{
text-align
:
right
;
text-align
:
right
;
padding
:
30px
70px
0
0
;
padding
:
30px
70px
0
0
;
...
@@ -367,15 +322,6 @@ export default {
...
@@ -367,15 +322,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
30px
30px
0
30px
;
margin
:
30px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
src/components/basicInformation/company/company.vue
浏览文件 @
8a6934c6
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<span>
单位名称:
</span>
<span>
单位名称:
</span>
<el-input
v-model=
"searchName"
size=
"medium"
placeholder=
"请输入"
@
keyup-enter=
"search"
></el-input>
<el-input
v-model=
"searchName"
size=
"medium"
placeholder=
"请输入"
@
keyup-enter=
"search
('search')
"
></el-input>
</span>
</span>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<span>
单位类别:
</span>
<span>
单位类别:
</span>
<el-select
v-model=
"classVal"
@
change=
"search
"
placeholder=
"请选择"
>
<el-select
v-model=
"classVal"
@
change=
"search
('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in companyClass"
v-for=
"item in companyClass"
:label=
"typeCompany(item)"
:label=
"typeCompany(item)"
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
<span
class=
"button searchBtn"
>
搜索
</span>
<span
class=
"button searchBtn"
@
change=
"search('search')"
>
搜索
</span>
<span
class=
"button add"
v-if=
"authority"
@
click=
"addCompany"
><img
src=
"../../../assets/img/add.png"
></span>
<span
class=
"button add"
v-if=
"authority"
@
click=
"addCompany"
><img
src=
"../../../assets/img/add.png"
></span>
<span
class=
"button import"
v-if=
"authority"
><img
src=
"../../../assets/img/import.png"
>
<span
class=
"button import"
v-if=
"authority"
><img
src=
"../../../assets/img/import.png"
>
<el-upload
<el-upload
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
newCompany
newCompany
},
},
mounted
()
{
mounted
()
{
this
.
search
(
'page'
)
this
.
search
()
if
(
this
.
$store
.
getters
.
getSidebar
.
name
===
'国家名录'
)
{
if
(
this
.
$store
.
getters
.
getSidebar
.
name
===
'国家名录'
)
{
this
.
authority
=
false
this
.
authority
=
false
}
}
...
@@ -156,10 +156,9 @@ export default {
...
@@ -156,10 +156,9 @@ export default {
'测试机构'
:
7
,
'测试机构'
:
7
,
'开发商'
:
8
'开发商'
:
8
}
}
if
(
val
!==
'page
'
)
{
// 点击搜索按钮,不是点击分页跳转
if
(
val
===
'search
'
)
{
// 点击搜索按钮,不是点击分页跳转
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
message
.
name
=
this
.
searchName
;
message
.
name
=
this
.
searchName
;
console
.
log
(
this
.
classVal
)
message
.
type
=
change
[
this
.
classVal
];
message
.
type
=
change
[
this
.
classVal
];
}
}
let
data
=
{
let
data
=
{
...
@@ -167,7 +166,7 @@ export default {
...
@@ -167,7 +166,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
t
:
message
t
:
message
}
}
console
.
log
(
data
)
this
.
$server
.
postUnitSearch
(
data
).
then
(
res
=>
{
this
.
$server
.
postUnitSearch
(
data
).
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
...
@@ -182,7 +181,7 @@ export default {
...
@@ -182,7 +181,7 @@ export default {
// 当前页数
// 当前页数
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
search
(
'page'
)
this
.
search
(
);
},
},
// 关闭弹框
// 关闭弹框
reset
(
val
)
{
reset
(
val
)
{
...
@@ -190,7 +189,7 @@ export default {
...
@@ -190,7 +189,7 @@ export default {
this
.
components
=
''
;
this
.
components
=
''
;
this
.
companyName
=
''
;
this
.
companyName
=
''
;
if
(
val
)
{
if
(
val
)
{
this
.
unit
()
this
.
search
()
}
}
},
},
// 获取单位名称
// 获取单位名称
...
@@ -273,20 +272,6 @@ export default {
...
@@ -273,20 +272,6 @@ export default {
.company
.content
.change
>
img
{
.company
.content
.change
>
img
{
margin-right
:
3px
;
margin-right
:
3px
;
}
}
.company
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.company
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.company
.content
.button
{
.company
.content
.button
{
display
:
inline-block
;
display
:
inline-block
;
width
:
100px
;
width
:
100px
;
...
@@ -322,39 +307,6 @@ export default {
...
@@ -322,39 +307,6 @@ export default {
.company
.searchBtn
{
.company
.searchBtn
{
margin-left
:
30px
;
margin-left
:
30px
;
}
}
/*表格样式*/
.company
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.company
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.company
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.company
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.company
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.company
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.company
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.company
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.company
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.company
.content
.block
{
.company
.content
.block
{
text-align
:
right
;
text-align
:
right
;
padding
:
30px
70px
0
0
;
padding
:
30px
70px
0
0
;
...
@@ -381,12 +333,4 @@ export default {
...
@@ -381,12 +333,4 @@ export default {
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
color
:
#fff
;
}
}
.company
.content
.common-table
{
box-shadow
:
rgba
(
72
,
119
,
230
,
0.1
)
4px
4px
5px
;
border-width
:
0.5px
;
border-style
:
solid
;
border-color
:
transparent
;
border-image
:
initial
;
border-radius
:
10px
;
}
</
style
>
</
style
>
src/components/basicInformation/company/companyDetails.vue
浏览文件 @
8a6934c6
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
// 相关人员跳转
// 相关人员跳转
personPage
()
{
personPage
()
{
console
.
log
(
this
.
data
)
console
.
log
(
this
.
data
)
this
.
$router
.
push
({
name
:
'person'
,
params
:{
'
value
'
:
this
.
data
}});
this
.
$router
.
push
({
name
:
'person'
,
params
:{
'
data
'
:
this
.
data
}});
},
},
// 页面返回
// 页面返回
backPath
()
{
backPath
()
{
...
...
src/components/basicInformation/company/newCompany.vue
浏览文件 @
8a6934c6
...
@@ -123,15 +123,6 @@ export default {
...
@@ -123,15 +123,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
25px
30px
0
30px
;
margin
:
25px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
src/components/basicInformation/product/newProduct.vue
浏览文件 @
8a6934c6
...
@@ -140,15 +140,6 @@ export default {
...
@@ -140,15 +140,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
20px
30px
0
30px
;
margin
:
20px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
src/components/basicInformation/product/product.vue
浏览文件 @
8a6934c6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</span>
</span>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<span>
产品类型:
</span>
<span>
产品类型:
</span>
<el-select
v-model=
"formValue"
@
change=
"search('search')"
placeholder=
"请选择"
>
<el-select
v-model=
"formValue"
@
change=
"search('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in formList"
v-for=
"item in formList"
:key=
"item.id"
:key=
"item.id"
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</span>
</span>
<span
class=
"searchVal"
style=
"margin-left: 6px"
>
<span
class=
"searchVal"
style=
"margin-left: 6px"
>
<span>
技术路线:
</span>
<span>
技术路线:
</span>
<el-select
v-model=
"techVal"
@
change=
"search('search')"
placeholder=
"请选择"
>
<el-select
v-model=
"techVal"
@
change=
"search('search')"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"item in techList"
v-for=
"item in techList"
:key=
"item.id"
:key=
"item.id"
...
@@ -69,8 +69,7 @@
...
@@ -69,8 +69,7 @@
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
:formatter=
"techIdChange"
prop=
"tech.name"
prop=
"techId"
label=
"技术路线"
label=
"技术路线"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
...
@@ -207,7 +206,6 @@ export default {
...
@@ -207,7 +206,6 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
t
:
message
t
:
message
};
};
console
.
log
(
data
)
this
.
$server
.
postProduceSearch
(
data
).
then
(
res
=>
{
this
.
$server
.
postProduceSearch
(
data
).
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
this
.
totalLength
=
res
.
data
.
data
.
total
;
...
@@ -222,7 +220,7 @@ export default {
...
@@ -222,7 +220,7 @@ export default {
// 当前页数
// 当前页数
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
search
(
'page'
)
this
.
search
(
);
},
},
// 新建产品
// 新建产品
addProduct
()
{
addProduct
()
{
...
@@ -312,16 +310,11 @@ export default {
...
@@ -312,16 +310,11 @@ export default {
.product
.content
.change
>
img
{
.product
.content
.change
>
img
{
margin-right
:
3px
;
margin-right
:
3px
;
}
}
.product
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.product
>>>
.el-input__inner
{
.product
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
border-radius
:
2px
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#
999
;
color
:
#
333
;
height
:
34px
;
height
:
34px
;
line-height
:
34px
;
line-height
:
34px
;
width
:
180px
;
width
:
180px
;
...
@@ -352,37 +345,6 @@ export default {
...
@@ -352,37 +345,6 @@ export default {
right
:
145px
;
right
:
145px
;
width
:
50px
;
width
:
50px
;
}
}
.product
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.product
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.product
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.product
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.product
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.product
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.product
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.product
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.product
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.product
.content
.block
{
.product
.content
.block
{
text-align
:
right
;
text-align
:
right
;
padding
:
30px
70px
0
0
;
padding
:
30px
70px
0
0
;
...
@@ -415,15 +377,6 @@ export default {
...
@@ -415,15 +377,6 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.newCompany
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.newCompany
.line
{
.newCompany
.line
{
margin
:
30px
30px
0
30px
;
margin
:
30px
30px
0
30px
;
height
:
1px
;
height
:
1px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论