Merge remote-tracking branch 'origin/feature_dev_20221008_TODO' into feature_dev_20221008_TODO
This commit is contained in:
@@ -15,7 +15,15 @@
|
|||||||
<span class="title-text-text" :title="$t('complianceResults')">{{$t('complianceResults')}}</span>
|
<span class="title-text-text" :title="$t('complianceResults')">{{$t('complianceResults')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" v-if="disabled">
|
<div class="title-text-right" v-if="disabled">
|
||||||
{{formInline.complianceResult == 'Compliance'?$t('accord'):$t('nonConformity')}}
|
<span v-if="formInline.complianceResult == 'Compliance'">
|
||||||
|
{{$t('accord')}}
|
||||||
|
</span>
|
||||||
|
<span v-else-if="formInline.complianceResult == 'Non-Compliance'">
|
||||||
|
{{$t('nonConformity')}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
--
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" v-if="!disabled" :prop="!disabled?'complianceResult':''">
|
<a-form-model-item class="itemModel" v-if="!disabled" :prop="!disabled?'complianceResult':''">
|
||||||
<a-radio-group style="margin-top: 2px" class="box-input"
|
<a-radio-group style="margin-top: 2px" class="box-input"
|
||||||
@@ -51,7 +59,7 @@
|
|||||||
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :title="item.relatedSection" v-if="disabled">
|
<div class="title-text-right" :title="item.relatedSection" v-if="disabled">
|
||||||
{{item.relatedSection}}
|
{{item.relatedSection ?item.relatedSection : '--'}}
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" v-if="!disabled"
|
<a-form-model-item class="itemModel" v-if="!disabled"
|
||||||
:prop="'dataList.'+index+'.relatedSection'"
|
:prop="'dataList.'+index+'.relatedSection'"
|
||||||
@@ -73,7 +81,7 @@
|
|||||||
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :title="item.issueOrSuggest" v-if="disabled">
|
<div class="title-text-right" :title="item.issueOrSuggest" v-if="disabled">
|
||||||
{{item.issueOrSuggest}}
|
{{item.issueOrSuggest ? item.issueOrSuggest :'--'}}
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="'dataList.'+index+'.issueOrSuggest'" v-if="!disabled"
|
<a-form-model-item class="itemModel" :prop="'dataList.'+index+'.issueOrSuggest'" v-if="!disabled"
|
||||||
:rules="[{ required: true, message: $t('problemDescription') + $t('cannotEmpty'), trigger: 'blur'},
|
:rules="[{ required: true, message: $t('problemDescription') + $t('cannotEmpty'), trigger: 'blur'},
|
||||||
@@ -121,7 +129,7 @@
|
|||||||
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.relatedSection">
|
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.relatedSection">
|
||||||
{{item.relatedSection}}
|
{{item.relatedSection?item.relatedSection : '--'}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -132,7 +140,7 @@
|
|||||||
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.issueOrSuggest">
|
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.issueOrSuggest">
|
||||||
{{item.issueOrSuggest}}
|
{{item.issueOrSuggest ? item.issueOrSuggest:'--'}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
@@ -124,10 +124,16 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
lawsOpinionAssessmentResult() {
|
lawsOpinionAssessmentResult() {
|
||||||
|
let createBy = ''
|
||||||
|
if (this.$route.query.taskDefinitionKey == 'gcsfq' && this.disabled){
|
||||||
|
createBy = ''
|
||||||
|
}else{
|
||||||
|
createBy = this.userInfo().username
|
||||||
|
}
|
||||||
getAction(this.url.list, {
|
getAction(this.url.list, {
|
||||||
lawsOpinionGatherId: this.queryProject.id,
|
lawsOpinionGatherId: this.queryProject.id,
|
||||||
actiProcInstId: this.$route.query.prcId,
|
actiProcInstId: this.$route.query.prcId,
|
||||||
createBy: this.userInfo().username
|
createBy: createBy
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.feedbackDataList = res.result || []
|
this.feedbackDataList = res.result || []
|
||||||
|
|||||||
Reference in New Issue
Block a user