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