更新任务

szh-new
sunzehua 4 months ago
parent 969f6e4912
commit 97df392315

@ -130,7 +130,7 @@ export const request = async <T = any>(
const res = await service.request(config)
successMsg && $message.success(successMsg)
errorMsg && $message.error(errorMsg)
if(res && res.data instanceof Blob){
if(res && res.data.type=='application/octet-stream'){
return res as any
} else {
return isGetDataDirectly ? res?.data : res

@ -31,9 +31,10 @@
<div>
<div v-for="(item, index) in levelTree"
@click="handleClickTree(item, index)"
:class="{ active: item.active }" class="box-item">
:class="{ active: item.active,redColor:item.key=='CAUTION_NOTICE' }" class="box-item">
<div class="box-text" >
<i class="icon-jinggao iconfont"></i>
<i v-if="item.key != 'CAUTION_NOTICE'" class="icon-touzijilu iconfont"></i>
<i v-if="item.key == 'CAUTION_NOTICE'" class="icon-jinggao iconfont"></i>
{{item.name}}
</div>
<div class="box-number">{{ item.total }}</div>
@ -1178,7 +1179,9 @@ function handleClickTree(row, index) {
display: flex;
justify-content: space-between;
align-items: center;
.iconfont{
font-size: 14px
}
&:hover {
.box-text {
@ -1198,6 +1201,20 @@ function handleClickTree(row, index) {
color: rgba(37, 122, 250, 1);
}
}
&.active.redColor {
.box-number {
background: rgba(237, 88, 88, 1);
color: white;
}
}
&.redColor{
.box-text {
color: rgba(237, 88, 88, 1);
}
}
}
.box-number {

Loading…
Cancel
Save