fix: BUG修改
This commit is contained in:
parent
e3dcb853c1
commit
f7dc8f389e
@ -4,7 +4,7 @@
|
||||
<div class="tab-select">
|
||||
<span :class="activeTab == 0 ? 'active-span' : ''" @click="changeActive(0)">危险点辨识</span>
|
||||
<span :class="activeTab == 1 ? 'active-span' : ''" @click="changeActive(1)">风险控制措施</span>
|
||||
<span :class="activeTab == 2 ? 'active-span' : ''" @click="changeActive(2)">施工要点</span>
|
||||
<span :class="activeTab == 2 ? 'active-span' : ''" @click="changeActive(2)">质量控制要点</span>
|
||||
</div>
|
||||
<div class="text-content">
|
||||
<div v-html="activeTab == 0?props.dataObj.dangerPointIdentification:activeTab == 1?props.dataObj.riskControlMeasure:activeTab == 2?props.dataObj.constructionKeyPoint:''"></div>
|
||||
|
||||
@ -13,10 +13,10 @@
|
||||
</div>
|
||||
<el-scrollbar class="list-box" ref="refScrollbar">
|
||||
<div v-for="(item, index) in alarmList" class="list-style" :key="index">
|
||||
<div style="width: 10%">{{ index + 1 }}</div>
|
||||
<div :title="item.processName">{{ item.processName }}</div>
|
||||
<div style="width: 40%" :title="item.riskPossibleConsequence">{{ item.riskPossibleConsequence }}</div>
|
||||
<div style="width: 15%">{{ item.riskLevel }}</div>
|
||||
<div style="width: 10%" :class="{ activeStyle: item.accountState == 2 }">{{ index + 1 }}</div>
|
||||
<div :title="item.processName" :class="{ activeStyle: item.accountState == 2 }">{{ item.processName }}</div>
|
||||
<div style="width: 40%" :title="item.riskPossibleConsequence" :class="{ activeStyle: item.accountState == 2 }">{{ item.riskPossibleConsequence }}</div>
|
||||
<div style="width: 15%" :class="{ activeStyle: item.accountState == 2 }">{{ item.riskLevel }}</div>
|
||||
<div style="width: 15%"><el-checkbox v-model="item.accountState" :true-value="2" :false-value="1" :true-label="2" :false-label="1" @change="stateEdit(item)"/></div>
|
||||
</div>
|
||||
<div class="not-data" v-if="false">
|
||||
@ -206,6 +206,10 @@ onMounted(async () => {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
.activeStyle{
|
||||
color: #409EFF;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
.list-style:hover {
|
||||
background: #091f3f;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user