apply-clients 3.4.78 → 3.4.79

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": "apply-clients",
3
- "version": "3.4.78",
3
+ "version": "3.4.79",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -335,7 +335,7 @@ export default {
335
335
  this.$refs.cp.$refs.cri.search()
336
336
  },
337
337
  searchCondition (args) {
338
- args.condition = args.condition + `and (act.defname in ('现场勘查','点火派单','验收')) `
338
+ args.condition = args.condition + `and (act.defname in ('工程施工','通气点火','现场勘查','点火派单','验收')) `
339
339
  this.model.search(args.condition, args.model)
340
340
  },
341
341
  click (row) {
@@ -85,7 +85,7 @@
85
85
  </div>
86
86
  <div class="form-group row vertical-center" :class="item.f_meternumber ? '':'has-error'">
87
87
  <label class="col-xs-4 control-label">表&emsp;&emsp;号:</label>
88
- <div class="col-xs-8">
88
+ <div class="col-xs-8" style="width:50%">
89
89
  <input class="form-control input_view" style=""
90
90
  placeholder="表号"
91
91
  v-model="item.f_meternumber"
@@ -95,19 +95,20 @@
95
95
  @change="meternumberValidate(i)"
96
96
  :readonly="false"/>
97
97
  </div>
98
+ <button
99
+ type="button" name="button" class="btn btn-primary" style="float: right;" @click="scan(i)">扫码
100
+ </button>
98
101
  </div>
99
102
  <div class="form-group row vertical-center">
100
103
  <label class="col-xs-4 control-label ">表&ensp;封&ensp;号:</label>
101
- <div class="col-xs-8" style="width:50%">
104
+ <div class="col-xs-8" >
102
105
  <input class="form-control input_view" style=""
103
106
  placeholder="表封号"
104
107
  v-model="item.f_metertitles"
105
108
  :value="item.f_metertitles"
106
109
  :readonly="false"/>
107
110
  </div>
108
- <button
109
- type="button" name="button" class="btn btn-primary" style="float: right;" @click="scan(i)">扫码
110
- </button>
111
+
111
112
  </div>
112
113
  <div class="form-group row vertical-center">
113
114
  <label class="col-xs-4 control-label">表&ensp;读&ensp;数:</label>
@@ -204,7 +205,7 @@
204
205
  import Vue from 'vue'
205
206
  import {PagedList} from 'vue-client'
206
207
  import {HttpResetClass} from 'vue-client'
207
- import {isEmpty} from '../../../components/utils'
208
+ import {isEmpty} from '../../../components/Util'
208
209
  // Date格式化
209
210
  Date.prototype.Format = function (fmt) {
210
211
  var o = {
@@ -412,6 +413,9 @@ export default {
412
413
 
413
414
  if (this.selectdata.f_apply_type === '团购转散户' || this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
414
415
  data.condition = `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
416
+ }else if(this.selectdata.f_apply_source === '自动发起'){
417
+ data.condition= ` ua.f_process_id= '${this.selectdata.f_parent_process_id}'`+
418
+ `and ui.f_userinfo_id= '${this.selectdata.f_userinfo_id}'`
415
419
  }
416
420
  let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
417
421
  // let res = await http.load('POST', `rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {