Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -1240,4 +1240,5 @@ module.exports = {
|
|||||||
uploadOnly:'Upload only',
|
uploadOnly:'Upload only',
|
||||||
turnOnAutoMatch:'Turn on auto match',
|
turnOnAutoMatch:'Turn on auto match',
|
||||||
Adjustareasofresponsibility:'Adjust areas of responsibility',
|
Adjustareasofresponsibility:'Adjust areas of responsibility',
|
||||||
|
regulatoryTechnicalAssessment:'Regulatory Technical Assessment',
|
||||||
}
|
}
|
||||||
@@ -1343,4 +1343,5 @@ module.exports = {
|
|||||||
uploadOnly:'只能上传',
|
uploadOnly:'只能上传',
|
||||||
turnOnAutoMatch:'打开自动匹配',
|
turnOnAutoMatch:'打开自动匹配',
|
||||||
Adjustareasofresponsibility:'调整责任领域',
|
Adjustareasofresponsibility:'调整责任领域',
|
||||||
|
regulatoryTechnicalAssessment:'法规技术评估',
|
||||||
}
|
}
|
||||||
+5
-5
@@ -15,7 +15,7 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12" style="text-align: right">
|
<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"
|
||||||
@@ -292,15 +292,15 @@
|
|||||||
rules: {
|
rules: {
|
||||||
titleCn: [
|
titleCn: [
|
||||||
{
|
{
|
||||||
max: 100,
|
max: 500,
|
||||||
message: this.$t('title') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
message: this.$t('title') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
titleEn: [
|
titleEn: [
|
||||||
{
|
{
|
||||||
max: 100,
|
max: 500,
|
||||||
message: this.$t('englishTitle') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
message: this.$t('englishTitle') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
+19
-5
@@ -48,7 +48,7 @@
|
|||||||
{{selectedRowKeysRecord[0] ? selectedRowKeysRecord[0].serialNumber :''}}
|
{{selectedRowKeysRecord[0] ? selectedRowKeysRecord[0].serialNumber :''}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" v-if="isTrue">
|
<div class="title-text-right" v-if="isTrue">
|
||||||
<span @click="standardDecompositionDocumentClick">
|
<span :title="$t('standardDecompositionDocument')" @click="standardDecompositionDocumentClick">
|
||||||
{{$t('standardDecompositionDocument')}}
|
{{$t('standardDecompositionDocument')}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('processBackground')">{{$t('processBackground')}}</span>
|
<span class="title-text-text" :title="$t('processBackground')">{{$t('processBackground')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="taskExplain">
|
<a-form-model-item class="itemModel" prop="processBackground">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('processBackground')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('processBackground')"
|
||||||
v-model="formInline.processBackground"
|
v-model="formInline.processBackground"
|
||||||
:disabled="!whetherDisplay"
|
:disabled="!whetherDisplay"
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('remarks')">{{$t('remarks')}}</span>
|
<span class="title-text-text" :title="$t('remarks')">{{$t('remarks')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="remarks">
|
<a-form-model-item class="itemModel" prop="remark">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('remarks')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('remarks')"
|
||||||
v-model="formInline.remark"
|
v-model="formInline.remark"
|
||||||
:disabled="!whetherDisplay"
|
:disabled="!whetherDisplay"
|
||||||
@@ -124,7 +124,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">*</span>-->
|
||||||
<span class="title-text-text" :title="$t('evaluationMethod')">{{$t('evaluationMethod')}}</span>
|
<span class="title-text-text" :title="$t('evaluationMethod')">{{$t('evaluationMethod')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="gatherResult">
|
<a-form-model-item class="itemModel" prop="gatherResult">
|
||||||
@@ -239,7 +239,21 @@
|
|||||||
message: this.$t('Assessor') + this.$t('cannotEmpty'),
|
message: this.$t('Assessor') + this.$t('cannotEmpty'),
|
||||||
trigger: 'change'
|
trigger: 'change'
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
processBackground:[
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('processBackground') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
remark:[
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('remarks') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
|
],
|
||||||
},
|
},
|
||||||
searchParmes: {},
|
searchParmes: {},
|
||||||
selectedRowKeysRecord: [],
|
selectedRowKeysRecord: [],
|
||||||
|
|||||||
@@ -174,7 +174,7 @@
|
|||||||
toggleSearchStatus: false,
|
toggleSearchStatus: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
serialNumber:'',
|
serialNumber: '',
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '2',
|
value: '2',
|
||||||
name: this.$t('not')
|
name: this.$t('notOnlyRz')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
gatherResultList: [
|
gatherResultList: [
|
||||||
@@ -215,12 +215,14 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -306,7 +308,7 @@
|
|||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
SizeChange(page,pageSize) {
|
SizeChange(page, pageSize) {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.pageSize = pageSize
|
this.pageSize = pageSize
|
||||||
this.getList()
|
this.getList()
|
||||||
@@ -321,7 +323,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
serialNumber: this.$route.query.serialNumber?this.$route.query.serialNumber:'',
|
serialNumber: this.$route.query.serialNumber ? this.$route.query.serialNumber : '',
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
@@ -372,9 +374,9 @@
|
|||||||
id: row.id,
|
id: row.id,
|
||||||
processBackground: row.processBackground,
|
processBackground: row.processBackground,
|
||||||
serialNumber: row.serialNumber,
|
serialNumber: row.serialNumber,
|
||||||
lawsTechnologyEvaluationId:row.id,
|
lawsTechnologyEvaluationId: row.id,
|
||||||
standId: row.standId,
|
standId: row.standId,
|
||||||
remark:row.remark
|
remark: row.remark
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
@@ -385,9 +387,9 @@
|
|||||||
id: row.id,
|
id: row.id,
|
||||||
processBackground: row.processBackground,
|
processBackground: row.processBackground,
|
||||||
serialNumber: row.serialNumber,
|
serialNumber: row.serialNumber,
|
||||||
lawsTechnologyEvaluationId:row.id,
|
lawsTechnologyEvaluationId: row.id,
|
||||||
standId: row.standId,
|
standId: row.standId,
|
||||||
remark:row.remark
|
remark: row.remark
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{title}}
|
{{title}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-text">
|
<div class="content-text-text">
|
||||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
}]">
|
}]">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="item.relatedSection"
|
v-model.trim="item.relatedSection"
|
||||||
:placeholder="$t('PleaseEnter')+$t('relevantSections')"/>
|
:placeholder="$t('PleaseEnter')+$t('relevantSections')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
}]">
|
}]">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="item.issueOrSuggest"
|
v-model.trim="item.issueOrSuggest"
|
||||||
:placeholder="$t('PleaseEnter')+$t('problemDescription')"/>
|
:placeholder="$t('PleaseEnter')+$t('problemDescription')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -185,8 +185,8 @@
|
|||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 1000,
|
||||||
message: this.$t('reviewComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('reviewComments') + this.$t('cannotExceed') + 1000 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{title}}
|
{{title}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-text">
|
<div class="content-text-text">
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('collectionOfRegulatoryOpinions'),
|
title: this.$t('regulatoryTechnicalAssessment'),
|
||||||
url: {
|
url: {
|
||||||
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
|
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
|
||||||
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationResultEO/queryEvaluationResultAndComplianceResult'
|
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationResultEO/queryEvaluationResultAndComplianceResult'
|
||||||
@@ -141,6 +141,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
document.title = this.$t('regulatoryTechnicalAssessment')
|
||||||
this.isDisplay = false
|
this.isDisplay = false
|
||||||
if (this.$route.query.taskDefinitionKey == 'pgrqr') {
|
if (this.$route.query.taskDefinitionKey == 'pgrqr') {
|
||||||
this.isPreservation = true
|
this.isPreservation = true
|
||||||
|
|||||||
@@ -100,6 +100,7 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serial_number',
|
dataIndex: 'serial_number',
|
||||||
|
ellipsis: true,
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'serial_number' }
|
scopedSlots: { customRender: 'serial_number' }
|
||||||
},
|
},
|
||||||
@@ -107,6 +108,7 @@
|
|||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
|
ellipsis: true,
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
@@ -182,11 +184,12 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
beforeDestroy(){
|
beforeDestroy() {
|
||||||
eventBUs.$off('searchQuery')
|
eventBUs.$off('searchQuery')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
callback(tab) {
|
callback(tab) {
|
||||||
|
this.selectedRowKeys = []
|
||||||
this.activeTab = tab
|
this.activeTab = tab
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
@@ -203,22 +206,26 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleExport() {
|
handleExport() {
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
let text = ''
|
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||||
let flag
|
let text = ''
|
||||||
if (this.activeTab == this.$t('ImplementationDate')) {
|
let flag
|
||||||
flag = 0
|
if (this.activeTab == this.$t('ImplementationDate')) {
|
||||||
text = this.$t('ImplementationDate')
|
flag = 0
|
||||||
|
text = this.$t('ImplementationDate')
|
||||||
|
} else {
|
||||||
|
text = this.$t('vehicleInProductionDate')
|
||||||
|
flag = 1
|
||||||
|
}
|
||||||
|
let query = {
|
||||||
|
id: selectedRowKeys.join(','),
|
||||||
|
...this.searchParmes,
|
||||||
|
flag: flag
|
||||||
|
}
|
||||||
|
downloadFile(this.url.exportData, text + '.xls', query, this.Deselect)
|
||||||
} else {
|
} else {
|
||||||
text = this.$t('vehicleInProductionDate')
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
flag = 1
|
|
||||||
}
|
}
|
||||||
let query = {
|
|
||||||
id: selectedRowKeys.join(','),
|
|
||||||
...this.searchParmes,
|
|
||||||
flag: flag
|
|
||||||
}
|
|
||||||
downloadFile(this.url.exportData, text + '.xls', query, this.Deselect)
|
|
||||||
},
|
},
|
||||||
Deselect() {
|
Deselect() {
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
@@ -298,7 +305,7 @@
|
|||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
SizeChange(page,pageSize) {
|
SizeChange(page, pageSize) {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.pageSize = pageSize
|
this.pageSize = pageSize
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user