apply-clients 4.1.11-weinan-2 → 4.1.13-weinan

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": "4.1.11-weinan-2",
3
+ "version": "4.1.13-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -334,9 +334,8 @@ export default {
334
334
  let data = {
335
335
  money: this.accMul(this.getTotalAmount() ,1) + '',
336
336
  attach: {
337
- apply: this.selectdata,
338
- charge: this.charge,
339
- user: Vue.user
337
+ "f_type": '报建收费',
338
+ "f_user": Vue.user.id
340
339
  },
341
340
  orderType:'报装收费',
342
341
  userfilesid:'',
@@ -181,20 +181,21 @@
181
181
  console.log(`前台上传完成,开始删除本地报建工单`)
182
182
  this.$androidUtil.bzLogic('deleteApply', {data:model})
183
183
  },
184
- stopapply(model1,model2){
185
- this.$showMessage('确定不具备安装条件!',['confirm', 'cancel']).then((res)=>{
184
+ stopapply(model1,model){
185
+ this.$showMessage('确定不具备条件,终止报建!',['confirm', 'cancel']).then((res)=>{
186
186
  if (res=='confirm'){
187
- let model = Object.assign({},model2,model1)
187
+ this.selectdata = Object.assign( {},this.selectdata,model)
188
188
  let data = {
189
189
  loginUser: Vue.user,
190
190
  selectdata: this.selectdata,
191
- model: model
191
+ model: model1
192
192
  }
193
193
  let http = new HttpResetClass()
194
194
  http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
195
195
  .then(res => {
196
196
  if (res.data === 200) {
197
197
  this.$dispatch('search')
198
+ this.$dispatch('close')
198
199
  } else {
199
200
  this.$showMessage('终止报建失败')
200
201
  }
@@ -256,7 +257,7 @@
256
257
  return
257
258
  }
258
259
  if(this.selectdata.defname =='现场勘察' && model.f_is_aerate == '否'){
259
- let model ={
260
+ let model1 ={
260
261
  f_stop_remarks : '未通气'
261
262
  }
262
263
  this.stopapply(model1,model)
@@ -312,7 +312,13 @@ export default {
312
312
  }
313
313
  }
314
314
  }
315
-
315
+ if (this.selectdata.defname === '现场勘察') {
316
+ for (const item of this.show_data.fields) {
317
+ if (item.label === '现场勘察人员' && !item.value) {
318
+ return item.value = this.$login.f.name
319
+ }
320
+ }
321
+ }
316
322
  },
317
323
  // 初始化fields值
318
324
  initializeFields() {