address-client 3.0.34-aodeToV4 → 3.0.35-aode
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/buildOutputCleanup/cache.properties +2 -2
- package/AddressClient.iml +12 -12
- package/CHANGELOG.md +12 -12
- package/build/dev-server.js +128 -128
- package/build/webpack.base.conf.js +81 -81
- package/examples/showAdd/App.vue +40 -40
- package/index.html +40 -40
- package/package.json +105 -105
- package/src/address.js +58 -58
- package/src/components/AddAreaMsg.vue +599 -599
- package/src/components/AddStreetOrPcd.vue +231 -231
- package/src/components/AddressAddAddress.vue +479 -479
- package/src/components/AddressFiles.vue +156 -156
- package/src/components/AddressList.vue +323 -323
- package/src/components/AddressManage.vue +117 -117
- package/src/components/AddressTree.vue +501 -501
- package/src/components/AreaFiles.vue +73 -73
- package/src/components/AreaList.vue +357 -357
- package/src/components/AreaManage.vue +101 -101
- package/src/components/AreaTree.vue +508 -508
- package/src/components/Basch.vue +72 -72
- package/src/components/BatchOrders.vue +328 -328
- package/src/components/CityManage.vue +76 -76
- package/src/components/NewAddressInfo.vue +432 -432
- package/src/components/OneCodeList.vue +251 -251
- package/src/components/StreetList.vue +184 -184
- package/src/components/UserAddress.vue +781 -780
- package/src/components/UserAddressChange.vue +58 -58
- package/src/components/addressts/AddressListts.vue +307 -307
- package/src/components/addressts/AddressManagets.vue +117 -117
- package/src/components/addressts/UserAddressChangets.vue +58 -58
- package/src/components/addressts/UserAddressts.vue +740 -739
- package/src/components/areauser/AreaUser.vue +233 -233
- package/src/components/selectAddress/BatchList.vue +326 -326
- package/src/main.js +23 -23
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="width: auto;">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged :pager="false">
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfsearch' v-ref:criteria >
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="col-sm-9 ">
|
|
7
|
-
<input type="text" class="input_search button_spacing" v-model="model.f_residential_area"
|
|
8
|
-
condition="f_residential_area like '%{}%'" placeholder='小区名称'>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="span" style="float:right;"id='filesArea'>
|
|
11
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</criteria>
|
|
15
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" >
|
|
16
|
-
<template partial='head'>
|
|
17
|
-
<tr>
|
|
18
|
-
<th>序号</th>
|
|
19
|
-
<th>小区详细地址</th>
|
|
20
|
-
<th>操作</th>
|
|
21
|
-
</tr>
|
|
22
|
-
</template>
|
|
23
|
-
<template partial='body'>
|
|
24
|
-
<td id = "1" style="text-align: center;">{{$index + 1}}</td>
|
|
25
|
-
<td>{{row.f_area_address}}-{{row.f_residential_area}}-{{row.f_comments}}</td>
|
|
26
|
-
<td style="text-align: center;">
|
|
27
|
-
<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.foundFile(row)">建档</button>
|
|
28
|
-
</td>
|
|
29
|
-
</template>
|
|
30
|
-
</data-grid>
|
|
31
|
-
</criteria-paged>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<script>
|
|
36
|
-
import { PagedList } from 'vue-client'
|
|
37
|
-
export default {
|
|
38
|
-
title: '小区列表',
|
|
39
|
-
data () {
|
|
40
|
-
return {
|
|
41
|
-
model: new PagedList('
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
props: ['f_filialeid'],
|
|
45
|
-
// ready () {
|
|
46
|
-
// this.search()
|
|
47
|
-
// },
|
|
48
|
-
watch: {
|
|
49
|
-
'f_filialeid' (val) {
|
|
50
|
-
this.search()
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
methods: {
|
|
54
|
-
foundFile (row) {
|
|
55
|
-
console.log('小区建档', row)
|
|
56
|
-
this.$emit('re-ref', row)
|
|
57
|
-
},
|
|
58
|
-
search () {
|
|
59
|
-
this.$refs.paged.$refs.criteria.search()
|
|
60
|
-
},
|
|
61
|
-
selfsearch (datas) {
|
|
62
|
-
console.log('查询小区', this.f_filialeid)
|
|
63
|
-
datas.condition += ` and a.f_filialeid = '${this.f_filialeid}'`
|
|
64
|
-
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
65
|
-
this.model.search(datas.condition, this.model)
|
|
66
|
-
},
|
|
67
|
-
// 主要提供外部组件调用,刷新数据
|
|
68
|
-
reflash () {
|
|
69
|
-
this.$refs.paged.$refs.criteria.search()
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="width: auto;">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager="false">
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfsearch' v-ref:criteria >
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="col-sm-9 ">
|
|
7
|
+
<input type="text" class="input_search button_spacing" v-model="model.f_residential_area"
|
|
8
|
+
condition="f_residential_area like '%{}%'" placeholder='小区名称'>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="span" style="float:right;"id='filesArea'>
|
|
11
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</criteria>
|
|
15
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" >
|
|
16
|
+
<template partial='head'>
|
|
17
|
+
<tr>
|
|
18
|
+
<th>序号</th>
|
|
19
|
+
<th>小区详细地址</th>
|
|
20
|
+
<th>操作</th>
|
|
21
|
+
</tr>
|
|
22
|
+
</template>
|
|
23
|
+
<template partial='body'>
|
|
24
|
+
<td id = "1" style="text-align: center;">{{$index + 1}}</td>
|
|
25
|
+
<td>{{row.f_area_address}}-{{row.f_residential_area}}-{{row.f_comments}}</td>
|
|
26
|
+
<td style="text-align: center;">
|
|
27
|
+
<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.foundFile(row)">建档</button>
|
|
28
|
+
</td>
|
|
29
|
+
</template>
|
|
30
|
+
</data-grid>
|
|
31
|
+
</criteria-paged>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script>
|
|
36
|
+
import { PagedList } from 'vue-client'
|
|
37
|
+
export default {
|
|
38
|
+
title: '小区列表',
|
|
39
|
+
data () {
|
|
40
|
+
return {
|
|
41
|
+
model: new PagedList('rs/sql/address_getArea', 20)
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
props: ['f_filialeid'],
|
|
45
|
+
// ready () {
|
|
46
|
+
// this.search()
|
|
47
|
+
// },
|
|
48
|
+
watch: {
|
|
49
|
+
'f_filialeid' (val) {
|
|
50
|
+
this.search()
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
foundFile (row) {
|
|
55
|
+
console.log('小区建档', row)
|
|
56
|
+
this.$emit('re-ref', row)
|
|
57
|
+
},
|
|
58
|
+
search () {
|
|
59
|
+
this.$refs.paged.$refs.criteria.search()
|
|
60
|
+
},
|
|
61
|
+
selfsearch (datas) {
|
|
62
|
+
console.log('查询小区', this.f_filialeid)
|
|
63
|
+
datas.condition += ` and a.f_filialeid = '${this.f_filialeid}'`
|
|
64
|
+
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
65
|
+
this.model.search(datas.condition, this.model)
|
|
66
|
+
},
|
|
67
|
+
// 主要提供外部组件调用,刷新数据
|
|
68
|
+
reflash () {
|
|
69
|
+
this.$refs.paged.$refs.criteria.search()
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|