address-client 3.2.27 → 3.2.28-mc

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.
@@ -10,7 +10,7 @@ var proxy = httpProxy.createProxyServer()
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- var str = 'http://127.0.0.1:8090', str2= 'http://192.168.50.4:8400'
13
+ var str = 'http://121.36.106.17:8400/', str2= 'http://121.36.106.17:8400/'
14
14
  var proxyTable = {
15
15
 
16
16
  '/rs/logic/getLogin': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "address-client",
3
- "version": "3.2.27",
3
+ "version": "3.2.28-mc",
4
4
  "description": "地址管理前台组件",
5
5
  "author": "wanbochao",
6
6
  "license": "ISC",
@@ -80,7 +80,7 @@
80
80
  "style-loader": "^0.20.3",
81
81
  "system-clients": "3.1.88-5",
82
82
  "url-loader": "^0.5.7",
83
- "vue-client": "1.24.27",
83
+ "vue-client": "1.24.39",
84
84
  "vue-hot-reload-api": "^1.2.0",
85
85
  "vue-html-loader": "^1.0.0",
86
86
  "vue-loader": "^8.2.1",
@@ -1,95 +1,95 @@
1
- <template>
2
- <modal :show.sync="isshow" :width='width' v-ref:modal backdrop="false">
3
- <header slot="modal-header" class="modal-header">
4
- <button type="button" class="close" @click="closeTree"><span>&times;</span></button>
5
- <h4 class="modal-title">地址管理</h4>
6
- </header>
7
- <article slot="modal-body" class="modal-body">
8
- <div class="from-group" style="height: 450px;overflow: auto;">
9
- <address-tree :f_location="f_location" :isquery="isquery" :isinspect="true" :isbasch="isbasch" v-ref:addresstree></address-tree>
10
- <!--<address-select v-if="isselect" :f_location="f_location" v-ref:addressSelect :show="showType" :value="value" @re-ref="selectclick"></address-select>-->
11
- </div>
12
- </article>
13
- <footer slot="modal-footer">
14
- <button type="button" class="btn btn-success" @click='confirm'>确认</button>
15
- </footer>
16
- </modal>
17
- </template>
18
-
19
- <script>
20
- export default {
21
- name: "AddressModel",
22
- title: '地址管理弹窗',
23
- props: {
24
- // 地址查询方式
25
- isquery: {
26
- type: Boolean,
27
- default: true,
28
- },
29
- //位置信息
30
- f_location: {
31
- type: Object,
32
- default: {
33
- f_locationId: '1535',
34
- f_locationType: 't_organization',
35
- }
36
- },
37
- //是否显示
38
- isshow: {
39
- type: Boolean,
40
- default : false,
41
- },
42
- // 是否选中
43
- isselect: {
44
- type: Boolean,
45
- default: false,
46
- },
47
- // 默认显示地址
48
- value:{
49
- type: Object
50
- },
51
- // 下拉选择 || 树选择
52
- showType: {
53
- type: Boolean,
54
- default: false
55
- },
56
- // 是否显示批量添加
57
- isbasch: {
58
- type: Boolean,
59
- default: true,
60
- }
61
- },
62
- data(){
63
- return{
64
- width: '90%'
65
- }
66
- },
67
- methods:{
68
- confirm(){
69
- this.$emit('addressno')
70
- },
71
- // 关闭 弹窗
72
- closeTree() {
73
- this.isshow = false
74
- this.$emit('addressno')
75
- }
76
- // 选中
77
- // selectclick(newobj, address) {
78
- // this.$emit('re-ref', newobj, address)
79
- // }
80
- },
81
- watch:{
82
- //显示改变且为true
83
- 'isshow'(val){
84
- if(val){
85
- //刷新数据
86
- this.$refs.addresstree.init()
87
- }
88
- }
89
- }
90
- }
91
- </script>
92
-
93
- <style scoped>
94
-
95
- </style>
1
+ <template>
2
+ <modal :show.sync="isshow" :width='width' v-ref:modal backdrop="false">
3
+ <header slot="modal-header" class="modal-header">
4
+ <button type="button" class="close" @click="closeTree"><span>&times;</span></button>
5
+ <h4 class="modal-title">地址管理</h4>
6
+ </header>
7
+ <article slot="modal-body" class="modal-body">
8
+ <div class="from-group" style="height: 450px;overflow: auto;">
9
+ <address-tree :f_location="f_location" :isquery="isquery" :isinspect="true" :isbasch="isbasch" v-ref:addresstree></address-tree>
10
+ <!--<address-select v-if="isselect" :f_location="f_location" v-ref:addressSelect :show="showType" :value="value" @re-ref="selectclick"></address-select>-->
11
+ </div>
12
+ </article>
13
+ <footer slot="modal-footer">
14
+ <button type="button" class="btn btn-success" @click='confirm'>确认</button>
15
+ </footer>
16
+ </modal>
17
+ </template>
18
+
19
+ <script>
20
+ export default {
21
+ name: "AddressModel",
22
+ title: '地址管理弹窗',
23
+ props: {
24
+ // 地址查询方式
25
+ isquery: {
26
+ type: Boolean,
27
+ default: true,
28
+ },
29
+ //位置信息
30
+ f_location: {
31
+ type: Object,
32
+ default: {
33
+ f_locationId: '1535',
34
+ f_locationType: 't_organization',
35
+ }
36
+ },
37
+ //是否显示
38
+ isshow: {
39
+ type: Boolean,
40
+ default : false,
41
+ },
42
+ // 是否选中
43
+ isselect: {
44
+ type: Boolean,
45
+ default: false,
46
+ },
47
+ // 默认显示地址
48
+ value:{
49
+ type: Object
50
+ },
51
+ // 下拉选择 || 树选择
52
+ showType: {
53
+ type: Boolean,
54
+ default: false
55
+ },
56
+ // 是否显示批量添加
57
+ isbasch: {
58
+ type: Boolean,
59
+ default: true,
60
+ }
61
+ },
62
+ data(){
63
+ return{
64
+ width: '90%'
65
+ }
66
+ },
67
+ methods:{
68
+ confirm(){
69
+ this.$emit('addressno')
70
+ },
71
+ // 关闭 弹窗
72
+ closeTree() {
73
+ this.isshow = false
74
+ this.$emit('addressno')
75
+ }
76
+ // 选中
77
+ // selectclick(newobj, address) {
78
+ // this.$emit('re-ref', newobj, address)
79
+ // }
80
+ },
81
+ watch:{
82
+ //显示改变且为true
83
+ 'isshow'(val){
84
+ if(val){
85
+ //刷新数据
86
+ this.$refs.addresstree.init()
87
+ }
88
+ }
89
+ }
90
+ }
91
+ </script>
92
+
93
+ <style scoped>
94
+
95
+ </style>