apply-clients 3.0.4 → 3.0.5-4

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.
Files changed (64) hide show
  1. package/index.html +1 -1
  2. package/package.json +4 -3
  3. package/src/App.vue +126 -15
  4. package/src/apply.js +152 -134
  5. package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
  6. package/src/bootstrap/less/bootstrap.less +1 -2
  7. package/src/bootstrap/less/standard.less +208 -0
  8. package/src/components/Util.js +4 -0
  9. package/src/components/app_apply/FieldExploration.vue +2 -2
  10. package/src/components/app_apply/Ventilation.vue +2 -2
  11. package/src/components/image/doc.jpg +0 -0
  12. package/src/components/image/excel.jpg +0 -0
  13. package/src/components/image/pdf.jpg +0 -0
  14. package/src/components/image//345/233/276/345/261/20212.png +0 -0
  15. package/src/components/image//345/233/276/345/261/20213.png +0 -0
  16. package/src/components/image//345/233/276/345/261/20216.png +0 -0
  17. package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
  18. package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
  19. package/src/components/image//346/244/255/345/234/2062.png +0 -0
  20. package/src/components/image//346/244/255/345/234/2065.png +0 -0
  21. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  22. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
  23. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
  24. package/src/components/image//347/273/2044.png +0 -0
  25. package/src/components/image//347/273/2045.png +0 -0
  26. package/src/components/image//347/273/2046.png +0 -0
  27. package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
  28. package/src/components/product/Function/InstallFunction.vue +9 -5
  29. package/src/components/product/Function/InstallInfoSelect.vue +98 -69
  30. package/src/components/product/Function/Service/FunctionServiceControl.vue +47 -4
  31. package/src/components/product/Function/functions/AddContract.vue +161 -139
  32. package/src/components/product/Function/functions/BuyerMessage.vue +285 -137
  33. package/src/components/product/Function/functions/InstallFee.vue +1117 -912
  34. package/src/components/product/MaterialBatchList.vue +109 -0
  35. package/src/components/product/MaterialBatchManage.vue +34 -0
  36. package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
  37. package/src/components/product/Process/ExplorationSelect.vue +213 -73
  38. package/src/components/product/Process/ExplorationUser.vue +94 -39
  39. package/src/components/product/Process/MaterialUseList.vue +159 -0
  40. package/src/components/product/Process/ModifyUserFiles.vue +15 -5
  41. package/src/components/product/Process/ProcessInfo/history_control.vue +35 -6
  42. package/src/components/product/Process/Processes/ApplyUpload.vue +287 -0
  43. package/src/components/product/Process/Processes/CustomerCostPlan.vue +214 -0
  44. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +499 -210
  45. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +949 -753
  46. package/src/components/product/Process/Processes/ProjectSettlement.vue +535 -24
  47. package/src/components/product/Process/Processes/ReceiveBatch.vue +301 -121
  48. package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
  49. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +27 -14
  50. package/src/components/product/Process/Processes/Service/ServiceControl.vue +2561 -1104
  51. package/src/components/product/Process/Processes/Upload.vue +532 -0
  52. package/src/components/product/Process/ShowBackReason.vue +1 -1
  53. package/src/components/product/ServiceView.vue +825 -583
  54. package/src/components/product/Statistics/ApplyStatisticsROOT.vue +27 -0
  55. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +212 -23
  56. package/src/components/product/Supervisory/SupervisoryControl.vue +79 -26
  57. package/src/components/product/Supervisory/SupervisoryList.vue +182 -41
  58. package/src/components/product/Supervisory/SupervisoryhCart.vue +4 -2
  59. package/src/components/product/VueUtils/Tree.vue +330 -0
  60. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +29 -38
  61. package/src/stores/ApplyLoadParams.js +1 -1
  62. package/src/stores/PagedListLogic.js +173 -0
  63. package/.npmignore +0 -12
  64. package/yarn.lock +0 -9008
@@ -2,71 +2,80 @@
2
2
  <div class="d1">
3
3
  <div class="left col-sm-12">
4
4
  <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
