address-client 3.2.90 → 3.2.91
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/package.json
CHANGED
|
@@ -230,7 +230,6 @@
|
|
|
230
230
|
initdata(){
|
|
231
231
|
if(this.areatype=='街道'){
|
|
232
232
|
this.initpcds(` f_filialeid = '${this.f_filialeids}'`)
|
|
233
|
-
this.initstreetmanage(` f_filialeid = '${this.f_filialeids}'`)
|
|
234
233
|
}
|
|
235
234
|
if(this.areatype=='小区'){
|
|
236
235
|
this.initpcds(` f_filialeid = '${this.f_filialeids}'`)
|
|
@@ -116,12 +116,14 @@
|
|
|
116
116
|
data () {
|
|
117
117
|
return {
|
|
118
118
|
criteriaShow: false,
|
|
119
|
-
model: new PagedList('rs/sql/address_getstreetlist',20),
|
|
119
|
+
model: new PagedList('rs/sql/address_getstreetlist',20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_city,f_district,f_iscity,f_street desc'`}),
|
|
120
120
|
addflag: false,
|
|
121
121
|
getfield: {},
|
|
122
122
|
addtitle:'',
|
|
123
123
|
// 公司下拉
|
|
124
124
|
curorgid: [this.$login.f.orgid],
|
|
125
|
+
//排序
|
|
126
|
+
orderitem:'f_city,f_district,f_iscity,f_street desc',
|
|
125
127
|
f_orgid: '',
|
|
126
128
|
config: {
|
|
127
129
|
// 导出列要和查询列相同
|
|
@@ -204,7 +206,9 @@
|
|
|
204
206
|
computed: {
|
|
205
207
|
getCondition() {
|
|
206
208
|
return {
|
|
207
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + `and s.f_filialeid = '${this.f_filialeids}'
|
|
209
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + `and s.f_filialeid = '${this.f_filialeids}'`,
|
|
210
|
+
orderitem: this.orderitem ? `${this.orderitem}` : " id desc"
|
|
211
|
+
}
|
|
208
212
|
}
|
|
209
213
|
}
|
|
210
214
|
}
|