apply-clients 3.0.2 → 3.0.5-2

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 (66) hide show
  1. package/dist.zip +0 -0
  2. package/index.html +1 -1
  3. package/package.json +4 -3
  4. package/src/App.vue +126 -15
  5. package/src/apply.js +18 -0
  6. package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
  7. package/src/bootstrap/less/bootstrap.less +1 -2
  8. package/src/bootstrap/less/standard.less +208 -0
  9. package/src/components/Util.js +4 -0
  10. package/src/components/app_apply/FieldExploration.vue +2 -2
  11. package/src/components/app_apply/Ventilation.vue +2 -2
  12. package/src/components/image/doc.jpg +0 -0
  13. package/src/components/image/excel.jpg +0 -0
  14. package/src/components/image/pdf.jpg +0 -0
  15. package/src/components/image//345/233/276/345/261/20212.png +0 -0
  16. package/src/components/image//345/233/276/345/261/20213.png +0 -0
  17. package/src/components/image//345/233/276/345/261/20216.png +0 -0
  18. package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
  19. package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
  20. package/src/components/image//346/244/255/345/234/2062.png +0 -0
  21. package/src/components/image//346/244/255/345/234/2065.png +0 -0
  22. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  23. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
  24. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
  25. package/src/components/image//347/273/2044.png +0 -0
  26. package/src/components/image//347/273/2045.png +0 -0
  27. package/src/components/image//347/273/2046.png +0 -0
  28. 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
  29. package/src/components/product/Function/InstallFunction.vue +9 -8
  30. package/src/components/product/Function/InstallInfoSelect.vue +98 -69
  31. package/src/components/product/Function/Service/FunctionServiceControl.vue +81 -3
  32. package/src/components/product/Function/functions/AddContract.vue +161 -139
  33. package/src/components/product/Function/functions/BuyerMessage.vue +522 -0
  34. package/src/components/product/Function/functions/InstallFee.vue +1117 -891
  35. package/src/components/product/MaterialBatchList.vue +109 -0
  36. package/src/components/product/MaterialBatchManage.vue +34 -0
  37. package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +208 -73
  39. package/src/components/product/Process/ExplorationUser.vue +94 -42
  40. package/src/components/product/Process/MaterialUseList.vue +159 -0
  41. package/src/components/product/Process/ModifyUserFiles.vue +15 -5
  42. package/src/components/product/Process/ProcessInfo/history_control.vue +139 -110
  43. package/src/components/product/Process/Processes/ApplyUpload.vue +279 -0
  44. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +501 -212
  45. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +949 -753
  46. package/src/components/product/Process/Processes/ProjectSettlement.vue +549 -35
  47. package/src/components/product/Process/Processes/ReceiveBatch.vue +314 -168
  48. package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
  49. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +44 -16
  50. package/src/components/product/Process/Processes/Service/ServiceControl.vue +2495 -1008
  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 +364 -124
  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 -29
  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/main.js +2 -0
  62. package/src/stores/ApplyLoadParams.js +1 -1
  63. package/src/stores/PagedListLogic.js +173 -0
  64. package/.npmignore +0 -12
  65. package/node_modules.7z +0 -0
  66. 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,126 @@
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
+ console.log("获取部门:" + this.$login.f.f_parentname)
280
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
281
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
282
+ // return
283
+ // }
284
+ this.loadName()
285
+ }
286
+ if (modify == '2'){
287
+ console.log("进来了没有--------------")
288
+ this.urlname = "民用报建流程"
289
+ this.xmlname = "民用报建流程"
290
+ this.f_apply_type = '民用报建'
291
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
292
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
293
+ // return
294
+ // }
295
+ this.loadName()
296
+ }
297
+ if (modify == '3' || modify == '4'){
298
+ console.log("进来了没有--------------")
299
+ this.urlname = "工商业报建流程"
300
+ this.xmlname = "工商业报建流程"
301
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
302
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
303
+ // return
304
+ // }
305
+ if (modify == '3') {
306
+ this.f_apply_type = '工业报建'
307
+ }
308
+ if (modify == '4') {
309
+ this.f_apply_type = '商业报建'
310
+ }
311
+ this.loadName()
312
+ }
313
+ if (modify == '5'){
314
+ console.log("进来了没有--------------")
315
+ this.urlname = "管道移改报建流程"
316
+ this.xmlname = "管道移改报建流程"
317
+ this.f_apply_type = '管道移改'
318
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
319
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
320
+ // return
321
+ // }
322
+ this.loadName()
323
+ }
324
+ if (modify == '6'){
325
+ console.log("进来了没有--------------")
326
+ this.urlname = "中压管线报建流程"
327
+ this.xmlname = "中压管线报建流程"
328
+ this.f_apply_type = '中压管线'
329
+ // if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
330
+ // this.$showMessage("只能由客户服务部和市场部发起报建申请")
331
+ // return
332
+ // }
333
+ this.loadName()
334
+ }
335
+ // let workflowXml_name= this.workflow_name
336
+ // console.log("$workflow_vue"+this.$workflow_vue.workflow_xmlfilename)
337
+ console.log("--------------进入addactive---------------")
213
338
  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失败,请联系开发人员'})
339
+ let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.xmlname,start_activity:this.startname}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
215
340
  this.$refs.cp.pager = false
216
341
  let val = {
217
- defname: this.$workflow_vue.start_activity,
342
+ defname: this.startname,
218
343
  f_process_id: res.data.f_process_id,
219
344
  f_apply_date: Util.toStandardTimeString(),
220
345
  f_apply_num: this.generateUUID(),
221
- f_apply_operator_telephone: this.$login.f.f_fgsdianhua
346
+ f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
347
+ f_apply_type: this.f_apply_type
222
348
  }
223
349
  // 如果是改装,将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
- }
350
+ // if(modify){
351
+ // modify.f_customer_type = '个人'
352
+ // modify.f_apply_type = '改装登记'
353
+ // modify.f_phone = modify.f_user_phone
354
+ // let temp = modify.f_residential_area
355
+ // modify.f_residential_area = modify.f_area
356
+ // modify.f_area = temp
357
+ // Object.assign(val,modify)
358
+ // }
233
359
 
234
360
  console.log(112 + JSON.stringify(this.$login.f.f_apply_department))
235
361
  this.$dispatch('check', val)
@@ -238,20 +364,24 @@
238
364
  },
239
365
  // 改装申请
240
366
  modify(){
367
+ console.log("--------------进入modify---------------")
241
368
  // 调出改装申请界面
242
369
  this.$parent.show = false
243
370
  }
244
371
  ,
245
372
  check(val) {
373
+ console.log("--------------进入check---------------")
246
374
  this.$dispatch('check', val)
247
375
  this.$dispatch('addactive')
248
376
  }
249
377
  ,
250
378
  close() {
379
+ console.log("--------------进入close---------------")
251
380
  this.$dispatch('close')
252
381
  }
253
382
  ,
254
383
  compare(val) {
384
+ console.log("--------------进入compare---------------")
255
385
  val === '完工'
256
386
  console.log('完工', val)
257
387
  return false
@@ -259,7 +389,7 @@
259
389
 
260
390
  // 获取数据
261
391
  loadSingleValue(str) {
262
- debugger
392
+ console.log("--------------进入loadSingleValue---------------")
263
393
  let http = new HttpResetClass()
264
394
  let data = {
265
395
  singlename: str,
@@ -312,6 +442,7 @@
312
442
 
313
443
  },
314
444
  setTimer() {
445
+ console.log("--------------进入setTimer---------------")
315
446
  if(this.timer == null) {
316
447
  this.timer = setInterval( () => {
317
448
  console.log('开始定时...每过5秒执行一次')
@@ -323,6 +454,7 @@
323
454
  }
324
455
  },
325
456
  setOut() {
457
+ console.log("--------------进入setOut---------------")
326
458
  if(this.timer1 == null) {
327
459
  this.timer1 = setTimeout( () => {
328
460
  console.log('开始setTimeout')
@@ -333,13 +465,14 @@
333
465
  },
334
466
  //语音提醒
335
467
  speckText(str) {
468
+ console.log("--------------进入speckText---------------")
336
469
  var url= "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text=" + encodeURI(str);
337
470
  new Audio(url).play();
338
471
 
339
472
  },
340
473
 
341
474
  eachFind() {
342
- debugger
475
+ console.log("--------------进入eachfind---------------")
343
476
  let arr = this.$refs.cp.$refs.grid.model.rows
344
477
  let overNumString1=''
345
478
  let flagNum1=1
@@ -364,12 +497,14 @@
364
497
  }
365
498
  },
366
499
  created: function() {
500
+ console.log("--------------进入select-created---------------")
367
501
  clearInterval(this.timer)
368
502
  clearInterval(this.timer1)
369
503
  this.timer = null
370
504
  this.timer1 = null
371
505
  },
372
506
  beforeDestroy() {
507
+ console.log("--------------进入beforeDestroy---------------")
373
508
  clearInterval(this.timer)
374
509
  clearInterval(this.timer1)
375
510
  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,17 +77,22 @@
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
77
95
  }
78
- }).catch((ret)=>{
79
- this.$showMessage('获取报建配置失败,原因:' + JSON.stringify(ret.data))
80
- return
81
96
  })
82
97
  console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
83
98
  },
@@ -86,8 +101,8 @@
86
101
  this.$refs.queryuser.$refs.cp.$refs.cri.search()
87
102
  this.hidden()
88
103
  this.showbasic = true
89
- this.topheight = '20%'
90
- this.botheight = '80%'
104
+ this.topheight = '8%'
105
+ this.botheight = '88.9%'
91
106
  },
92
107
  'changeheight'() {
93
108
  this.show = true
@@ -96,15 +111,52 @@
96
111
  'check'(val) {
97
112
  this.selectdata = null
98
113
  this.selectdata = val
99
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
100
- this.topheight = '20%'
101
- this.botheight = '80%'
102
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
103
- this.$refs.queryuser.$refs.cp.pager = false
104
- this.showbasic = true
105
- this.header = val.defname
106
- this.hidden()
107
- 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
+ }
108
160
  },
109
161
  'selfsearch'() {
110
162
  this.$refs.queryuser.$refs.cp.$refs.cri.search()