apply-clients 5.0.35-60 → 5.0.35-63

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.
@@ -84,7 +84,27 @@
84
84
  <button v-show="stop_show" type="button" class="btn btn-default" @click='stopapplys'>确认</button>
85
85
  </footer>
86
86
  </modal>
87
-
87
+ <modal :show.sync="apply_show" v-ref:modal apply_show="false" >
88
+ <header slot="modal-header" class="modal-header">
89
+ <button type="button" class="close" @click="closeapply"><span>&times;</span></button>
90
+ <h4 class="modal-title">转单报建</h4>
91
+ </header>
92
+ <article slot="modal-body" class="modal-body">
93
+ <div class="from-group">
94
+ <v-select style="min-width: 80%;"
95
+ placeholder='请选择'
96
+ :options="applytypes"
97
+ :search="false"
98
+ v-model="apply_type"
99
+ :value.sync="apply_type"
100
+ close-on-select>
101
+ </v-select>
102
+ </div>
103
+ </article>
104
+ <footer slot="modal-footer" class="modal-footer">
105
+ <button v-show="apply_show" type="button" class="btn btn-default" @click='addactive()'>确认</button>
106
+ </footer>
107
+ </modal>
88
108
  </template>
89
109
  <script>
90
110
  import Vue from 'vue'
@@ -149,6 +169,9 @@
149
169
  bill: '',
150
170
  areaall:[],
151
171
  stop_show:false, // 终止备注开关
172
+ apply_show:false, // 转单报建开关
173
+ apply_type:'',
174
+ applytypes:[{label:"散户报装",value:"报装申请"},{label:"集体报装",value:"集体报装申请"}],// 报建类型
152
175
  models: {
153
176
  f_date: Util.toStandardTimeString(),
154
177
  f_department: this.$login.f.f_parentname,
@@ -162,10 +185,11 @@
162
185
  ============================================收费临时使用
163
186
  */
164
187
  // 转到报建
165
- async addactive(modify) {
188
+ async addactive(){
166
189
  this.selectdata.applyid = this.selectdata.id
167
190
  // this.$resetpost('rs/logic/stopapply', {data: this.selectdata})
168
- this.$workflow_vue.start_activity = modify
191
+ console.log(this.apply_type[0])
192
+ this.$workflow_vue.start_activity = this.apply_type[0]
169
193
  let http = new HttpResetClass()
170
194
  let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.$workflow_vue.workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
171
195
  let data = {
@@ -190,6 +214,7 @@
190
214
  }
191
215
  await http.load('POST','rs/logic/newaddApplyproduct',{data:data}, {resolveMsg: null, rejectMsg: '转发失败,请联系开发人员'})
192
216
  this.$dispatch('close')
217
+ this.apply_show = false
193
218
  },
194
219
  // 终止报建
195
220
  async stopapplys () {
@@ -213,6 +238,10 @@
213
238
  closeback() {
214
239
  this.stop_show = false
215
240
  },
241
+ // 关闭报建弹框
242
+ closeapply() {
243
+ this.apply_show = false
244
+ },
216
245
  closeAccept () {
217
246
  this.acceptprint = false
218
247
  },
@@ -1748,7 +1777,7 @@
1748
1777
  return
1749
1778
  }
1750
1779
  }
1751
- if (this.data.defname === '通气转单'){
1780
+ /* if (this.data.defname === '通气转单'){
1752
1781
  if (model.button.button_name === '散户报装'){
1753
1782
  this.addactive('报装申请')
1754
1783
  }
@@ -1758,7 +1787,7 @@
1758
1787
  setTimeout(() => {
1759
1788
 
1760
1789
  }, 200)
1761
- }
1790
+ }*/
1762
1791
 
1763
1792
  // 点击重置按钮就重置数据
1764
1793
  if (model.button.button_name === '重置') {
@@ -1898,7 +1927,11 @@
1898
1927
  this.showview = false
1899
1928
  // 特殊处理
1900
1929
  this.special(model)
1901
- this.$dispatch('close')
1930
+ if (this.data.defname==='踏勘、建立工程编号'&&model.button.button_name === '提交'){
1931
+ this.apply_show=true
1932
+ }else {
1933
+ this.$dispatch('close')
1934
+ }
1902
1935
  this.initializtion()
1903
1936
  } else {
1904
1937
  if (res.data.msg) {