manage-client 3.3.117 → 3.3.118

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.117",
3
+ "version": "3.3.118",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -26,6 +26,26 @@
26
26
  :show-reset-button="reset">
27
27
  </datepicker>
28
28
  </div>
29
+ <div class="col-sm-3" >
30
+ <label class="font_normal_body" for="startDate1">上报日期</label>
31
+ <datepicker id="startDate" placeholder="上报开始日期" style="width: 60%"
32
+ v-model="model.startDate1"
33
+ :value.sync="model.startDate1"
34
+ :disabled-days-of-Week="[]"
35
+ :format="'yyyy-MM-dd 00:00:00'"
36
+ :show-reset-button="reset">
37
+ </datepicker>
38
+ </div>
39
+ <div class="col-sm-3" >
40
+ <label class="font_normal_body" for="endDate1">上报日期</label>
41
+ <datepicker id="endDate" placeholder="上报结束日期" style="width: 60%"
42
+ v-model="model.endDate1"
43
+ :value.sync="model.endDate1"
44
+ :disabled-days-of-Week="[]"
45
+ :format="'yyyy-MM-dd 23:59:59'"
46
+ :show-reset-button="reset">
47
+ </datepicker>
48
+ </div>
29
49
  <div class="col-sm-3">
30
50
  <label class="font_normal_body">气表品牌</label>
31
51
  <v-select :value.sync="model.gasbrand"
@@ -154,7 +174,7 @@
154
174
  depname: '',
155
175
  operatorname: '',
156
176
  orgCondtionStr: '1=1',
