manage-client 4.0.49 → 4.0.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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Mon Nov 04 18:30:03 CST 2024
2
+ gradle.version=8.5
Binary file
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.0.49",
3
+ "version": "4.0.50",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -205,6 +205,8 @@
205
205
 
206
206
  },
207
207
  ready() {
208
+ this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
209
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
208
210
  this.$refs.paged.$refs.cri.search()
209
211
  readySomething(this).then(() => {
210
212
  this.$emit('ready')
@@ -208,6 +208,15 @@
208
208
  condition="f_stair = '{}'"
209
209
  close-on-select></v-select>
210
210
  </div>
211
+ <div class="col-sm-2 form-group">
212
+ <label class="font_normal_body">气价名称</label>
213
+ <v-select :value.sync="model.f_price_name"
214
+ v-model="model.f_price_name"
215
+ multiple
216
+ :options="$parent.$parent.pricenames"
217
+ condition="f_price_name in {}"
218
+ ></v-select>
219
+ </div>
211
220
  </div>
212
221
  </div>
213
222
  </criteria>
@@ -223,6 +232,9 @@
223
232
  <th style="text-align:center">
224
233
  <nobr>用气性质</nobr>
225
234
  </th>
235
+ <th style="text-align:center">
236
+ <nobr>气价名称</nobr>
237
+ </th>
226
238
  <th style="text-align:center">
227
239
  <nobr>用户电话</nobr>
228
240
  </th>
@@ -306,6 +318,7 @@
306
318
  <td>{{row.f_userinfo_code}}</td>
307
319
  <td style="text-align:center">{{row.f_user_type}}</td>
308
320
  <td style="text-align:center">{{row.f_gasproperties}}</td>
321
+ <td style="text-align:center">{{row.f_price_name}}</td>
309
322
  <td style="text-align:center">{{row.f_user_phone}}</td>
310
323
  <!--<td style="text-align:center">{{row.f_gasproperties2}}</td>-->
311
324
  <td style="text-align:center">
@@ -392,6 +405,7 @@ let readyGen = async function (self) {
392
405
  await self.$MagLoadParams.loadParam()
393
406
  self.initParams()
394
407
  self.getaddress()
408
+ self.getPricenames()
395
409
  }
396
410
 
397
411
  export default {
@@ -419,6 +433,7 @@ export default {
419
433
  {label: '周', value: 'week'}
420
434
  ],
421
435
  meterbrands: [],
436
+ pricenames: [],
422
437
  residentialArea: [],
423
438
  criteriaShow: false,
424
439
  reportStr: null,
@@ -443,6 +458,7 @@ export default {
443
458
  'f_userinfo_code':'客户编号',
444
459
  'f_user_type':'客户类型',
445
460
  'f_gasproperties': '用气性质',
461
+ 'f_price_name': '气价名称',
446
462
  'f_user_name': '客户名称',
447
463
  'f_user_phone':'客户电话',
448
464
  'f_residential_area': '小区',
@@ -488,6 +504,17 @@ export default {
488
504
  this.getfield = this.config.excelHeaders
489
505
  },
490
506
  methods: {
507
+ getPricenames() {
508
+ this.pricenames = []
509
+ let priceArr = []
510
+ this.$MagGetSaleParam.prices.forEach((item) => {
511
+ let temp = {}
512
+ temp.label = item.f_price_name
513
+ temp.value = item.f_price_name
514
+ priceArr.push(temp)
515
+ })
516
+ this.pricenames = [{label: '全部', value: ''}, ...priceArr]
517
+ },
491
518
  // 查询开关
492
519
  hidden() {
493
520
  this.criteriaShow = !this.criteriaShow