fix
This commit is contained in:
parent
0084219f25
commit
09514f017f
@ -23,7 +23,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { apiOrganizationList } from '@/api/api_staff'
|
|
||||||
import { getDataForMonth } from '@/utils'
|
import { getDataForMonth } from '@/utils'
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
@ -32,8 +31,6 @@ export default {
|
|||||||
defaultVal: '',
|
defaultVal: '',
|
||||||
defaultValYear: '',
|
defaultValYear: '',
|
||||||
defaultValMon: '',
|
defaultValMon: '',
|
||||||
index: null,
|
|
||||||
title: null,
|
|
||||||
value2: [],
|
value2: [],
|
||||||
isChooseObj: {},
|
isChooseObj: {},
|
||||||
isChoose: false,
|
isChoose: false,
|
||||||
@ -50,7 +47,6 @@ export default {
|
|||||||
computed: {},
|
computed: {},
|
||||||
beforeMount () { },
|
beforeMount () { },
|
||||||
created () {
|
created () {
|
||||||
this.handleGetMenuList()
|
|
||||||
this.handleChangeData({
|
this.handleChangeData({
|
||||||
Month: 3,
|
Month: 3,
|
||||||
title: '近三个月'
|
title: '近三个月'
|
||||||
@ -73,11 +69,6 @@ export default {
|
|||||||
this.formInline.beginDate = data[0]
|
this.formInline.beginDate = data[0]
|
||||||
this.formInline.endDate = data[1]
|
this.formInline.endDate = data[1]
|
||||||
},
|
},
|
||||||
// 获取侧边架构列表
|
|
||||||
async handleGetMenuList () {
|
|
||||||
let result = await apiOrganizationList()
|
|
||||||
this.menuList = result
|
|
||||||
},
|
|
||||||
// 修改月份
|
// 修改月份
|
||||||
changeApplyMonth (val) {
|
changeApplyMonth (val) {
|
||||||
this.defaultVal = val.getFullYear() + '-' + (val.getMonth() + 1) + '-' + '1'
|
this.defaultVal = val.getFullYear() + '-' + (val.getMonth() + 1) + '-' + '1'
|
||||||
@ -105,12 +96,6 @@ export default {
|
|||||||
onsumbit () {
|
onsumbit () {
|
||||||
this.formInline = Object.assign({}, this.formInline, this.isChooseObj)
|
this.formInline = Object.assign({}, this.formInline, this.isChooseObj)
|
||||||
this.isChoose = false
|
this.isChoose = false
|
||||||
},
|
|
||||||
handleNodeClick (a, b) {
|
|
||||||
this.isChooseObj = {
|
|
||||||
departmentId: a.departmentId,
|
|
||||||
departmentName: a.departmentName
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {}
|
watch: {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user