apply-clients 3.5.5-7 → 3.5.5-70

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 (92) hide show
  1. package/build/dev-server.js +7 -19
  2. package/package.json +5 -3
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +391 -383
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  11. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  12. package/src/components/product/Process/Processes/contractModel.vue +436 -454
  13. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +860 -858
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +2 -2
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  21. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  23. package/src/filiale/fugou/pc/ApplyChargeList.vue +4 -0
  24. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  25. package/src/filiale/fugou/pc/ServiceControl.vue +19 -10
  26. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  27. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  28. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  29. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  30. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  31. package/src/filiale/fugou/pc.js +3 -1
  32. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  33. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  34. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  35. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  36. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  37. package/src/filiale/gongyi/android.js +18 -18
  38. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  39. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  40. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  41. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  42. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  43. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  44. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  45. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  46. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  47. package/src/filiale/gongyi/pc.js +24 -24
  48. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  49. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  50. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  51. package/src/filiale/jinhuang/android.js +6 -0
  52. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  53. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +497 -0
  54. package/src/filiale/jinhuang/pc/ServiceControl.vue +1932 -1925
  55. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  56. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  57. package/src/filiale/jinhuang/pc.js +3 -0
  58. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  59. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  60. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  61. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  64. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +6 -2
  65. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +585 -518
  66. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  67. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  68. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +217 -43
  69. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  70. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  71. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  72. package/src/filiale/yangchunboneng/android.js +2 -1
  73. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  74. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  75. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  76. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  77. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  84. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  90. package/src/filiale/yangchunboneng/pc.js +28 -24
  91. package/src/main.js +1 -1
  92. package/~/chatbot/main.py +0 -57
@@ -611,7 +611,7 @@ export default {
611
611
  this.$showMessage(`您没有抽查权限!!!`)
612
612
  return
613
613
  }
