布局法规技术评估\
This commit is contained in:
@@ -1114,4 +1114,7 @@ module.exports = {
|
|||||||
pleaseSelectStandardFirst:'Please select a standard first',
|
pleaseSelectStandardFirst:'Please select a standard first',
|
||||||
RelevantMaterials:'RelevantMaterials',
|
RelevantMaterials:'RelevantMaterials',
|
||||||
evaluatorFeedback:'Evaluator feedback',
|
evaluatorFeedback:'Evaluator feedback',
|
||||||
|
nameTechnicalDocument:'Name of technical document',
|
||||||
|
chapter:'chapter',
|
||||||
|
problemDescription:'Problem description',
|
||||||
}
|
}
|
||||||
@@ -1118,4 +1118,7 @@ module.exports = {
|
|||||||
standardDecompositionDocument:'带入标准分解单',
|
standardDecompositionDocument:'带入标准分解单',
|
||||||
pleaseSelectStandardFirst:'请先选择标准',
|
pleaseSelectStandardFirst:'请先选择标准',
|
||||||
evaluatorFeedback:'评估人反馈',
|
evaluatorFeedback:'评估人反馈',
|
||||||
|
nameTechnicalDocument:'技术文件名称',
|
||||||
|
chapter:'章节',
|
||||||
|
problemDescription:'问题说明',
|
||||||
}
|
}
|
||||||
+30
-16
@@ -135,20 +135,20 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<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"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('releaseDate')">{{$t('releaseDate')}}</span>
|
<!-- :title="$t('releaseDate')">{{$t('releaseDate')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" prop="issueTime">
|
<!-- <a-form-model-item class="itemModel" prop="issueTime">-->
|
||||||
<a-input class="box-input"
|
<!-- <a-input class="box-input"-->
|
||||||
:disabled="disabled"
|
<!-- :disabled="disabled"-->
|
||||||
v-model="formInline.issueTime"
|
<!-- v-model="formInline.issueTime"-->
|
||||||
:placeholder="$t('PleaseEnter')+$t('releaseDate')"/>
|
<!-- :placeholder="$t('PleaseEnter')+$t('releaseDate')"/>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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">
|
||||||
@@ -163,8 +163,6 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<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">
|
||||||
@@ -180,6 +178,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<!-- <a-row :gutter="24">-->
|
||||||
|
|
||||||
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
@@ -391,8 +392,21 @@
|
|||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
getStandData(value) {
|
getStandData(value) {
|
||||||
|
console.log(value)
|
||||||
this.formInline.titleCn = value.serial_number + ' ' + value.title
|
this.formInline.titleCn = value.serial_number + ' ' + value.title
|
||||||
this.formInline.titleEn = value.serial_number + ' ' + value.title_en
|
this.formInline.titleEn = value.serial_number + ' ' + value.title_en
|
||||||
|
this.formInline.technologyTerritory = value.technology_territory_dict
|
||||||
|
this.formInline.applyCar = value.shi4_yong4_che1_xing2_dict
|
||||||
|
this.formInline.applyScope = value.shi4_yong4_fan4_wei2_dict
|
||||||
|
this.formInline.state = value.state_dict
|
||||||
|
this.formInline.newCarImplementTime = value.xin1_che1_xing2_shi2_shi1_ri4_qi1
|
||||||
|
this.formInline.productionCarImplementTime = value.implement_time
|
||||||
|
var curPath = window.document.location.href
|
||||||
|
var pathname = window.document.location.pathname
|
||||||
|
var pos = curPath.indexOf(pathname)
|
||||||
|
var localhostPath = curPath.substring(0, pos)
|
||||||
|
this.formInline.link = localhostPath + '/docManage/library/detail?id=' + value.id
|
||||||
|
this.formInline = {...this.formInline}
|
||||||
},
|
},
|
||||||
getSysCategoryTree() {
|
getSysCategoryTree() {
|
||||||
getAction('/sys/category/getSysCategoryTree', {}).then((res) => {
|
getAction('/sys/category/getSysCategoryTree', {}).then((res) => {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
v-model="formInline.memoriesChapter"
|
v-model="formInline.memoriesChapter"
|
||||||
:maxTagCount="1"
|
:maxTagCount="1"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
@change="changeTree"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -187,6 +188,9 @@
|
|||||||
getAction('/report/lawsMonthlyReportTitleTemplateEO/list', {}).then((res) => {
|
getAction('/report/lawsMonthlyReportTitleTemplateEO/list', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.chapterContentsList = res.result || []
|
this.chapterContentsList = res.result || []
|
||||||
|
this.chapterContentsList.forEach(val => {
|
||||||
|
val.disabled = true
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.chapterContentsList = []
|
this.chapterContentsList = []
|
||||||
}
|
}
|
||||||
@@ -245,6 +249,13 @@
|
|||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
|
changeTree(value, node, extra) {
|
||||||
|
if (value.length > 1) {
|
||||||
|
value.shift()
|
||||||
|
}
|
||||||
|
this.formInline.memoriesChapter = value
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -59,31 +59,18 @@
|
|||||||
<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('questionsSuggestions')">{{$t('questionsSuggestions')}}</span>
|
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="issueOrSuggest">
|
<a-form-model-item class="itemModel" prop="issueOrSuggest">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="item.issueOrSuggest"
|
v-model="item.issueOrSuggest"
|
||||||
:placeholder="$t('PleaseEnter')+$t('questionsSuggestions')"/>
|
:placeholder="$t('PleaseEnter')+$t('problemDescription')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<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">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
|||||||
@@ -6,7 +6,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-text">
|
<div class="content-text">
|
||||||
|
<a-table
|
||||||
|
ref="table"
|
||||||
|
:loading="loading"
|
||||||
|
:pagination="false"
|
||||||
|
:scroll="{x: '100%'}"
|
||||||
|
:data-source="dataSource"
|
||||||
|
:columns="columns"
|
||||||
|
>
|
||||||
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
<uploadFile ref="uploadFile" :disabled="disabled" @uploadSuccess="uploadSuccess"></uploadFile>
|
<uploadFile ref="uploadFile" :disabled="disabled" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||||
</div>
|
</div>
|
||||||
@@ -25,36 +33,73 @@
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
feedbackDataList:{
|
|
||||||
type: Array,
|
|
||||||
default: (()=>{
|
|
||||||
return []
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formInline: {},
|
|
||||||
disabled:false,
|
disabled:false,
|
||||||
rules: {},
|
loading:false,
|
||||||
uploadIndex:'',
|
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() {
|
mounted() {
|
||||||
if (this.feedbackDataList && this.feedbackDataList.length > 0){
|
|
||||||
this.dataList = this.feedbackDataList
|
|
||||||
this.dataList = [...this.dataList]
|
|
||||||
}else{
|
|
||||||
this.dataList = [
|
|
||||||
{
|
|
||||||
relatedSection: '',
|
|
||||||
issueOrSuggest: '',
|
|
||||||
reason: '',
|
|
||||||
accessoryFile: ''
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickButtonToUpload(item,index) {
|
clickButtonToUpload(item,index) {
|
||||||
@@ -82,19 +127,6 @@
|
|||||||
this.dataList[this.uploadIndex][this.uploadName] = attIdList.join(',')
|
this.dataList[this.uploadIndex][this.uploadName] = attIdList.join(',')
|
||||||
this.dataList = [...this.dataList]
|
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>
|
</script>
|
||||||
|
|||||||
@@ -14,10 +14,15 @@
|
|||||||
/>
|
/>
|
||||||
<evaluatorFeedback
|
<evaluatorFeedback
|
||||||
v-if="isDisplay"
|
v-if="isDisplay"
|
||||||
ref="feedbackInformationRef"
|
ref="evaluatorFeedbackRef"
|
||||||
:feedbackDataList="feedbackDataList"
|
:feedbackDataList="feedbackDataList"
|
||||||
:title="$t('evaluatorFeedback')"
|
:title="$t('evaluatorFeedback')"
|
||||||
/>
|
/>
|
||||||
|
<evaluatorFeedbackList
|
||||||
|
v-if="isDisplay"
|
||||||
|
ref="evaluatorFeedbackListRef"
|
||||||
|
:title="$t('evaluatorFeedback')"
|
||||||
|
/>
|
||||||
<footerProcess
|
<footerProcess
|
||||||
v-if="isDisplay"
|
v-if="isDisplay"
|
||||||
isPreservation
|
isPreservation
|
||||||
@@ -38,6 +43,7 @@
|
|||||||
import circulationHistory from '../../components/regulatoryCirculationHistory'
|
import circulationHistory from '../../components/regulatoryCirculationHistory'
|
||||||
import footerProcess from '../../components/footerProcess'
|
import footerProcess from '../../components/footerProcess'
|
||||||
import evaluatorFeedback from '../../components/evaluatorFeedback'
|
import evaluatorFeedback from '../../components/evaluatorFeedback'
|
||||||
|
import evaluatorFeedbackList from '../../components/evaluatorFeedbackList'
|
||||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
@@ -48,10 +54,10 @@
|
|||||||
standardContent,
|
standardContent,
|
||||||
circulationHistory,
|
circulationHistory,
|
||||||
footerProcess,
|
footerProcess,
|
||||||
evaluatorFeedback
|
evaluatorFeedback,
|
||||||
|
evaluatorFeedbackList
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
title: this.$t('collectionOfRegulatoryOpinions'),
|
title: this.$t('collectionOfRegulatoryOpinions'),
|
||||||
url: {
|
url: {
|
||||||
|
|||||||
Reference in New Issue
Block a user