看板添加字段并调整样式
This commit is contained in:
@@ -159,20 +159,22 @@ td.o_required_modifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.o_list_view .o_list_table thead {
|
.o_list_view .o_list_table thead {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
//z-index: 100000;
|
z-index: 100000;
|
||||||
}
|
}
|
||||||
|
|
||||||
//.o_list_view .o_list_table {
|
//.o_list_view .o_list_table {
|
||||||
// height: 1799px !important;
|
// height: 1799px !important;
|
||||||
//}
|
//}
|
||||||
.table-responsive {
|
.table-responsive {
|
||||||
overflow: unset;
|
overflow: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.o_form_view.o_xxl_form_view .o_form_sheet_bg > .o_form_statusbar {
|
.o_form_view.o_xxl_form_view .o_form_sheet_bg > .o_form_statusbar {
|
||||||
position: sticky !important;
|
position: sticky !important;
|
||||||
top: 0;
|
top: 0;
|
||||||
//z-index: 100000;
|
z-index: 100000;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
@@ -253,6 +255,36 @@ div[class="o_content o_component_with_search_panel"] .show_state span {
|
|||||||
div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > .row {
|
div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > .row {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 55px;
|
top: 55px;
|
||||||
right: 263px;
|
right: 43.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1200px) {
|
||||||
|
div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > .row {
|
||||||
|
right: 52%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div[class="o_content o_component_with_search_panel"] .o_kanban_card_content button {
|
||||||
|
left: -95px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom {
|
||||||
|
// display: flex !important;
|
||||||
|
// flex-direction: column;
|
||||||
|
//}
|
||||||
|
|
||||||
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom>div:nth-child(1)>span:nth-child(1) {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom>div:nth-child(1) {
|
||||||
|
margin-top: -5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-bg-warning {
|
||||||
|
background-color: #FED300 !important;
|
||||||
|
}
|
||||||
@@ -332,7 +332,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 内容 -->
|
<!-- 内容 -->
|
||||||
<div class="o_kanban_record_bottom state_zc">
|
<div class="o_kanban_record_bottom state_zc">
|
||||||
<field name="state_zc"/>
|
<div>
|
||||||
|
<field name="brand_id"/>
|
||||||
|
<field name="type_id"/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<field name="state_zc"
|
||||||
|
widget="label_selection"
|
||||||
|
options="{'classes': {'未注册': 'warning', '已注册': 'success'}}"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_kanban_record_bottom state_zc">
|
<div class="o_kanban_record_bottom state_zc">
|
||||||
<field name="technician_user_id"/>
|
<field name="technician_user_id"/>
|
||||||
@@ -349,7 +357,7 @@
|
|||||||
<div t-attf-class="#{record.state.raw_value == '故障' ? 'color_2' : ''}"></div>
|
<div t-attf-class="#{record.state.raw_value == '故障' ? 'color_2' : ''}"></div>
|
||||||
<div t-attf-class="#{record.state.raw_value == '不可用' ? 'color_3' : ''}"></div>
|
<div t-attf-class="#{record.state.raw_value == '不可用' ? 'color_3' : ''}"></div>
|
||||||
<p class="o_kanban_record_bottom state_zc"
|
<p class="o_kanban_record_bottom state_zc"
|
||||||
t-attf-class="#{record.state.raw_value == '正常' ? 'font_color_1' : ''}
|
t-attf-class="#{record.state.raw_value == '正常' ? 'font_color_1' : ''}
|
||||||
#{record.state.raw_value == '故障' ? 'font_color_2' : ''}
|
#{record.state.raw_value == '故障' ? 'font_color_2' : ''}
|
||||||
#{record.state.raw_value == '不可用' ? 'font_color_3' : ''}">
|
#{record.state.raw_value == '不可用' ? 'font_color_3' : ''}">
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user