项目库 法规清单编辑回显
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<span>{{$t('entryName')}}</span>
|
<span>{{$t('entryName')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('entryName')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('entryName')"
|
||||||
v-model="queryParam.projectName"></a-input>
|
v-model="queryParam.projectNameId"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="12" :sm="8">
|
<a-col :md="12" :sm="8">
|
||||||
|
|||||||
@@ -16,16 +16,16 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
|
<span class='detail-text' :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
|
||||||
<span class="title-text-text" :title="form.vdr">
|
<span class="title-text-text" :title="form.serialNumber">
|
||||||
{{form.vdr}}</span>
|
{{form.serialNumber}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('title')">{{$t('title')}}</span>
|
<span class='detail-text' :title="$t('title')">{{$t('title')}}</span>
|
||||||
<span class="title-text-text" :title="form.summary">
|
<span class="title-text-text" :title="form.title">
|
||||||
{{form.summary}}</span>
|
{{form.title}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('subtitle')">{{$t('subtitle')}}</span>
|
<span class='detail-text' :title="$t('subtitle')">{{$t('subtitle')}}</span>
|
||||||
<span class="title-text-text" :title="form.homologationImpact">
|
<span class="title-text-text" :title="form.subtitle">
|
||||||
{{form.homologationImpact}}</span>
|
{{form.subtitle}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -49,14 +49,14 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<div v-for='(item,index) in dataList' :key='index'>
|
<div v-for='(item,index) in dataList' :key='index'>
|
||||||
<div class='title' :title="item.title">{{item.title}}</div>
|
<div class='title' :title="item.projectName">{{item.projectName}}</div>
|
||||||
<div style='height:100%'>
|
<div style='height:100%'>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('ProcessStatus')">{{$t('ProcessStatus')}}</span>
|
<span class='detail-text' :title="$t('ProcessStatus')">{{$t('ProcessStatus')}}</span>
|
||||||
<span class="title-text-text" :title="item.ProcessStatus">
|
<span class="title-text-text" :title="flag == 'design'?item.designFlowStatusName : item.verifyFlowStatusName">
|
||||||
{{item.ProcessStatus}}</span>
|
{{flag == 'design'?item.designFlowStatusName : item.verifyFlowStatusName}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -66,15 +66,15 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
<span class='detail-text' :title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
||||||
<span class="title-text-text" :title="item.Sponsor">
|
<span class="title-text-text" :title="item.createBy">
|
||||||
{{item.Sponsor}}</span>
|
{{item.createBy}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
<span class='detail-text' :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
||||||
<span class="title-text-text" :title="item.personLiable">
|
<span class="title-text-text" :title="flag == 'design'?item.designDutyIdName : item.verifyDutyIdName">
|
||||||
{{item.personLiable}}</span>
|
{{flag == 'design'?item.designDutyIdName : item.verifyDutyIdName}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -82,15 +82,15 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('statisticalNodes')">{{$t('statisticalNodes')}}</span>
|
<span class='detail-text' :title="$t('statisticalNodes')">{{$t('statisticalNodes')}}</span>
|
||||||
<span class="title-text-text" :title="item.statisticalNodes">
|
<span class="title-text-text" :title="item.dutyDepart">
|
||||||
{{item.statisticalNodes}}</span>
|
{{item.dutyDepart}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
<span class='detail-text' :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
||||||
<span class="title-text-text" :title="item.areaOfResponsibility">
|
<span class="title-text-text" :title="item.dutyTerritory_dictText">
|
||||||
{{item.areaOfResponsibility}}</span>
|
{{item.dutyTerritory_dictText}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -98,15 +98,15 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>
|
<span class='detail-text' :title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>
|
||||||
<span class="title-text-text" :title="item.deliverableTemplate">
|
<a style='color:#00B3BE' class="title-text-text text-operation" @click="down(flag == 'design'?item.designDeliverableTemplate : item.verifyDeliverableTemplate),flag == 'design'?item.designDeliverableTemplateName : item.verifyDeliverableTemplateName" :title="flag == 'design'?item.designDeliverableTemplateName : item.verifyDeliverableTemplateName">
|
||||||
{{item.deliverableTemplate}}</span>
|
{{flag == 'design'?item.designDeliverableTemplateName : item.verifyDeliverableTemplateName }}</a>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class='detail-box'>
|
<div class='detail-box'>
|
||||||
<span class='detail-text' :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
<span class='detail-text' :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
||||||
<span class="title-text-text" :title="item.typeOfDeliverables">
|
<span class="title-text-text" :title="flag == 'design'?item.designDeliverableTypeName : item.verifyDeliverableTypeName">
|
||||||
{{item.typeOfDeliverables}}</span>
|
{{flag == 'design'?item.designDeliverableTypeName : item.verifyDeliverableTypeName}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -114,8 +114,8 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class='detail-box' style='display:flex'>
|
<div class='detail-box' style='display:flex'>
|
||||||
<span class='detail-text' :title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>
|
<span class='detail-text' :title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>
|
||||||
<span class="title-text-description" :title="item.descriptionDeliverables">
|
<span class="title-text-description" :title="flag == 'design'?item.designRemark : item.verifyRemark">
|
||||||
{{item.descriptionDeliverables}}</span>
|
{{flag == 'design'?item.designRemark : item.verifyRemark}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction,downloadFile } from '@/api/manage'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
@@ -153,52 +153,19 @@ export default {
|
|||||||
projectNameList: [],
|
projectNameList: [],
|
||||||
DeliverableTreeList: [],
|
DeliverableTreeList: [],
|
||||||
form:{
|
form:{
|
||||||
VDR:'',
|
serialNumber:'',
|
||||||
theme:'',
|
title:'',
|
||||||
authenticationimpact:'',
|
subtitle:'',
|
||||||
influencestatuteCn:'',
|
applicableSupplement:'',
|
||||||
influencestatuteEu:'',
|
influencestatuteEu:'',
|
||||||
},
|
},
|
||||||
dataList:[
|
dataList:[],
|
||||||
{
|
|
||||||
title:'平台件项目',
|
|
||||||
ProcessStatus:'1',
|
|
||||||
Sponsor:'1',
|
|
||||||
personLiable:'1',
|
|
||||||
statisticalNodes:'1',
|
|
||||||
areaOfResponsibility:'1',
|
|
||||||
deliverableTemplate:'1',
|
|
||||||
typeOfDeliverables:'1',
|
|
||||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title:'平台件项目2',
|
|
||||||
ProcessStatus:'1',
|
|
||||||
Sponsor:'1',
|
|
||||||
personLiable:'1',
|
|
||||||
statisticalNodes:'1',
|
|
||||||
areaOfResponsibility:'1',
|
|
||||||
deliverableTemplate:'1',
|
|
||||||
typeOfDeliverables:'1',
|
|
||||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title:'平台件项目2',
|
|
||||||
ProcessStatus:'1',
|
|
||||||
Sponsor:'1',
|
|
||||||
personLiable:'1',
|
|
||||||
statisticalNodes:'1',
|
|
||||||
areaOfResponsibility:'1',
|
|
||||||
deliverableTemplate:'1',
|
|
||||||
typeOfDeliverables:'1',
|
|
||||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
|
||||||
}
|
|
||||||
],
|
|
||||||
url:{
|
url:{
|
||||||
addModel:''
|
addModel:''
|
||||||
},
|
},
|
||||||
record:{},
|
record:{},
|
||||||
car:'',
|
car:'',
|
||||||
|
flag:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -206,13 +173,24 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
addModel(record,val) {
|
addModel(row, name) {
|
||||||
this.form={}
|
this.form.serialNumber = row.serialNumber
|
||||||
|
this.form.title = row.title
|
||||||
|
this.form.subtitle = row.subtitle
|
||||||
|
this.form.applicableSupplement = row.applicableSupplement
|
||||||
|
this.flag = name == this.$t('designComplianceProcess') ? 'design' :'verify'
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.confirmLoading = false
|
this.confirmLoading = true
|
||||||
console.log('555',record);
|
getAction('/project/projectLawsInventoryEO/queryPlatformList', { lawsInventoryId: row.id , flowFlag:this.flag}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.dataList = res.result || []
|
||||||
|
this.confirmLoading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
|
this.form = {}
|
||||||
|
this.dataList = []
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
/** 上传文件的回调 */
|
/** 上传文件的回调 */
|
||||||
@@ -227,9 +205,9 @@ export default {
|
|||||||
this.formInline[this.uploadName] = attIdList.join(',')
|
this.formInline[this.uploadName] = attIdList.join(',')
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
},
|
},
|
||||||
isEdit(){
|
down(id,name){
|
||||||
this.disabled=false
|
downloadFile('/sys/common/downLoadFile', name, { id: id })
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -273,12 +273,6 @@
|
|||||||
<a-icon type="setting"/>
|
<a-icon type="setting"/>
|
||||||
{{ $t('Associatedplatform') }}
|
{{ $t('Associatedplatform') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="a"
|
|
||||||
v-if="roleSwitchingCode == 0"
|
|
||||||
class="operator-text-title">
|
|
||||||
<a-icon type="setting"/>
|
|
||||||
{{ $t('Associatedplatform1') }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="operator-text" style="position: relative">
|
<div class="operator-text" style="position: relative">
|
||||||
@@ -1832,7 +1826,11 @@
|
|||||||
primaryKeyId: row.primaryKeyId
|
primaryKeyId: row.primaryKeyId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), name)
|
if(row.projectLawsInventoryEOS && row.projectLawsInventoryEOS.length > 1){
|
||||||
|
this.$refs.flowstatusdetialRef.addModel(row, name)
|
||||||
|
}else{
|
||||||
|
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), name)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -1963,6 +1961,7 @@
|
|||||||
if(this.selectedRowKeys && this.selectedRowKeys.length > 0){
|
if(this.selectedRowKeys && this.selectedRowKeys.length > 0){
|
||||||
this.detailedWarningList = []
|
this.detailedWarningList = []
|
||||||
let dataSource = []
|
let dataSource = []
|
||||||
|
let status = ''
|
||||||
for (let i = 0; i < this.dataSource.length; i++) {
|
for (let i = 0; i < this.dataSource.length; i++) {
|
||||||
for (let j = 0; j < this.selectedRowKeys.length; j++) {
|
for (let j = 0; j < this.selectedRowKeys.length; j++) {
|
||||||
if (this.dataSource[i].id == this.selectedRowKeys[j]) {
|
if (this.dataSource[i].id == this.selectedRowKeys[j]) {
|
||||||
@@ -1974,12 +1973,17 @@
|
|||||||
if (dataSource[i].verifyFlowStatus == 'List to be released' &&
|
if (dataSource[i].verifyFlowStatus == 'List to be released' &&
|
||||||
dataSource[i].designFlowStatus == 'List to be released') {
|
dataSource[i].designFlowStatus == 'List to be released') {
|
||||||
flag = '1'
|
flag = '1'
|
||||||
this.$refs.associatedplatRef.transferModel(flag,type,this.selectedRowKeys.join(','))
|
status = '1'
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('unpublishedregulationsselected'))
|
status = '2'
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log(status)
|
||||||
|
if(status == '1'){
|
||||||
|
this.$refs.associatedplatRef.transferModel(flag,type,this.selectedRowKeys.join(','))
|
||||||
|
}else{
|
||||||
|
this.$message.warning(this.$t('unpublishedregulationsselected'))
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
flag = '2'
|
flag = '2'
|
||||||
this.selectedRowKeys = this.dataSource.map(val => val.id)
|
this.selectedRowKeys = this.dataSource.map(val => val.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user