apply-clients 5.0.36-2 → 5.0.37-2

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.
@@ -109,10 +109,19 @@
109
109
  </div>
110
110
  </div>
111
111
 
112
+ <!-- <div class="col-sm-2" style="float: left">
113
+ <label class="col-sm-4 control-label">报装来源</label>
114
+ <div class="col-sm-8">
115
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.alloption"
116
+ condition="f_apply_source = '{}'" placeholder='报装来源'
117
+ v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
118
+ </v-select>
119
+ </div>
120
+ </div> -->
112
121
  <div class="col-sm-2" style="float: left">
113
122
  <label class="col-sm-4 control-label">报装来源</label>
114
123
  <div class="col-sm-8">
115
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'},{label:'住建局',value:'住建局'}]"
124
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'住建局',value:'住建局'},{label:'燃气系统',value:'燃气系统'},{label:'电话预约',value:'电话预约'},{label:'微信预约',value:'微信预约'}]"
116
125
  condition="f_apply_source = '{}'" placeholder='报装来源'
117
126
  v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
118
127
  </v-select>
@@ -120,7 +129,6 @@
120
129
  </div>
121
130
 
122
131
 
123
-
124
132
  </div>
125
133
  <div class="col-sm-12 " style="margin-top:5px">
126
134
  <div class="col-sm-2">
@@ -314,6 +322,7 @@
314
322
  condition: '',
315
323
  select: '',
316
324
  alloptions:[],
325
+ alloption:[],
317
326
  button_name:"查询",
318
327
  showstopinfoflag:false,
319
328
  stopremarks:"",
@@ -372,11 +381,9 @@
372
381
  param.push({label:"全部",value:""})
373
382
  str.activitys.forEach(function(item){
374
383
  let title = item.title;
375
- console.log(title)
376
384
  param.push({label:title,value:title});
377
385
  })
378
386
  this.alloptions = param;
379
-
380
387
  },
381
388
  generateUUID() {
382
389
  var d = new Date().getTime()
@@ -410,8 +417,16 @@
410
417
 
411
418
  },
412
419
  async addactive(modify) {
420
+ // 动态获取报装来源
421
+ // let ces = [];
422
+ // http.load('POST', 'rs/sql/findParameter').then((res) => {
423
+ // console.log("这是报装来源:" + res.name)
424
+ // res.forEach(function(res){
425
+ // ces.push({label:res.name,value:res.name});
426
+ // })
427
+ // this.alloption = ces;
428
+ // })
413
429
  this.button_name ="返回"
414
- debugger
415
430
  var workflow_xmlfilename='鄂州报建流程'
416
431
  if(this.$login.f.filialenames === '迪泰天然气' && modify==='集体报装申请'){
417
432
  workflow_xmlfilename = '鄂州报建流程迪泰'
@@ -423,6 +438,7 @@
423
438
  let http = new HttpResetClass()
424
439
  let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
425
440
  this.$refs.cp.pager = false
441
+ debugger
426
442
  let val = {
427
443
  defname: this.$workflow_vue.start_activity,
428
444
  f_process_id: res.data.f_process_id,