52674 【线上】标准合规评估,任务分发节点 项目编号多个时,后面多个逗号

This commit is contained in:
宋伟佳
2022-05-07 16:39:52 +08:00
parent 661ffe72f4
commit c66c7dc7d3
@@ -220,6 +220,7 @@
</div> </div>
<!-- 添加抽屉--> <!-- 添加抽屉-->
<el-drawer <el-drawer
class="drawer-table"
title="添加项目" title="添加项目"
:visible.sync="projectModel" :visible.sync="projectModel"
size="900px" size="900px"
@@ -261,7 +262,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div style="height: calc(100% - 65px); overflow: auto"> <div style="height: calc(100% - 65px); ">
<div style="font-size: 16px; color: #FF7F50; padding-bottom: 10px; margin-left: 10px"> <div style="font-size: 16px; color: #FF7F50; padding-bottom: 10px; margin-left: 10px">
<p>如果各项目符合法规情况相同,可同时勾选,第一个勾选项目合规排查结果,将代表所有勾选项目合规排查结果。</p> <p>如果各项目符合法规情况相同,可同时勾选,第一个勾选项目合规排查结果,将代表所有勾选项目合规排查结果。</p>
</div> </div>
@@ -584,8 +585,9 @@ export default {
}); });
//去掉字符串的最后一个逗号 //去掉字符串的最后一个逗号
let dex = projectNumbers.lastIndexOf(",") let dex = projectNumbers.lastIndexOf(",")
let name = projectNames.lastIndexOf(",")
this.dataList.push({ this.dataList.push({
projectName: projectNames, projectName: projectNames.substring(0, name),
projectNumber: projectNumbers.substring(0, dex), projectNumber: projectNumbers.substring(0, dex),
projectIds: projectIds, projectIds: projectIds,
managementHostName: this.selectProjectList[0].managementHostName, managementHostName: this.selectProjectList[0].managementHostName,
@@ -838,7 +840,14 @@ export default {
} }
} }
} }
.drawer-table{
/deep/.el-drawer__body{
overflow-y: hidden;
}
/deep/.demo-drawer-content{
overflow-y: hidden;
}
}
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }