apply-clients 5.0.35-72 → 5.0.35-75

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": "5.0.35-72",
3
+ "version": "5.0.35-75",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -97,6 +97,8 @@ export default {
97
97
  f_room:this.models2.f_room,
98
98
  f_address:this.models2.f_address,
99
99
  f_idnumber:this.models2.f_social_credit_code,
100
+ f_apply_source:this.models2.f_apply_source,
101
+ f_sub_state:'未完工',
100
102
  user:Vue.user
101
103
  }
102
104
  await http.load('POST',this.$androidUtil.getProxyUrl() +'/rs/logic/newaddApplyproduct',{data:data}, {resolveMsg: null, rejectMsg: '转发失败,请联系开发人员'})
@@ -651,6 +653,11 @@ export default {
651
653
  return
652
654
  }
653
655
  let http = new HttpResetClass()
656
+ if (this.data.defname === '通气转单'&& model.button.button_name === '提交'){
657
+ requestData.model.f_sub_state = '完工'
658
+ }else {
659
+ requestData.model.f_sub_state = '未完工'
660
+ }
654
661
  var url = this.$androidUtil.getProxyUrl() + '/rs/logic/ApplyProductService'
655
662
  // let res = await http.load('POST',url,{data:data}, {resolveMsg: null, rejectMsg: null})
656
663
  // // 先判断是否包含code,如果服务端异常,可能不存在code
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  </div>
24
24
  <div class="col-sm-2">
25
- <label class="col-sm-4 control-label">报装地址</label>
25
+ <label class="col-sm-4 control-label">工程地址</label>
26
26
  <div class="col-sm-8">
27
27
  <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
28
28
  v-on:keyup.enter="search"
@@ -82,19 +82,14 @@
82
82
  </div>
83
83
 
84
84
  <div class="col-sm-2" style="float: left">
85
- <label class="col-sm-4 control-label">报装来源</label>
85
+ <label class="col-sm-4 control-label">工程来源</label>
86
86
  <div class="col-sm-8">
87
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'住建局',value:'住建局'}]"
88
- condition="f_apply_source = '{}'" placeholder='报装来源'
87
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},...this.$appdata.getParam('报装来源')]"
88
+ condition="f_apply_source = '{}'" placeholder='工程来源'
89
89
  v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
90
90
  </v-select>
91
91
  </div>
92
92
  </div>
93
-
94
-
95
-
96
- </div>
97
- <div class="col-sm-12 " style="margin-top:5px">
98
93
  <div class="col-sm-2">
99
94
  <label class="col-sm-4 control-label ">用户类型</label>
100
95
  <div class="col-sm-8">
@@ -104,6 +99,10 @@
104
99
  </v-select>
105
100
  </div>
106
101
  </div>
102
+
103
+ </div>
104
+ <div class="col-sm-12 " style="margin-top:5px">
105
+
107
106
  </div>
108
107
 
109
108
 
@@ -258,7 +257,7 @@ export default {
258
257
  containt: this.$appdata.getParam('工作内容'),
259
258
  condition:'',
260
259
  select: '',
261
- alloptions:[],
260
+ alloptions:[{label:"踏勘",value:"踏勘"},{label:"施工",value:"施工"},{label:"施工验收",value:"施工验收"},{label:"通气转单",value:"通气转单"}],
262
261
  button_name:"查询",
263
262
  showstopinfoflag:false,
264
263
  stopremarks:"",
@@ -305,7 +304,7 @@ export default {
305
304
  closestopinfo(){
306
305
  this.showstopinfoflag = close;
307
306
  },
308
- getapplyName(str){
307
+ /* getapplyName(str){
309
308
  console.log("开始获取所有名")
310
309
  console.log(JSON.stringify(str.activitys))
311
310
  let param = [];
@@ -318,7 +317,7 @@ export default {
318
317
  })
319
318
  this.alloptions = param;
320
319
 
321
- },
320
+ },*/
322
321
  generateUUID() {
323
322
  var d = new Date().getTime()
324
323
  var uuid = 'xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
@@ -64,6 +64,9 @@
64
64
  <th>
65
65
  <nobr>地址</nobr>
66
66
  </th>
67
+ <th>
68
+ <nobr>缴费状态</nobr>
69
+ </th>
67
70
  <th>
68
71
  <nobr>操作</nobr>
69
72
  </th>
@@ -74,8 +77,9 @@
74
77
  <td style="text-align: center">{{row.f_user_name}}</td>
75
78
  <td style="text-align: center">{{row.f_user_phone}}</td>
76
79
  <td style="text-align: center">{{row.address}}</td>
80
+ <td style="text-align: center">{{row.f_charging_status=='有效'?'已缴':'未缴'}}</td>
77
81
  <button type="button" name="button" class="btn btn-link"
78
- @click.stop="$parent.$parent.$parent.getUserinfo($index)">收费
82
+ @click.stop="$parent.$parent.$parent.getUserinfo($index)">{{row.f_charging_status=='有效'?'已收':'收费'}}
79
83
  </button>
80
84
  </template>
81
85
  </data-grid>
@@ -1059,8 +1063,11 @@
1059
1063
  resolveMsg: null,
1060
1064
  rejectMsg: '获取用户信息失败!'
1061
1065
  })
1066
+ console.dir(userinfores.data)
1067
+ console.log(userinfores.data[0].f_charging_status=='有效'?'已缴':'未缴')
1062
1068
  this.userinfoRow.rows = userinfores.data;
1063
1069
 
1070
+
1064
1071
  this.oldInfo.f_user_name = this.model.f_user_name;
1065
1072
  this.oldInfo.f_phone = this.model.f_phone;
1066
1073
  this.oldInfo.f_address = this.model.f_address;
@@ -181,8 +181,9 @@
181
181
  <div novalidate class="form-inline auto" partial>
182
182
  <p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
183
183
  <span style="color: red">{{modeluse.rows.length}}</span>笔,
184
- 合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
185
- 已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元
184
+ 收款金额合计<span style="color: red">{{price.rows[0].f_charge_money}}</span>元,
185
+ <!--合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
186
+ 已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元-->
186
187
  </p>
187
188
  </div>
188
189
  </div>