修改项目库平台件
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div style='margin-bottom: 30px'>
|
||||
<experienceReferenceList ref="experienceReferenceListRef"/>
|
||||
<div style='margin-bottom: 30px;margin-top: 20px'>
|
||||
<a-table
|
||||
v-if='dataList && dataList.length > 0'
|
||||
:components="drag(columns,'columns')"
|
||||
@@ -61,7 +62,8 @@
|
||||
<span slot="ProcessStatus"
|
||||
:title="flag == 'design'?record.designFlowStatusName : record.verifyFlowStatusName"
|
||||
slot-scope="text,record">
|
||||
<a @click="processStatusClick(record,flag == 'design'?$t('designComplianceProcess') : $t('validationComplianceProcess'))">
|
||||
<a
|
||||
@click="processStatusClick(record,flag == 'design'?$t('designComplianceProcess') : $t('validationComplianceProcess'))">
|
||||
{{flag == 'design'?record.designFlowStatusName : record.verifyFlowStatusName}}
|
||||
</a>
|
||||
</span>
|
||||
@@ -198,12 +200,14 @@
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
import designCompliance from '../../toDoCenter/projectRegulationTasks/components/designCompliance'
|
||||
import { mapGetters } from 'vuex'
|
||||
import experienceReferenceList from '@/components/experienceReferenceList/index'
|
||||
|
||||
export default {
|
||||
name: 'addModel',
|
||||
components: {
|
||||
uploadFile,
|
||||
designCompliance
|
||||
designCompliance,
|
||||
experienceReferenceList
|
||||
},
|
||||
mixins: [ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
@@ -281,7 +285,7 @@
|
||||
ellipsis: true,
|
||||
width: 120,
|
||||
scopedSlots: { customRender: 'ProcessStatus' }
|
||||
},
|
||||
}
|
||||
],
|
||||
loading: false,
|
||||
visible: false,
|
||||
@@ -320,6 +324,9 @@
|
||||
this.flag = name == this.$t('designComplianceProcess') ? 'design' : 'verify'
|
||||
this.visible = true
|
||||
this.confirmLoading = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.experienceReferenceListRef.getData(row.serialNumber)
|
||||
})
|
||||
getAction('/project/projectLawsInventoryEO/queryPlatformList', {
|
||||
lawsInventoryId: row.id,
|
||||
flowFlag: this.flag
|
||||
@@ -350,7 +357,7 @@
|
||||
down(id, name) {
|
||||
downloadFile('/sys/common/downLoadFile', name, { id: id })
|
||||
},
|
||||
processStatusClick(row, name){
|
||||
processStatusClick(row, name) {
|
||||
let query = {}
|
||||
let TaskKey = ''
|
||||
if (name == this.$t('designComplianceProcess')) {
|
||||
@@ -411,7 +418,7 @@
|
||||
}
|
||||
}
|
||||
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), name)
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -588,6 +588,7 @@
|
||||
}
|
||||
|
||||
.itemModel-text-box {
|
||||
width: 100%;
|
||||
white-space: pre-wrap;
|
||||
height: 200px;
|
||||
display: inline-block;
|
||||
|
||||
@@ -121,6 +121,9 @@
|
||||
<!-- </div>-->
|
||||
<a-tooltip placement="topLeft" overlayClassName="tooltipColor">
|
||||
<template slot="title">
|
||||
<div>
|
||||
{{ val.name }}
|
||||
</div>
|
||||
<span>{{ val.time.slice(0, 11) }}</span>
|
||||
</template>
|
||||
<img v-if="val.status == 1" src="../../../assets/heiTop.png" class="process-content-left"
|
||||
@@ -143,6 +146,9 @@
|
||||
</div>
|
||||
<a-tooltip placement="topLeft" overlayClassName="tooltipColor">
|
||||
<template slot="title">
|
||||
<div>
|
||||
{{ val.name }}
|
||||
</div>
|
||||
<span>{{ val.time.slice(0, 11) }}</span>
|
||||
</template>
|
||||
<img @click="statusClick(val,item.projectInfo)" v-if="val.status == 1"
|
||||
|
||||
+8
-3
@@ -32,6 +32,7 @@
|
||||
:standardContentQuery="queryProject"
|
||||
/>
|
||||
<!-- :class="{'circulationHistory':this.queryData.isDisplay,'circulationHistoryOne':!this.queryData.isDisplay}"-->
|
||||
<experienceReferenceList ref="experienceReferenceListRef"/>
|
||||
<div>
|
||||
<circulationHistory
|
||||
v-if="isDisplay"
|
||||
@@ -39,7 +40,6 @@
|
||||
:queryProject="queryData"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!--:class="{'drawer-review':isDrawerClass,
|
||||
'drawer-review-One':!isDrawerClass}"-->
|
||||
<div v-if="this.queryData.isDisplay" class="drawer-review">
|
||||
@@ -76,6 +76,7 @@
|
||||
import reviewedByThePersonInCharge from './reviewedByThePersonInCharge'
|
||||
import circulationHistory from './circulationHistory'
|
||||
import referenceDeliverablesList from './referenceDeliverablesList'
|
||||
import experienceReferenceList from '@/components/experienceReferenceList/index'
|
||||
import { getAction, postAction, deleteAction, downloadFile, putAction } from '@/api/manage'
|
||||
|
||||
import { mapGetters } from 'vuex'
|
||||
@@ -88,7 +89,8 @@
|
||||
reviewedByThePersonInCharge,
|
||||
footerProcess,
|
||||
circulationHistory,
|
||||
referenceDeliverablesList
|
||||
referenceDeliverablesList,
|
||||
experienceReferenceList
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -295,9 +297,12 @@
|
||||
getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.queryProject = res.result[0] || {}
|
||||
if(this.queryData.platform){
|
||||
if (this.queryData.platform) {
|
||||
this.queryProject.platform = this.queryData.platform
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.experienceReferenceListRef.getData(this.queryProject.serialNumber)
|
||||
})
|
||||
// if (this.queryData.TaskKey == 'zrrqr' || this.queryData.TaskKey == 'dezrrqr') {
|
||||
// this.queryProject.endTime = this.queryData.endTime
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user