Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
a09097bb
提交
a09097bb
authored
3月 05, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
差异文件
new
上级
5416b7b1
829d24c1
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
382 行增加
和
121 行删除
+382
-121
dynamicList.vue
src/components/XCalliance/dynamicList/dynamicList.vue
+1
-1
newProduct.vue
src/components/admittance/product/newProduct.vue
+151
-0
product.vue
src/components/admittance/product/product.vue
+144
-50
company.vue
src/components/basicInformation/company/company.vue
+43
-50
newCompany.vue
src/components/basicInformation/company/newCompany.vue
+10
-10
role.vue
src/components/basicInformation/role/role.vue
+1
-1
complaint.vue
src/components/complaint/complaint/complaint.vue
+1
-1
complaintManagement.vue
...nts/complaint/complaintManagement/complaintManagement.vue
+1
-1
home.vue
src/components/home/home.vue
+4
-4
dynamicList.vue
src/components/integration/dynamicList/dynamicList.vue
+1
-1
sidebar.vue
src/components/sidebar/sidebar.vue
+2
-1
index.js
src/router/index.js
+1
-1
server.js
src/services/server.js
+22
-0
没有找到文件。
src/components/XCalliance/dynamicList/dynamicList.vue
浏览文件 @
a09097bb
...
...
@@ -50,7 +50,7 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
...
...
src/components/admittance/product/newProduct.vue
0 → 100644
浏览文件 @
a09097bb
<
template
>
<div
class=
"newCompany"
>
<p
class=
"dialog-header"
>
<span>
新建产品
</span>
</p>
<div
class=
"company-content"
style=
"text-align: center; margin-top: 4px;"
>
<p
class=
"new"
>
<span
class=
"addVal"
>
<span>
产品名称:
</span>
<el-input
v-model=
"name"
size=
"medium"
placeholder=
"请输入"
></el-input>
</span>
<span
class=
"addVal"
style=
"width: 450px;"
>
<span>
产品分类:
</span>
<el-radio-group
v-model=
"type"
size=
"small"
style=
"padding-top: 11px;width: 100%;text-align: left"
>
<el-radio
label=
"1"
>
软件
</el-radio>
<el-radio
label=
"2"
>
硬件
</el-radio>
</el-radio-group>
</span>
<span
class=
"addVal"
style=
"margin-top: 4px"
>
<span>
产品类型:
</span>
<el-radio-group
v-model=
"form"
size=
"small"
style=
"padding-top: 11px; width: 100%;text-align: left"
>
<el-radio
label=
"1"
>
服务器
</el-radio>
<el-radio
label=
"2"
>
CPU
</el-radio>
<el-radio
label=
"3"
>
操作系统
</el-radio>
<el-radio
label=
"4"
>
数据库
</el-radio>
<el-radio
label=
"5"
>
中间件
</el-radio>
<el-radio
label=
"6"
>
其他
</el-radio>
</el-radio-group>
</span>
<span
class=
"addVal"
>
<span>
产品型号:
</span>
<el-input
v-model=
"model"
size=
"medium"
placeholder=
"请输入"
></el-input>
</span>
<span
class=
"addVal"
>
<span>
是否准入:
</span>
<el-radio-group
v-model=
"status"
size=
"small"
style=
"padding-top: 11px; width: 100%;text-align: left"
>
<el-radio
label=
"1"
>
是
</el-radio>
<el-radio
label=
"-1"
>
否
</el-radio>
</el-radio-group>
</span>
</p>
</div>
<p
class=
"line"
></p>
<p
class=
"buttonClick"
>
<span
class=
"buttonCancl"
@
click=
"cancel"
>
取消
</span>
<span
class=
"buttonSave"
@
click=
"save"
>
确定
</span>
</p>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
type
:
''
,
name
:
''
,
status
:
''
,
model
:
''
,
number
:
''
,
form
:
''
}
},
created
()
{
},
mounted
(){
},
methods
:
{
cancel
()
{
this
.
$emit
(
'on-cancel'
)
},
save
()
{
console
.
log
(
1111
)
if
(
!
this
.
name
)
{
this
.
$message
.
error
(
'产品名称不可为空!'
);
return
;
};
let
data
=
{
form
:
parseInt
(
this
.
form
),
model
:
this
.
model
,
name
:
this
.
name
,
producer
:
''
,
status
:
parseInt
(
this
.
status
),
techId
:
''
,
type
:
parseInt
(
this
.
type
)
};
this
.
$server
.
postProduceAdd
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
200
)
{
this
.
$message
.
success
(
'产品新建成功!'
);
this
.
$emit
(
'on-cancel'
,
true
)
}
else
{
this
.
$message
.
error
(
'产品新建失败!'
);
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'产品新建失败!'
);
})
}
},
components
:
{
},
watch
:
{
}
}
</
script
>
<
style
scoped
>
.newCompany
.new
{
display
:
inline-block
;
}
.newCompany
.new
{
right
:
220px
;
}
.newCompany
.addVal
{
width
:
390px
;
display
:
flex
;
font-size
:
18px
;
color
:
#666
;
text-align
:
center
;
margin-top
:
15px
;
}
.newCompany
.addVal
>
span
{
width
:
140px
;
display
:
inline-block
;
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
{
margin
:
25px
30px
0
30px
;
height
:
1px
;
background
:
rgba
(
72
,
119
,
230
,
0.2
);
}
.newCompany
.buttonClick
{
display
:
flex
;
justify-content
:
space-evenly
;
margin-top
:
13px
;
}
.newCompany
.company-content
>>>
.el-radio
{
margin-right
:
22px
;
margin-bottom
:
11px
;
width
:
49px
;
}
.newCompany
.company-content
>>>
.el-input__inner
{
width
:
290px
;
}
</
style
>
src/components/admittance/product/product.vue
浏览文件 @
a09097bb
<
template
>
<div
class=
"
role
"
>
<div
class=
"
product
"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
...
...
@@ -7,7 +7,7 @@
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
产品名称:
</span>
<el-input
size=
"medium"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"name"
size=
"medium"
placeholder=
"请输入"
></el-input>
</span>
<span
class=
"searchVal"
>
<span>
产品分类:
</span>
...
...
@@ -20,11 +20,18 @@
</el-option>
</el-select>
</span>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
style=
"margin-left: 6px"
>
<span>
技术路线:
</span>
<el-select
v-model=
"techVal"
placeholder=
"请选择"
>
<el-option
v-for=
"item in techList"
:label=
"item.name"
:value=
"item.name"
>
</el-option>
</el-select>
</span>
<span
class=
"button"
>
搜索
</span>
<span
class=
"button add"
>
新建产品
</span>
<span
class=
"button
searchBtn"
@
click=
"search('search')
"
>
搜索
</span>
<span
class=
"button add"
@
click=
"addProduct"
>
新建产品
</span>
<span
class=
"button import"
>
导入产品
</span>
</p>
...
...
@@ -56,6 +63,9 @@
prop=
"number"
label=
"技术路线"
align=
"center"
>
<template>
<span
class=
"change"
><img
src=
"../../basicInformation/company/img/look.png"
>
查看
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"type"
...
...
@@ -68,98 +78,181 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
background
layout=
"prev, pager, next"
:total=
"totalLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</el-col>
</el-row>
<!-- 新增 / 编辑 公用弹窗 -->
<!-- <el-dialog :visible.sync="openModel" class="model">--
>
<!-- <img src="../../../assets/img/close.png" class="closeModel" @click="reset()">--
>
<!-- <component :is="components" :name="companyName" :list="companyList" @on-cancel="reset" @on-name="getName"></component>--
>
<!-- </el-dialog>--
>
<el-dialog
:visible
.
sync=
"openModel"
class=
"model"
>
<img
src=
"../../../assets/img/close.png"
class=
"closeModel"
@
click=
"reset()"
>
<component
:is=
"components"
:name=
"productName"
:list=
"productList"
@
on-cancel=
"reset"
@
on-name=
"getName"
></component
>
</el-dialog
>
</div>
</template>
<
script
>
import
'../../basicInformation/company/company.css'
import
'../../basicInformation/company/company.css'
;
import
newProduct
from
'./newProduct'
;
export
default
{
name
:
'product'
,
data
()
{
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
type
:
''
,
typeList
:
[
{
type
:
'1'
},
{
type
:
'2'
}
],
name
:
''
,
typeList
:
[{
type
:
'1'
},
{
type
:
'2'
}],
allData
:
[],
typeVal
:
{
'1'
:
'软件'
,
'2'
:
'硬件'
}
},
techList
:
[],
techVal
:
''
,
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
productName
:
''
,
productList
:
''
}
},
components
:
{
newProduct
},
mounted
()
{
this
.
init
();
// this.search();
},
methods
:
{
init
()
{
this
.
$server
.
getProduceFindAll
().
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
;
this
.
$server
.
getProduceFindAccess
().
then
(
res
=>
{
this
.
allData
=
res
.
data
.
data
})
this
.
$server
.
getTechFindAll
().
then
(
res
=>
{
// 请求技术路线
this
.
techList
=
res
.
data
.
data
})
},
// 产品分类转换
typeChange
(
row
)
{
return
this
.
typeVal
[
String
(
row
.
type
)]
}
},
// 搜索
search
(
val
)
{
let
message
=
{
form
:
''
,
model
:
''
,
name
:
''
,
producer
:
''
,
status
:
0
,
techId
:
0
,
type
:
0
};
if
(
val
===
'search'
)
{
this
.
page
=
1
;
message
.
name
=
this
.
name
;
console
.
log
(
this
.
techVal
);
console
.
log
(
this
.
type
);
}
// let data = {
// page: this.page,
// pageSize: this.pageSize,
// t: message
// };
// this.$server.postProduceSearch(data).then(res => {
// this.allData = res.data.data;
// this.totalLength = this.allData.length;
// })
},
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
search
(
'page'
)
},
// 新建产品
addProduct
()
{
this
.
openModel
=
true
;
this
.
components
=
'newProduct'
;
},
// 关闭弹框
reset
(
val
)
{
this
.
openModel
=
false
;
this
.
components
=
''
;
this
.
productName
=
''
;
if
(
val
)
{
this
.
unit
()
}
},
// 获取单位名称
getName
(
val
)
{
if
(
val
!==
''
)
{
this
.
productName
=
val
;
}
},
}
}
</
script
>
<
style
scoped
>
.
role
{
.
product
{
background
:
#ebf0f8
;
width
:
100%
;
}
.
role
.content
{
.
product
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
}
.
role
.content
.title
{
.
product
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
.
role
.content
.search
{
.
product
.content
.search
{
position
:
relative
;
margin-top
:
36px
;
padding
:
0px
70px
0px
70px
;
display
:
flex
;
}
.
role
.content
.searchVal
{
.
product
.content
.searchVal
{
width
:
280px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.
role
.content
.searchVal
>
span
{
.
product
.content
.searchVal
>
span
{
width
:
140px
;
display
:
inline-block
;
line-height
:
34px
;
}
.
role
.content
.change
{
.
product
.content
.change
{
color
:
#4877e6
;
cursor
:
pointer
;
}
.
role
.content
.change
>
img
{
.
product
.content
.change
>
img
{
margin-right
:
3px
;
}
.
role
.content
.common-table
{
.
product
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.
role
>>>
.el-input__inner
{
.
product
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
...
...
@@ -168,7 +261,7 @@ export default {
line-height
:
34px
;
width
:
180px
;
}
.
role
.content
.button
{
.
product
.content
.button
{
display
:
inline-block
;
width
:
100px
;
height
:
34px
;
...
...
@@ -176,77 +269,77 @@ export default {
text-align
:
center
;
background
:
#4877e6
;
cursor
:
pointer
;
margin-left
:
35
px
;
margin-left
:
20
px
;
border-radius
:
2px
;
color
:
#fff
;
font-size
:
18px
;
}
.
role
.content
.button
:hover
{
.
product
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
.
role
.content
.import
{
.
product
.content
.import
{
position
:
absolute
;
right
:
70px
;
}
.add
{
.
product
.
add
{
position
:
absolute
;
right
:
22
0px
;
right
:
18
0px
;
}
.
role
.content
.common-table
{
.
product
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.
role
.content
.common-table
>>>
.el-table
th
>
.cell
{
.
product
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.
role
.content
.common-table
>>>
.el-table
th
.is-leaf
{
.
product
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.
role
.content
.common-table
>>>
.el-table
tr
{
.
product
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.
role
.content
.common-table
>>>
.el-table
{
.
product
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.
role
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
.
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
;
}
.
role
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
.
product
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.
role
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
.
product
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.
role
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
.
product
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.
role
.content
.block
{
.
product
.content
.block
{
text-align
:
right
;
padding
:
30px
70px
0
0
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
.
product
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
.
product
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
.
role
.content
>>>
.el-table
td
{
.
product
.content
>>>
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.
role
.content
>>>
.btn-prev
,
.role
.content
>>>
.btn-next
{
.
product
.content
>>>
.btn-prev
,
.product
.content
>>>
.btn-next
{
background
:
#c5d5f7
;
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.
role
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
.
product
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
color
:
#C0C4CC
;
}
.
role
.content
>>>
.el-table__body
tr
.current-row
>
td
{
.
product
.content
>>>
.el-table__body
tr
.current-row
>
td
{
background
:
#f5f8fd
;
}
</
style
>
\ No newline at end of file
src/components/basicInformation/company/company.vue
浏览文件 @
a09097bb
<
template
>
<div
class=
"
role
"
>
<div
class=
"
company
"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
...
...
@@ -19,7 +19,7 @@
</el-option>
</el-select>
</span>
<span
class=
"button"
@
click=
"search"
>
搜索
</span>
<span
class=
"button
searchBtn
"
@
click=
"search"
>
搜索
</span>
<span
class=
"button add"
@
click=
"addCompany"
>
新建单位
</span>
<span
class=
"button import"
>
导入单位
<el-upload
...
...
@@ -136,16 +136,6 @@ export default {
newCompany
},
mounted
()
{
let
val
=
this
.
$store
.
getters
.
getSidebar
;
if
(
val
[
val
.
length
-
1
].
path
!==
'company'
)
{
val
.
push
(
{
name
:
'单位管理'
,
path
:
'company'
}
)
this
.
$store
.
commit
(
'changeSidebar'
,
val
);
}
this
.
search
(
'page'
)
},
methods
:
{
...
...
@@ -161,10 +151,7 @@ export default {
type
:
0
};
if
(
val
!==
'page'
)
{
// 点击搜索按钮,不是点击分页跳转
if
(
!
this
.
searchName
||
!
this
.
classVal
)
{
this
.
$message
.
error
(
'单位名称和单位类别不可为空!'
);
return
;
}
this
.
currentPage
=
1
;
this
.
companyClass
.
map
(
item
=>
{
let
type
=
this
.
typeVal
[
item
.
type
];
if
(
this
.
classVal
===
type
)
{
...
...
@@ -205,7 +192,6 @@ export default {
getName
(
val
)
{
if
(
val
!==
''
)
{
this
.
companyName
=
val
;
this
.
components
=
'authority'
;
}
},
// 单位准入状态转换
...
...
@@ -243,51 +229,51 @@ export default {
}
</
script
>
<
style
scoped
>
.
role
{
.
company
{
background
:
#ebf0f8
;
width
:
100%
;
}
.
role
.content
{
.
company
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
}
.
role
.content
.title
{
.
company
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
.
role
.content
.search
{
.
company
.content
.search
{
position
:
relative
;
margin-top
:
36px
;
padding
:
0px
70px
0px
70px
;
display
:
flex
;
}
.
role
.content
.searchVal
{
.
company
.content
.searchVal
{
width
:
280px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.
role
.content
.searchVal
>
span
{
.
company
.content
.searchVal
>
span
{
width
:
140px
;
display
:
inline-block
;
line-height
:
34px
;
}
.
role
.content
.change
{
.
company
.content
.change
{
color
:
#4877e6
;
cursor
:
pointer
;
}
.
role
.content
.change
>
img
{
.
company
.content
.change
>
img
{
margin-right
:
3px
;
}
.
role
.content
.common-table
{
.
company
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.
role
>>>
.el-input__inner
{
.
company
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
...
...
@@ -296,7 +282,7 @@ export default {
line-height
:
34px
;
width
:
180px
;
}
.
role
.content
.button
{
.
company
.content
.button
{
display
:
inline-block
;
width
:
100px
;
height
:
34px
;
...
...
@@ -304,86 +290,93 @@ export default {
text-align
:
center
;
background
:
#4877e6
;
cursor
:
pointer
;
margin-left
:
100px
;
/*margin-left: 100px;*/
border-radius
:
2px
;
color
:
#fff
;
font-size
:
18px
;
}
.
role
.content
.button
:hover
{
.
company
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
.
role
.content
.new
{
.
company
.content
.new
{
position
:
absolute
;
right
:
70px
;
}
.company
.import
{
right
:
70px
;
position
:
absolute
;
}
.company
.searchBtn
{
margin-left
:
30px
;
}
/*表格样式*/
.
role
.content
.common-table
{
.
company
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.
role
.content
.common-table
>>>
.el-table
th
>
.cell
{
.
company
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.
role
.content
.common-table
>>>
.el-table
th
.is-leaf
{
.
company
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.
role
.content
.common-table
>>>
.el-table
tr
{
.
company
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.
role
.content
.common-table
>>>
.el-table
{
.
company
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.
role
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
.
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
;
}
.
role
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
.
company
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.
role
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
.
company
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.
role
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
.
company
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.
role
.content
.block
{
.
company
.content
.block
{
text-align
:
right
;
padding
:
30px
70px
0
0
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
.
company
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
.
company
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
.
role
.content
>>>
.el-table
td
{
.
company
.content
>>>
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.
role
.content
>>>
.btn-prev
,
.role
.content
>>>
.btn-next
{
.
company
.content
>>>
.btn-prev
,
.role
.content
>>>
.btn-next
{
background
:
#c5d5f7
;
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.
role
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
.
company
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
color
:
#C0C4CC
;
}
.
role
.content
>>>
.el-table__body
tr
.current-row
>
td
{
.
company
.content
>>>
.el-table__body
tr
.current-row
>
td
{
background
:
#f5f8fd
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
.
company
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.
role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
.
company
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
.
role
.content
.common-table
{
.
company
.content
.common-table
{
box-shadow
:
rgba
(
72
,
119
,
230
,
0.1
)
4px
4px
5px
;
border-width
:
0.5px
;
border-style
:
solid
;
...
...
src/components/basicInformation/company/newCompany.vue
浏览文件 @
a09097bb
<
template
>
<div
class=
"new
role
"
>
<div
class=
"new
Company
"
>
<p
class=
"dialog-header"
>
<span>
新建单位
</span>
</p>
...
...
@@ -104,13 +104,13 @@ export default {
}
</
script
>
<
style
scoped
>
.new
role
.new
{
.new
Company
.new
{
display
:
inline-block
;
}
.new
{
.new
Company
.new
{
right
:
220px
;
}
.new
role
.addVal
{
.new
Company
.addVal
{
width
:
390px
;
display
:
flex
;
font-size
:
18px
;
...
...
@@ -118,12 +118,12 @@ export default {
text-align
:
center
;
margin-top
:
15px
;
}
.new
role
.addVal
>
span
{
.new
Company
.addVal
>
span
{
width
:
140px
;
display
:
inline-block
;
line-height
:
34px
;
}
.new
role
>>>
.el-input__inner
{
.new
Company
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
...
...
@@ -132,22 +132,22 @@ export default {
line-height
:
34px
;
width
:
180px
;
}
.new
role
.line
{
.new
Company
.line
{
margin
:
25px
30px
0
30px
;
height
:
1px
;
background
:
rgba
(
72
,
119
,
230
,
0.2
);
}
.new
role
.buttonClick
{
.new
Company
.buttonClick
{
display
:
flex
;
justify-content
:
space-evenly
;
margin-top
:
13px
;
}
.new
role
.company-content
>>>
.el-radio
{
.new
Company
.company-content
>>>
.el-radio
{
margin-right
:
22px
;
margin-bottom
:
11px
;
width
:
49px
;
}
.new
role
.company-content
>>>
.el-input__inner
{
.new
Company
.company-content
>>>
.el-input__inner
{
width
:
290px
;
}
</
style
>
src/components/basicInformation/role/role.vue
浏览文件 @
a09097bb
...
...
@@ -43,7 +43,7 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
...
...
src/components/complaint/complaint/complaint.vue
浏览文件 @
a09097bb
...
...
@@ -62,7 +62,7 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
...
...
src/components/complaint/complaintManagement/complaintManagement.vue
浏览文件 @
a09097bb
...
...
@@ -62,7 +62,7 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
...
...
src/components/home/home.vue
浏览文件 @
a09097bb
...
...
@@ -25,19 +25,19 @@
<img
src=
"./img/SJ.png"
>
<span>
市级名录
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('company',3,'基础资料管理')"
>
<img
src=
"./img/GJ.png"
>
<span>
基础资料管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('product',4,'市级准入管理')"
>
<img
src=
"./img/SJ.png"
>
<span>
市级准入管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('complaint',5,'意见建议')"
>
<img
src=
"./img/YJ.png"
>
<span>
意见建议
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('complaintManagement',5,'投诉管理')"
>
<img
src=
"./img/YJ.png"
>
<span>
投诉管理
</span>
</p>
...
...
src/components/integration/dynamicList/dynamicList.vue
浏览文件 @
a09097bb
...
...
@@ -50,7 +50,7 @@
</el-table>
</div>
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
...
...
src/components/sidebar/sidebar.vue
浏览文件 @
a09097bb
...
...
@@ -171,7 +171,7 @@ export default {
]
},
{
name
:
'市准入管理'
,
name
:
'市
级
准入管理'
,
menuList
:
[
{
name
:
'单位管理'
,
...
...
@@ -277,6 +277,7 @@ export default {
this
.
$store
.
commit
(
'changeSidebar'
,
val
);
}
}
$
(
'.listVal>span'
).
removeClass
(
'menuClick'
)
this
.
$router
.
push
({
name
:
name
});
}
},
...
...
src/router/index.js
浏览文件 @
a09097bb
...
...
@@ -91,7 +91,7 @@ export default new Router({
name
:
'companyDetails'
,
component
:
resolve
=>
require
([
'../components/basicInformation/company/companyDetails.vue'
],
resolve
)
},
//
基础资料管理-单位信息
//
市准入管理-产品管理
{
path
:
'/product'
,
name
:
'product'
,
...
...
src/services/server.js
浏览文件 @
a09097bb
...
...
@@ -114,5 +114,27 @@ const server = {
method
:
'get'
});
},
getTechFindAll
()
{
// 获取所有技术路线列表
return
axios
(
'/tech/findAll'
,
{
method
:
'get'
});
},
postProduceSearchAccess
(
data
)
{
// 准入产品分页查询
return
axios
(
'/produce/searchAccesss'
,
{
method
:
'post'
,
data
:
data
});
},
getProduceFindAccess
()
{
// 获取所有准入产品列表
return
axios
(
'/produce/findAccess'
,
{
method
:
'get'
});
},
postProduceAdd
(
data
)
{
// 新建产品
return
axios
(
'/produce/add'
,
{
method
:
'post'
,
data
:
data
});
},
}
export
default
server
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论