6
  <form novalidate class="" partial>
7
7
  <div class="col-sm-12">
8
- <div class="col-sm-2">
9
- <label class="col-sm-6">客户名称:</label>
8
+ <div class="form-group col-sm-4">
9
+ <label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
10
10
  <div class="col-sm-6">
11
- <input type="text" class="form-control" placeholder='客户名称' v-model="model.f_user_name"
12
- v-on:keyup.enter="search"
13
- condition="f_user_name like '{}%'">
11
+ <input type="text" class="form-control" v-model="model.f_user_name"
12
+ condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
14
13
  </div>
15
14
  </div>
16
- <div class="col-sm-2">
17
- <label class="col-sm-6">报建编号:</label>
18
- <div class="col-sm-6">
19
- <input type="text" class="form-control" placeholder='报建编号' v-model="model.f_apply_num"
15
+ <div class="col-sm-1">
16
+ <!--<label class="col-sm-6">合同编号</label>-->
17
+ <div class="col-sm-12">
18
+ <input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
20
19
  v-on:keyup.enter="search"
21
- condition="f_apply_num like '{}%'">
20
+ condition="f_contract_number like '%{}%'">
22
21
  </div>
23
22
  </div>
24
- <div class="col-sm-2">
25
- <label class="col-sm-6">用户地址:</label>
26
- <div class="col-sm-6">
23
+ <div class="col-sm-1">
24
+ <!--<label class="col-sm-6">用户地址</label>-->
25
+ <div class="col-sm-12">
27
26
  <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
28
27
  v-on:keyup.enter="search"
29
- condition="f_address like '{}%'">
28
+ condition="f_address like '%{}%'">
29
+ </div>
30
+ </div>
31
+ <div class="col-sm-1">
32
+ <!--<label class="col-sm-6"> 报建类型:</label>-->
33
+ <div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
34
+ <v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
35
+ v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
36
+ </v-select>
30
37
  </div>
31
38
  </div>
32
39
  <div class="col-sm-2">
33
- <label class="col-sm-6">小区名称:</label>
34
- <div class="col-sm-6">
35
- <input type="text" class="form-control" placeholder='小区名称' v-model="model.f_residential_area"
36
- v-on:keyup.enter="search"
37
- condition="f_residential_area like '{}%'">
40
+ <!--<label class="col-sm-6">办理环节:</label>-->
41
+ <div class="col-sm-12">
42
+ <v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
43
+ condition="defname = '{}'" placeholder='办理环节'
44
+ v-model="model.defname" :value.sync="model.defname" close-on-select>
45
+ </v-select>
38
46
  </div>
39
47
  </div>
40
- <!--<div class="col-sm-1">-->
41
- <!--<v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}%'"-->
42
- <!--v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>-->
43
- <!--</v-select>-->
44
- <!--</div>-->
45
- <!--<div class="col-sm-1">-->
46
- <!--<v-select :options="$parent.$parent.defnameType" placeholder='流程状态' condition="act.defname like '%{}%'"-->
47
- <!--v-model="model.defname" :value.sync="model.defname" close-on-select>-->
48
- <!--</v-select>-->
49
- <!--</div>-->
50
- <!--<div class="col-sm-1">-->
51
- <!--<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"-->
52
- <!--v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>-->
53
- <!--</v-select>-->
54
- <!--</div>-->
55
48
  <div class="col-sm-1">
49
+ <input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
50
+ v-on:keyup.enter="search"
51
+ condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
56
52
  </div>
57
- <div class="col-sm-1">
58
- <button class="btn btn-primary btn-sm width-80" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()">
59
- <span class="glyphicon glyphicon-search"></span>查询
53
+ </div>
54
+ <div class="col-sm-12">
55
+ <div class="col-sm-offset-9">
56
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(1)">
57
+ <span class="glyphicon glyphicon-plus" ></span>散户报装
60
58
  </button>
61
- </div>
62
- <div class="col-sm-1">
63
- <button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.addactive()">
64
- <span class="glyphicon glyphicon-plus" ></span>申请登记
59
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(2)">
60
+ <span class="glyphicon glyphicon-plus" ></span>民用报装
65
61
  </button>
