address-client 3.0.29-aode → 3.0.31-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/build/dev-server.js
CHANGED
|
@@ -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:8025/', str2= 'http://192.168.10.
|
|
13
|
+
var str = 'http://127.0.0.1:8025/', str2= 'http://192.168.10.233:8300'
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
|
|
16
16
|
'/rs/logic/getLogin': {
|
|
@@ -19,7 +19,7 @@ var proxyTable = {
|
|
|
19
19
|
'/rs/sql/address_getAddress_ts': {
|
|
20
20
|
target: str
|
|
21
21
|
},
|
|
22
|
-
'/rs/logic/
|
|
22
|
+
'/rs/logic/address_updateuseraddress': {
|
|
23
23
|
target: str
|
|
24
24
|
},
|
|
25
25
|
'/rs/user': {
|
package/package.json
CHANGED
package/src/address.js
CHANGED
|
@@ -51,6 +51,8 @@ export default function () {
|
|
|
51
51
|
Vue.component('address-list-ts', (resolve) => { require(['./components/addressts/AddressListts'], resolve) })
|
|
52
52
|
//地址管理
|
|
53
53
|
Vue.component('user-address-ts', (resolve) => { require(['./components/addressts/UserAddressts'], resolve) })
|
|
54
|
+
//地址管理
|
|
55
|
+
Vue.component('one-code-list', (resolve) => { require(['./components/OneCodeList'], resolve) })
|
|
54
56
|
//地址变更记录
|
|
55
57
|
Vue.component('user-address-change-ts', (resolve) => { require(['./components/addressts/UserAddressChangets'], resolve) })
|
|
56
58
|
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<div style="flex:1;" class="flex" >
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2">
|
|
11
|
+
<label class="font_normal_body labelother">合同编号</label>
|
|
12
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.contract_sn"
|
|
13
|
+
condition="contract_sn = '{}' " placeholder="合同编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2">
|
|
16
|
+
<label class="font_normal_body labelother">合同名称</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.contract_name"
|
|
18
|
+
condition="contract_name like '%{}%'" placeholder="合同名称">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2">
|
|
21
|
+
<label class="font_normal_body labelother">客户名称</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.customer_name"
|
|
23
|
+
condition="customer_name like '{}%'" placeholder="客户名称">
|
|
24
|
+
</div>
|
|
25
|
+
<!-- <div class="col-sm-4">-->
|
|
26
|
+
<!-- <label class="font_normal_body labelother">客戶地址</label>-->
|
|
27
|
+
<!-- <input type="text" style="width:80%" class="input_search" v-model="model.f_address"-->
|
|
28
|
+
<!-- condition="f_address like '%{}%'" placeholder='客户地址'>-->
|
|
29
|
+
<!-- </div>-->
|
|
30
|
+
<div class="span" style="float:right;">
|
|
31
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
<!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<!-- <div class="row" style="margin-top: 11px;" v-show="$parent.$parent.criteriaShow">-->
|
|
37
|
+
<!-- <div class="col-sm-2">-->
|
|
38
|
+
<!-- <label class="font_normal_body labelother">表 号</label>-->
|
|
39
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"-->
|
|
40
|
+
<!-- condition="f_meternumber like '%{}%'" placeholder='表号'>-->
|
|
41
|
+
<!-- </div>-->
|
|
42
|
+
<!-- <div class="col-sm-2">-->
|
|
43
|
+
<!-- <label class="font_normal_body labelother">卡 号</label>-->
|
|
44
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"-->
|
|
45
|
+
<!-- condition="f_card_id like '%{}%'" placeholder='卡号'>-->
|
|
46
|
+
<!-- </div>-->
|
|
47
|
+
<!-- <div class="col-sm-2">-->
|
|
48
|
+
<!-- <label class="font_normal_body labelother">气表 状态</label>-->
|
|
49
|
+
<!-- <v-select :value.sync="model.f_table_state"-->
|
|
50
|
+
<!-- v-model="model.f_table_state"-->
|
|
51
|
+
<!-- :options='$parent.$parent.tablestate' placeholder='请选择'-->
|
|
52
|
+
<!-- condition="f_table_state = '{}'"-->
|
|
53
|
+
<!-- close-on-select></v-select>-->
|
|
54
|
+
<!-- </div>-->
|
|
55
|
+
<!-- </div>-->
|
|
56
|
+
</div>
|
|
57
|
+
</criteria>
|
|
58
|
+
|
|
59
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
|
|
60
|
+
<template partial='head'>
|
|
61
|
+
<tr>
|
|
62
|
+
<th>
|
|
63
|
+
<nobr>选择</nobr>
|
|
64
|
+
</th>
|
|
65
|
+
<th>
|
|
66
|
+
<nobr>序号</nobr>
|
|
67
|
+
</th>
|
|
68
|
+
<th>
|
|
69
|
+
<nobr>开发码ID</nobr>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>合同编号</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>合同名称</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>合同金额</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>客户名称</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>营业执照号</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>安装合同签订时间</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>签订付款约定</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>类型</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>用户类型</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>客户类型</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>商业类型</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>签订日用气量</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>签订签约户数</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>省名称</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<nobr>市名称</nobr>
|
|
115
|
+
</th>
|
|
116
|
+
<th>
|
|
117
|
+
<nobr>区名称</nobr>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<nobr>工程安装施工详细地点</nobr>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>所属公司</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
</tr>
|
|
126
|
+
</template>
|
|
127
|
+
<template partial='body'>
|
|
128
|
+
<td style="text-align:center">
|
|
129
|
+
<button type="button" name="button" class="button_export"
|
|
130
|
+
@click.stop="$parent.$parent.$parent.confirm(row)">确认选择</button>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;"><nobr>
|
|
133
|
+
<span >{{$index+1}}</span>
|
|
134
|
+
</nobr> </td>
|
|
135
|
+
<td style="text-align: center;"><nobr>
|
|
136
|
+
<span >{{row.sid}}</span>
|
|
137
|
+
</nobr> </td>
|
|
138
|
+
<td style="text-align: center;"><nobr>
|
|
139
|
+
<span >{{row.contract_sn}}</span>
|
|
140
|
+
</nobr> </td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.contract_name}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr>{{row.contract_money_signed}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<nobr>{{row.customer_name}}</nobr>
|
|
149
|
+
</td>
|
|
150
|
+
<td style="text-align: center;">
|
|
151
|
+
<nobr>{{row.business_license}}</nobr>
|
|
152
|
+
</td>
|
|
153
|
+
<td style="text-align: center;">
|
|
154
|
+
<nobr>{{row.sign_time}}</nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td style="text-align: center;"><nobr>
|
|
157
|
+
<span >{{row.appoint_signed}}</span>
|
|
158
|
+
</nobr> </td>
|
|
159
|
+
<td style="text-align: center;"><nobr>
|
|
160
|
+
<span >{{row.big_type}}</span>
|
|
161
|
+
</nobr> </td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr>{{row.customer_type}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.client_type}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.business_type}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.day_gas_signed}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.sign_num_signed}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr>{{row.province_name}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="text-align: center;">
|
|
181
|
+
<nobr>{{row.city_name}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td style="text-align: center;">
|
|
184
|
+
<nobr>{{row.area_name}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;">
|
|
187
|
+
<nobr>{{row.address}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{row.orgname}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
</template>
|
|
193
|
+
<template partial='foot'>
|
|
194
|
+
</template>
|
|
195
|
+
</data-grid>
|
|
196
|
+
</criteria-paged>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</template>
|
|
202
|
+
|
|
203
|
+
<script>
|
|
204
|
+
import {PagedList} from 'vue-client'
|
|
205
|
+
export default {
|
|
206
|
+
data() {
|
|
207
|
+
return {
|
|
208
|
+
model: new PagedList('rs/sql/address_singleTableOrderBy', 20,{
|
|
209
|
+
tablename: `'t_code_contract'`,items: `'*'`,
|
|
210
|
+
orderitem: `'id '`})
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
props:['f_filialeid','row'],
|
|
214
|
+
ready() {
|
|
215
|
+
},
|
|
216
|
+
methods: {
|
|
217
|
+
confirm (row) {
|
|
218
|
+
this.$dispatch('confirmcode',row)
|
|
219
|
+
},
|
|
220
|
+
search(){
|
|
221
|
+
this.$refs.paged.$refs.cri.search()
|
|
222
|
+
},
|
|
223
|
+
selfSearch(args) {
|
|
224
|
+
args.condition = `${args.condition}` + " and f_orgid = " + this.f_filialeid;
|
|
225
|
+
// args.condition = `${args.condition} `;
|
|
226
|
+
this.model.search(args.condition, args.model);
|
|
227
|
+
},
|
|
228
|
+
clear() {
|
|
229
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
230
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
231
|
+
})
|
|
232
|
+
},
|
|
233
|
+
hidden() {
|
|
234
|
+
this.criteriaShow = !this.criteriaShow
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
close() {
|
|
238
|
+
this.printshow = false;
|
|
239
|
+
this.all = false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
computed: {
|
|
243
|
+
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
</script>
|
|
247
|
+
<style scoped>
|
|
248
|
+
.labelother {
|
|
249
|
+
line-height: 18px;
|
|
250
|
+
}
|
|
251
|
+
</style>
|