sale-client 3.5.79 → 3.5.81

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.
@@ -12,7 +12,7 @@ var compiler = webpack(config)
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
14
  // 公司测试服务
15
- var fuwu = 'http://121.36.106.17:8400'
15
+ var fuwu = 'http://192.168.50.4:8400'
16
16
  // var fuwu = 'http://121.36.106.17:8400/'
17
17
  // 铜川正式
18
18
  // var fuwu = 'http://61.134.55.234:9999/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.79",
3
+ "version": "3.5.81",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -912,7 +912,7 @@
912
912
  // console.log('获取新的条件。', this.condition)
913
913
  // this.confirmDownHand()
914
914
  // },
915
- confirmDownHand () {
915
+ async confirmDownHand() {
916
916
  console.log('下发数据。。', this.downModel)
917
917
  let data = {
918
918
  downDate: this.downModel.downDate,
@@ -928,7 +928,7 @@
928
928
  let jobParam = {
929
929
  f_operatorid: this.$login.f.id,
930
930
  total: 0,
931
- operator: this.$login.f.orgs +":"+ this.$login.f.deps +":"+ Vue.$login.f.name,
931
+ operator: this.$login.f.orgs + ":" + this.$login.f.deps + ":" + Vue.$login.f.name,
932
932
  jobType: "计划下发"
933
933
  }
934
934
  let param = {
@@ -936,16 +936,16 @@
936
936
  jobParam: jobParam
937
937
  }
938
938
  console.log('下发参数:', param)
939
- // rs/business/batchRun/
940
- this.$resetpost('rs/business/batchRunNew/BatchmachineDownHand/machineDownHand', {data: param}, {resolveMsg: null, rejectMsg: null}).then((res) => {
941
- // 将缓存的未抄表ID数组置空
942
- // this.unhandplan = []
939
+ // rs/business/batchRun/
940
+ let res = await this.$resetpost('rs/business/batchRunNew/BatchmachineDownHand/machineDownHand', {data: param}, {
941
+ resolveMsg: null,
942
+ rejectMsg: null
943
+ },60000*3)
943
944
  this.initModal()
944
945
  this.search()
945
- this.$showAlert(`全部下发,总计下发${res.data}户`, 'success', 2000)
946
- }).catch((error) => {
947
- this.$showAlert(`下发失败,请注意查看,失败原因:${error}`, 'danger', 0)
948
- })
946
+ if (res.data){
947
+ this.$showAlert(`全部下发,总计下发${res.data.successnum}户`, 'success', 2000)
948
+ }
949
949
  },
950
950
  // 关闭下发计划得弹出框
951
951
  close () {
@@ -16,7 +16,7 @@
16
16
  :value.sync="model.f_hand_state"
17
17
  :options='$parent.$parent.states'
18
18
  close-on-select
19
- condition= "f_hand_state = {}"
19
+ condition=" {} "
20
20
  @change="$parent.$parent.search">
21
21
  </v-select>
22
22
  </div>
@@ -201,7 +201,10 @@
201
201
  pushdata: {openid: '', cause: ''},
202
202
  row: null,
203
203
  model: new PagedList('rs/sql/meterReadAudit', 20),
204
- states: [{label: '待审核', value: `'待审核'`}, {label: '未通过', value: `'无效'`}, {label: '已通过', value: `'有效'`}],
204
+ states: [{label: '待审核', value: ` f_meter_state = '待审核' and f_hand_state ='有效'`}, {
205
+ label: '未通过',
206
+ value: ` f_hand_state = '无效'`
207
+ }, {label: '已通过', value: `f_meter_state = '已抄表' and f_hand_state ='有效'`}],
205
208
  meterbooks: [{label: '全部', value: ''}]
206
209
  }
207
210
  },
@@ -1,5 +1,4 @@
1
1
  // 分公司特殊组件页面注册
2
- const Vue = require('vue')
3
2
  let specialComp = {
4
3
  // 表具单个信息
5
4
  'file-meter-info': (resolve) => { require(['./MeterinfoTest'], resolve) },
@@ -25,6 +24,5 @@ let specialComp = {
25
24
  'change-meter': (resolve) => { require(['./ChangeMeter'], resolve) },
26
25
  // 自报表数审核
27
26
  'meter-read-audit': (resolve) => { require(['./MeterReadAudit'], resolve) }
28
-
29
27
  }
30
28
  exports.specialComp = specialComp
@@ -1,2 +0,0 @@
1
- #Mon Oct 31 20:38:03 CST 2022
2
- gradle.version=5.2.1
File without changes