Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -607,13 +607,13 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: this.$t('operation'),
|
// title: this.$t('operation'),
|
||||||
align: 'left',
|
// align: 'left',
|
||||||
fixed: 'right',
|
// fixed: 'right',
|
||||||
width: 240,
|
// width: 240,
|
||||||
scopedSlots: { customRender: 'operation' }
|
// scopedSlots: { customRender: 'operation' }
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
columnsAll: [],
|
columnsAll: [],
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
@@ -1075,7 +1075,11 @@
|
|||||||
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
|
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.columnsAll = res.result
|
if(res.result && res.result.length > 0){
|
||||||
|
this.columnsAll = res.result
|
||||||
|
}else{
|
||||||
|
this.columnsAll = this.column
|
||||||
|
}
|
||||||
for (let j = 0; j < this.columnsAll.length; j++) {
|
for (let j = 0; j < this.columnsAll.length; j++) {
|
||||||
for (let i = 0; i < this.column.length; i++) {
|
for (let i = 0; i < this.column.length; i++) {
|
||||||
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
||||||
@@ -1122,7 +1126,7 @@
|
|||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 160,
|
width: 240,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
if (this.queryParam.operatorType == 'queryListingToConfirmStatistics' || this.queryParam.operatorType == 'queryTaskToConfirmStatistics'){
|
if (this.queryParam.operatorType == 'queryListingToConfirmStatistics' || this.queryParam.operatorType == 'queryTaskToConfirmStatistics'){
|
||||||
item.isListing = '1'
|
item.isListing = '1'
|
||||||
}
|
}
|
||||||
this.$emit('responsibility', item)
|
// this.$emit('responsibility', item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,13 +15,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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
|
<span class="title-text-text" :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="serialNumber">
|
<a-form-model-item class="itemModel" prop="serialNumber">
|
||||||
<a-input @click.native="serialNumberClick"
|
<a-input @click.native="serialNumberClick"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
|
:title="formInline.serialNumber"
|
||||||
:placeholder="$t('PleaseSelect')+$t('regulationNo')"
|
:placeholder="$t('PleaseSelect')+$t('regulationNo')"
|
||||||
v-model="formInline.serialNumber"></a-input>
|
v-model="formInline.serialNumber"></a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
<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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
<span class="title-text-text" :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
||||||
@@ -48,12 +49,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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="'WVTA ID'">WVTA ID</span>
|
<span class="title-text-text" :title="'WVTA ID'">WVTA ID</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="wvtaId">
|
<a-form-model-item class="itemModel" prop="wvtaId">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
:title="formInline.wvtaId"
|
||||||
v-model="formInline.wvtaId"
|
v-model="formInline.wvtaId"
|
||||||
:placeholder="$t('PleaseEnter')+'WVTA ID'"/>
|
:placeholder="$t('PleaseEnter')+'WVTA ID'"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -64,13 +66,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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="$t('category')">{{$t('category')}}</span>
|
<span class="title-text-text" :title="$t('category')">{{$t('category')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="category">
|
<a-form-model-item class="itemModel" prop="category">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
v-model="formInline.category"
|
v-model="formInline.category"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
:title="formInline.category"
|
||||||
:placeholder="$t('PleaseEnter')+$t('category')" />
|
:placeholder="$t('PleaseEnter')+$t('category')" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -78,13 +81,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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="$t('inspectionItems')">{{$t('inspectionItems')}}</span>
|
<span class="title-text-text" :title="$t('inspectionItems')">{{$t('inspectionItems')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="inspectionItem">
|
<a-form-model-item class="itemModel" prop="inspectionItem">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
v-model="formInline.inspectionItem"
|
v-model="formInline.inspectionItem"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
:title="formInline.inspectionItem"
|
||||||
:placeholder="$t('PleaseEnter')+$t('inspectionItems')"/>
|
:placeholder="$t('PleaseEnter')+$t('inspectionItems')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -94,12 +98,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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</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" prop="configItem">
|
<a-form-model-item class="itemModel" prop="configItem">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
v-model="formInline.configItem"
|
v-model="formInline.configItem"
|
||||||
|
:title="formInline.configItem"
|
||||||
:placeholder="$t('PleaseEnter')+$t('configurationItem')"
|
:placeholder="$t('PleaseEnter')+$t('configurationItem')"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
/>
|
/>
|
||||||
@@ -109,7 +114,7 @@
|
|||||||
<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="Required">*</span>
|
<span class="Required" v-if="!disabled">*</span>
|
||||||
<span class="title-text-text" :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
<span class="title-text-text" :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel"
|
<a-form-model-item class="itemModel"
|
||||||
@@ -264,7 +269,7 @@ export default {
|
|||||||
})
|
})
|
||||||
if(data == 1) {
|
if(data == 1) {
|
||||||
this.title = this.$t('view')
|
this.title = this.$t('view')
|
||||||
this.disabled = true,
|
this.disabled = true
|
||||||
this.button = false
|
this.button = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -414,4 +419,10 @@ export default {
|
|||||||
border: 1px #00B3BE solid;
|
border: 1px #00B3BE solid;
|
||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
}
|
}
|
||||||
|
::v-deep .ant-input-disabled{
|
||||||
|
color: #040B29;
|
||||||
|
}
|
||||||
|
::v-deep .ant-select-disabled .ant-select-selection-selected-value{
|
||||||
|
color: #040B29!important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user