拆分条款详情修改

This commit is contained in:
caoyang
2022-04-09 20:24:46 +08:00
parent 7d9dc44461
commit e08332d385
11 changed files with 230 additions and 111 deletions
@@ -20,25 +20,25 @@
<!-- 模板下载-->
<div class="operator-select-type">
<span class="operator-file-type">文件类型:</span>
<a-select v-model="fileGroup" style="width: 100px">
<span class="operator-file-type">{{$t('fileType')}}</span>
<a-select v-model="fileGroup" :placeholder="$t('selectFileType')" class="file-type-select">
<a-select-option value="GSO" key="GSO">
GSO
</a-select-option>
<a-select-option value="Korean" key="Korean">
韩国
{{$t('Korea')}}
</a-select-option>
<a-select-option value="US" key="US">
美国
{{$t('America')}}
</a-select-option>
<a-select-option value="EU" key="EU">
欧洲
{{$t('Europe')}}
</a-select-option>
<a-select-option value="Japan" key="Japan">
日本
{{$t('Japan')}}
</a-select-option>
<a-select-option value="CN" key="CN">
中国
{{$t('China')}}
</a-select-option>
</a-select>
</div>
@@ -79,7 +79,7 @@
data(){
return{
visible:false,
fileGroup:'',
fileGroup:undefined,
tableSource:[], //列表数据
selectedRowKeys:[],
queryParams:{
@@ -192,7 +192,7 @@
},
//拆分
submitSplit(){
if(this.fileGroup.length == 0){
if(this.fileGroup.length == 0||this.fileGroup==undefined){
this.$message.warning(this.$t('selectFileType'))
}else if(this.rows&&this.rows.length>1){
this.$message.warning(this.$t('OnlyOneSelected'))
@@ -275,15 +275,22 @@
}
.operator-select{
margin-bottom: 20px;
margin-left: 60px;
/*margin-left: 60px;*/
.operator-file-type{
/*width: 100px;*/
min-width: 110px;
text-align: right;
line-height: 32px;
display: inline-block;
margin-right: 16px;
}
.operator-select-type{
display: flex;
justify-content: start;
.file-type-select{
min-width: 120px;
}
}
}
@@ -296,4 +303,13 @@
}
}
}
.operator-select-type{
.ant-select-selection{
height: 38px;
.ant-select-selection__rendered{
height: 38px;
line-height: 38px;
}
}
}
</style>