fix 79337
This commit is contained in:
+21
-1
@@ -49,19 +49,28 @@
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
<!-- 所属部门意见 -->
|
||||
<template v-slot:departOpinion="{text, record}">
|
||||
<a class="table-text can-click-table-text" @click="showDepartOpinion(record)" v-if="text && text.length">{{ $t('view') }}</a>
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
</j-table>
|
||||
</a-spin>
|
||||
<!-- 征求意见 -->
|
||||
<show-opinion-modal ref="showOpinionModal"/>
|
||||
</j-modal>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import JTable from '@comp/jero/JTable'
|
||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import ShowOpinionModal from '@views/workCenter/enterpriseStandardInspectionPlan/modules/ShowOpinionModal'
|
||||
|
||||
export default {
|
||||
name: 'InspectionProcessTableModal',
|
||||
mixins: [JeroListMixin],
|
||||
components: { JTable },
|
||||
components: { ShowOpinionModal, JTable },
|
||||
data () {
|
||||
return {
|
||||
disableMixinCreated: true,
|
||||
@@ -124,11 +133,22 @@ export default {
|
||||
width: 120,
|
||||
dataIndex: 'inspectUserDictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{ // 征求意见
|
||||
title: this.$t('workCenter.esInspectionPlan.solicitOpinion'),
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'processEsInspectPlanOpinionList',
|
||||
scopedSlots: { customRender: 'departOpinion' }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 查看所属部门意见
|
||||
showDepartOpinion (record) {
|
||||
this.$refs.showOpinionModal.show(record)
|
||||
},
|
||||
show (selectedIds) {
|
||||
// 已经选择的ids(用于验证不能重复选择)
|
||||
this.selectedIds = selectedIds
|
||||
|
||||
Reference in New Issue
Block a user