update 企标稽查计划
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:can-drag="true"
|
:can-drag="true"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%'}"
|
||||||
|
|||||||
@@ -15,10 +15,8 @@
|
|||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:can-drag="true"
|
:can-drag="true"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:pagination="false"
|
||||||
:pagination="ipagination"
|
:scroll="{x: '100%'}">
|
||||||
:scroll="{x: '100%'}"
|
|
||||||
@change="tableOnChange">
|
|
||||||
</j-table>
|
</j-table>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
@@ -26,10 +24,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import JTable from '@comp/jero/JTable'
|
import JTable from '@comp/jero/JTable'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ShowOpinionModal',
|
name: 'ShowOpinionModal',
|
||||||
mixins: [JeroListMixin],
|
|
||||||
components: { JTable },
|
components: { JTable },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -47,7 +43,7 @@ export default {
|
|||||||
title: this.$t('workCenter.esInspectionPlan.solicitOpinionObject'),
|
title: this.$t('workCenter.esInspectionPlan.solicitOpinionObject'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
dataIndex: 'solicitOpinionObject',
|
dataIndex: 'createByDictText',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
{ // 意见
|
{ // 意见
|
||||||
@@ -64,6 +60,7 @@ export default {
|
|||||||
show (record) {
|
show (record) {
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.dataSource = record.processEsInspectPlanOpinionList || []
|
||||||
},
|
},
|
||||||
// 确定
|
// 确定
|
||||||
handleOk () {
|
handleOk () {
|
||||||
@@ -75,6 +72,7 @@ export default {
|
|||||||
},
|
},
|
||||||
close () {
|
close () {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
|
this.dataSource = []
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
tableOnChange (pagination, filters, sorter) {
|
tableOnChange (pagination, filters, sorter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user