manage-client 3.3.7 → 3.3.9

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/.classpath CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <classpath>
3
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
4
- <classpathentry exported="true" kind="con" path="org.springsource.ide.eclipse.gradle.classpathcontainer"/>
5
- <classpathentry kind="output" path="bin"/>
3
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
4
+ <classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
5
+ <classpathentry kind="output" path="bin/default"/>
6
6
  </classpath>
package/.project CHANGED
@@ -10,9 +10,26 @@
10
10
  <arguments>
11
11
  </arguments>
12
12
  </buildCommand>
13
+ <buildCommand>
14
+ <name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15
+ <arguments>
16
+ </arguments>
17
+ </buildCommand>
13
18
  </buildSpec>
14
19
  <natures>
15
20
  <nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
16
21
  <nature>org.eclipse.jdt.core.javanature</nature>
22
+ <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
17
23
  </natures>
24
+ <filteredResources>
25
+ <filter>
26
+ <id>1687159111131</id>
27
+ <name></name>
28
+ <type>30</type>
29
+ <matcher>
30
+ <id>org.eclipse.core.resources.regexFilterMatcher</id>
31
+ <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
32
+ </matcher>
33
+ </filter>
34
+ </filteredResources>
18
35
  </projectDescription>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.7",
3
+ "version": "3.3.9",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -180,6 +180,11 @@
180
180
  close-on-select clear-button>
181
181
  </v-select>
182
182
  </div>
183
+ <div class="col-sm-2 form-group">
184
+ <label class="font_normal_body">流水编号</label>
185
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
186
+ condition="f_serial_id = '{}'" placeholder='流水编号'>
187
+ </div>
183
188
 
184
189
  </div>
185
190
  </div>
@@ -264,6 +269,9 @@
264
269
  <th>
265
270
  <nobr>收费日期</nobr>
266
271
  </th>
272
+ <th>
273
+ <nobr>流水编号</nobr>
274
+ </th>
267
275
  <th>
268
276
  <nobr>服务人员</nobr>
269
277
  </th>
@@ -361,6 +369,9 @@
361
369
  <td style="text-align: center;">
362
370
  <nobr>{{row.f_operate_date}}</nobr>
363
371
  </td>
372
+ <td style="text-align: center;">
373
+ <nobr>{{row.f_serial_id}}</nobr>
374
+ </td>
364
375
  <td style="text-align: center;">
365
376
  <nobr>{{row.f_service_person}}</nobr>
366
377
  </td>
@@ -88,7 +88,7 @@ export default{
88
88
  'f_meter_brand': '气表品牌', 'f_bill_number': '收据票号', 'f_brand_spec': '收费类型', 'f_typename': '品名规格',
89
89
  'f_typenumber': '型号', 'f_unitprice': '单价', 'f_number': '数量', 'f_money': '应收',
90
90
  'f_collection': '收款', 'f_newbalance': '支出', 'f_newcurbalance': '收入', 'f_payment': '付款方式', 'f_state': '状态',
91
- 'f_old_overdue': '违约金', 'f_operate_date': '收费日期', 'f_service_person': '服务人员', 'f_comments': '备注',
91
+ 'f_old_overdue': '违约金', 'f_operate_date': '收费日期', 'f_serial_id': '流水编号', 'f_service_person': '服务人员', 'f_comments': '备注',
92
92
  'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
93
93
  },
94
94
  userConfig: { 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_enter_number': '入户证号',
@@ -339,7 +339,7 @@
339
339
  </div>
340
340
  </criteria>
341
341
 
342
- <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
342
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" :modelval="$parent.$parent.modelval" v-ref:grid >
343
343
  <template partial='head'>
344
344
  <tr>
345
345
  <th>
@@ -824,7 +824,7 @@
824
824
  </footer>
825
825
  </modal>
826
826
  </div>
827
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
827
+ <!-- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>-->
828
828
  </template>
829
829
 
830
830
  <script>
@@ -862,6 +862,7 @@
862
862
  await self.$MagLoadParams.loadParam()
863
863
  self.initParams()
864
864
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
865
+ self.$refs.paged.$refs.grid.modelval = self.modelval
865
866
  }
866
867
  export default {
867
868
  props:['data'],
@@ -953,6 +954,7 @@
953
954
  // {label: '二阶', value: '二阶'},
954
955
  // {label: '三阶', value: '三阶'}
955
956
  // ]
957
+ modelval: ['用户编号','用户名称','用户地址','用户型号','用气性质','气量','收款','收费日期','一阶单价','二阶单价','三阶单价']
956
958
  }
957
959
  },
958
960
  ready() {
@@ -1005,14 +1007,14 @@
1005
1007
  cardBtnGen(this, val)
1006
1008
  },