157
- model: new DataModel('rs/report/mgetEveryDaySummary', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid',newWebHand: !!this.$appdata.getSingleValue('新抄表')}),
177
+ model: new DataModel('rs/report/mgetEveryDaySummary', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', startDate1: 'this.model.startDate1', endDate1: 'this.model.endDate1', f_orgid: 'this.model.f_orgid',newWebHand: !!this.$appdata.getSingleValue('新抄表')}),
158
178
  reportStr: null,
159
179
  show: false,
160
180
  spans: ''
@@ -26,6 +26,26 @@
26
26
  :show-reset-button="reset">
27
27
  </datepicker>
28
28
  </div>
29
+ <div class="col-sm-3" >
30
+ <label class="font_normal_body" for="startDate1">上报日期</label>
31
+ <datepicker id="startDate" placeholder="上报开始日期" style="width: 60%"
32
+ v-model="model.startDate1"
33
+ :value.sync="model.startDate1"
34
+ :disabled-days-of-Week="[]"
35
+ :format="'yyyy-MM-dd 00:00:00'"
36
+ :show-reset-button="reset">
37
+ </datepicker>
38
+ </div>
39
+ <div class="col-sm-3" >
40
+ <label class="font_normal_body" for="endDate1">上报日期</label>
41
+ <datepicker id="endDate" placeholder="上报结束日期" style="width: 60%"
42
+ v-model="model.endDate1"
43
+ :value.sync="model.endDate1"
44
+ :disabled-days-of-Week="[]"
45
+ :format="'yyyy-MM-dd 23:59:59'"
46
+ :show-reset-button="reset">
47
+ </datepicker>
48
+ </div>
29
49
  <div class="col-sm-3">
30
50
  <label class="font_normal_body">气表品牌</label>
31
51
  <v-select :value.sync="model.gasbrand"
@@ -154,7 +174,7 @@
154
174
  depname: '',
155
175
  operatorname: '',
156
176
  orgCondtionStr: '1=1',
157
- model: new DataModel('rs/report/mgetEveryMonthSummary', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid',newWebHand: !!this.$appdata.getSingleValue('新抄表')}),
177
+ model: new DataModel('rs/report/mgetEveryMonthSummary', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', startDate1: 'this.model.startDate1', endDate1: 'this.model.endDate1', f_orgid: 'this.model.f_orgid',newWebHand: !!this.$appdata.getSingleValue('新抄表')}),
158
178
  reportStr: null,
159
179
  show: false,
160
180
  spans: ''
@@ -121,6 +121,9 @@
121
121
  <tabs header="受理单查询" v-if="permission('受理单查询')">
122
122
  <print-sheet-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></print-sheet-query>
123
123
  </tabs>
124
+ <tabs header="开关阀记录查询" v-if="permission('开关阀记录查询')">
125
+ <operation-value-record ></operation-value-record>
126
+ </tabs>
124
127
  </tab-button>
125
128
  <!-- </div>-->
126
129
  <!-- <div v-if="!listpage">-->
@@ -157,9 +157,6 @@
157
157
  <th>
158
158
  <nobr>联系电话</nobr>
159
159
  </th>
160
- <th>
161
- <nobr>客户电话</nobr>
162
- </th>
163
160
  <th>
164
161
  <nobr>用气点名称</nobr>
165
162
  </th>
@@ -220,9 +217,6 @@
220
217
  <td style="text-align: center;">
221
218
  <nobr>{{row.f_user_phone}}</nobr>
222
219
  </td>
223
- <td style="text-align: center;">
224
- <nobr>{{row.cy_lxr}}</nobr>
225
- </td>
226
220
  <td style="text-align: center;">
227
221
  <nobr>{{row.f_userfiles_address}}</nobr>
228
222
  </td>
@@ -174,6 +174,37 @@
174
174
  <input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtamount_big"
175
175
  condition="f_oughtamount <= '{}' " placeholder="小于等于">
176
176
  </div>
177
+ <div class="col-sm-2 form-group">
178
+ <label for="startHandDate" class="font_normal_body">开户时间</label>
179
+ <datepicker id="startHandDate" placeholder="开始日期" style="width:60%"
180
+ v-model="model.startOpenDate"
181
+ :value.sync="model.startOpenDate"
182
+ :format="'yyyy-MM-dd HH:mm:ss'"
183
+ condition="f_open_date >= '{}'"
184
+ :show-reset-button="true"
185
+ >
186
+ </datepicker>
187
+ </div>
188
+ <div class="col-sm-2 form-group">
189
+ <label for="endHandDate" class="font_normal_body">&emsp;&emsp;&emsp;至</label>
190
+ <datepicker id="endHandDate" placeholder="结束日期" style="width:60%"
191
+ v-model="model.endOpenDate"
192
+ :value.sync="model.endOpenDate"
193
+ :format="'yyyy-MM-dd HH:mm:ss'"
194
+ condition="f_open_date <= '{}'"
195
+ :show-reset-button="true"
196
+ >
197
+ </datepicker>
198
+ </div>
199
+ <div class="col-sm-2 form-group">
200
+ <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
201
+ <v-select :value.sync="model.f_inputtor"
202
+ v-model="model.f_inputtor"
203
+ :options='$parent.$parent.inputtores' placeholder='请选择'
204
+ condition="f_inputtor = '{}'"
205
+ close-on-select :search="false">
206
+ </v-select>
207
+ </div>
177
208
  </div>
178
209
  </div>
179
210
  </criteria>
@@ -449,6 +480,7 @@ import exportConfig from '../config/exportConfig'
449
480
  printshow: false,
450
481
  all: false,
451
482
  fields: {},
483
+ inputtores: [],
452
484
  thead: '',
453
485
  tfoot: '',
454
486
  //表册片区
@@ -499,6 +531,17 @@ import exportConfig from '../config/exportConfig'
499
531
  })
500
532
  }
501
533
  },
534
+ async updateParams() {
535
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
536
+ this.inputtores = [];
537
+ this.inputtores.push({label: '全部', value: ''})
538
+ this.initSlice(this.f_filialeid)
539
+ if (this.allorgid != null) {
540
+ this.allorgid.forEach((res) => {
541
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
542
+ })
543
+ }
544
+ },
502
545
  //表册片区和抄表册关联
503
546
  async inputtorchange(){
504
547
  /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
@@ -739,6 +782,7 @@ import exportConfig from '../config/exportConfig'
739
782
  let a = val.substring(val.indexOf("(")+2)
740
783
  await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
741
784
  }
