manage-client 3.3.35 → 3.3.37

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.35",
3
+ "version": "3.3.37",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -161,7 +161,7 @@
161
161
  placeholder='请选择'
162
162
  condition="f_service_person ='{}'"
163
163
  :value.sync="model.f_service_person"
164
- :options='$parent.$parent.service_person'
164
+ :options='$parent.$parent.services'
165
165
  close-on-select clear-button>
166
166
  </v-select>
167
167
  </div>
@@ -403,7 +403,7 @@
403
403
  </template>
404
404
 
405
405
  <script>
406
- import {PagedList} from 'vue-client'
406
+ import {PagedList,HttpResetClass} from 'vue-client'
407
407
  import defaultPrint from '../config/DefaultPrint'
408
408
  import exportConfig from '../config/exportConfig'
409
409
  import OtherChargeDetailQuery from "./OtherChargeDetailQuery";
@@ -418,6 +418,7 @@
418
418
  await self.$MagLoadParams.loadParam()
419
419
 
420
420
  self.initParams()
421
+ self.initSecuritypersons()
421
422
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
422
423
  }
423
424
  export default {
@@ -460,6 +461,7 @@
460
461
  otherchargeid:'',
461
462
  rowdata:{},
462
463
  meterbrands: [],
464
+ services:[],
463
465
  //合计数据
464
466
  sumsmodel: {},
465
467
  showupload:false,
@@ -495,6 +497,29 @@
495
497
  })
496
498
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
497
499
  },
