<template>
	<view>
		<list ref="listRef" pageName="QualityInspection"></list>
	</view>
</template>

<script>
	import list from './list.vue'

	export default {
		components: {
			list
		},
		mixins: [],
		data() {
			return {}
		},
		computed: {},
		created() {
			uni.$off('successInit')
			uni.$on('successInit', (data) => {
				this.$nextTick(() => {
					this.$refs.listRef.successInit()
				})
			})
		},
		onUnload() {
			uni.$off('successInit')
		},
		onLoad() {
			this.$nextTick(() => {
				this.$refs.listRef.getList()
			})
			uni.setNavigationBarColor({
				frontColor: '#000000',
			})
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
</style>
