Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ public class ParamsInfoEO implements Serializable {
|
||||
private String controlType;
|
||||
|
||||
/**控件校验*/
|
||||
@Excel(name = "控件校验", width = 15, replace = {"无_1","中文_2","正整数_3","正浮点数_4","整数或小数_5","一位小数_6","两位小数_7","三位小数_8","四位小数_9"})
|
||||
@Excel(name = "控件校验", width = 15, replace = {"无_1","中文_2","整数_3","正浮点数_4","整数或小数_5","一位小数_6","两位小数_7","三位小数_8","四位小数_9"})
|
||||
@ApiModelProperty(value = "控件校验")
|
||||
private String controlVerify;
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.util.Map;
|
||||
public enum ControlVerifyEnum {
|
||||
NULL("无","Null","1"),
|
||||
CHINESE("中文","Chinese","2"),
|
||||
POSITIVE_INTEGER("正整数","Positive integer","3"),
|
||||
POSITIVE_INTEGER("整数","Integer","3"),
|
||||
POSITIVE_FLOAT("正浮点数","Positive float","4"),
|
||||
INTEGER_DECIMAL("整数或小数","Integer decimal","5"),
|
||||
DECIMAL_ONE("一位小数","Decimal one","6"),
|
||||
|
||||
+6
-2
@@ -1409,7 +1409,9 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
|
||||
if (ccDtoAfterDistinct.size() < ccDtoList.size()) {
|
||||
// 取差集
|
||||
String reduceOne = ccDtoList.stream()
|
||||
.filter(e->!ccDtoAfterDistinct.contains(e)).map(CertCategoryParamsInfoCnImport::getNioNumber).collect(Collectors.joining(","));
|
||||
.filter(e->!ccDtoAfterDistinct.contains(e))
|
||||
.map(CertCategoryParamsInfoCnImport::getNioNumber).distinct()
|
||||
.collect(Collectors.joining(","));
|
||||
if (StringUtils.isNotBlank(reduceOne)) {
|
||||
if (CutEnum.CN.getValue().equals(cut)) {
|
||||
stringMessage.add("导入数据中NIO编号:" + reduceOne + "下存在重复认证类别;");
|
||||
@@ -1428,7 +1430,9 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
|
||||
if (ccDtoAfterDistinctTwo.size() < certCategoryParamsInfoEOList.size()) {
|
||||
// 取差集
|
||||
String reduceTwo = certCategoryParamsInfoEOList.stream()
|
||||
.filter(e->!ccDtoAfterDistinctTwo.contains(e)).map(CertCategoryParamsInfoCnImport::getNioNumber).collect(Collectors.joining(","));
|
||||
.filter(e->!ccDtoAfterDistinctTwo.contains(e))
|
||||
.map(CertCategoryParamsInfoCnImport::getNioNumber).distinct()
|
||||
.collect(Collectors.joining(","));
|
||||
if (StringUtils.isNotBlank(reduceTwo)) {
|
||||
if (CutEnum.CN.getValue().equals(cut)) {
|
||||
stringMessage.add("导入数据中NIO编号:" + reduceTwo + "下存在重复认证编号;");
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ public class ParamsInfoEnExport {
|
||||
private String controlType;
|
||||
|
||||
/**控件校验*/
|
||||
@Excel(name = "Control Verify", width = 15, replace = {"Null_1","Chinese_2","Positive integer_3","Positive float_4","Integer decimal_5","Decimal one_6","Decimal two_7","Decimal three_8","Decimal four_9"})
|
||||
@Excel(name = "Control Verify", width = 15, replace = {"Null_1","Chinese_2","Integer_3","Positive float_4","Integer decimal_5","Decimal one_6","Decimal two_7","Decimal three_8","Decimal four_9"})
|
||||
@ApiModelProperty(value = "控件校验")
|
||||
private String controlVerify;
|
||||
|
||||
|
||||
@@ -1065,7 +1065,7 @@ module.exports = {
|
||||
Ftext: 'Text+Pull single+File',
|
||||
Nnothing: 'Null',
|
||||
Nchinese: 'Chinese',
|
||||
NpositiveInteger: 'Positive integer',
|
||||
NpositiveInteger: 'Integer',
|
||||
NPositivefloatingpointnumber: 'Positive float',
|
||||
NintegerOrDecimal: 'Integer decimal',
|
||||
NOneDecimalPlace: 'Decimal one',
|
||||
|
||||
@@ -1074,7 +1074,7 @@ module.exports = {
|
||||
Ftext: '文本+下拉单选+附件',
|
||||
Nnothing: '无',
|
||||
Nchinese: '中文',
|
||||
NpositiveInteger: '正整数',
|
||||
NpositiveInteger: '整数',
|
||||
NPositivefloatingpointnumber: '正浮点数',
|
||||
NintegerOrDecimal: '整数或小数',
|
||||
NOneDecimalPlace: '一位小数',
|
||||
|
||||
@@ -28,10 +28,8 @@
|
||||
<a-input class="box-input inputWid"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:placeholder="$t('pleaseEnter')+$t('chinese')"
|
||||
event.returnValue="false"
|
||||
ondragenter="return false"
|
||||
onblur="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
oninput="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
<!-- 正整数 -->
|
||||
@@ -40,7 +38,6 @@
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:max="99999"
|
||||
:precision="0"
|
||||
:min="1"
|
||||
:placeholder="$t('enterPositiveInteger')"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
@@ -183,12 +180,10 @@
|
||||
<div v-else-if="item.controlVerify == '2'">
|
||||
<a-input class="box-input inputWid"
|
||||
:maxLength="1000"
|
||||
event.returnValue="false"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
ondragenter="return false"
|
||||
:placeholder="$t('pleaseEnter')+$t('chinese')"
|
||||
onblur="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
oninput="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
<!-- 正整数 -->
|
||||
@@ -196,7 +191,6 @@
|
||||
<a-input-number class="box-input inputWid add--number"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:max="99999"
|
||||
:min="1"
|
||||
:precision="0"
|
||||
:placeholder="$t('enterPositiveInteger')"
|
||||
v-model="item.dataValue"/>
|
||||
@@ -282,10 +276,8 @@
|
||||
<div v-else-if="item.controlVerify == '2'">
|
||||
<a-input class="box-input inputWid"
|
||||
:maxLength="1000"
|
||||
event.returnValue="false"
|
||||
ondragenter="return false"
|
||||
onblur="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
oninput="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:placeholder="$t('pleaseEnter')+$t('chinese')"
|
||||
v-model="item.dataValue"/>
|
||||
@@ -296,7 +288,6 @@
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:max="99999"
|
||||
:precision="0"
|
||||
:min="1"
|
||||
:placeholder="$t('enterPositiveInteger')"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
@@ -393,12 +384,10 @@
|
||||
<div v-else-if="item.controlVerify == '2'">
|
||||
<a-input class="box-input inputWid"
|
||||
:maxLength="1000"
|
||||
event.returnValue="false"
|
||||
ondragenter="return false"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
onblur="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
oninput="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"
|
||||
:placeholder="$t('pleaseEnter')+$t('chinese')"
|
||||
onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
<!-- 正整数 -->
|
||||
@@ -407,7 +396,6 @@
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:max="99999"
|
||||
:precision="0"
|
||||
:min="1"
|
||||
:placeholder="$t('enterPositiveInteger')"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
@@ -560,11 +548,9 @@
|
||||
<a-input class="box-input inputWid"
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:maxLength="1000"
|
||||
event.returnValue="false"
|
||||
ondragenter="return false"
|
||||
:placeholder="$t('pleaseEnter')+$t('chinese')"
|
||||
onblur="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
oninput="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"
|
||||
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
<!-- 正整数 -->
|
||||
@@ -573,7 +559,6 @@
|
||||
:disabled="item.isLock == '1' ? true: false"
|
||||
:max="99999"
|
||||
:precision="0"
|
||||
:min="1"
|
||||
:placeholder="$t('enterPositiveInteger')"
|
||||
v-model="item.dataValue"/>
|
||||
</div>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
:dataSource='areaTable'
|
||||
:pagination='false'
|
||||
:loading='loading'
|
||||
:scroll='{x: 600}'
|
||||
:scroll='{x: 760,y:400}'
|
||||
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
|
||||
@change='handleTableChange'>
|
||||
<a slot='name' slot-scope='text'>{{ text }}</a>
|
||||
@@ -133,18 +133,21 @@ export default {
|
||||
title: this.$t('NiONumber'),
|
||||
dataIndex: 'nioNumber',
|
||||
align: 'center',
|
||||
width:200,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('ParameterName'),
|
||||
align: 'center',
|
||||
dataIndex: 'paramsName',
|
||||
width:200,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
dataIndex: 'dutyTerritory_dictText',
|
||||
align: 'center',
|
||||
width:200,
|
||||
ellipsis: true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 111999;
|
||||
z-index: 1009;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
|
||||
@@ -101,30 +101,31 @@
|
||||
<div class="text-field">
|
||||
<span class="text-field-left" :title="$t('configurationName')">{{$t('configurationName')}}:</span>
|
||||
<span class="text-field-right"
|
||||
:title="configDetail.configName"
|
||||
>{{configDetail.configName}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-text">
|
||||
<div class="text-field">
|
||||
<span class="text-field-left" :title="$t('Model')">{{$t('Model')}}:</span>
|
||||
<span class="text-field-right"
|
||||
<span class="text-field-right" :title="configDetail.carType"
|
||||
>{{configDetail.carType}}</span>
|
||||
</div>
|
||||
<div class="text-field">
|
||||
<span class="text-field-left" :title="$t('electricMachinery')">{{$t('electricMachinery')}}:</span>
|
||||
<span class="text-field-right"
|
||||
<span class="text-field-right" :title="configDetail.motor"
|
||||
>{{configDetail.motor}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-text">
|
||||
<div class="text-field">
|
||||
<span class="text-field-left" :title="$t('Version')">{{$t('Version')}}:</span>
|
||||
<span class="text-field-right"
|
||||
<span class="text-field-right" :title="configDetail.version"
|
||||
>{{configDetail.version}}</span>
|
||||
</div>
|
||||
<div class="text-field">
|
||||
<span class="text-field-left" :title="$t('Battery')">{{$t('Battery')}}:</span>
|
||||
<span class="text-field-right"
|
||||
<span class="text-field-right" :title="configDetail.battery"
|
||||
>{{configDetail.battery}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
size="middle"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: true}"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
@@ -60,7 +60,7 @@
|
||||
>
|
||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||
<a @click="entryNameClick(record)">
|
||||
{{ text && text.length > 30 ? text.slice(0, 29) + '...' : text }}
|
||||
{{ text }}
|
||||
</a>
|
||||
</span>
|
||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||
@@ -157,31 +157,37 @@ export default {
|
||||
{
|
||||
title: this.$t('zoneOfApplication'),
|
||||
align: 'center',
|
||||
width: '10%',
|
||||
width: 160,
|
||||
ellipsis: true,
|
||||
dataIndex: 'region_dictText',
|
||||
},
|
||||
{
|
||||
title: this.$t('parameterTemplate'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
ellipsis: true,
|
||||
dataIndex: 'paramsTemplateName',
|
||||
scopedSlots: { customRender: 'projectName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('contentDescription'),
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
dataIndex: 'description',
|
||||
scopedSlots: { customRender: 'titleName' }
|
||||
// scopedSlots: { customRender: 'titleName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('createTime'),
|
||||
align: 'center',
|
||||
width: '10%',
|
||||
dataIndex: 'createTime'
|
||||
dataIndex: 'createTime',
|
||||
width: 160,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: this.$t('updateTime'),
|
||||
align: 'center',
|
||||
width: '10%',
|
||||
width: 160,
|
||||
ellipsis: true,
|
||||
dataIndex: 'updateTime'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
size="middle"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%'}"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
@@ -155,20 +155,23 @@ export default {
|
||||
{
|
||||
title: this.$t('NiONumber'),
|
||||
align: 'center',
|
||||
width: 100,
|
||||
width: 130,
|
||||
dataIndex: 'nioNumber',
|
||||
sorter: true
|
||||
sorter: true,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: this.$t('ParameterName'),
|
||||
align: 'center',
|
||||
dataIndex: 'paramsName',
|
||||
width: 160,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: this.$t('ParameterDescription'),
|
||||
align: 'center',
|
||||
dataIndex: 'description',
|
||||
ellipsis: true,
|
||||
// scopedSlots: { customRender: 'titleName' }
|
||||
},
|
||||
{
|
||||
@@ -176,12 +179,14 @@ export default {
|
||||
align: 'center',
|
||||
dataIndex: 'dutyTerritory_dictText',
|
||||
width: 150,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: this.$t('createTime'),
|
||||
align: 'center',
|
||||
dataIndex: 'createTime',
|
||||
width: 110,
|
||||
width: 180,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
|
||||
Reference in New Issue
Block a user