平台件项目库修改bug
This commit is contained in:
+1
-1
@@ -876,7 +876,7 @@
|
|||||||
this.queryPersonByProject(value.dutyTerritory.join(','))
|
this.queryPersonByProject(value.dutyTerritory.join(','))
|
||||||
}
|
}
|
||||||
console.log(value)
|
console.log(value)
|
||||||
if(value.projectCertificationInventoryEOS && value.projectCertificationInventoryEOS.length > 0){
|
if(value.projectCertificationInventoryEOS && (value.projectCertificationInventoryEOS.length > 0 || value.projectCertificationInventoryEOS == null)){
|
||||||
this.flowdisabled = true
|
this.flowdisabled = true
|
||||||
this.$refs.uploadFile.disabled = true
|
this.$refs.uploadFile.disabled = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -246,6 +246,11 @@ export default {
|
|||||||
left: 33%;
|
left: 33%;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
|
width: 60%;
|
||||||
|
overflow: hidden; /*超出部分隐藏*/
|
||||||
|
text-overflow: ellipsis; /*超出部分省略号表示*/
|
||||||
|
white-space: nowrap; /*强制单行显示*/
|
||||||
|
display: inline-block; /*转换为行内块元素*/
|
||||||
}
|
}
|
||||||
.title-text-description{
|
.title-text-description{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
+10
-38
@@ -84,25 +84,24 @@
|
|||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<!-- <span class="Required">*</span>-->
|
<!-- <span class="Required">*</span>-->
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('RelatedItems')">{{$t('RelatedItems')}}</span>
|
:title="$t('Problemstate')">{{$t('Problemstate')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="contentTemplate">
|
<a-form-model-item class="itemModel" prop="contentTemplate">
|
||||||
<a-select allowClear
|
<a-select allowClear
|
||||||
class="box-input"
|
class="box-input"
|
||||||
v-model="formInline.projectId"
|
v-model="formInline.problemState"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
showSearch
|
showSearch
|
||||||
mode="multiple"
|
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
:autoClearSearchValue="false"
|
:autoClearSearchValue="false"
|
||||||
:placeholder="$t('PleaseSelect')+$t('RelatedItems')">
|
:placeholder="$t('PleaseSelect')+$t('Problemstate')">
|
||||||
<a-select-option v-for="(item, key) in projectNameList"
|
<a-select-option v-for="(item, key) in ProblemstateList"
|
||||||
|
:label='item'
|
||||||
:key="key"
|
:key="key"
|
||||||
:label="item.projectName"
|
:value="item">
|
||||||
:value="item.id">
|
<span style="display: inline-block;width: 100%" :title=" item">
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.projectName ">
|
{{ item }}
|
||||||
{{ item.projectName}}
|
</span>
|
||||||
</span>
|
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -138,34 +137,7 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<!-- <span class="Required">*</span>-->
|
|
||||||
<span class="title-text-text"
|
|
||||||
:title="$t('Problemstate')">{{$t('Problemstate')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" prop="contentTemplate">
|
|
||||||
<a-select allowClear
|
|
||||||
class="box-input"
|
|
||||||
v-model="formInline.problemState"
|
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
|
||||||
showSearch
|
|
||||||
optionFilterProp="label"
|
|
||||||
:autoClearSearchValue="false"
|
|
||||||
:placeholder="$t('PleaseSelect')+$t('Problemstate')">
|
|
||||||
<a-select-option v-for="(item, key) in ProblemstateList"
|
|
||||||
:label='item'
|
|
||||||
:key="key"
|
|
||||||
:value="item">
|
|
||||||
<span style="display: inline-block;width: 100%" :title=" item">
|
|
||||||
{{ item }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
|||||||
+9
-37
@@ -78,25 +78,24 @@
|
|||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<!-- <span class="Required">*</span>-->
|
<!-- <span class="Required">*</span>-->
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('RelatedItems')">{{$t('RelatedItems')}}</span>
|
:title="$t('Problemstate')">{{$t('Problemstate')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="contentTemplate">
|
<a-form-model-item class="itemModel" prop="contentTemplate">
|
||||||
<a-select allowClear
|
<a-select allowClear
|
||||||
class="box-input"
|
class="box-input"
|
||||||
v-model="formInline.projectId"
|
v-model="formInline.problemState"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
showSearch
|
showSearch
|
||||||
mode="multiple"
|
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
:autoClearSearchValue="false">
|
:autoClearSearchValue="false">
|
||||||
<a-select-option v-for="(item, key) in projectNameList"
|
<a-select-option v-for="(item, key) in ProblemstateList"
|
||||||
|
:label='item'
|
||||||
:key="key"
|
:key="key"
|
||||||
:label="item.projectName"
|
:value="item">
|
||||||
:value="item.id">
|
<span style="display: inline-block;width: 100%" :title=" item">
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.projectName ">
|
{{ item }}
|
||||||
{{ item.projectName}}
|
</span>
|
||||||
</span>
|
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -133,34 +132,7 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<!-- <span class="Required">*</span>-->
|
|
||||||
<span class="title-text-text"
|
|
||||||
:title="$t('Problemstate')">{{$t('Problemstate')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" prop="contentTemplate">
|
|
||||||
<a-select allowClear
|
|
||||||
class="box-input"
|
|
||||||
v-model="formInline.problemState"
|
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
|
||||||
showSearch
|
|
||||||
:disabled="disabled"
|
|
||||||
optionFilterProp="label"
|
|
||||||
:autoClearSearchValue="false">
|
|
||||||
<a-select-option v-for="(item, key) in ProblemstateList"
|
|
||||||
:label='item'
|
|
||||||
:key="key"
|
|
||||||
:value="item">
|
|
||||||
<span style="display: inline-block;width: 100%" :title=" item">
|
|
||||||
{{ item }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
|||||||
+11
-11
@@ -230,14 +230,14 @@ export default {
|
|||||||
sorter:true,
|
sorter:true,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: this.$t('RelatedItems'),
|
// title: this.$t('RelatedItems'),
|
||||||
align: 'left',
|
// align: 'left',
|
||||||
dataIndex: 'projectName',
|
// dataIndex: 'projectName',
|
||||||
width: 170,
|
// width: 170,
|
||||||
sorter:true,
|
// sorter:true,
|
||||||
ellipsis: true
|
// ellipsis: true
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: this.$t('problemType'),
|
title: this.$t('problemType'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
@@ -404,9 +404,9 @@ export default {
|
|||||||
this.queryParam.problemType_dictText = value
|
this.queryParam.problemType_dictText = value
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
if(this.queryParam.problemType_dictText){
|
// if(this.queryParam.problemType_dictText){
|
||||||
delete this.queryParam.problemType
|
// delete this.queryParam.problemType
|
||||||
}
|
// }
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
|
|||||||
Reference in New Issue
Block a user