66
- </div>
67
- <div class="col-sm-1">
68
- <button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.modify()"><span
69
- class="glyphicon glyphicon-plus"></span>改装登记
62
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(3)">
63
+ <span class="glyphicon glyphicon-plus" ></span>工业报装
64
+ </button>
65
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(4)">
66
+ <span class="glyphicon glyphicon-plus" ></span>商业报装
67
+ </button>
68
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(5)">
69
+ <span class="glyphicon glyphicon-plus" ></span>管道移改
70
+ </button>
71
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(6)">
72
+ <span class="glyphicon glyphicon-plus" ></span>中压管线
73
+ </button>
74
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()">
75
+ <span class="glyphicon glyphicon-search"></span>查询
76
+ </button>
77
+ <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.close()">
78
+ <span class="glyphicon glyphicon-repeat"></span>返回
70
79
  </button>
71
80
  </div>
72
81
  </div>
@@ -81,11 +90,12 @@
81
90
  <th>
82
91
  <nobr>当前状态</nobr>
83
92
  </th>
93
+ <th><nobr>联系人/项目名称/用户名称</nobr></th>
84
94
  <th>
85
- <nobr>报建编号</nobr>
95
+ <nobr>合同编号</nobr>
86
96
  </th>
87
97
  <th>
88
- <nobr>用户姓名</nobr>
98
+ <nobr>流程状态</nobr>
89
99
  </th>
90
100
  <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
91
101
  <nobr>用户类型</nobr>
@@ -96,9 +106,6 @@
96
106
  <th>
97
107
  <nobr>地址</nobr>
98
108
  </th>
99
- <th>
100
- <nobr>流程状态</nobr>
101
- </th>
102
109
  <th>
103
110
  <nobr>报建类型</nobr>
104
111
  </th>
@@ -119,11 +126,14 @@
119
126
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
120
127
  <nobr><font>{{row.f_sub_state}}</font></nobr>
121
128
  </td>
129
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
130
+ <nobr><font>{{row.f_user_name}}/{{row.f_entry_name}}/{{row.f_company_name}}</font></nobr>
131
+ </td>
122
132
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
123
- <nobr><font>{{row.f_apply_num}}</font></nobr>
133
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
124
134
  </td>
125
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
126
- <nobr><font>{{row.f_user_name}}</font></nobr>
135
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
136
+ <nobr><font>{{row.defname}}</font></nobr>
127
137
  </td>
128
138
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
129
139
  <nobr><font>{{row.f_user_type}}</font></nobr>
@@ -134,9 +144,6 @@
134
144
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
135
145
  <nobr><font>{{row.f_address}}</font></nobr>
136
146
  </td>
137
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
138
- <nobr><font>{{row.defname}}</font></nobr>
139
- </td>
140
147
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
141
148
  <nobr><font>{{row.f_apply_type}}</font></nobr>
142
149
  </td>
@@ -169,14 +176,18 @@
169
176
  } from 'vue-client'
170
177
  import getNowDate from '../../getNowDate.js'
171
178
  import {HttpResetClass} from 'vue-client'
179
+ import Vue from "vue";
172
180
  export default {
173
181
  title: '勘探详情',
174
182
  data() {
175
183
  return {
184
+ // applytype: [{label:"全部",value:''},...this.$appdata.getParam('报建类型')],
185
+ applytype: [{label:"全部",value:''}],
176
186
  timer: null,
177
187
  timer1:null,
178
188
  remindTime:5,//超时提醒时间
179
189
  isOverNum:0,//报建是否提醒过
190
+ defnames:[],
180
191
  model: new PagedList('rs/sql/checkuser', 20, {
181
192
  data: {
182
193
  id: this.$login.f.id,
@@ -184,19 +195,38 @@
184
195
  }
185
196
  }),
186
197
  condition: '',
187
- select: ''
198
+ select: '',
199
+ urlname: '',
200
+ workflow_name:['',''],
201
+ xmlname: '',
202
+ startname: '客户申请',
203
+ f_apply_type: ''
188
204
  }
189
205
  },
190
206
  ready() {
191
- debugger
207
+ console.log("--------------进入ready---------------")
192
208
  let str='报建语音提醒时间'
193
209
  this.$refs.cp.$refs.cri.search()
194
210
  str='超时提前提醒时间'
195
211
  this.loadSingleValue(str)
212
+ let http = new HttpResetClass()
213
+ console.log("--------------进入load---------------")
214
+ http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
215
+ resolveMsg: null,
216
+ rejectMsg: null
217
+ }).then((res)=>{
218
+ // 先获取所有流程环节
219
+ this.defnames = [{label: '全部', value: ''}]
220
+ for(let i=0;i<res.data.length;i++){
221
+ this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
222
+ }
223
+ })
196
224
  let self = this
