平台件项目库修改bug
This commit is contained in:
@@ -110,7 +110,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('NareaOfResponsibility'),
|
title: this.$t('NareaOfResponsibility'),
|
||||||
dataIndex: 'dutyTerritory',
|
dataIndex: 'dutyTerritory_dictText',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 140
|
width: 140
|
||||||
|
|||||||
+35
-37
@@ -19,19 +19,8 @@
|
|||||||
<span class="title-text-text" :title="$t('entryName')">{{$t('entryName')}}</span>
|
<span class="title-text-text" :title="$t('entryName')">{{$t('entryName')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="projectNameId">
|
<a-form-model-item class="itemModel" prop="projectNameId">
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('entryName')"
|
<a-input class="box-input" :maxLength="200" :placeholder="$t('PleaseEnter')+$t('entryName')"
|
||||||
v-model="formInline.projectNameId"></a-input>
|
v-model="formInline.projectNameId"></a-input>
|
||||||
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('modelName')"-->
|
|
||||||
<!-- @change="projectNameChange"-->
|
|
||||||
<!-- v-model="formInline.projectNameId">-->
|
|
||||||
<!-- <a-select-option v-for="(item, key) in projectNameList"-->
|
|
||||||
<!-- :key="key"-->
|
|
||||||
<!-- :value="item.id">-->
|
|
||||||
<!-- <span style="display: inline-block;width: 100%" :title=" item.projectName ">-->
|
|
||||||
<!-- {{ item.projectName}}-->
|
|
||||||
<!-- </span>-->
|
|
||||||
<!-- </a-select-option>-->
|
|
||||||
<!-- </a-select>-->
|
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -45,6 +34,7 @@
|
|||||||
<j-dict-select-tag class="box-input" v-model="formInline.brand"
|
<j-dict-select-tag class="box-input" v-model="formInline.brand"
|
||||||
:placeholder="$t('PleaseSelect')+$t('brand')"
|
:placeholder="$t('PleaseSelect')+$t('brand')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
|
@input="handleInput('brand')"
|
||||||
:triggerChange="false" :dictCode="'brand'"/>
|
:triggerChange="false" :dictCode="'brand'"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -57,8 +47,8 @@
|
|||||||
<!-- <span class="Required">*</span>-->
|
<!-- <span class="Required">*</span>-->
|
||||||
<span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>
|
<span class="title-text-text" :title="$t('configurationItem')">{{$t('configurationItem')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel-multi" prop="ipdInfo">
|
<a-form-model-item class="itemModel" prop="ipdInfo">
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('configurationItem')"
|
<a-input class="box-input" :maxLength="200" :placeholder="$t('PleaseEnter')+$t('configurationItem')"
|
||||||
v-model="formInline.ipdInfo"></a-input>
|
v-model="formInline.ipdInfo"></a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -66,12 +56,14 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('explain')">{{$t('explain')}}</span>
|
<span class="title-text-text" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="explanation">
|
<a-form-model-item class="itemModel" prop="attestationPlan">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('explain')"
|
<a-input class="box-input"
|
||||||
v-model="formInline.explanation"
|
:disabled="disabled"
|
||||||
:rows="2"/>
|
:maxLength="200"
|
||||||
|
v-model="formInline.attestationPlan"
|
||||||
|
:placeholder="$t('PleaseEnter')+$t('certificationProgram')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -86,6 +78,7 @@
|
|||||||
<a-form-model-item class="itemModel" :prop="'vehicleDevelopmentPlan'">
|
<a-form-model-item class="itemModel" :prop="'vehicleDevelopmentPlan'">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
:maxLength="200"
|
||||||
v-model="formInline.vehicleDevelopmentPlan"
|
v-model="formInline.vehicleDevelopmentPlan"
|
||||||
:placeholder="$t('PleaseEnter')+$t('dehicleDevelopmentPlan')"/>
|
:placeholder="$t('PleaseEnter')+$t('dehicleDevelopmentPlan')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -94,13 +87,13 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span>
|
<span class="title-text-text" :title="$t('explain')">{{$t('explain')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="attestationPlan">
|
<a-form-model-item class="itemModel" prop="explanation">
|
||||||
<a-input class="box-input"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('explain')"
|
||||||
:disabled="disabled"
|
v-model="formInline.explanation"
|
||||||
v-model="formInline.attestationPlan"
|
:maxLength="500"
|
||||||
:placeholder="$t('PleaseEnter')+$t('certificationProgram')"/>
|
:rows="2"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -278,8 +271,8 @@
|
|||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 200,
|
||||||
message: this.$t('configurationInformation') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('configurationInformation') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -289,8 +282,8 @@
|
|||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 200,
|
||||||
message: this.$t('dehicleDevelopmentPlan') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('dehicleDevelopmentPlan') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -307,15 +300,15 @@
|
|||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 200,
|
||||||
message: this.$t('certificationProgram') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('certificationProgram') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
vehiclePlatform: [
|
vehiclePlatform: [
|
||||||
{
|
{
|
||||||
max: 100,
|
max: 200,
|
||||||
message: this.$t('ModelPlatform') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
message: this.$t('ModelPlatform') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -324,19 +317,24 @@
|
|||||||
required: true,
|
required: true,
|
||||||
message: this.$t('entryName') + this.$t('cannotEmpty'),
|
message: this.$t('entryName') + this.$t('cannotEmpty'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 200,
|
||||||
|
message: this.$t('DigitalPlatform') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
digitalPlatform: [
|
digitalPlatform: [
|
||||||
{
|
{
|
||||||
max: 100,
|
max: 200,
|
||||||
message: this.$t('DigitalPlatform') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
message: this.$t('DigitalPlatform') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
softwareVersion: [
|
softwareVersion: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 200,
|
||||||
message: this.$t('softwareVersion') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('softwareVersion') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
+7
-31
@@ -24,41 +24,17 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('RelatedItems')">
|
<div class="title-text" :title="$t('problemType')">
|
||||||
<span>{{$t('RelatedItems')}}</span>
|
<span>{{$t('problemType')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-select allowClear
|
<j-dict-select-tag class="box-input" v-model="queryParam.problemType"
|
||||||
class="box-input"
|
:placeholder="$t('PleaseSelect')+$t('problemType')"
|
||||||
v-model="queryParam.projectId"
|
:type="'select'"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
@changeQuery="onChange"
|
||||||
showSearch
|
:triggerChange="false" :dictCode="'wen4_ti2_lei4_xing2'"/>
|
||||||
optionFilterProp="label"
|
|
||||||
:autoClearSearchValue="false"
|
|
||||||
:placeholder="$t('PleaseSelect')+$t('RelatedItems')">
|
|
||||||
<a-select-option v-for="(item, key) in projectNameList"
|
|
||||||
:key="key"
|
|
||||||
:label="item.projectName"
|
|
||||||
:value="item.id">
|
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.projectName ">
|
|
||||||
{{ item.projectName}}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<template v-if="toggleSearchStatus">
|
<template v-if="toggleSearchStatus">
|
||||||
<a-col :md="6" :sm="8">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text" :title="$t('problemType')">
|
|
||||||
<span>{{$t('problemType')}}</span>
|
|
||||||
</div>
|
|
||||||
<j-dict-select-tag class="box-input" v-model="queryParam.problemType"
|
|
||||||
:placeholder="$t('PleaseSelect')+$t('problemType')"
|
|
||||||
:type="'select'"
|
|
||||||
@changeQuery="onChange"
|
|
||||||
:triggerChange="false" :dictCode="'wen4_ti2_lei4_xing2'"/>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('statisticalNodes')">
|
<div class="title-text" :title="$t('statisticalNodes')">
|
||||||
|
|||||||
+3
@@ -104,6 +104,9 @@
|
|||||||
getAction(this.url.settingQueryForm, { projectId: this.$route.query.id }).then((res) => {
|
getAction(this.url.settingQueryForm, { projectId: this.$route.query.id }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.formInline.list = res.result ? res.result : [{}]
|
this.formInline.list = res.result ? res.result : [{}]
|
||||||
|
if(res.result==null ||res.result.length == 0){
|
||||||
|
this.formInline.list=[{}]
|
||||||
|
}
|
||||||
console.log(this.formInline.list)
|
console.log(this.formInline.list)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<a-icon @click="backClick" type="left-circle" theme="filled"
|
<a-icon @click="backClick" type="left-circle" theme="filled"
|
||||||
style="margin-right: 8px;font-size: 30px;color: #21c9cc;"/>
|
style="margin-right: 8px;font-size: 30px;color: #21c9cc;"/>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span :title='this.title'>
|
||||||
{{ this.title }}
|
{{ this.title }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -568,6 +568,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
max-width:810px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
Reference in New Issue
Block a user