614
- if(this.data.f_check_state!=='' && this.data.f_check_state!==null){
614
+ if(this.data.f_check_state!=='' && this.data.f_check_state!==null && this.data.f_check_state!== '未检查'){
615
615
  this.$showMessage(`此报建已被${this.data.f_check_user}抽查!!!`)
616
616
  return
617
617
  }
@@ -0,0 +1,337 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">组织机构:</label>
10
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="u.f_apply_num = '{}'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">客户名称:</label>
25
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="u.f_user_name = '{}'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_export button_spacing" @click="$parent.$parent.batchPrint()">批量打印</button>
31
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
+ <div
34
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
35
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
36
+ class="button_spacing"
37
+ style="float: right">
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class="row" v-show="$parent.$parent.criteriaShow">
42
+ <div class="form-group col-sm-3">
43
+ <label class="font_normal_body">电&emsp;&emsp;话:</label>
44
+ <input type="text" style="width: 60%" class="input_search" placeholder='电话' v-model="model.f_phone"
45
+ v-on:keyup.enter="$parent.$parent.search()"
46
+ condition="u.f_phone = '{}'">
47
+ </div>
48
+ <div class="form-group col-sm-3">
49
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
50
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
51
+ v-on:keyup.enter="$parent.$parent.search()"
52
+ condition="u.f_address like '%{}%'">
53
+ </div>
54
+ <div class="form-group col-sm-3">
55
+ <label class="font_normal_body">安装单位:</label>
56
+ <input type="text" style="width: 60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_unit"
57
+ v-on:keyup.enter="$parent.$parent.search()"
58
+ condition="u.f_construction_unit = '{}'">
59
+ </div>
60
+ <div class="form-group col-sm-3">
61
+ <label class="font_normal_body">是否打印:</label>
62
+ <v-select
63
+ v-model="model.f_prints_number"
64
+ placeholder='是否打印'
65
+ condition=" u.f_prints_number {}"
66
+ :value.sync="model.f_prints_number"
67
+ :options='$parent.$parent.isprints'
68
+ class="select select_list"
69
+ :value-single="true"
70
+ close-on-select ></v-select>
71
+ </div>
72
+ <div class="form-group col-sm-3">
73
+ <label for="startDate" class="font_normal_body">开始时间:</label>
74
+ <datepicker id="startDate" placeholder="开始日期"
75
+ style="width: 60%!important;"
76
+ v-model="model.startDate"
77
+ :value.sync="model.startDate"
78
+ :format="'yyyy-MM-dd 00:00:00'"
79
+ :show-reset-button="true"
80
+ condition="u.f_construction_date >= '{}'">
81
+ </datepicker>
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label for="endDate" class="font_normal_body">结束时间:</label>
85
+ <datepicker id="endDate" placeholder="结束日期"
86
+ style="width: 60%!important;"
87
+ v-model="model.endDate"
88
+ :value.sync="model.endDate"
89
+ :format="'yyyy-MM-dd 23:59:59'"
90
+ :show-reset-button="true"
91
+ condition="u.f_construction_date <= '{}'">
92
+ </datepicker>
93
+ </div>
94
+
95
+ <div class="form-group col-sm-3">
96
+ <label for="startDate" class="font_normal_body">打印开始时间:</label>
97
+ <datepicker id="startDate1" placeholder="打印开始日期"
98
+ style="width: 60%!important;"
99
+ v-model="model.startDate1"
100
+ :value.sync="model.startDate1"
101
+ :format="'yyyy-MM-dd 00:00:00'"
102
+ :show-reset-button="true"
103
+ condition="u.f_prints_date >= to_char('{}','yyyy-MM-dd hh24:mi:ss')">
104
+ </datepicker>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label for="endDate" class="font_normal_body">打印结束时间:</label>
108
+ <datepicker id="endDate1" placeholder="打印结束日期"
109
+ style="width: 60%!important;"
110
+ v-model="model.endDate2"
111
+ :value.sync="model.endDate2"
112
+ :format="'yyyy-MM-dd 23:59:59'"
113
+ :show-reset-button="true"
114
+ condition="u.f_prints_date <= to_char('{}','yyyy-MM-dd hh24:mi:ss')">
115
+ </datepicker>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </criteria>
120
+ <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
121
+ <template partial='head'>
122
+ <tr>
123
+ <th>序号</th>
124
+ <th>工程编号</th>
125
+ <th>客户名称</th>
126
+ <th>电话</th>
127
+ <th>地址</th>
128
+ <th>安装单位</th>
129
+ <th>安装时间</th>
130
+ <th>打印次数</th>
131
+ <th>打印时间</th>
132
+ </tr>
133
+ </template>
134
+ <template partial='body'>
135
+ <tr>
136
+ <td style="text-align: center;">
137
+ <nobr><font>{{$index+1}}</font></nobr>
138
+ </td>
139
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
140
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
143
+ <nobr><font>{{row.f_user_name}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
146
+ <nobr><font>{{row.f_phone}}</font></nobr>
147
+ </td>
148
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
149
+ <nobr><font>{{row.f_address}}</font></nobr>
150
+ </td>
151
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
152
+ <nobr><font>{{row.f_construction_unit}}</font></nobr>
153
+ </td>
154
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
155
+ <nobr><font>{{row.f_construction_date}}</font></nobr>
156
+ </td>
157
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
158
+ <nobr><font>{{row.f_prints_number}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
161
+ <nobr><font>{{row.f_prints_date}}</font></nobr>
162
+ </td>
163
+ </tr>
164
+ </template>
165
+ </data-grid>
166
+ </criteria-paged>
167
+
168
+ <modal :show.sync="showPrint" title="打印预览" v-ref:modal :backdrop="false">
169
+ <header slot="modal-header" class="modal-header">
170
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
171
+ <h4 class="modal-title">打印预览</h4>
172
+ </header>
173
+ <article slot="modal-body" class="modal-body">
174
+ <print-build-order :selectdata="selectdata" :type="type" v-ref:print></print-build-order>
175
+ </article>
176
+ <footer slot="modal-footer" class="modal-footer">
177
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
178
+ </footer>
179
+ </modal>
180
+
181
+ <modal :show.sync="showProgress" v-ref:progress :backdrop="false">
182
+ <header slot="modal-header" class="modal-header">
183
+ <h4 class="modal-title">发送打印指令中,请耐心等待...</h4>
184
+ </header>
185
+ <article slot="modal-body" class="modal-body">
186
+ <div class="progress" style="margin: 20px">
187
+ <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
188
+ {{ percent }}
189
+ </div>
190
+ </div>
191
+ </article>
192
+ <footer slot="modal-footer" class="modal-footer">
193
+ </footer>
194
+ </modal>
195
+ </div>
196
+ </div>
197
+ </template>
198
+
199
+ <script>
200
+ import {PagedList} from 'vue-client'
201
+ import {HttpResetClass} from 'vue-client'
202
+ export default {
203
+ title: '安装项目',
204
+ data () {
205
+ return {
206
+ model: new PagedList('rs/sql/buildOrderList', 30, null),
207
+ criteriaShow: false,
208
+ curorgid: [this.$login.f.orgid],
209
+ selectdata: null,
210
+ showPrint: false,
211
+ showProgress: false,
212
+ percent: 0,
213
+ type: 'PREVIEW',
214
+ showRow:false,
215
+ isprints: [{label: '全部', value: ''},{label: '是', value: '>0'},{label: '否', value: '=0'}],
216
+ }
217
+ },
218
+ ready () {
219
+ // 调用查询
220
+ this.search()
221
+ },
222
+ methods: {
223
+ async batchPrint () {
224
+ let selectPrint = this.$refs.cp.$refs.grid.getRowData()
225
+ if (selectPrint.length > 0) {
226
+ let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
227
+ if (res == 'confirm') {
228
+ for(var i=0;i<selectPrint.length;i++){
229
+ if(selectPrint[i].f_prints_number==null){
230
+ selectPrint[i].f_prints_number=0
231
+ selectPrint[i].f_prints_number ++
232
+ }else{
233
+ selectPrint[i].f_prints_number ++
234
+ }
235
+ }
236
+ console.log('打印内容',selectPrint)
237
+ let http = new HttpResetClass()
238
+ let data = {
239
+ selectPrint:selectPrint
240
+ }
241
+ let res2 = await http.load('POST', 'rs/logic/getPrintsNumber', {data:data}, {
242
+ resolveMsg: null,
243
+ rejectMsg: '保存次数值失败!!!'
244
+ })
245
+ this.showProgress = true
246
+ for (let i = 0; i < selectPrint.length; i++) {
247
+ this.type = 'PRINT'
248
+ await this.getData(selectPrint[i])
249
+ this.print()
250
+ this.percent = this.getPercent(i, selectPrint.length)
251
+ console.log('-------------进度-----------')
252
+ console.log(this.percent)
253
+ }
254
+ this.showProgress = false
255
+ this.percent = 0
256
+ this.$refs.cp.$refs.grid.selectInit()
257
+ }
258
+ } else {
259
+ this.$showAlert('请选择要打印的单子', 'warning', 3000)
260
+ }
261
+ },
262
+ getPercent (num, total){
263
+ num = parseFloat(num);
264
+ total = parseFloat(total);
265
+ if (isNaN(num) || isNaN(total)) {
266
+ return "-";
267
+ }
268
+ return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0 + "%";
269
+ },
270
+ print () {
271
+ this.$refs.print.print()
272
+ },
273
+ colseModal () {
274
+ this.showPrint = false
275
+ this.selectdata = null
276
+ },
277
+ async click (row) {
278
+ console.log("词条数据",row)
279
+
280
+ this.type = 'PREVIEW'
281
+
282
+ await this.getData(row)
283
+
284
+ this.showPrint = true
285
+ },
286
+ async getData (row) {
287
+ this.selectdata = null
288
+
289
+ let http = new HttpResetClass()
290
+ let data = {
291
+ condition: `u.id=${row.id}`,
292
+ }
293
+ let res = await http.load('POST', 'rs/sql/buildOrderList', {data:data}, {
294
+ resolveMsg: null,
295
+ rejectMsg: '获取施工单失败!!!'
296
+ })
297
+
298
+ this.selectdata = res.data[0]
299
+ console.log("打印数据 ",this.selectdata)
300
+ if(this.selectdata.f_downloadpath !=null){
301
+ let temp = this.selectdata.f_downloadpath
302
+ let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
303
+ this.selectdata.f_downloadpath = "http://" + location.host + "/" + URL
304
+ debugger
305
+ console.log('打印地址',this.selectdata.f_downloadpath)
306
+ }else{
307
+ this.selectdata.f_downloadpath=''
308
+ }
309
+ },
310
+ clear () {
311
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
312
+ this.$refs.cp.$refs.cri.model[key] = ''
313
+ })
314
+ },
315
+ searchCondition (args) {
316
+ args.condition = args.condition + ` and u.f_orgid = '${this.curorgid[0]}'`
317
+ this.model.search(args.condition, args.model)
318
+ },
319
+ // 查询
320
+ search () {
321
+ this.$refs.cp.$refs.cri.search()
322
+ },
323
+ getorg (val) {
324
+ if (val.length <= 0) {
325
+ return
326
+ }
327
+ this.curorgid = val
328
+ this.search()
329
+ }
330
+ },
331
+ computed: {
332
+ }
333
+ }
334
+ </script>
335
+
336
+ <style scoped>
337
+ </style>
@@ -831,7 +831,11 @@ export default {
831
831
  show_data.user = this.$login.f
832
832
  show_data.start_activity ='报装申请'
833
833
  show_data.xmlfilename =this.selectdata.f_apply_type
834
- show_data.button = {button_name:'提交'}
834
+ if (((show_data.f_apply_type == '民用散户报建流程' || show_data.f_apply_type == '民用预留户报建流程') && show_data.defname == '工程审批') || this.show_data.defname === '工程决算'){
835
+ show_data.button = {button_name:'跳过'}
836
+ }else {
837
+ show_data.button = {button_name:'提交'}
838
+ }
835
839
  await this.$resetpost(
836
840
  `rs/logic/ApplyProductService`,
837
841
  {data: show_data},
@@ -0,0 +1,84 @@
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th class="textNoLineBreak">序号</th>
7
+ <th class="textNoLineBreak">施工人</th>
8
+ <th class="textNoLineBreak">开工时间</th>
9
+ <th class="textNoLineBreak">完工时间</th>
10
+ </tr>
11
+ </template>
12
+ <template partial='body'>
13
+ <tr>
14
+ <td style="text-align: center;">
15
+ <nobr>{{$index+1}}</nobr>
16
+ </td>
17
+ <td style="text-align: center;">
18
+ <nobr>{{row.f_budget_people}}</nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_completion_time}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>{{row.f_construction_date}}</nobr>
25
+ </td>
26
+ </tr>
27
+ </template>
28
+ </data-grid>
29
+ </div>
30
+ </template>
31
+ <script>
32
+ import {HttpResetClass} from 'vue-client'
33
+ export default {
34
+ title: '工程施工数据',
35
+ props: {
36
+ selectdata: {
37
+ type: Object
38
+ }
39
+ },
40
+ data () {
41
+ return {
42
+ model: {
43
+ data: null
44
+ }
45
+ }
46
+ },
47
+ ready () {
48
+ this.search()
49
+ },
50
+ methods: {
51
+ async search () {
52
+ let http = new HttpResetClass()
53
+ let data = {
54
+ tablename: 't_apply',
55
+ condition: `f_parent_process_id = '${this.selectdata.f_process_id}' and f_apply_type='工程施工'`
56
+ }
57
+ let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
58
+ resolveMsg: null,
59
+ rejectMsg: '子流程查询失败'
60
+ })
61
+ this.model.data = res.data
62
+ },
63
+ },
64
+ events: {
65
+ },
66
+ computed: {
67
+ },
68
+ watch: {
69
+ }
70
+ }
71
+ </script>
72
+ <style scoped>
73
+ .textNoLineBreak {
74
+ white-space: nowrap;
75
+ }
76
+ .head-but{
77
+ margin-left: 5px;
78
+ height: 34px;
79
+ /*background-color: #6aa6e2;*/
80
+ border-radius: 4px;
81
+ font-family: PingFang;
82
+ color: #ffffff;
83
+ }
84
+ </style>
@@ -0,0 +1,175 @@
1
+ <template>
2
+ <style id="printBuildOrderStyle">
3
+ #printBuildOrder td{
4
+ height: 30px;
5
+ text-align: left;
6
+ padding-left: 10px;
7
+ vertical-align: middle;
8
+ }
9
+ #printBuildOrder table{
10
+ margin: auto;
11
+ width: 100%;
12
+ border-collapse:collapse;
13
+ border: 1px solid black;
14
+ }
15
+ #printBuildOrder h1,h2,h3,h4,h5,h6 {
16
+ text-align: center;
17
+ }
18
+ .sign {
19
+ vertical-align: top;
20
+ padding: 10px;
21
+ }
22
+ .material {
23
+ text-align: left;
24
+ vertical-align: top;
25
+ padding: 10px;
26
+ }
27
+ </style>
28
+
29
+ <div id="printBuildOrder">
30
+ <h2><span style="letter-spacing: 15px">阳春市博能燃气有限公司</span></h2>
31
+ <h2><span style="letter-spacing: 15px">工程派工单</span></h2>
32
+ <table border="1">
33
+ <tr>
34
+ <td style="width: 120px;">用户编号:</td>
35
+ <td style="width: 230px;">{{ selectdata.f_userinfo_code }}</td>
36
+ <td style="width: 120px;">工单编号:</td>
37
+ <td >{{ selectdata.f_child_apply_num }}</td>
38
+ <td style="width: 120px;">工程编号:</td>
39
+ <td >{{ selectdata.f_apply_num }}</td>
40
+ </tr>
41
+ <tr>
42
+ <td>用户名称:</td>
43
+ <td colspan="3">{{ selectdata.f_user_name }}</td>
44
+ <td>派工日期:</td>
45
+ <td>{{ selectdata.f_dispatch_date }}</td>
46
+ </tr>
47
+ <tr>
48
+ <td>地址:</td>
49
+ <td colspan="5">{{ selectdata.f_address}}</td>
50
+ </tr>
51
+ <tr>
52
+ <td>户数:</td>
53
+ <td>{{ selectdata.f_apply_count}}</td>
54
+ <td>用气点数量:</td>
55
+ <td>{{ selectdata.f_furnace_num }}</td>
56
+ <td>报建类型:</td>
57
+ <td>{{ selectdata.f_apply_type }}</td>
58
+ </tr>
59
+ <tr>
60
+ <td>区域:</td>
61
+ <td>{{ selectdata.f_apply_region }}</td>
62
+ <td>是否内投:</td>
63
+ <td>{{ selectdata.f_is_inward }}</td>
64
+ <td>报建性质:</td>
65
+ <td>{{ selectdata.f_gas_nature }}</td>
66
+ </tr>
67
+ <tr>
68
+ <td>联系人:</td>
69
+ <td>{{ selectdata.f_user_name }}</td>
70
+ <td>用户电话:</td>
71
+ <td>{{ selectdata.f_phone }}</td>
72
+ <td>预计通气时间:</td>
73
+ <td>{{ selectdata.f_yjgase_time }}</td>
74
+ </tr>
75
+ <tr>
76
+ <td>施工人:</td>
77
+ <td>{{ selectdata.f_budget_people }}</td>
78
+ <td>用气设备:</td>
79
+ <td>{{ selectdata.f_gas_appliances }}</td>
80
+ <td>计划开工时间:</td>
81
+ <td>{{ selectdata.f_release_date }}</td>
82
+ </tr>
83
+ <tr>
84
+ <td>施工内容:</td>
85
+ <td >{{ selectdata.f_install_situation }}</td>
86
+ <td>计划完工时间:</td>
87
+ <td>{{ selectdata.f_commencement_date }}</td>
88
+ <td>安装位置:</td>
89
+ <td>{{ selectdata.f_install_position }}</td>
90
+ </tr>
91
+ <tr>
92
+ <td>备注:</td>
93
+ <td colspan="5">{{ selectdata.f_apply_remarks }}</td>
94
+ </tr>
95
+ <tr>
96
+ <td>派单人:</td>
97
+ <td colspan="3">{{ selectdata.f_dispatcher }}</td>
98
+ <td>操作人:</td>
99
+ <td>{{ f_operator }}</td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+ <print-element v-show="false" v-ref:print id='printBuildOrder' styleid='printBuildOrderStyle'
104
+ top='10' left='30' width='100%' height='100%' :type="type">
105
+ </print-element>
106
+ </template>
107
+
108
+ <script>
109
+ Date.prototype.Format = function (fmt) {
110
+ var o = {
111
+ "M+": this.getMonth() + 1, //月份
112
+ "d+": this.getDate(), //日
113
+ "H+": this.getHours(), //小时
114
+ "m+": this.getMinutes(), //分
115
+ "s+": this.getSeconds(), //秒
116
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
117
+ "S": this.getMilliseconds() //毫秒
118
+ };
119
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
120
+ for (var k in o)
121
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
122
+ return fmt;
123
+ }
124
+ export default {
125
+ title: '施工安装通知单',
126
+ props: {
127
+ selectdata: {
128
+ type: Object
129
+ },
130
+ type: {
131
+ type: String
132
+ }
133
+ },
134
+ data () {
135
+ return {
136
+ f_operator: this.$login.f.name,
137
+ showModal: false,
138
+ userfile: null
139
+ }
140
+ },
141
+ ready () {
142
+ },
143
+ methods: {
144
+ print () {
145
+ this.$refs.print.PrintTable()
146
+ }
147
+ },
148
+ computed: {
149
+ parse () {
150
+ return JSON.parse(this.selectdata.f_install_project).toString()
151
+ },
152
+ orgs () {
153
+ return this.$login.f.orgs
154
+ }
155
+ }
156
+ }
157
+ </script>
158
+
159
+ <style scoped>
160
+ .control-label-justify {
161
+ display: inline-block;
162
+ vertical-align: top;
163
+ width: 130px;
164
+ text-align: justify;
165
+ font-family: PingFang-SC-Bold;
166
+ }
167
+
168
+ .control-label-justify::after {
169
+ content: "";
170
+ display: inline-block;
171
+ width: 100%;
172
+ overflow: hidden;
173
+ height: 0;
174
+ }
175
+ </style>
@@ -1,24 +1,28 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'exploration-user': (resolve) => { require(['./pc/ExplorationUser.vue'], resolve) },
5
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
6
- 'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
7
- 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
8
- 'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
9
- 'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
10
- 'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
11
- 'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
12
- 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
13
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
14
- 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
15
- 'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
16
- 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
17
- 'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) },
18
- 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
19
- 'supervisory-service-control-new': (resolve) => { require(['./pc/SupervisoryServiceControlNew'], resolve) },
20
- 'supervisory-list': (resolve) => { require(['./pc/SupervisoryList.vue'], resolve) },
21
- 'supervisory-list-new': (resolve) => { require(['./pc/SupervisoryListNew.vue'], resolve) },
22
- 'supervisory-control-new': (resolve) => { require(['./pc/SupervisoryControlNew'], resolve) }
23
- }
24
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'exploration-user': (resolve) => { require(['./pc/ExplorationUser.vue'], resolve) },
5
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
6
+ 'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
7
+ 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
8
+ 'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
9
+ 'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
10
+ 'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
11
+ 'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
12
+ 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
13
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
14
+ 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
15
+ 'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
16
+ 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
17
+ 'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) },
18
+ 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
19
+ 'supervisory-service-control-new': (resolve) => { require(['./pc/SupervisoryServiceControlNew'], resolve) },
20
+ 'supervisory-list': (resolve) => { require(['./pc/SupervisoryList.vue'], resolve) },
21
+ 'supervisory-list-new': (resolve) => { require(['./pc/SupervisoryListNew.vue'], resolve) },
22
+ 'stop-apply-list': (resolve) => { require(['./pc/StopApplyList.vue'], resolve) },
23
+ 'supervisory-control-new': (resolve) => { require(['./pc/SupervisoryControlNew'], resolve) },
24
+ 'build-order-list': (resolve) => { require(['./pc/buildOrderList'], resolve) },
25
+ 'apply-construction-Info': (resolve) => { require(['./pc/constructionInfo'], resolve) },
26
+ 'print-build-order': (resolve) => { require(['./pc/printBuildOrder'], resolve) }
27
+ }
28
+ exports.specialComp = specialComp