apply-clients 3.0.10-ys → 3.0.11-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": "3.0.10-ys",
3
+ "version": "3.0.11-1",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -184,6 +184,4 @@ export default function () {
184
184
  // 查询
185
185
  Vue.component('hidden-project-list', (resolve) => { require(['./components/product/HiddenDangersInProjects/HiddenProjectList'], resolve) })
186
186
 
187
- Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
188
-
189
187
  }
@@ -54,13 +54,14 @@
54
54
  </v-select>
55
55
  </div>
56
56
  </div>
57
- <!-- <div class="form-group col-sm-1">
57
+ <div class="form-group col-sm-1">
58
+ <!--<label class="col-sm-6"> 报建类型:</label>-->
58
59
  <div class="col-sm-12">
59
60
  <v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.projecttype" placeholder='项目类型' condition="f_project_type like '%{}%'"
60
61
  v-model="model.f_project_type" :value.sync="model.f_project_type" close-on-select>
61
62
  </v-select>
62
63
  </div>
63
- </div> -->
64
+ </div>
64
65
  <!-- <div class="form-group col-sm-1">-->
65
66
  <!-- <input type="text" class="form-control" placeholder='经办人' v-model="model.f_apply_operator"-->
66
67
  <!-- v-on:keyup.enter="search"-->
@@ -101,9 +102,9 @@
101
102
  <th>
102
103
  <nobr>报建类型</nobr>
103
104
  </th>
104
- <!-- <th>
105
+ <th>
105
106
  <nobr>项目类型</nobr>
106
- </th> -->
107
+ </th>
107
108
  <th>
108
109
  <nobr>报建日期</nobr>
109
110
  </th>
@@ -141,9 +142,9 @@
141
142
  <td style="text-align: center;">
142
143
  <nobr>{{row.f_apply_type}}</nobr>
143
144
  </td>
144
- <!-- <td style="text-align: center;">
145
+ <td style="text-align: center;">
145
146
  <nobr>{{row.f_project_type}}</nobr>
146
- </td> -->
147
+ </td>
147
148
  <td style="text-align: center;">
148
149
  <nobr>{{row.f_apply_date}}</nobr>
149
150
  </td>
@@ -183,9 +184,8 @@
183
184
  refreshed:true,
184
185
  usertype: this.$appdata.getParam('用户类型'),
185
186
  defnameType: this.$appdata.getParam('流程状态'),
186
- // projecttype: this.$appdata.getParam('项目类型'),
187
- // applytype: [{label:"全部",value:''},{label:"新用户",value:'新用户'},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
188
- applytype: [{label:"零星散户",value:'零星散户'}],
187
+ projecttype: this.$appdata.getParam('项目类型'),
188
+ applytype: [{label:"全部",value:''},{label:"新用户",value:'新用户'},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
189
189
  //中燃 专用
190
190
  fapplytype: this.$appdata.getParam('用户类型'),
191
191
  funcs:[],
@@ -188,17 +188,16 @@
188
188
  :valueSingle="true"/>
189
189
  </div>
190
190
  </div>
191
-
192
191
  <div class="col-sm-4 form-group item" >
193
- <label class="control-label-justify control-label col-sm-6">项目实际整改费用(元)</label>
192
+ <label class="control-label-justify control-label col-sm-6">累计付款(元)</label>
194
193
  <div class="col-sm-6">
195
- <input type="text" v-model="contract.f_actual_rectification_cost" v-show="false">
194
+ <input type="text" v-model="contract.f_total_payment" v-show="false">
196
195
  <input
197
- class="text"
198
196
  type="number"
199
- :readonly="type === 'view'"
200
- :value.sync="contract.f_actual_rectification_cost"
201
- v-model="contract.f_actual_rectification_cost"
197
+ class="text"
198
+ :readonly="true"
199
+ :value.sync="contract.f_total_payment"
200
+ v-model="contract.f_total_payment"
202
201
  :valueSingle="true"/>
203
202
  </div>
204
203
  </div>
@@ -217,20 +216,20 @@
217
216
  </div>
218
217
  </div>
219
218
 
220
- <div class="col-sm-4 form-group item">
221
- <label class="control-label-justify control-label col-sm-6">工程款(元)</label>
222
- <div class="col-sm-6">
223
- <input type="text" v-model="contract.f_project_fee" v-show="false">
224
- <input
225
- type="number"
226
- class="text"
227
- :click="getpayment()"
228
- :readonly="type === 'view'"
229
- :value.sync="contract.f_project_fee"
230
- v-model="contract.f_project_fee"
231
- :valueSingle="true"/>
232
- </div>
233
- </div>
219
+ <!-- <div class="col-sm-4 form-group item">-->
220
+ <!-- <label class="control-label-justify control-label col-sm-6">工程款(元)</label>-->
221
+ <!-- <div class="col-sm-6">-->
222
+ <!-- <input type="text" v-model="contract.f_project_fee" v-show="false">-->
223
+ <!-- <input-->
224
+ <!-- type="number"-->
225
+ <!-- class="text"-->
226
+ <!-- :click="getpayment()"-->
227
+ <!-- :readonly="type === 'view'"-->
228
+ <!-- :value.sync="contract.f_project_fee"-->
229
+ <!-- v-model="contract.f_project_fee"-->
230
+ <!-- :valueSingle="true"/>-->
231
+ <!-- </div>-->
232
+ <!-- </div>-->
234
233
 
235
234
  <div class="col-sm-4 form-group item">
236
235
  <label class="control-label-justify control-label col-sm-6">人工款(元)</label>
@@ -247,15 +246,15 @@
247
246
  </div>
248
247
 
249
248
  <div class="col-sm-4 form-group item" >
250
- <label class="control-label-justify control-label col-sm-6">累计付款(元)</label>
249
+ <label class="control-label-justify control-label col-sm-6">项目实际整改费用(元)</label>
251
250
  <div class="col-sm-6">
252
- <input type="text" v-model="contract.f_total_payment" v-show="false">
251
+ <input type="text" v-model="contract.f_actual_rectification_cost" v-show="false">
253
252
  <input
254
- type="number"
255
253
  class="text"
256
- :readonly="true"
257
- :value.sync="contract.f_total_payment"
258
- v-model="contract.f_total_payment"
254
+ type="number"
255
+ :readonly="type === 'view'"
256
+ :value.sync="contract.f_actual_rectification_cost"
257
+ v-model="contract.f_actual_rectification_cost"
259
258
  :valueSingle="true"/>
260
259
  </div>
261
260
  </div>
@@ -715,8 +714,8 @@
715
714
  methods: {
716
715
  async getpayment(){
717
716
  debugger
718
- if(this.contract.f_materials_fee !=null && this.contract.f_project_fee !=null&&this.contract.f_artificial_fee !=null){
719
- const leiji=parseFloat(parseFloat(this.contract.f_materials_fee)+parseFloat(this.contract.f_project_fee)+parseFloat(this.contract.f_artificial_fee)).toFixed(2)
717
+ if(this.contract.f_materials_fee !=null && this.contract.f_artificial_fee !=null){
718
+ const leiji=parseFloat(parseFloat(this.contract.f_materials_fee) + parseFloat(this.contract.f_artificial_fee)).toFixed(2)
720
719
  this.$set(`contract.f_total_payment`,leiji)
721
720
  }
722
721
  },
@@ -108,6 +108,7 @@
108
108
  <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
109
  <template partial='head'>
110
110
  <tr>
111
+ <th style="white-space: nowrap;">操作</th>
111
112
  <th style="white-space: nowrap;">序号</th>
112
113
  <th style="white-space: nowrap;">所属公司</th>
113
114
  <th style="white-space: nowrap;">隐患项目名称</th>
@@ -128,11 +129,16 @@
128
129
  <th style="white-space: nowrap;">工程款</th>
129
130
  <th style="white-space: nowrap;">人工款</th>
130
131
  <th style="white-space: nowrap;">是否属于年度预算内整改</th>
131
- <th style="white-space: nowrap;">操作</th>
132
132
  </tr>
133
133
  </template>
134
134
  <template partial='body'>
135
135
  <tr >
136
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;">
137
+ <nobr>
138
+ <a href="#" @click="$parent.$parent.$parent.openRenew(row)">修改</a>&emsp;|&emsp;
139
+ <a href="#" @click="$parent.$parent.$parent.deleteRow(row)">删除</a>
140
+ </nobr>
141
+ </td>
136
142
  <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
137
143
  <nobr><font>{{$index+1}}</font></nobr>
138
144
  </td>
@@ -193,12 +199,6 @@
193
199
  <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
194
200
  <nobr><font>{{row.f_hidden_budget_correction}}</font></nobr>
195
201
  </td>
196
- <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;">
197
- <nobr>
198
- <a href="#" @click="$parent.$parent.$parent.openRenew(row)">修改</a>&emsp;|&emsp;
199
- <a href="#" @click="$parent.$parent.$parent.deleteRow(row)">删除</a>
200
- </nobr>
201
- </td>
202
202
  </tr>
203
203
  </template>
204
204
  </data-grid>
@@ -57,14 +57,14 @@
57
57
  </v-select>
58
58
  </div>
59
59
  </div>
60
- <!-- <div class="form-group col-sm-2">
60
+ <div class="form-group col-sm-2">
61
61
  <label class="col-sm-6">项目类型:</label>
62
62
  <div class="col-sm-6">
63
63
  <v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.projecttype" placeholder='项目类型' condition="f_project_type like '%{}%'"
64
64
  v-model="model.f_project_type" :value.sync="model.f_project_type" close-on-select>
65
65
  </v-select>
66
66
  </div>
67
- </div> -->
67
+ </div>
68
68
  <div class="form-group col-sm-2">
69
69
  <label class="col-sm-6">营业所:</label>
70
70
  <div class="col-sm-6">
@@ -125,9 +125,9 @@
125
125
  <th>
126
126
  <nobr>报建类型</nobr>
127
127
  </th>
128
- <!-- <th>
128
+ <th>
129
129
  <nobr>项目类型</nobr>
130
- </th> -->
130
+ </th>
131
131
  <th>
132
132
  <nobr>报建日期</nobr>
133
133
  </th>
@@ -172,9 +172,9 @@
172
172
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
173
173
  <nobr><font>{{row.f_apply_type}}</font></nobr>
174
174
  </td>
175
- <!-- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
175
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
176
176
  <nobr><font>{{row.f_project_type}}</font></nobr>
177
- </td> -->
177
+ </td>
178
178
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
179
179
  <nobr><font>{{row.f_apply_date}}</font></nobr>
180
180
  </td>
@@ -215,20 +215,6 @@
215
215
  close-on-select ></v-select>
216
216
  </div>
217
217
  </div>
218
- <div class="form-group" style="margin: 10px auto">
219
- <label class="col-sm-3 control-label">用户类型:</label>
220
- <div class="col-sm-9">
221
- <v-select
222
- v-model="f_user_type"
223
- placeholder='请选择需要发起的用户类型'
224
- :value.sync="f_user_type"
225
- :options='usertype'
226
- :value-single="true"
227
- class="select select_list"
228
- :search="false"
229
- close-on-select ></v-select>
230
- </div>
231
- </div>
232
218
  </div>
233
219
  <footer slot="modal-footer" class="modal-footer">
234
220
  <button
@@ -261,9 +247,8 @@
261
247
  data() {
262
248
  return {
263
249
  // applytype: [{label:"全部",value:''},...this.$appdata.getParam('报建类型')],
264
- applytype: [{label:"零星散户",value:'零星散户'}],
265
- usertype:[{label:"民用",value:'民用'},{label:"非民用",value:'非民用'}],
266
- // projecttype: this.$appdata.getParam('项目类型'),
250
+ applytype: [{label:"全部",value:''},{label:"新用户",value:'新用户'},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
251
+ projecttype: this.$appdata.getParam('项目类型'),
267
252
  business_office: this.$appdata.getParam('营业所'),
268
253
  // applytype: [{label:"全部",value:''},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
269
254
  timer: null,
@@ -285,10 +270,6 @@
285
270
  xmlname: '',
286
271
  startname: '用户建档',
287
272
  f_apply_type: '',
288
- f_user_type: '',
289
- f_order_id: '',
290
- f_apply_num: '',
291
- f_entry_num: '',
292
273
  entry_name: [], //项目名称
293
274
  entry_num: [],
294
275
  show: false,
@@ -408,17 +389,9 @@
408
389
  console.log("-------------modify:"+modify)
409
390
  this.show = false
410
391
  this.applyButton_disabled = true
411
- console.log("用户类型为:"+this.f_user_type)
412
- if(this.f_user_type==='民用'){
413
- this.urlname = "报建初装居民流程"
414
- this.xmlname = "报建初装居民流程"
415
- }else {
392
+ if (modify == '0'){
416
393
  this.urlname = "报建初装流程"
417
394
  this.xmlname = "报建初装流程"
418
- }
419
-
420
- if (modify == '0'){
421
-
422
395
  console.log(JSON.stringify(this.$login.f))
423
396
  this.loadName()
424
397
  }
@@ -434,12 +407,9 @@
434
407
  defname: this.startname,
435
408
  f_process_id: res.data.f_process_id,
436
409
  f_apply_date: Util.toStandardTimeString(),
437
- f_apply_num: this.f_apply_num,
410
+ f_apply_num: this.generateUUID(),
438
411
  f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
439
412
  f_apply_type: this.f_apply_type,
440
- f_user_type: this.f_user_type,
441
- f_order_id: this.f_order_id,
442
- f_entry_num: this.f_entry_num,
443
413
  f_project_type: ''
444
414
 
445
415
  }
@@ -449,10 +419,6 @@
449
419
  val.f_project_type = '工商业'
450
420
  }
451
421
  this.f_apply_type = null
452
- this.f_user_type = null
453
- this.f_order_id = null
454
- this.f_apply_num = null
455
- this.f_entry_num = null
456
422
  console.log(112 + JSON.stringify(this.$login.f.f_apply_department))
457
423
  this.$dispatch('check', val)
458
424
  this.$dispatch('changeheight')