apply-clients 4.1.12-weinan → 4.1.13-weinan-1

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.12-weinan",
3
+ "version": "4.1.13-weinan-1",
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_apply_num": this.selectdata.f_apply_num,
338
+ "f_user": Vue.user.id
340
339
  },
341
340
  orderType:'报装收费',
342
341
  userfilesid:'',
@@ -3,7 +3,7 @@
3
3
  <!--<div class="app-botton" @click="back()">-->
4
4
  <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
5
5
  <!--</div>-->
6
- <back-page :need-back='true' @flag="back()"></back-page>
6
+ <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
7
7
  <div class="bq-parent">
8
8
  <blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
9
9
  <p>
@@ -82,8 +82,20 @@ export default{
82
82
  selected (row) {
83
83
  row.canedit = true
84
84
  if(this.sourcet == '横屏'){
85
+ var pardate = {
86
+ _this:this,
87
+ tittle:'报建工作',
88
+ safe:true
89
+ }
90
+ this.$dispatch('gotoson',pardate)
85
91
  this.$goto('placecontrolerapp', {row: row},'self',this.search)
86
92
  }else{
93
+ var pardate = {
94
+ _this:this,
95
+ tittle:'报建工作',
96
+ safe:true
97
+ }
98
+ this.$dispatch('gotoson',pardate)
87
99
  this.$goto('placecontrolerapp', {row: row},'self',this.search)
88
100
  }
89
101
  },
@@ -2,7 +2,7 @@
2
2
  <!--<div class="app-botton" @click="back()">-->
3
3
  <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
4
4
  <!--</div>-->
5
- <back-page :need-back='true' @flag="back()"></back-page>
5
+ <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
6
6
  <div class="no-close row android-repair-order" style="background-color: #ffffff">
7
7
  <div class="col-sm-12 col-xs-12" >
8
8
  <ul class="nav nav-tabs" style="background:#ffffff;">
@@ -176,6 +176,13 @@
176
176
  this.show_data = temp
177
177
  console.log('initializtion()方法结束,showview')
178
178
  this.showview = true
179
+ if (this.selectdata.defname === '现场勘察') {
180
+ for (const item of this.show_data.fields) {
181
+ if (item.label === '现场勘察人员' && !item.value) {
182
+ return item.value = Vue.user.name
183
+ }
184
+ }
185
+ }
179
186
  },
180
187
  deleteLocalApply(model){
181
188
  console.log(`前台上传完成,开始删除本地报建工单`)
@@ -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() {