update: 运维管理、数据采集卡片列表去掉背景图片

This commit is contained in:
jackhoo_98 2023-03-17 15:55:33 +08:00
parent 2e0b45b444
commit c0f2ebfa47
6 changed files with 1 additions and 81 deletions

View File

@ -310,15 +310,6 @@ const handleSearch = (e: any) => {
<style lang="less" scoped>
.card-item-content {
min-height: 100px;
.card-item-content-title-a {
// color: #000 !important;
font-weight: 700;
font-size: 16px;
overflow: hidden; //
text-overflow: ellipsis; //
white-space: nowrap; //
}
.card-item-content-box {
min-height: 50px;
}

View File

@ -56,7 +56,7 @@ const unSelectKeys = ref();
const handleOk = async () => {
const data: any = await formTableRef.value?.validate().catch(() => {});
if (!data) return;
const list = data.map((item: any) => {
const list: any = data.map((item: any) => {
return {
name: item.name,
provider: 'OPC_UA',

View File

@ -34,11 +34,6 @@
:value="slotProps"
:actions="getActions(slotProps)"
v-bind="slotProps"
:class="
slotProps.state.value === 'disabled'
? 'tableCardDisabled'
: 'tableCardEnabled'
"
:status="slotProps.state.value"
:statusText="slotProps.state.text"
:statusNames="{
@ -361,18 +356,6 @@ const handleSearch = (e: any) => {
overflow-x: hidden;
}
.tableCardDisabled {
width: 100%;
background: url('/images/access-config-diaabled.png') no-repeat;
background-size: 100% 100%;
}
.tableCardEnabled {
width: 100%;
background: url('/images/access-config-enabled.png') no-repeat;
background-size: 100% 100%;
}
.card-item-content {
min-height: 100px;
.card-item-content-box {

View File

@ -281,17 +281,6 @@ const handleSearch = (e: any) => {
};
</script>
<style lang="less" scoped>
.tableCardDisabled {
width: 100%;
background: url('/images/access-config-diaabled.png') no-repeat;
background-size: 100% 100%;
}
.tableCardEnabled {
width: 100%;
background: url('/images/access-config-enabled.png') no-repeat;
background-size: 100% 100%;
}
.card-item-content {
min-height: 100px;

View File

@ -33,11 +33,6 @@
:value="slotProps"
:actions="getActions(slotProps, 'card')"
v-bind="slotProps"
:class="
slotProps.state.value === 'disabled'
? 'tableCardDisabled'
: 'tableCardEnabled'
"
:status="slotProps.state.value"
:statusText="slotProps.state.text"
:statusNames="{
@ -386,29 +381,8 @@ const handleSearch = (e: any) => {
};
</script>
<style lang="less" scoped>
.tableCardDisabled {
width: 100%;
background: url('/images/access-config-diaabled.png') no-repeat;
background-size: 100% 100%;
}
.tableCardEnabled {
width: 100%;
background: url('/images/access-config-enabled.png') no-repeat;
background-size: 100% 100%;
}
.card-item-content {
min-height: 100px;
.card-item-content-title-a {
// color: #000 !important;
font-weight: 700;
font-size: 16px;
overflow: hidden; //
text-overflow: ellipsis; //
white-space: nowrap; //
}
.card-item-content-box {
min-height: 50px;
}

View File

@ -35,11 +35,6 @@
:value="slotProps"
:actions="getActions(slotProps)"
v-bind="slotProps"
:class="
slotProps.state.value === 'disabled'
? 'tableCardDisabled'
: 'tableCardEnabled'
"
:status="slotProps.state.value"
:statusText="slotProps.state.text"
:statusNames="{
@ -272,18 +267,6 @@ const handleSearch = (e: any) => {
};
</script>
<style lang="less" scoped>
.tableCardDisabled {
width: 100%;
background: url('/images/access-config-diaabled.png') no-repeat;
background-size: 100% 100%;
}
.tableCardEnabled {
width: 100%;
background: url('/images/access-config-enabled.png') no-repeat;
background-size: 100% 100%;
}
.card-item-content {
min-height: 100px;