修改验证编号重复的问题 布局首页

This commit is contained in:
qq787203167
2022-05-24 11:30:14 +08:00
parent 4d57340423
commit 2c673eb9ad
18 changed files with 144 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

+2
View File
@@ -880,4 +880,6 @@ module.exports = {
testReportLocation:'Test report location',
explain:'Explain',
dataCannotEmpty:'Data Cannot Empty',
documentDynamics:'Document Dynamics',
theNumberAgain:'The number already exists and cannot be added again',
}
+3 -1
View File
@@ -884,5 +884,7 @@ module.exports = {
testScheme:'试验方案',
testReportLocation:'检测报告位置',
explain:'说明',
dataCannotEmpty:'数据不能为空'
dataCannotEmpty:'数据不能为空',
documentDynamics:'文档动态',
theNumberAgain:'编号已存在不能重复添加',
}
@@ -328,6 +328,8 @@
this.confirmLoading = false
if (res.message.indexOf('发布日期不能大于') >= 0) {
this.$message.warning(res.message)
} else if (res.message.indexOf('编号已存在') >= 0) {
this.$message.warning(this.$t('theNumberAgain'))
} else {
this.$message.warning(this.$t('operationFailed'))
}
@@ -506,6 +508,7 @@
.itemModel-text .ant-form-item-control-wrapper {
width: 100% !important;
}
.box-input .ant-select-selection--single {
height: 38px;
}
@@ -0,0 +1,51 @@
<template>
<div class="customContent-box">
<div class="box-content">
<img src="../../../assets/jspg.png" class="img" alt="">
<div class="text">我的收藏</div>
</div>
<div class="box-content">
<img src="../../../assets/jspg.png" class="img" alt="">
<div class="text">我的收藏</div>
</div>
<div class="box-content">
<img src="../../../assets/jspg.png" class="img" alt="">
<div class="text">我的收藏</div>
</div>
<div class="box-content">
<img src="../../../assets/zdy.png" class="img" alt="">
<div class="text">自定义</div>
</div>
</div>
</template>
<script>
export default {
name: 'customContent'
}
</script>
<style scoped lang="less">
.customContent-box {
width: 100%;
text-align: center;
.box-content {
text-align: center;
display: inline-block;
margin-right: 30px;
.img {
width: 44px;
height: 44px;
}
.text {
font-size: 16px;
font-family: Blue Sky Noto;
font-weight: 400;
color: #040B29;
margin-top: 8px;
}
}
}
</style>
@@ -0,0 +1,85 @@
<template>
<div class="documentDynamics-box">
<div class="header-text">
<div class="header-text-left">{{this.$t('documentDynamics')}}</div>
<div class="header-text-right">{{$t('more')}}</div>
</div>
<div class="documentDynamics-box-content">
<div class="documentDynamics-text">
<div class="yuan"></div>
<div class="text">文档库中新增了新的标准 GB 7258 机动车文件</div>
<img src="../../../assets/new.png" alt="">
</div>
</div>
</div>
</template>
<script>
export default {
name: 'documentDynamics'
}
</script>
<style scoped lang="less">
.documentDynamics-box {
width: 100%;
.header-text {
width: 100%;
display: flex;
justify-content: space-between;
.header-text-left {
font-size: 20px;
font-weight: 400;
color: #040B29;
}
.header-text-right {
font-size: 14px;
font-weight: 400;
color: #9B9DA9;
margin-top: 6px;
}
}
.documentDynamics-box-content {
width: 100%;
display: flex;
justify-content: space-between;
.documentDynamics-text {
height: 51px;
display: flex;
width: calc(50% - 20px);
border-bottom: 1px solid #CED0D8;
align-items: center;
.yuan {
width: 6px;
display: inline-block;
height: 6px;
background: #040B29;
opacity: 0.8;
border-radius: 50%;
margin-top: 2px;
}
.text {
display: inline-block;
font-size: 16px;
font-weight: 400;
color: #040B29;
margin-left: 8px;
}
img {
width: 38px;
height: 20px;
margin-top: 3px;
margin-left: 3px;
}
}
}
}
</style>