225
+ console.log("--------------ready结束---------------")
197
226
  },
198
227
  methods: {
199
228
  generateUUID() {
229
+ console.log("--------------进入generateUUID---------------")
200
230
  var d = new Date().getTime()
201
231
  var uuid = 'xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
202
232
  var r = (d + Math.random() * 16) % 16 | 0
@@ -206,30 +236,131 @@
206
236
  return uuid
207
237
  },
208
238
  searchNow(){
239
+ console.log("--------------进入searchNow---------------")
209
240
  this.$refs.cp.$refs.cri.search()
210
241
  this.eachFind()
211
242
  },
243
+ loadName(){
244
+ //获取庭院楼盘工程json
245
+ console.log("--------------进入json获取---------------")
246
+ let http = new HttpResetClass()
247
+ console.log("--------------开始加载load---------------")
248
+ let data = {
249
+ data: this.$login.f,
250
+ workname: this.urlname
251
+ }
252
+ console.log("获取流程信息:" + JSON.stringify(data))
253
+ http.load('POST','rs/logic/ApplyGetConfigs', {data: data}, {resolveMsg: null, rejectMsg: null}
254
+ ).then((res)=>{
255
+
256
+ if(res.data.code && res.data.code == 200){
257
+ Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
258
+
259
+ // console.log("workflow_vue有没有值:"+JSON.stringify(this.workflow_vue))
260
+ if(res.data.msg){
261
+ console.log('获取配置文件信息:',res.data.msg)
262
+ }
263
+ }else{
264
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
265
+ return
266
+ }
267
+ })
268
+ console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
269
+ console.log("--------------结束获取---------------")
270
+
271
+ },
212
272
  async addactive(modify) {
273
+ console.log("-------------modify:"+modify)
274
+ if (modify == '1'){
275
+ console.log("进来了没有--------------")
276
+ this.urlname = "散户报建流程"
277
+ this.xmlname = "散户报建流程"
278
+ this.f_apply_type = '散户报建'
279
+ this.startname = '客户申请'
280
+ console.log("获取部门:" + this.$login.f.f_parentname)
281
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
282
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
283
+ // return
284
+ // }
285
+ this.loadName()
286
+ }
287
+ if (modify == '2'){
288
+ console.log("进来了没有--------------")
289
+ this.urlname = "民用报建流程"
290
+ this.xmlname = "民用报建流程"
291
+ this.f_apply_type = '民用报建'
292
+ this.startname = '客户申请'
293
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
294
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
295
+ // return
296
+ // }
297
+ this.loadName()
298
+ }
299
+ if (modify == '3' || modify == '4'){
300
+ console.log("进来了没有--------------")
301
+ this.urlname = "工商业报建流程"
302
+ this.xmlname = "工商业报建流程"
303
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
304
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
305
+ // return
306
+ // }
307
+ if (modify == '3') {
308
+ this.f_apply_type = '工业报建'
309
+ }
310
+ if (modify == '4') {
311
+ this.f_apply_type = '商业报建'
312
+ }
313
+ this.startname = '客户申请'
314
+ this.loadName()
315
+ }
316
+ if (modify == '5'){
317
+ console.log("进来了没有--------------")
318
+ this.urlname = "管道移改报建流程"
319
+ this.xmlname = "管道移改报建流程"
320
+ this.f_apply_type = '管道移改'
321
+ this.startname = '客户申请'
322
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
323
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
324
+ // return
325
+ // }
326
+ this.loadName()
327
+ }
328
+ if (modify == '6'){
329
+ console.log("进来了没有--------------")
330
+ this.urlname = "中压管线报建流程"
331
+ this.xmlname = "中压管线报建流程"
332
+ this.f_apply_type = '中压管线'
333
+ this.startname = '申请部门'
334
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
335
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
336
+ // return
337
+ // }
338
+ this.loadName()
339
+ }
340
+ // let workflowXml_name= this.workflow_name
341
+ // console.log("$workflow_vue"+this.$workflow_vue.workflow_xmlfilename)
342
+ console.log("--------------进入addactive---------------")
213
343
  let http = new HttpResetClass()
214
- 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失败,请联系开发人员'})
344
+ let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.xmlname,start_activity:this.startname}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
215
345
  this.$refs.cp.pager = false
216
346
  let val = {
217
- defname: this.$workflow_vue.start_activity,
347
+ defname: this.startname,
218
348
  f_process_id: res.data.f_process_id,
219
349
  f_apply_date: Util.toStandardTimeString(),
220
350
  f_apply_num: this.generateUUID(),
221
- f_apply_operator_telephone: this.$login.f.f_fgsdianhua
351
+ f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
352
+ f_apply_type: this.f_apply_type
222
353
  }
223
354
  // 如果是改装,将modify装入val
224
- if(modify){
225
- modify.f_customer_type = '个人'
226
- modify.f_apply_type = '改装登记'
227
- modify.f_phone = modify.f_user_phone
228
- let temp = modify.f_residential_area
229
- modify.f_residential_area = modify.f_area
230
- modify.f_area = temp
231
- Object.assign(val,modify)
232
- }
355
+ // if(modify){
356
+ // modify.f_customer_type = '个人'
357
+ // modify.f_apply_type = '改装登记'
358
+ // modify.f_phone = modify.f_user_phone
359
+ // let temp = modify.f_residential_area
360
+ // modify.f_residential_area = modify.f_area
361
+ // modify.f_area = temp
362
+ // Object.assign(val,modify)
363
+ // }
233
364
 
234
365
  console.log(112 + JSON.stringify(this.$login.f.f_apply_department))
235
366
  this.$dispatch('check', val)
@@ -238,20 +369,24 @@
238
369
  },
