1.7版本发布,详情查看版本说明

This commit is contained in:
zhengjie
2019-04-11 16:16:52 +08:00
parent 59bf825d88
commit 0731e1e9ca
12 changed files with 48 additions and 35 deletions

View File

@@ -26,10 +26,8 @@ import { getDepts } from '@/api/dept'
import { add, edit } from '@/api/job'
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import initDict from '@/mixins/initDict'
export default {
components: { Treeselect },
mixins: [initDict],
props: {
isAdd: {
type: Boolean,
@@ -38,6 +36,10 @@ export default {
sup_this: {
type: Object,
default: null
},
dicts: {
type: Array,
required: true
}
},
data() {
@@ -61,12 +63,6 @@ export default {
}
}
},
created() {
this.$nextTick(() => {
// 加载数据字典
this.getDict('job_status')
})
},
methods: {
cancel() {
this.resetForm()