@@ -51,9 +51,9 @@
</el-pagination>
</template>
<!-- 弹窗 -->
- <assign v-if="assignVisible" ref="assign" @onChose="onChose" />
- <notice-change v-if="noticeChangeVisible" ref="noticeChange" @onChose="onChose" />
- <submit-plan v-if="submitVisible" ref="submit" @onChose="onChose" />
+ <assign v-if="assignVisible" ref="assign" @onChose="onChose" @refreshDataList="getDataList"/>
+ <notice-change v-if="noticeChangeVisible" ref="noticeChange" @onChose="onChose" @refreshDataList="getDataList"/>
+ <submit-plan v-if="submitVisible" ref="submit" @onChose="onChose" @refreshDataList="getDataList" />
</div>
@@ -103,6 +103,7 @@ export default {
} else {
this.selectedRow = val[0] || null
}
+ this.multipleSelection = [val[0]]
},
// 点击行时触发选中
clickRow (row) {
@@ -279,6 +279,7 @@
duration: 1500,
onClose: () => {
this.importVisible = false
+ this.getDataList()
})
@@ -216,6 +216,7 @@ export default {
beforeDestroy () {},
methods: {
onChose () {
+ this.$emit('refreshDataList')
this.$emit('onChose')
async init (item, readonly) {