239
370
  // 改装申请
240
371
  modify(){
372
+ console.log("--------------进入modify---------------")
241
373
  // 调出改装申请界面
242
374
  this.$parent.show = false
243
375
  }
244
376
  ,
245
377
  check(val) {
378
+ console.log("--------------进入check---------------")
246
379
  this.$dispatch('check', val)
247
380
  this.$dispatch('addactive')
248
381
  }
249
382
  ,
250
383
  close() {
384
+ console.log("--------------进入close---------------")
251
385
  this.$dispatch('close')
252
386
  }
253
387
  ,
254
388
  compare(val) {
389
+ console.log("--------------进入compare---------------")
255
390
  val === '完工'
256
391
  console.log('完工', val)
257
392
  return false
@@ -259,7 +394,7 @@
259
394
 
260
395
  // 获取数据
261
396
  loadSingleValue(str) {
262
- debugger
397
+ console.log("--------------进入loadSingleValue---------------")
263
398
  let http = new HttpResetClass()
264
399
  let data = {
265
400
  singlename: str,
@@ -312,6 +447,7 @@
312
447
 
313
448
  },
314
449
  setTimer() {
450
+ console.log("--------------进入setTimer---------------")
315
451
  if(this.timer == null) {
316
452
  this.timer = setInterval( () => {
317
453
  console.log('开始定时...每过5秒执行一次')
@@ -323,6 +459,7 @@
323
459
  }
324
460
  },
325
461
  setOut() {
462
+ console.log("--------------进入setOut---------------")
326
463
  if(this.timer1 == null) {
327
464
  this.timer1 = setTimeout( () => {
328
465
  console.log('开始setTimeout')
@@ -333,13 +470,14 @@
333
470
  },
334
471
  //语音提醒
335
472
  speckText(str) {
473
+ console.log("--------------进入speckText---------------")
336
474
  var url= "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text=" + encodeURI(str);
337
475
  new Audio(url).play();
338
476
 
339
477
  },
340
478
 
341
479
  eachFind() {
342
- debugger
480
+ console.log("--------------进入eachfind---------------")
343
481
  let arr = this.$refs.cp.$refs.grid.model.rows
344
482
  let overNumString1=''
345
483
  let flagNum1=1
@@ -364,12 +502,14 @@
364
502
  }
365
503
  },
366
504
  created: function() {
505
+ console.log("--------------进入select-created---------------")
367
506
  clearInterval(this.timer)
368
507
  clearInterval(this.timer1)
369
508
  this.timer = null
370
509
  this.timer1 = null
371
510
  },
372
511
  beforeDestroy() {
512
+ console.log("--------------进入beforeDestroy---------------")
373
513
  clearInterval(this.timer)
374
514
  clearInterval(this.timer1)
375
515
  this.timer = null
@@ -1,47 +1,57 @@
1
1
  <template>
2
- <div class="col-sm-12" style="overflow:auto;">
2
+ <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
3
  <div class="tops" v-bind:style="{ height: topheight }">
4
4
  <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
5
  <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
6
  </div>
7
- <div v-show="showtotal" v-bind:style="{ height: botheight }">
8
- <div class="col-sm-3" v-show="showbasic" >
9
- <history_control v-ref:binfo :selectdata="selectdata"></history_control>
10
- </div>
11
- <div class="col-sm-9">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='header'>
7
+ <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
8
+ <div class="col-sm-10">
9
+ <tabset v-ref:tabs :close="false" style="margin-top: 80px">
10
+ <tab :header='header' style="background-color :#f6f6f6">
14
11
  <service-control v-ref:service :selectdata="selectdata" ></service-control>
15
12
  </tab>
16
- <tab header='户档案管理'>
17
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1"
18
- :edit = "true">
19
- </record-message>
20
- </tab>
21
- <tab header='表档案管理'>
13
+ <!--<tab header='档案信息管理' style="background-color :#f6f6f6" v-if="selectdata.f_install_num>1&&selectdata.defname!='营收数据导入'">-->
14
+ <!--<record-message v-ref:record :selectdata="selectdata" :key="tittle1"-->
15
+ <!--:edit = "true">-->
16
+ <!--</record-message>-->
17
+ <!--</tab>-->
18
+ <!-- <tab header='表档案管理'>
22
19
  <record-message v-ref:record :selectdata="selectdata" :key="tittle2"
23
20
  :edit = "true">
24
21
  </record-message>
25
- </tab>
26
- <tab header='材料信息'>
27
- <material-message v-ref:material :selectdata="selectdata"
28
- :edit = "true">
29
- </material-message>
30
- </tab>
31
- <tab header='附件'>
32
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>
22
+ </tab>-->
23
+ <!--<tab header='材料信息' style="background-color :#f6f6f6">-->
24
+ <!--<material-message v-ref:material :selectdata="selectdata"-->
25
+ <!--:edit = "true">-->
26
+ <!--</material-message>-->
27
+ <!--</tab>-->
28
+ <tab header='附件' style="background-color :#f6f6f6">
29
+ <!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></apply-upload>-->
30
+ <apply-upload v-ref:file
31
+ :blodid="selectdata.f_process_id"
32
+ :isupload = "true"
33
+ :isdelete="true"
34
+ :isusetype="true"
35
+ :isremark = "true"
36
+ :takeimg="true"
37
+ :issearch="true"
38
+ :defname="selectdata.defname">
39
+ </apply-upload>
33
40
  <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
34
41
  </tab>
35
- <tab header='设备新增' v-if="flagg">
36
- <equipment-message v-ref:equipment :selectdata="selectdata"
37
- :edit = "true">
38
- </equipment-message>
39
- </tab>
42
+ <!--<tab header='设备新增' v-if="flagg">-->
43
+ <!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
44
+ <!--:edit = "true">-->
45
+ <!--</equipment-message>-->
46
+ <!--</tab>-->
40
47
  <!-- <tab header='设备管理' v-if="flagg">
41
48
  <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
42
49
  </tab>-->
43
50
  </tabset>
44
51
  </div>
52
+ <div class="col-sm-2" style="overflow:auto;margin-top: 80px" v-show="showbasic" >
53
+ <history_control v-ref:binfo :selectdata="selectdata"></history_control>
54
+ </div>
45
55
  </div>
46
56
  </div>
47
57
  </template>
@@ -67,10 +77,18 @@
67
77
  },
68
78
  created(){
69
79
  let http = new HttpResetClass()
70
- http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
80
+ let xmldata = {
81
+ data: this.$login.f,
82
+ workname: '散户报建流程'
83
+ }
84
+ http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
71
85
  ).then((res)=>{
86
+
72
87
  if(res.data.code && res.data.code == 200){
73
88
  Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
89
+ if(res.data.msg){
90
+ console.log('获取配置文件信息:',res.data.msg)
91
+ }
74
92
  }else{
75
93
  this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
76
94
  return
@@ -83,8 +101,8 @@
83
101
  this.$refs.queryuser.$refs.cp.$refs.cri.search()
84
102
  this.hidden()
85
103
  this.showbasic = true
86
- this.topheight = '20%'
87
- this.botheight = '80%'
104
+ this.topheight = '8%'
105
+ this.botheight = '88.9%'
88
106
  },
89
107
  'changeheight'() {
90
108
  this.show = true
@@ -93,15 +111,52 @@
93
111
  'check'(val) {
94
112
  this.selectdata = null
95
113
  this.selectdata = val
96
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
97
- this.topheight = '20%'
98
- this.botheight = '80%'
99
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
100
- this.$refs.queryuser.$refs.cp.pager = false
101
- this.showbasic = true
102
- this.header = val.defname
103
- this.hidden()
104
- this.$refs.service.refurbish(val)
114
+ console.log('val.f_apply_type:' + val.f_apply_type)
115
+ if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
116
+ console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
117
+ if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
118
+ this.xmlname = '工商业报建流程'
119
+ } else if (this.selectdata.f_apply_type === '散户报建') {
120
+ this.xmlname = '散户报建流程'
121
+ } else if (this.selectdata.f_apply_type === '民用报建') {
122
+ this.xmlname = '民用报建流程'
123
+ } else if (this.selectdata.f_apply_type === '管道移改') {
124
+ this.xmlname = '管道移改报建流程'
125
+ }else if (this.selectdata.f_apply_type === '中压管线') {
126
+ this.xmlname = '中压管线报建流程'
127
+ }else {
128
+ this.xmlname = this.selectdata.type + '报建流程'
129
+ }
130
+ let xmldata = {
131
+ data: this.$login.f,
132
+ workname: this.xmlname
133
+ }
134
+ let http = new HttpResetClass()
135
+ console.log('xmldata.workname:' + xmldata.workname)
136
+ http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
137
+ ).then((res)=>{
138
+ if (res.data.code && res.data.code == 200){
139
+ Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
140
+ if (res.data.msg){
141
+ console.log('获取配置文件信息:', res.data.msg)
142
+ }
143
+ // console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
144
+ // console.log("this.selectdata的值---------" + JSON.stringify(this.selectdata))
145
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
146
+ this.topheight = '8%'
147
+ this.botheight = '88.9%'
148
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
149
+ this.$refs.queryuser.$refs.cp.pager = false
150
+ this.showbasic = true
151
+ this.header = val.defname
152
+ this.hidden()
153
+ this.$refs.service.refurbish(val)
154
+ } else {
155
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
156
+ return
157
+ }
158
+ })
159
+ }
105
160
  },
106
161
  'selfsearch'() {
107
162
  this.$refs.queryuser.$refs.cp.$refs.cri.search()