Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
14e9ba32
提交
14e9ba32
authored
3月 19, 2020
作者:
zax
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zax' 到 'master'
未知依赖配置按钮 查看合并请求
!84
上级
f137be5a
33889d08
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
28 行增加
和
29 行删除
+28
-29
UnDependence.vue
src/components/UnDependenceDispose/UnDependence.vue
+28
-29
没有找到文件。
src/components/UnDependenceDispose/UnDependence.vue
浏览文件 @
14e9ba32
...
...
@@ -33,8 +33,8 @@
label=
"操作"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span
class=
"
change revise"
@
click=
"yesEdit(scope.row)"
><span
class=
"img support-img"
></span
>
支持国产化
</span>
<span
class=
"
change delete"
@
click=
"noEdit(scope.row)"
><span
class=
"img Unsupport-img"
></span
>
不支持国产化
</span>
<span
class=
"
buttonSupport support"
@
click=
"yesEdit(scope.row)"
>
支持国产化
</span>
<span
class=
"
buttonSupport Unsupport"
@
click=
"noEdit(scope.row)"
>
不支持国产化
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -76,6 +76,7 @@ export default {
components
:
''
,
technologyId
:
'未知依赖(未知)'
,
input2
:
''
,
status
:
0
}
},
mounted
()
{
...
...
@@ -95,12 +96,11 @@ export default {
})
},
// 数据
getConfigList
()
{
getConfigList
(
dex
,
num
,
st
)
{
let
obj
=
{
technologyName
:
this
.
technologyId
}
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
8
,
obj
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
tableData
=
res
.
data
.
objects
;
this
.
tablePageSize
=
res
.
data
.
totalElement
;
});
...
...
@@ -121,7 +121,7 @@ export default {
this
.
components
=
''
;
},
// 支持国产化
yesEdit
(
row
){
yesEdit
(
row
,
index
){
let
obj
=
{
suffix
:
[
'java'
],
target
:
row
.
target
,
...
...
@@ -135,6 +135,7 @@ export default {
id
:
row
.
id
}
};
console
.
log
(
index
)
this
.
$server
.
editConfigUpdate
(
obj
).
then
(
res
=>
{
this
.
$message
({
message
:
'修改成功'
,
...
...
@@ -144,7 +145,7 @@ export default {
});
},
// 不支持国产化
noEdit
(
row
){
noEdit
(
row
,
index
){
let
obj
=
{
suffix
:
[
'java'
],
target
:
row
.
target
,
...
...
@@ -219,32 +220,29 @@ export default {
.UnDependence
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
.UnDependence
.content
.revise
{
margin-right
:
10px
;
}
.UnDependence
.content
.img
{
width
:
17px
;
height
:
17px
;
/*.UnDependence .content .img{*/
/* width: 21px;*/
/* height: 21px;*/
/* display: inline-block;*/
/* vertical-align: middle;*/
/* margin-right: 5px;*/
/*}*/
.UnDependence
.content
.buttonSupport
{
display
:
inline-block
;
vertical-align
:
middle
;
background-color
:
#4877e6
;
color
:
#ffffff
;
border-radius
:
4px
;
line-height
:
34px
;
margin-right
:
5px
;
width
:
115px
;
height
:
34px
;
}
.UnDependence
.support-img
{
background-image
:
url("./img/select.png")
;
}
.Unsupport-img
{
background-image
:
url("./img/un-select.png")
;
}
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
:hover
td
.support-img
{
width
:
19px
;
height
:
18px
;
background-image
:
url("./img/select-h.png")
;
/*表格双行hover样式*/
.UnDependence
.content
.support
:hover
{
background-color
:
#ffffff
;
color
:
#4877e6
;
}
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
.support-img
{
width
:
19px
;
height
:
18px
;
background-image
:
url("./img/select-h.png")
;
/*表格单行hover样式*/
.UnDependence
.content
.Unsupport
:hover
{
background-color
:
#ffffff
;
color
:
#4877e6
;
}
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论