address-client 3.2.9 → 3.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/AddressClient.iml +13 -0
- package/build/dev-server.js +125 -126
- package/package.json +1 -1
- package/src/address.js +57 -57
- package/src/components/AddAreaMsg.vue +743 -743
- package/src/components/AddressModel.vue +95 -95
- package/src/components/AreaManage.vue +100 -100
- package/src/components/BuildingList.vue +129 -129
- package/src/components/CityList.vue +133 -133
- package/src/components/StreetList.vue +37 -7
- package/src/filiale/WEINAN/AddAreaMsg.vue +656 -656
- package/src/filiale/WEINAN/AreaList.vue +2 -2
- package/src/filiale/gongyi/AddAreaMsg.vue +651 -651
- package/src/filiale/qianneng/AreaList.vue +431 -431
- package/src/filiale/qianneng/CityManage.vue +81 -0
- package/src/filiale/qianneng/UserAddress.vue +970 -932
- package/src/filiale/qianneng/sale.js +14 -12
- package/src/filiale/rongcheng/AddressList.vue +363 -363
- package/src/filiale/tongchuan/AreaList.vue +315 -315
- package/src/filiale/tongchuan/CityList.vue +133 -133
- package/src/filiale/tongchuan/StreetList.vue +208 -208
- package/src/filiale/tongchuan/sale.js +19 -19
- package/src/main.js +21 -21
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row " :class="{'binary':areaShow}">
|
|
3
|
+
<div :class="{'basic-main':!areaShow,'binary-left':areaShow}">
|
|
4
|
+
<street-list @select-changed="selected" :f_filialeids.sync="f_filialeids" v-ref:arealist></street-list>
|
|
5
|
+
</div>
|
|
6
|
+
<div v-show="areaShow" class="binary-right">
|
|
7
|
+
<add-street-pcd v-ref:addstreetpcd :areatype.sync="areatype" :operation='operation'
|
|
8
|
+
:f_filialeids.sync="f_filialeids" :row="row"></add-street-pcd>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
export default {
|
|
15
|
+
title: '街道管理',
|
|
16
|
+
components: {},
|
|
17
|
+
data () {
|
|
18
|
+
return {
|
|
19
|
+
//分公司id串
|
|
20
|
+
f_filialeids: this.$login.f.orgid,
|
|
21
|
+
areaShow: false,
|
|
22
|
+
areatype: '街道',
|
|
23
|
+
jSuthority: this.$login.r,
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
props: {},
|
|
28
|
+
methods: {
|
|
29
|
+
selected (obj) {
|
|
30
|
+
console.log("this.loogin.r",this.$login.r.includes('街道信息修改'))
|
|
31
|
+
if (!this.jSuthority.includes('街道信息修改')) {
|
|
32
|
+
return
|
|
33
|
+
}
|
|
34
|
+
if (obj.val && obj.val.id) {
|
|
35
|
+
if (obj.val.f_filialeid != this.f_filialeids) {
|
|
36
|
+
this.refresh()
|
|
37
|
+
return
|
|
38
|
+
}
|
|
39
|
+
this.$refs.addstreetpcd.cleardara()
|
|
40
|
+
this.areatype = '街道'
|
|
41
|
+
this.areaShow = true
|
|
42
|
+
this.$refs.addstreetpcd.operation = 'modify'
|
|
43
|
+
this.$refs.addstreetpcd.streetmodel = Object.assign({}, obj.val)
|
|
44
|
+
this.$refs.addstreetpcd.initdata()
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
async refresh () {
|
|
48
|
+
this.areaShow = false
|
|
49
|
+
await this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
},
|
|
54
|
+
events: {
|
|
55
|
+
'add' (areatype) {
|
|
56
|
+
this.style = 'col-sm-3 '
|
|
57
|
+
this.areaShow = true
|
|
58
|
+
this.$refs.addstreetpcd.cleardara()
|
|
59
|
+
this.$refs.addstreetpcd.operation = 'add'
|
|
60
|
+
this.$refs.addstreetpcd.areatype = areatype
|
|
61
|
+
this.$refs.addstreetpcd.initdata()
|
|
62
|
+
},
|
|
63
|
+
'modify' (area) {
|
|
64
|
+
this.style = 'col-sm-2 '
|
|
65
|
+
},
|
|
66
|
+
'confirm' () {
|
|
67
|
+
this.style = 'col-sm-2 '
|
|
68
|
+
|
|
69
|
+
this.refresh()
|
|
70
|
+
},
|
|
71
|
+
'cancel' () {
|
|
72
|
+
this.style = 'col-sm-2 '
|
|
73
|
+
|
|
74
|
+
this.areaShow = false
|
|
75
|
+
this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
|