1007
1009
  async initmeterbook(orgstr){
1008
- if(orgstr == null ){
1009
- orgstr = this.f_filialeid;
1010
- }
1011
- //获取新的抄表册,先去清理所有的抄表册
1012
- this.$GetSaleParam.meterbooks = [];
1013
- //开始加载新的抄表册
1014
- await this.$LoadParams.loadMeterBook(orgstr)
1015
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1010
+ // if(orgstr == null ){
1011
+ // orgstr = this.f_filialeid;
1012
+ // }
1013
+ // //获取新的抄表册,先去清理所有的抄表册
1014
+ // this.$GetSaleParam.meterbooks = [];
1015
+ // //开始加载新的抄表册
1016
+ // await this.$LoadParams.loadMeterBook(orgstr)
1017
+ // this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1016
1018
  },
1017
1019
  async getinputtores () {
1018
1020
  // 获取抄表员
@@ -1106,7 +1108,7 @@
1106
1108
  //初始化气表价格
1107
1109
  this.prices = this.$MagGetSaleParam.getPrices();
1108
1110
  },
1109
- selfSearch(args) {
1111
+ async selfSearch(args) {
1110
1112
  if (this.data) {
1111
1113
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1112
1114
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
@@ -1120,10 +1122,12 @@
1120
1122
  if(this.IdCardInfo!=''){
1121
1123
  args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1122
1124
  }
1123
- this.model.search(args.condition, args.model)
1125
+ await this.model.search(args.condition, args.model)
1124
1126
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1125
1127
  this.card=''
1126
1128
  this.IdCardInfo=''
1129
+ await this.$refs.paged.$refs.grid.InitializedData()
1130
+ await this.$refs.paged.$refs.grid.displayColumnSettings(undefined)
1127
1131
  },
1128
1132
  clear() {
1129
1133
  //清空部门和人员
@@ -101,16 +101,13 @@
101
101
  close-on-select >
102
102
  </v-select>
103
103
  </div>
104
- <div class="col-sm-2 flex-row" style="white-space: nowrap">
104
+ <div class="col-sm-2 form-group">
105
105
  <label class="font_normal_body">未购天数</label>
106
- <div class="row">
107
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
106
+ <input type="text" style="width:23%" class="input_search" v-model="model.diffdaymin"
108
107
  condition="diffday >= {} " placeholder="">
109
108
  <label class="font_normal_body"> ≤ x ≤ </label>
110
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
109
+ <input type="text" style="width:23%" class="input_search" v-model="model.diffdaymax"
111
110
  condition="diffday <= {} " placeholder="">
112
- </div>
113
-
114
111
  </div>
115
112
  <div class="col-sm-2 form-group" >
116
113
  <label class="font_normal_body">总购次数</label>
@@ -200,13 +197,11 @@
200
197
  <template partial='head'>
201
198
  <tr>
202
199
  <th><nobr>序号</nobr></th>
203
- <th><nobr>组织机构</nobr></th>
204
- <th><nobr>小区名称</nobr></th>
205
200
  <th><nobr>用户名称</nobr></th>
206
- <th><nobr>详细地址</nobr></th>
201
+ <th><nobr>用户地址</nobr></th>
207
202
  <th><nobr>用户编号</nobr></th>
208
203
  <th><nobr>用户电话</nobr></th>
209
- <!--<th><nobr>档案编号</nobr></th>-->
204
+ <th><nobr>档案编号</nobr></th>
210
205
  <th><nobr>表号</nobr></th>
211
206
  <th><nobr>用户状态</nobr></th>
212
207
  <th><nobr>建档日期</nobr></th>
@@ -216,30 +211,27 @@
216
211
  <th><nobr>气表品牌</nobr></th>
217
212
  <th><nobr>气价名称</nobr></th>
218
213
  <th><nobr>最后购气日期</nobr></th>
219
- <th><nobr>未购气天数</nobr></th>
220
214
  <th><nobr>总购气次数</nobr></th>
221
- <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总抄表次数</nobr></th>-->
215
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总抄表次数</nobr></th>-->
222
216
 
223
217
  <th><nobr>总购气量</nobr></th>
224
218
  <th><nobr>总购金额</nobr></th>
225
- <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总用气量</nobr></th>-->
219
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总用气量</nobr></th>-->
226
220
 
227
221
  <th><nobr>累计未购气天数</nobr></th>
228
- <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>累计未抄表天数</nobr></th>-->
229
-
222
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>累计未抄表天数</nobr></th>-->
223
+ <th><nobr>组织机构</nobr></th>
230
224
  </tr>
231
225
  </template>
232
226
  <template partial='body'>
233
227
  <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
234
- <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
235
- <th style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></th>
236
228
  <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
237
229
  <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
238
230
  <td style="text-align: center;"><nobr>
239
231
  <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
240
232
  </nobr> </td>
241
233
  <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
242
- <!--<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
234
+ <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
243
235
  <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
244
236
  <th style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></th>
245
237
  <th style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></th>
@@ -249,12 +241,12 @@
249
241
  <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
250
242
  <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
251
243
  <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
252
- <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
253
244
 
254
245
  <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
255
246
  <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
256
247
  <th style="text-align: center;"><nobr>{{row.collection}}</nobr></th>
257
248
  <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
249
+ <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
258
250
  </template>
259
251
  </data-grid>
260
252
  </criteria-paged>
@@ -300,11 +292,11 @@
300
292
  filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
301
293
  userid: this.$login.f.id,
302
294
  source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
303
- getfield:{"f_orgname":"组织机构","f_residential_area":"小区名称","f_user_name":"用户名称","f_userinfo_code":"用户编号","f_address":"详细地址",
304
- "f_meternumber":"表号", "f_user_state":"用户状态","f_user_phone":"用户电话","f_createfile_date":"建档日期","f_user_type":"用户类型",
295
+ getfield:{"f_userinfo_code":"用户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号","f_user_name":"用户名称",
296
+ "f_user_state":"用户状态","f_user_phone":"用户电话","f_address":"用户地址","f_createfile_date":"建档日期","f_user_type":"用户类型",
305
297
  "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
306
- "delivery_date":"最后购气日期","diffday":"未购气总天数","cishu":"总购气次数","pregas":"总购气量","collection":"总购金额"
307
- },
298
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量","collection":"总购金额",
299
+ "diffday":"未购气总天数"},
308
300
  model: new PagedList('rs/sql/inspectListNew', 50,{startDate:'this.model.startDate',endDate:'this.model.endDate'},{pregas: 0,collection: 0}),
309
301
  rows: null,
310
302
  //orgid:'',
@@ -812,7 +812,7 @@
812
812
  dep:[],
813
813
  user:[]
814
814
  },
815
- model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
815
+ model: new PagedList('rs/sql/chargeQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate',orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
816
816
  f_pregas: 0,
817
817
  f_preamount: 0,
818
818
  f_delaypay: 0,
@@ -895,6 +895,9 @@ export default {
895
895
  },
896
896
  },
897
897
  computed: {
898
+ userstates() {
899
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
900
+ },
898
901
  authArr () {
899
902
  return this.$login.r ? this.$login.r : []
900
903
  },
@@ -922,6 +925,9 @@ export default {
922
925
  getExportField() {
923
926
  return exportConfig.userConfig
924
927
  },
928
+ TableStates () {
929
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
930
+ },
925
931
  addressstate() {
926
932
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
927
933
  }
@@ -45,7 +45,10 @@
45
45
  <div class="span" style="float:right;">
46
46
  <button class="button_search button_spacing" @click="search()">查询</button>
47
47
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
- <button class="button_clear button_spacing" style="margin-top: 10px;background-color: #6aa6e2;" @click="$parent.$parent.downloadFiles()">导出</button>
48
+ <export-excel :data="$parent.$parent.getCondition"
49
+ :field="$parent.$parent.getExportField"
50
+ sqlurl="rs/wxEasyExcel/gasDeviceExport" sql-name="myGasDeviceQuery" template-name='民用用气设备查询'
51
+ :choose-col="true"></export-excel>
49
52
  <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>
50
53
  </div>
51
54
  </div>
@@ -187,7 +190,7 @@
187
190
  <th colspan="6"><nobr>燃气灶具连接管</nobr></th>
188
191
  <th colspan="5"><nobr>燃气热水器</nobr></th>
189
192
  <th colspan="5"><nobr>燃气壁挂炉</nobr></th>
190
- <th colspan="5"><nobr>燃气保险信息</nobr></th>
193
+ <th colspan="4"><nobr>燃气保险信息</nobr></th>
191
194
  <th colspan="2"><nobr>初次充值信息</nobr></th>
192
195
  <!-- <th colspan="2"><nobr>每年充值</nobr></th>-->
193
196
  <th colspan="7"><nobr>安检信息</nobr></th>
@@ -805,33 +808,6 @@
805
808
  }
806
809
  this.residentialArea = house
807
810
  },
808
- async downloadFiles() {
809
- if (this.condition2) {
810
- let data = {
811
- sqlName: 'myGasDeviceQuery',
812
- condition: this.condition2,
813
- fileName: '民用用气设备查询'
814
- }
815
- let HttpReset = new HttpResetClass()
816
- let res = await HttpReset.load('POST', 'rs/deviceExport/gasDevices', {
817
- data: data
818
- }, {resolveMsg: null, rejectMsg: null})
819
- if (res){
820
- let downurl = 'rs/deviceExport/download?filename=民用用气设备查询.xlsx';
821
- this.$resetget(downurl, {}).then(res => {
822
- var link = document.createElement('a');
823
- link.target = "_blank"
824
- link.href = downurl;
825
- link.setAttribute("download", "民用用气设备查询.xlsx"); //指定下载后的文件名,防跳转
826
- document.body.appendChild(link);
827
- link.click();
828
- })
829
- }
830
- } else {
831
- this.$showAlert('查询条件为空,请查询后再导出', 'warning', 3000)
832
- return
833
- }
834
- },
835
811
  //把数据库查询数据转换为下拉数据
836
812
  calculate(rows){
837
813
  let data = []
@@ -1002,7 +978,7 @@
1002
978
  return data
1003
979
  },
1004
980
  getExportField() {
1005
- return exportConfig.userConfig
981
+ return exportConfig.gasDeviceConfig
1006
982
  },
1007
983
  addressstate() {
1008
984
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
@@ -46,7 +46,7 @@
46
46
  <export-excel :data="$parent.$parent.getCondition"
47
47
  :field="$parent.$parent.getExportField"
48
48
  v-if="$parent.$parent.authArr.includes('档案查询导出')"
49
- sqlurl="rs/easyExcel/compreExport" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
49
+ sqlurl="rs/easyExcel/exportExcel" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
50
50
  <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
51
51
  :defaultfield="$parent.$parent.defaultfield"
52
52
  titletable="综合档案查询"
@@ -910,7 +910,64 @@ export default{
910
910
  'f_overCurrentProtection': '过流保护',
911
911
  'f_die_meter': '死表',
912
912
  'f_upload_type': '上报类型'
913
+ },
914
+ gasDeviceConfig: {
915
+ 'f_userinfo_code': '客户编号',
916
+ 'f_user_name': '客户名称',
917
+ 'f_idnumber': '身份证号',
918
+ 'f_user_phone': '联系电话',
919
+ 'f_residential_area': '小区名称',
920
+ 'f_address': '客户地址',
921
+ 'f_user_state': '客户状态',
922
+ 'f_meter_brand': '品牌',
923
+ 'f_meternumber': '表号',
924
+ 'f_meter_type': '类型',
925
+ 'f_table_state': '型号',
926
+ 'f_meter_style': '表向',
927
+ 'f_aroundmeter': '上报类型',
928
+ 'f_position': '安装位置',
929
+ 'f_install_date': '安装日期',
930
+ 'f_createfile_date': '建档日期',
931
+ 'f_contract_date': '合同日期',
932
+ 'f_open_date': '开户日期',
933
+ 'f_open_person': '开户操作人',
934
+ 'f_gas_date': '通气日期',
935
+ 'f_gas_person': '通气人员',
936
+ 'ventilation_years': '通气年限',
937
+ 'alarm_brand': '报警器品牌',
938
+ 'alarm_num': '数量',
939
+ 'alarm_make_date': '生产日期',
940
+ 'alarm_exp_date': '超期提醒',
941
+ 'zaoju_brand': '灶具品牌',
942
+ 'zaoju_num': '数量',
943
+ 'zaoju_make_date': '生产日期',
944
+ 'zaoju_exp_date': '超期提醒',
945
+ 'f_has_pepe': '有无不锈钢波纹管',
946
+ 'f_pipe_num': '数量',
947
+ 'f_is_zibifa': '有无自闭阀',
948
+ 'f_zibifa_num': '数量',
949
+ 'zaoju_pipe_expdate': '超期提醒',
950
+ 'reshui_brand': '品牌',
951
+ 'reshui_num': '数量',
952
+ 'reshui_make_date': '生产日期',
953
+ 'reshui_exp_date': '超期提醒',
954
+ 'bigua_brand': '品牌',
955
+ 'bigua_num': '数量',
956
+ 'bigua_make_date': '生产日期',
957
+ 'bigua_exp_date': '超期提醒',
958
+ 'f_fee_type': '类型',
959
+ 'f_money': '金额(元)',
960
+ 'fee_operate_date': '日期',
961
+ 'f_expiration_date': '充值时间',
962
+ 'f_min_operate_date': '金额(元)',
963
+ 'f_preamount': '安检日期',
964
+ 'f_upload_date': '安检人员',
965
+ 'f_checker_name': '用气总量',
966
+ 'f_total_gas': '总充值额',
967
+ 'f_balance_gas': '剩余气量',
968
+ 'f_defect_content': '发现问题',
969
+ 'f_repair_date': '整改日期',
970
+ 'f_comments': '备注'
913
971
  }
914
-
915
972
  }
916
973
 
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Oct 26 16:02:57 CST 2020
2
- gradle.version=6.1.1
Binary file
File without changes