common-form.js 550 Bytes
/**
 * 页面描述:常用表格
 */


import api from '@/api/api'
import {
	httpGet,
	httpPost
} from '@/api/fetch-api.js'

export default {
	data() {
		return {
			key: 'value'
		}
	},
	components: {},
	computed: {
		locale() {
			return this.$i18n.locale || 'tc';
		},
		i18n() {
			return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {};
		},
	},
	methods: {
		downloadHandle(item) {
			if (item.download) {
				location.href = item.download;
			}
		},
		initData() { }
	},
	mounted() { },
	created() { }
}