785
+ this.updateParams()
742
786
  },
743
787
  }
744
788
  }
@@ -424,7 +424,10 @@ export default{
424
424
  "f_date": "抄表区间",
425
425
  "f_input_day": "天数",
426
426
  "f_oughtamount": "用气量",
427
- "f_oughtfee": "用气金额"
427
+ "f_oughtfee": "用气金额",
428
+ "f_last_tablebase": "期初底数",
429
+ "f_tablebase": "期末底数",
430
+ "f_createfile_date": "建档日期"
428
431
  },
429
432
  notgasConfig: {
430
433
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_credentials': '证件类型',
@@ -561,7 +564,7 @@ export default{
561
564
  'sep': '九月', 'oct': '十月', 'nov': '十一月', 'dec': '十二月', 'sum_oughtamount': '累计气量'
562
565
  },
563
566
  disableConfig: {
564
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'cy_lxr': '常用联系人',
567
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话',
565
568
  'f_userfiles_address': '用气点名称', 'f_address': '客户地址', 'f_disable_reason': '停用原因',
566
569
  'f_othereason': '其他原因', 'f_comments': '备注', 'f_state': '停用状态',
567
570
  'f_operate_date': '停用日期', 'f_operat_type': '操作类型', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号','f_meter_brand':'气表品牌'
@@ -39,9 +39,6 @@
39
39
  <tabs header="物联网表结算分析" v-if="newWebHand &&permission('物联网表结算分析')">
40
40
  <new-webmeter-settlement-analysis v-if="show.includes('物联网表结算分析')"></new-webmeter-settlement-analysis>
41
41
  </tabs>
42
- <tabs header="开关阀记录查询" v-if="permission('开关阀记录查询')">
43
- <operation-value-record v-if="show.includes('开关阀记录查询')"></operation-value-record>
44
- </tabs>
45
42
  </tab-button>
46
43
 
47
44
  </template>
@@ -184,8 +184,8 @@ import defaultPrint from '../config/DefaultPrint'
184
184
  import exportConfig from '../config/exportConfig'
185
185
 
186
186
  let readySomething = async function (self) {
187
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
188
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
187
+ self.startDate = self.$login.toStandardDateString()
188
+ self.endDate = self.$login.toStandardDateString()
189
189
  self.getAreaList()
190
190
  }
191
191
  export default {
@@ -323,6 +323,8 @@ export default {
323
323
  } else {
324
324
  args.condition = `${args.condition}` + this.orgConditionStr
325
325
  }
326
+ this.$refs.paged.$refs.cri.model.startDate = this.startDate
327
+ this.$refs.paged.$refs.cri.model.endDate = this.endDate
326
328
  this.condition = args.condition
327
329
  console.log("查看条件", this.condition)
328
330
  await this.model.search(args.condition, args.model)
@@ -34,7 +34,7 @@
34
34
  <div class="col-sm-2 form-group">
35
35
  <label class="font_normal_body">客户名称</label>
36
36
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
37
- condition="f_user_name = '{}'" placeholder="客户名称">
37
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
38
38
  </div>
39
39
 
40
40
  <div class="span" style="float:right;">
@@ -168,9 +168,6 @@
168
168
  <th>
169
169
  <nobr>操作类型</nobr>
170
170
  </th>
171
- <th>
172
- <nobr>客户电话</nobr>
173
- </th>
174
171
  <th>
175
172
  <nobr>用气点名称</nobr>
176
173
  </th>
@@ -234,9 +231,6 @@
234
231
  <td style="text-align: center;">
235
232
  <nobr>{{row.f_operat_type}}</nobr>
236
233
  </td>
237
- <td style="text-align: center;">
238
- <nobr>{{row.cy_lxr}}</nobr>
239
- </td>
240
234
  <td style="text-align: center;">
241
235
  <nobr>{{row.f_userfiles_address}}</nobr>
242
236
  </td>