500
+ // 初始化安检人
501
+ initSecuritypersons () {
502
+ let origin = this.$appdata.getSingleValue('服务人员来源')
503
+ if (origin) {
504
+ try {
505
+ this.services = []
506
+ let http = new HttpResetClass()
507
+ http.load('post', '/rs/search', {
508
+ source: `this.getParentByType($organization$).getChildByName($${origin}$).getUsers()`,
509
+ userid: this.$login.f.id
510
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
511
+ console.log('获取安检人员', res.data)
512
+ for (let i = 0; i < res.data.length; i++) {
513
+ this.services.push({label: res.data[i].name, value: res.data[i].name})
514
+ }
515
+ })
516
+ } catch (e) {
517
+ console.log('获取安检人员失败')
518
+ }
519
+ }else {
520
+ this.services = [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
521
+ }
522
+ },
498
523
  getotherfooter(){
499
524
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
500
525
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
@@ -7,7 +7,7 @@ export default{
7
7
  'f_address': '客户地址', 'f_residential_area': '小区',
8
8
  'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号',
9
9
  'f_user_state': '客户状态', 'f_createfile_date': '建档日期', 'f_createfile_person': '建档人', 'f_comments': '备注'
10
- , 'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号', 'f_inputtor': '抄表员',
10
+ ,'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号', 'f_inputtor': '抄表员',
11
11
  'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_gas_date': '通气时间'
12
12
  },
13
13
 
@@ -215,7 +215,7 @@ export default{
215
215
  'f_user_state': '客户状态', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_card_id': '卡号', 'f_user_name': '客户名称',
216
216
  'f_residential_area': '小区名称', 'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号', 'f_address': '详细地址',
217
217
  'f_user_phone': '联系电话', 'f_usetype': '使用类型',
218
- 'f_gas_date': '通气日期', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '类型', 'f_meter_brand': '品牌',
218
+ 'f_gas_date': '通气日期', 'f_subscribe_date': '预约通气时间', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '类型', 'f_meter_brand': '品牌',
219
219
  'f_meternumber': '表号', 'f_metertitles': '表封号', 'f_aroundmeter': '表向', 'f_install_date': '气表安装日期', 'f_meter_base': '气表底数',
220
220
  'f_balance': '账户余额', 'f_hand_date': '最后抄表日期', 'f_whether_hairpin': '是否发卡',
221
221
  'f_valve_state': '阀门状态', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'value': '气价详情',
@@ -591,7 +591,7 @@ export default{
591
591
  GasAnalysisManageConfig: {'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址', 'f_balance': '期初余额', 'f_pregas': '用气气量', 'f_preamount': '用气金额', 'f_charge_money': '收款', 'f_curbalance': '期末结余'},
592
592
 
593
593
  dataReportConfig: {
594
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户姓名', 'f_address': '地址', 'f_meter_brand': '气表厂家', 'f_operate_date': '充值时间', 'f_stair1price': '1单价', 'f_stair1amount': '1气量',
594
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户姓名', 'f_address': '地址', 'f_meter_brand': '气表厂家', 'f_meternumber': '表号' ,'f_operate_date': '充值时间', 'f_stair1price': '1单价', 'f_stair1amount': '1气量',
595
595
  'f_stair2price': '2单价', 'f_stair2amount': '2气量', 'f_stair3price': '3单价', 'f_stair3amount': '3气量', 'f_pregas': '气量', 'f_preamount': '应收金额', 'f_collection': '实收金额',
596
596
  'f_balance': '上期结余', 'f_curbalance': '本期结余', 'f_payment': '付款方式', 'f_type': '收费类型', 'f_state': '收费状态', 'f_operator': '操作员',
597
597
  'f_user_type': '用户类型', 'f_comments': '备注'
@@ -404,6 +404,26 @@
404
404
  condition="f_gas_date <= '{} 23:59:59'">
405
405
  </datepicker>
406
406
  </div>
407
+ <div class="col-sm-2 form-group" >
408
+ <label for="startDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
409
+ <datepicker id="startDate5" placeholder="开始日期" style="width:60%"
410
+ v-model="model.startDate5"
411
+ :value.sync="model.startDate5"
412
+ :format="'yyyy-MM-dd'"
413
+ :show-reset-button="true"
414
+ condition="f_subscribe_date >= '{} 00:00:00'">
415
+ </datepicker>
416
+ </div>
417
+ <div class="col-sm-2 form-group" >
418
+ <label for="endDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
419
+ <datepicker id="endDate5" placeholder="结束日期" style="width:60%"
420
+ v-model="model.endDate5"
421
+ :value.sync="model.endDate5"
422
+ :format="'yyyy-MM-dd'"
423
+ :show-reset-button="true"
424
+ condition="f_subscribe_date <= '{} 23:59:59'">
425
+ </datepicker>
426
+ </div>
407
427
  <div class="col-sm-2 form-group" >
408
428
  <label class="font_normal_body">气表表号</label>
409
429
  <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
@@ -625,6 +645,7 @@
625
645
  <!--<th><nobr>通气时间</nobr></th>-->
626
646
 
627
647
  <!-- <th><nobr>气表型号</nobr></th>-->
648
+ <th><nobr>预约通气时间</nobr></th>
628
649
  <th><nobr>表具状态</nobr></th>
629
650
  <th><nobr>初始气表底数</nobr></th>
630
651
  <th><nobr>累计用气金额</nobr></th>
@@ -763,6 +784,7 @@
763
784
  <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
764
785
 
765
786
  <!-- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>-->
787
+ <td style="text-align: center;"><nobr>{{row.f_subscribe_date}}</nobr></td>
766
788
  <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
767
789
  <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
768
790
  <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
@@ -161,7 +161,7 @@
161
161
  placeholder='请选择'
162
162
  condition="f_service_person ='{}'"
163
163
  :value.sync="model.f_service_person"
164
- :options='$parent.$parent.service_person'
164
+ :options='$parent.$parent.services'
165
165
  close-on-select clear-button>
166
166
  </v-select>
167
167
  </div>
@@ -403,7 +403,7 @@
403
403
  </template>
404
404
 
405
405
  <script>
406
- import {PagedList} from 'vue-client'
406
+ import {PagedList,HttpResetClass} from 'vue-client'
407
407
  import defaultPrint from './config/DefaultPrint'
408
408
  import exportConfig from './config/exportConfig'
409
409
  import OtherChargeDetailQuery from "./OtherChargeDetailQuery";
@@ -418,6 +418,7 @@
418
418
  await self.$MagLoadParams.loadParam()
419
419
 
420
420
  self.initParams()
421
+ self.initSecuritypersons()
421
422
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
422
423
  }
423
424
  export default {
@@ -450,6 +451,7 @@
450
451
  defaultfield: [],
451
452
  thead: '',
452
453
  tfoot: '',
454
+ services:[],
453
455
  initres: {
454
456
  org:[this.$login.f.orgid],
455
457
  dep:[],
@@ -495,6 +497,29 @@
495
497
  })
496
498
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
497
499
  },
500
+ // 初始化安检人
501
+ initSecuritypersons () {
502
+ let origin = this.$appdata.getSingleValue('服务人员来源')
503
+ if (origin) {
504
+ try {
505
+ this.services = []
506
+ let http = new HttpResetClass()
507
+ http.load('post', '/rs/search', {
508
+ source: `this.getParentByType($organization$).getChildByName($${origin}$).getUsers()`,
509
+ userid: this.$login.f.id
510
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
511
+ console.log('获取安检人员', res.data)
512
+ for (let i = 0; i < res.data.length; i++) {
513
+ this.services.push({label: res.data[i].name, value: res.data[i].name})
514
+ }
515
+ })
516
+ } catch (e) {
517
+ console.log('获取安检人员失败')
518
+ }
519
+ }else {
520
+ this.services = [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
521
+ }
522
+ },
498
523
  getotherfooter(){
499
524
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
500
525
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
@@ -110,6 +110,7 @@
110
110
  <th>
111
111
  <data-order field="f_meter_brand" name="气表厂家"></data-order>
112
112
  </th>
113
+ <th><nobr>表号</nobr></th>
113
114
  <th><data-order field="f_operate_date" name="操作时间"></data-order>
114
115
  <!--<nobr>操作时间</nobr>-->
115
116
  </th>
@@ -174,6 +175,7 @@
174
175
  <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
175
176
  <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
176
177
  <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
178
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
177
179
  <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
178
180
  <!-- <td style="text-align: center;"><nobr>{{row.f_stair1price}}</nobr></td>-->
179
181
  <!-- <td style="text-align: center;"><nobr>{{row.f_stair1amount}}</nobr></td>-->