行程出发地到县区

main
jwg 8 months ago
parent 9b1f427f1b
commit 89407644e8

File diff suppressed because it is too large Load Diff

@ -832,6 +832,8 @@ import VerifyFunc from '@/utils/verify'
import { getTreeIds, findAreaIdName } from '@/utils' import { getTreeIds, findAreaIdName } from '@/utils'
import { getExpenseApplyMyPage } from '@/api/bs/expenseApply' import { getExpenseApplyMyPage } from '@/api/bs/expenseApply'
import { Dialog } from 'vant' import { Dialog } from 'vant'
import { getAreaTree } from '@/api/system/area'
import { handleAreaLoop } from '@/utils'
export default { export default {
//import使 //import使
props: {}, props: {},
@ -850,11 +852,13 @@ export default {
this.handleInitList().then(() => { this.handleInitList().then(() => {
this.handleInitForm() this.handleInitForm()
}) })
this.getTree()
}, },
// 访DOM // 访DOM
mounted() {}, mounted() {},
data() { data() {
return { return {
areaTree: [],
indexOne: 1, indexOne: 1,
indexTwo: 1, indexTwo: 1,
claimType: '', claimType: '',
@ -955,9 +959,9 @@ export default {
}) })
return arr return arr
}, },
areaTree() { /* areaTree() {
return this.$store.getters.areaTree return this.$store.getters.areaTree
}, }, */
userDeptTree() { userDeptTree() {
return this.$store.getters.userDeptTree return this.$store.getters.userDeptTree
}, },
@ -984,6 +988,13 @@ export default {
watch: {}, watch: {},
// //
methods: { methods: {
getTree() {
getAreaTree().then((res) => {
let tree = res.data || []
handleAreaLoop(tree)
this.areaTree = tree
})
},
handleCountAmount(list) { handleCountAmount(list) {
// //
let res = (list || []).filter((item) => item.feeManageAmount) let res = (list || []).filter((item) => item.feeManageAmount)

Loading…
Cancel
Save