update code

dev
haha 2024-08-06 22:15:04 +08:00
parent 39dc75197d
commit 42cc4313c1
4 changed files with 19 additions and 2 deletions

View File

@ -196,7 +196,7 @@
<th>所属项目</th> <th>所属项目</th>
<th style="width:95px">所属总包单位</th> <th style="width:95px">所属总包单位</th>
<th>申请单位</th> <th>申请单位</th>
<th>分包类型</th> <th style="width:30px;">分包类型</th>
<th style="width:40px">申请<br />时间</th> <th style="width:40px">申请<br />时间</th>
<th style="width:40px">状态</th> <th style="width:40px">状态</th>
</tr> </tr>

View File

@ -121,6 +121,10 @@ export default {
obj[it.updateBy].push(it); obj[it.updateBy].push(it);
} }
}); });
for(let k in obj){
let v=obj[k].sort((a,b)=>b.videoDate.localeCompare(a.videoDate));
obj[k]=v;
}
this.infoList=obj; this.infoList=obj;
}) })

View File

@ -71,6 +71,7 @@
<span class="data-text">{{ it.intro }}</span> <span class="data-text">{{ it.intro }}</span>
</span> </span>
</el-popover> </el-popover>
<el-link v-if="it.checkFiles" class="link-download" type="primary" @click="downFiles(it)"></el-link>
</div> </div>
</div> </div>
</div> </div>
@ -109,6 +110,11 @@ export default {
mounted() { }, mounted() { },
methods: { methods: {
downFiles(row){
row.checkFiles.split(",").forEach(item => {
this.$api.downFile("/jhapi" + item, {}, item.substring(item.lastIndexOf("/") + 1));
});
},
handledownload(it) { handledownload(it) {
window.open(it.url); window.open(it.url);
}, },
@ -283,6 +289,7 @@ export default {
} }
.data-detail{ .data-detail{
margin-top:10px; margin-top:10px;
position: relative;
&>span{ &>span{
width:100%; width:100%;
.el-popover__reference-wrapper{ .el-popover__reference-wrapper{
@ -297,6 +304,12 @@ export default {
} }
} }
} }
.link-download{
position: absolute;
right: 30px;
top: 0px;
font-size: 12px;
}
} }
} }
} }

View File

@ -24,7 +24,7 @@
<div v-show="showChart1" class="scroll checking-row2" style="position: relative;"> <div v-show="showChart1" class="scroll checking-row2" style="position: relative;">
<div class="checking-group-nav warning-info-title" style="padding-left: 20px;"> <div class="checking-group-nav warning-info-title" style="padding-left: 20px;">
<div class="nav-item" :class="nav1 == it.dictValue ? 'active' : ''" <div class="nav-item" :class="nav1 == it.dictValue ? 'active' : ''" style="font-size:14px;"
@click="doQueryGroup(it.dictValue, 'a')" v-for="(it) in dict1" :key="it.dictValue">{{ @click="doQueryGroup(it.dictValue, 'a')" v-for="(it) in dict1" :key="it.dictValue">{{
it.dictLabel }}</div> it.dictLabel }}</div>
</div> </div>