Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage

This commit is contained in:
zyx.net
2022-07-05 17:33:35 +08:00
12 changed files with 53 additions and 49 deletions
+1 -1
View File
@@ -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',
+1 -1
View File
@@ -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
}
],
+1 -1
View File
@@ -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'),