布局法规技术评估\
This commit is contained in:
@@ -59,31 +59,18 @@
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('questionsSuggestions')">{{$t('questionsSuggestions')}}</span>
|
||||
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="issueOrSuggest">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model="item.issueOrSuggest"
|
||||
:placeholder="$t('PleaseEnter')+$t('questionsSuggestions')"/>
|
||||
:placeholder="$t('PleaseEnter')+$t('problemDescription')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('reason')">{{$t('reason')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model="item.reason"
|
||||
:placeholder="$t('PleaseEnter')+$t('reason')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
|
||||
@@ -6,7 +6,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-text">
|
||||
|
||||
<a-table
|
||||
ref="table"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%'}"
|
||||
:data-source="dataSource"
|
||||
:columns="columns"
|
||||
>
|
||||
</a-table>
|
||||
</div>
|
||||
<uploadFile ref="uploadFile" :disabled="disabled" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||
</div>
|
||||
@@ -25,36 +33,73 @@
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
feedbackDataList:{
|
||||
type: Array,
|
||||
default: (()=>{
|
||||
return []
|
||||
})
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
formInline: {},
|
||||
disabled:false,
|
||||
rules: {},
|
||||
loading:false,
|
||||
uploadIndex:'',
|
||||
dataList: []
|
||||
dataSource:[],
|
||||
columns:[
|
||||
{
|
||||
title: this.$t('clauseNo'),
|
||||
dataIndex: 'items_num',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('clauseName'),
|
||||
dataIndex: 'items_name',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('clauseContent'),
|
||||
dataIndex: 'iterms_conditions',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('evaluationMethod'),
|
||||
dataIndex: 'evaluationMethod',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('nameTechnicalDocument'),
|
||||
dataIndex: 'nameTechnicalDocument',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('chapter'),
|
||||
dataIndex: 'chapter',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('opinion'),
|
||||
dataIndex: 'opinion',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('enclosure'),
|
||||
dataIndex: 'enclosure',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('complianceResults'),
|
||||
dataIndex: 'complianceResults',
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.feedbackDataList && this.feedbackDataList.length > 0){
|
||||
this.dataList = this.feedbackDataList
|
||||
this.dataList = [...this.dataList]
|
||||
}else{
|
||||
this.dataList = [
|
||||
{
|
||||
relatedSection: '',
|
||||
issueOrSuggest: '',
|
||||
reason: '',
|
||||
accessoryFile: ''
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
clickButtonToUpload(item,index) {
|
||||
@@ -82,19 +127,6 @@
|
||||
this.dataList[this.uploadIndex][this.uploadName] = attIdList.join(',')
|
||||
this.dataList = [...this.dataList]
|
||||
},
|
||||
addData() {
|
||||
this.dataList.push({
|
||||
relatedSection: '',
|
||||
issueOrSuggest: '',
|
||||
reason: '',
|
||||
accessoryFile: ''
|
||||
})
|
||||
this.dataList = [...this.dataList]
|
||||
},
|
||||
deleteData() {
|
||||
this.dataList.pop()
|
||||
this.dataList = [...this.dataList]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -14,10 +14,15 @@
|
||||
/>
|
||||
<evaluatorFeedback
|
||||
v-if="isDisplay"
|
||||
ref="feedbackInformationRef"
|
||||
ref="evaluatorFeedbackRef"
|
||||
:feedbackDataList="feedbackDataList"
|
||||
:title="$t('evaluatorFeedback')"
|
||||
/>
|
||||
<evaluatorFeedbackList
|
||||
v-if="isDisplay"
|
||||
ref="evaluatorFeedbackListRef"
|
||||
:title="$t('evaluatorFeedback')"
|
||||
/>
|
||||
<footerProcess
|
||||
v-if="isDisplay"
|
||||
isPreservation
|
||||
@@ -38,6 +43,7 @@
|
||||
import circulationHistory from '../../components/regulatoryCirculationHistory'
|
||||
import footerProcess from '../../components/footerProcess'
|
||||
import evaluatorFeedback from '../../components/evaluatorFeedback'
|
||||
import evaluatorFeedbackList from '../../components/evaluatorFeedbackList'
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import moment from 'moment'
|
||||
import { mapGetters } from 'vuex'
|
||||
@@ -48,10 +54,10 @@
|
||||
standardContent,
|
||||
circulationHistory,
|
||||
footerProcess,
|
||||
evaluatorFeedback
|
||||
evaluatorFeedback,
|
||||
evaluatorFeedbackList
|
||||
},
|
||||
data() {
|
||||
|
||||
return {
|
||||
title: this.$t('collectionOfRegulatoryOpinions'),
|
||||
url: {
|
||||
|
||||
Reference in New Issue
Block a user