fix
This commit is contained in:
parent
0084219f25
commit
09514f017f
@ -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: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user