address-client 3.2.48 → 3.2.50
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/filiale/WEINAN/AddAreaMsg.vue +679 -679
- package/src/filiale/WEINAN/AreaList.vue +390 -390
- package/src/filiale/qinhua/CityManage.vue +76 -0
- package/src/filiale/qinhua/sale.js +2 -1
- package/src/main.js +21 -21
|
@@ -0,0 +1,76 @@
|
|
|
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' :f_filialeids.sync="f_filialeids" :row="row"></add-street-pcd>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
title: '街道管理',
|
|
15
|
+
components:{
|
|
16
|
+
},
|
|
17
|
+
data () {
|
|
18
|
+
return {
|
|
19
|
+
//分公司id串
|
|
20
|
+
f_filialeids: this.$login.f.orgid,
|
|
21
|
+
areaShow:false,
|
|
22
|
+
areatype:'街道'
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
props:{
|
|
27
|
+
|
|
28
|
+
},
|
|
29
|
+
methods:{
|
|
30
|
+
selected(obj){
|
|
31
|
+
if(obj.val&&obj.val.id){
|
|
32
|
+
// if (obj.val.f_filialeid != this.f_filialeids) {
|
|
33
|
+
// this.refresh()
|
|
34
|
+
// return
|
|
35
|
+
// }
|
|
36
|
+
this.$refs.addstreetpcd.cleardara()
|
|
37
|
+
this.areatype = '街道'
|
|
38
|
+
this.areaShow=true
|
|
39
|
+
this.$refs.addstreetpcd.operation='modify'
|
|
40
|
+
this.$refs.addstreetpcd.streetmodel=Object.assign({},obj.val)
|
|
41
|
+
this.$refs.addstreetpcd.initdata()
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
async refresh () {
|
|
45
|
+
this.areaShow = false
|
|
46
|
+
await this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
events:{
|
|
50
|
+
'add'(areatype){
|
|
51
|
+
this.style='col-sm-3 '
|
|
52
|
+
this.areaShow=true
|
|
53
|
+
this.$refs.addstreetpcd.cleardara()
|
|
54
|
+
this.$refs.addstreetpcd.operation='add'
|
|
55
|
+
this.$refs.addstreetpcd.areatype=areatype
|
|
56
|
+
this.$refs.addstreetpcd.initdata()
|
|
57
|
+
},
|
|
58
|
+
'modify'(area){
|
|
59
|
+
this.style='col-sm-2 '
|
|
60
|
+
},
|
|
61
|
+
'confirm' () {
|
|
62
|
+
this.style='col-sm-2 '
|
|
63
|
+
|
|
64
|
+
this.refresh()
|
|
65
|
+
},
|
|
66
|
+
'cancel' () {
|
|
67
|
+
this.style='col-sm-2 '
|
|
68
|
+
|
|
69
|
+
this.areaShow = false
|
|
70
|
+
this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
71
|
+
},
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</script>
|
|
75
|
+
|
|
76
|
+
|
|
@@ -8,7 +8,8 @@ let specialComp = {
|
|
|
8
8
|
'address-list': (resolve) => { require(['./AddressList.vue'], resolve) },
|
|
9
9
|
|
|
10
10
|
'add-area-msg': (resolve) => { require(['./AddAreaMsg.vue'], resolve) },
|
|
11
|
-
'user-address': (resolve) => { require(['./UserAddress.vue'], resolve) }
|
|
11
|
+
'user-address': (resolve) => { require(['./UserAddress.vue'], resolve) },
|
|
12
|
+
'city-manage': (resolve) => { require(['./CityManage.vue'], resolve) }
|
|
12
13
|
}
|
|
13
14
|
exports.specialComp = specialComp
|
|
14
15
|
|
package/src/main.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import { system } from 'system-clients'
|
|
5
|
-
import { sale } from 'sale-client'
|
|
6
|
-
import address from './address'
|
|
7
|
-
|
|
8
|
-
Vue.config.silent = true
|
|
9
|
-
|
|
10
|
-
/** **************************通用组件******************************/
|
|
11
|
-
all()
|
|
12
|
-
address(
|
|
13
|
-
system(false)
|
|
14
|
-
sale()
|
|
15
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
new Vue({
|
|
19
|
-
el: 'body',
|
|
20
|
-
components: { App }
|
|
21
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import { system } from 'system-clients'
|
|
5
|
+
import { sale } from 'sale-client'
|
|
6
|
+
import address from './address'
|
|
7
|
+
|
|
8
|
+
Vue.config.silent = true
|
|
9
|
+
|
|
10
|
+
/** **************************通用组件******************************/
|
|
11
|
+
all()
|
|
12
|
+
address('qinhua')
|
|
13
|
+
system(false)
|
|
14
|
+
// sale()
|
|
15
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
new Vue({
|
|
19
|
+
el: 'body',
|
|
20
|
+
components: { App }
|
|
21
|
+
})
|