This commit is contained in:
杜建超 2020-09-15 10:13:38 +08:00
parent 0084219f25
commit 09514f017f

View File

@ -23,7 +23,6 @@
</template>
<script>
import { apiOrganizationList } from '@/api/api_staff'
import { getDataForMonth } from '@/utils'
export default {
data () {
@ -32,8 +31,6 @@ export default {
defaultVal: '',
defaultValYear: '',
defaultValMon: '',
index: null,
title: null,
value2: [],
isChooseObj: {},
isChoose: false,
@ -50,7 +47,6 @@ export default {
computed: {},
beforeMount () { },
created () {
this.handleGetMenuList()
this.handleChangeData({
Month: 3,
title: '近三个月'
@ -73,11 +69,6 @@ export default {
this.formInline.beginDate = data[0]
this.formInline.endDate = data[1]
},
//
async handleGetMenuList () {
let result = await apiOrganizationList()
this.menuList = result
},
//
changeApplyMonth (val) {
this.defaultVal = val.getFullYear() + '-' + (val.getMonth() + 1) + '-' + '1'
@ -105,12 +96,6 @@ export default {
onsumbit () {
this.formInline = Object.assign({}, this.formInline, this.isChooseObj)
this.isChoose = false
},
handleNodeClick (a, b) {
this.isChooseObj = {
departmentId: a.departmentId,
departmentName: a.departmentName
}
}
},
watch: {}