apply-clients 3.0.10-21 → 3.0.10-210

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 (65) hide show
  1. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  2. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  3. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/5.2.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/built.bin +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  11. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  12. package/.gradle/vcs-1/gc.properties +0 -0
  13. package/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +0 -0
  14. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  15. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  16. package/gradlew +0 -0
  17. package/gradlew.bat +84 -0
  18. package/package.json +5 -4
  19. package/src/apply.js +187 -146
  20. package/src/components/Util.js +26 -22
  21. package/src/components/app_apply/ApplyDownList.vue +21 -8
  22. package/src/components/app_apply/ApplyToDoList.vue +83 -59
  23. package/src/components/app_apply/ApplyUserInfo.vue +3 -3
  24. package/src/components/app_apply/PlaceControler.vue +255 -255
  25. package/src/components/app_apply/ServiceControl.vue +1387 -1387
  26. package/src/components/app_apply/ServiceView.vue +583 -361
  27. package/src/components/image/doc.jpg +0 -0
  28. package/src/components/image/excel.jpg +0 -0
  29. package/src/components/image/pdf.jpg +0 -0
  30. package/src/components/product/BatchFunction/BatchPay.vue +663 -0
  31. package/src/components/product/Function/InstallFunction.vue +9 -9
  32. package/src/components/product/Function/InstallInfoSelect.vue +230 -38
  33. package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
  34. package/src/components/product/Function/functions/InstallFee.vue +58 -35
  35. package/src/components/product/Function/functions/StopInstall.vue +13 -1
  36. package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +957 -0
  37. package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +425 -0
  38. package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
  39. package/src/components/product/Process/ExplorationSelect.vue +302 -71
  40. package/src/components/product/Process/ExplorationUser.vue +18 -3
  41. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +736 -201
  42. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +75 -69
  43. package/src/components/product/Process/Processes/Service/ServiceControl.vue +3172 -3053
  44. package/src/components/product/ProjectManagement/AddProjectSchedule.vue +863 -0
  45. package/src/components/product/ProjectManagement/ProjectList.vue +420 -0
  46. package/src/components/product/ProjectManagement/ProjectSchedule.vue +146 -0
  47. package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
  48. package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
  49. package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
  50. package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
  51. package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
  52. package/src/components/product/ReportForm/PaymentReport.vue +532 -0
  53. package/src/components/product/ReportForm/ProjectReport.vue +447 -0
  54. package/src/components/product/ReportForm/SettlementReport.vue +336 -0
  55. package/src/components/product/ReportForm/SummaryReport.vue +451 -0
  56. package/src/components/product/ReportForm/UserReport.vue +402 -0
  57. package/src/components/product/ServiceView.vue +17 -9
  58. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +36 -2
  59. package/src/components/product/Supervisory/SupervisoryControl.vue +30 -6
  60. package/src/components/product/Supervisory/SupervisoryList.vue +249 -34
  61. package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
  62. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -1
  63. package/src/main.js +4 -0
  64. package/success.rar +0 -0
  65. package/doc//350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xlsx +0 -0
@@ -0,0 +1,425 @@
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">隐患项目名称:</label>
8
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_hidden_name"
9
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_hidden_name like '%{}%'" placeholder='隐患项目名称'>
10
+ </div>
11
+ <div class="form-group col-sm-2">
12
+ <label class="font_normal_body">所属公司:</label>
13
+ <v-select
14
+ v-model="model.f_orgname"
15
+ placeholder='请选择'
16
+ :value.sync="model.f_orgname"
17
+ condition="f_orgname = '{}'"
18
+ :options='$parent.$parent.apply_org'
19
+ class="select select_list"
20
+ :value-single="true"
21
+ close-on-select ></v-select>
22
+ </div>
23
+ <div class="form-group col-sm-2">
24
+ <label class="font_normal_body">施工单位:</label>
25
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_project_unit"
26
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_project_unit like '%{}%'" placeholder=''>
27
+ </div>
28
+ <div class="form-group col-sm-3">
29
+ <label class="font_normal_body">项目整改状态:</label>
30
+ <v-select
31
+ v-model="model.f_hidden_rank"
32
+ placeholder='请选择'
33
+ :value.sync="model.f_hidden_rank"
34
+ :options='$parent.$parent.projectStatus'
35
+ condition="f_hidden_rank = '{}'"
36
+ class="select select_list"
37
+ :value-single="true"
38
+ close-on-select ></v-select>
39
+ </div>
40
+ <div class="form-group col-sm-2">
41
+ <label class="font_normal_body">隐患级别:</label>
42
+ <v-select
43
+ v-model="model.f_project_state"
44
+ placeholder='请选择'
45
+ :value.sync="model.f_project_state"
46
+ :options='$parent.$parent.hiddenrank'
47
+ condition="f_project_state = '{}'"
48
+ class="select select_list"
49
+ :value-single="true"
50
+ close-on-select ></v-select>
51
+ </div>
52
+ </div>
53
+ <div class="row">
54
+ <div class="form-group col-sm-3">
55
+ <label for="startDate" class="font_normal_body">预计开工时间:</label>
56
+ <datepicker id="startDate" placeholder="开始日期"
57
+ style="width: 60%!important;"
58
+ v-model="model.startDate"
59
+ :value.sync="model.startDate"
60
+ :format="'yyyy-MM-dd HH:mm:ss'"
61
+ :show-reset-button="true"
62
+ condition="f_start_working_date >= '{}'">
63
+ </datepicker>
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label for="startDate" class="font_normal_body">预计完工时间:</label>
67
+ <datepicker id="startDate1" placeholder="开始日期"
68
+ style="width: 60%!important;"
69
+ v-model="model.startDate2"
70
+ :value.sync="model.startDate2"
71
+ :format="'yyyy-MM-dd HH:mm:ss'"
72
+ :show-reset-button="true"
73
+ condition="f_complete_working_date <= '{}'">
74
+ </datepicker>
75
+ </div>
76
+ <div class="form-group col-sm-5">
77
+ <label for="startDate" class="font_normal_body">已超过约定工期天数:</label>
78
+ <input type="text" class="input_search" v-model="model.f_overdue_date"
79
+ condition="f_overdue_date >= '{}'" placeholder='已超过约定工期天数'>
80
+ </div>
81
+ </div>
82
+ <div class="row">
83
+ <div class="form-group col-sm-12 button-range" style="float: right">
84
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
85
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
86
+ <button class="button_search button_spacing" @click="$parent.$parent.return()" v-el:cx>返回</button>
87
+ <export-excel progress="apply_getExportProgress"
88
+ :data="{condition: $parent.$parent.condition}"
89
+ :field="$parent.$parent.getfield()"
90
+ sqlurl="gongcheng/rs/logic/apply_exportfile"
91
+ sql-name="hiddenProject"
92
+ template-name='安全隐患导出'
93
+ :choose-col="true">
94
+ </export-excel>
95
+ <button class="button_new button_spacing" style="width: 100px" @click="$parent.$parent.openAddContract()">添加工程</button>
96
+ </div>
97
+ </div>
98
+ </div>
99
+ </criteria>
100
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
101
+ <template partial='head'>
102
+ <tr>
103
+ <th style="white-space: nowrap;">序号</th>
104
+ <th style="white-space: nowrap;">所属公司</th>
105
+ <th style="white-space: nowrap;">隐患项目名称</th>
106
+ <th style="white-space: nowrap;">项目地点</th>
107
+ <th style="white-space: nowrap;">隐患类别</th>
108
+ <th style="white-space: nowrap;">隐患级别</th>
109
+ <th style="white-space: nowrap;">施工单位</th>
110
+ <th style="white-space: nowrap;">项目排查时间</th>
111
+ <th style="white-space: nowrap;">项目状态</th>
112
+ <th style="white-space: nowrap;">预计开工日期</th>
113
+ <th style="white-space: nowrap;">预计完工日期</th>
114
+ <th style="white-space: nowrap;">工期(天数)</th>
115
+ <th style="white-space: nowrap;">已超过约定工期天数</th>
116
+ <th style="white-space: nowrap;">项目预计整改费用</th>
117
+ <th style="white-space: nowrap;">项目实际整改费用</th>
118
+ <th style="white-space: nowrap;">累计付款</th>
119
+ <th style="white-space: nowrap;">材料款</th>
120
+ <th style="white-space: nowrap;">工程款</th>
121
+ <th style="white-space: nowrap;">人工款</th>
122
+ <th style="white-space: nowrap;">是否属于年度预算内整改</th>
123
+ <th style="white-space: nowrap;">操作</th>
124
+ </tr>
125
+ </template>
126
+ <template partial='body'>
127
+ <tr >
128
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
129
+ <nobr><font>{{$index+1}}</font></nobr>
130
+ </td>
131
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
132
+ <nobr><font>{{row.f_orgname}}</font></nobr>
133
+ </td>
134
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
135
+ <nobr><font>{{row.f_hidden_name}}</font></nobr>
136
+ </td>
137
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
138
+ <nobr><font>{{row.f_hidden_address}}</font></nobr>
139
+ </td>
140
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
141
+ <nobr><font>{{row.f_hidden_classes}}</font></nobr>
142
+ </td>
143
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
144
+ <nobr><font>{{row.f_hidden_rank}}</font></nobr>
145
+ </td>
146
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
147
+ <nobr><font>{{row.f_project_unit}}</font></nobr>
148
+ </td>
149
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
150
+ <nobr><font>{{row.f_troubleshoot_date}}</font></nobr>
151
+ </td>
152
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
153
+ <nobr><font>{{row.f_project_state}}</font></nobr>
154
+ </td>
155
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
156
+ <nobr><font>{{row.f_start_working_date}}</font></nobr>
157
+ </td>
158
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
159
+ <nobr><font>{{row.f_complete_working_date}}</font></nobr>
160
+ </td>
161
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
162
+ <nobr><font>{{row.f_working_date}}</font></nobr>
163
+ </td>
164
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
165
+ <nobr><font>{{row.f_overdue_date}}</font></nobr>
166
+ </td>
167
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
168
+ <nobr><font>{{row.f_budget_correction_fee}}</font></nobr>
169
+ </td>
170
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
171
+ <nobr><font>{{row.f_actual_rectification_cost}}</font></nobr>
172
+ </td>
173
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
174
+ <nobr><font>{{row.f_total_payment}}</font></nobr>
175
+ </td>
176
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
177
+ <nobr><font>{{row.f_materials_fee}}</font></nobr>
178
+ </td>
179
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
180
+ <nobr><font>{{row.f_project_fee}}</font></nobr>
181
+ </td>
182
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
183
+ <nobr><font>{{row.f_artificial_fee}}</font></nobr>
184
+ </td>
185
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
186
+ <nobr><font>{{row.f_hidden_budget_correction}}</font></nobr>
187
+ </td>
188
+ <td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;">
189
+ <nobr>
190
+ <a href="#" @click="$parent.$parent.$parent.openRenew(row)">修改</a>&emsp;|&emsp;
191
+ <a href="#" @click="$parent.$parent.$parent.deleteRow(row)">删除</a>
192
+ </nobr>
193
+ </td>
194
+ </tr>
195
+ </template>
196
+ </data-grid>
197
+ </criteria-paged>
198
+ </template>
199
+
200
+ <script>
201
+ import {HttpResetClass, PagedList} from 'vue-client'
202
+ import {isEmpty} from '../../Util'
203
+ // Date格式化
204
+ Date.prototype.Format = function (fmt) {
205
+ var o = {
206
+ 'M+': this.getMonth() + 1, // 月份
207
+ 'd+': this.getDate(), // 日
208
+ 'H+': this.getHours(), // 小时
209
+ 'm+': this.getMinutes(), // 分
210
+ 's+': this.getSeconds(), // 秒
211
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
212
+ 'S': this.getMilliseconds() // 毫秒
213
+ }
214
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
215
+ for (var k in o) {
216
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
217
+ }
218
+ return fmt
219
+ }
220
+ export default {
221
+ title: '隐患项目列表',
222
+ props: ['showData'],
223
+ data () {
224
+ return {
225
+ model: new PagedList('gongcheng/rs/sql/hiddenProject', 30, {
226
+ data: {
227
+ orgid: this.$login.f.orgid,
228
+ date: new Date().Format('yyyy-MM-dd')
229
+ }
230
+ }
231
+ ),
232
+ projectStatus: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目整改状态')],
233
+ hiddenrank: [{label: '全部', value: ''}, {label: '一般', value: '一般'},{label: '较大',value: '较大'},{label: '重大', value: '重大'}],
234
+ // projectStatus: [{label: '全部', value: ''}, {label: '完工', value: '完工'},{label: '未完工', value: '未完工'}],
235
+ criteriaShow: false,
236
+ apply_org: [],
237
+ chargeAll: {
238
+ count: 0,
239
+ sum: 0,
240
+ yujisum:0,
241
+ shijisum:0
242
+ },
243
+ condition: ''
244
+ }
245
+ },
246
+ ready () {
247
+ this.$refs.cp.$refs.cri.model.f_overdue_date = 1
248
+ // 调用查询
249
+ this.search()
250
+ this.getOrgName()
251
+ },
252
+ methods: {
253
+ async getChargeAll(args){
254
+ debugger
255
+ let http = new HttpResetClass()
256
+ let data = {
257
+ condition: args.condition,
258
+ data: {
259
+ orgid: this.$login.f.orgid
260
+ }
261
+ }
262
+ let res = await http.load('POST', 'gongcheng/rs/sql/yinhuanchargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
263
+
264
+ this.chargeAll = res.data[0]
265
+ },
266
+ // 获取所有组织名称
267
+ async getOrgName() {
268
+ console.log("打印公司",this.$login.f.orgs)
269
+ debugger
270
+ let http = new HttpResetClass()
271
+ let org = this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? " 1 = 1" : " name = '" + this.$login.f.orgs + "'"
272
+ let data = {
273
+ tablename: 't_organization',
274
+ condition: " name != '组织机构' and " + org
275
+ }
276
+ let res = await http.load('POST','gongcheng/rs/sql/applysingleTable',{data:data}, {
277
+ resolveMsg: null,
278
+ rejectMsg: '获取公司名称失败'
279
+ })
280
+ for (let i = 0; i < res.data.length; i++) {
281
+ // 所属公司
282
+ let data1 = []
283
+ let array1 = []
284
+ data1 = res.data.map(item => {
285
+ return item.name;
286
+ })
287
+ for (let q = 0; q < data1.length; q++) {
288
+ let arraydata = {
289
+ 'label': data1[q],
290
+ 'value': data1[q]
291
+ }
292
+ debugger
293
+ if (array1.length != 0) {
294
+ for (let w = 0; w < array1.length; w++) {
295
+ if (array1[w].label == data1[q]) {
296
+ break
297
+ }
298
+ while (w == array1.length - 1) {
299
+ array1.push(arraydata)
300
+ break
301
+ }
302
+ }
303
+ } else {
304
+ debugger
305
+ array1.push(arraydata)
306
+ }
307
+ }
308
+ this.apply_org = array1
309
+ }
310
+ },
311
+ openInvalid (row) {
312
+ this.$dispatch('openInvalid', row)
313
+ },
314
+ searchCondition (args) {
315
+ if(this.$login.f.orgs !== '重庆盛焰集团') {
316
+ args.condition += ` and f_orgname = '${this.$login.f.orgs}'`
317
+ }
318
+ if (!isEmpty(args.model.f_contract_status)) {
319
+ args.condition += ` and ${args.model.f_contract_status}`
320
+ }
321
+ this.getChargeAll(args)
322
+ if (!isEmpty(args.model.f_contract_status)) {
323
+ args.condition += ` and ${args.model.f_contract_status}`
324
+ }
325
+ this.condition = args.condition
326
+ this.getChargeAll(args)
327
+ this.model.search(args.condition, args.model)
328
+ },
329
+ openRenew (row) {
330
+ this.$dispatch('openRenew', row)
331
+ },
332
+ // 删除
333
+ deleteRow (row) {
334
+ this.$showMessage("确定要删除该行吗", ['confirm', 'cancel'], 'danger').then((res) => {
335
+ if(res === 'confirm'){
336
+ this.$resetpost('gongcheng/rs/logic/deleteProject', {id: row.id, tablename: 't_hidden_project'}, {resolveMsg: '删除成功', rejectMsg: '删除失败'})
337
+ this.search()
338
+ }
339
+ })
340
+ },
341
+ // 添加合同
342
+ openAddContract () {
343
+ this.$dispatch('openAddContract')
344
+ },
345
+ // 查看合同详情
346
+ openViewContract (row) {
347
+ this.$dispatch('openViewContract', row)
348
+ },
349
+ clear () {
350
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
351
+ this.$refs.cp.$refs.cri.model[key] = null
352
+ })
353
+ },
354
+ // 查询
355
+ search () {
356
+ this.$dispatch('search')
357
+ },
358
+ return(){
359
+ this.$dispatch('return')
360
+ },
361
+ getfield() {
362
+ let report = {
363
+ 'f_hidden_name': '工程项目名称',
364
+ 'f_hidden_address': '项目地点',
365
+ 'f_hidden_classes': '隐患类别',
366
+ 'f_hidden_rank': '隐患级别',
367
+ 'f_hidden_describe': '隐患描述',
368
+ 'f_hidden_scheme': '制定整改方案',
369
+ 'f_hidden_schemer': '整改责任人',
370
+ 'f_troubleshoot_date': '项目排查时间',
371
+ 'f_project_state': '项目状态',
372
+ 'f_oa_approval': 'oa是否审批',
373
+ 'f_budget_correction_fee': '项目预算整改费用',
374
+ 'f_actual_rectification_cost': '项目实际整改费用',
375
+ 'f_total_payment': '累计付款',
376
+ 'f_materials_fee': '材料款',
377
+ 'f_project_fee': '工程款',
378
+ 'f_artificial_fee': '人工款',
379
+ 'f_start_working_date': '预计开工日期',
380
+ 'f_complete_working_date': '预计完工日期',
381
+ 'f_working_date': '工期',
382
+ 'f_start_practical_date': '实际开工日期',
383
+ 'f_complete_practical_date': '实际完工日期',
384
+ 'f_practical_date': '实际工期',
385
+ 'f_overdue_date': '已超过约定工期天数',
386
+ 'f_hidden_dangers': '项目隐患抽查情况',
387
+ 'f_hidden_budget_correction': '是否属于年度预算内整改',
388
+ 'f_info': '反馈内容',
389
+ 'f_info_date': '反馈时间',
390
+ 'f_ziorg_info': '子公司意见反馈',
391
+ 'f_ziorg_date': '子公司意见反馈时间',
392
+ 'f_zong_gc_info': '总部工程部意见反馈',
393
+ 'f_ziorg_gc_date': '总部工程部意见反馈时间',
394
+ 'f_zong_wz_info': '总部物资部意见反馈',
395
+ 'f_zong_wz_date': '总部物资部意见反馈时间',
396
+ 'f_zong_sj_info': '总部设计部意见反馈',
397
+ 'f_zong_sj_date': '总部设计部意见反馈时间',
398
+ 'f_zong_yy_info': '总部运营部意见反馈',
399
+ 'f_zong_yy_date': '总部运营部意见反馈时间',
400
+ 'f_zong_aq_info': '总部安全部意见反馈',
401
+ 'f_zong_aq_date': '总部安全部意见反馈时间',
402
+ 'f_zong_sjb_info': '总部审计部意见反馈',
403
+ 'f_zong_sjb_date': '总部审计部意见反馈时间',
404
+ 'f_operator': '操作人',
405
+ 'f_orgname': '所属公司'
406
+
407
+ }
408
+ return report
409
+ }
410
+ },
411
+ events: {
412
+ },
413
+ computed: {
414
+ }
415
+ }
416
+ </script>
417
+
418
+ <style scoped>
419
+ .warning {
420
+ background-color: #f0ad4e;
421
+ }
422
+ .danger {
423
+ background-color: #d9534f;
424
+ }
425
+ </style>
@@ -0,0 +1,146 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main" v-el:main>
4
+ <div :class="showData ? 'top' : 'auto'" v-el:query>
5
+ <hidden-project-list v-ref:query :show-data="showData"></hidden-project-list>
6
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
7
+ 合计记录共<span style="color: red">&ensp;{{$refs.query.chargeAll.count}}&ensp;</span>笔,
8
+ 合计累计付款金额<span style="color: red">&ensp;{{$refs.query.chargeAll.sum}}&ensp;</span>元
9
+ 合计预算整改费用<span style="color: red">&ensp;{{$refs.query.chargeAll.yujisum}}&ensp;</span>元
10
+ 合计实际整改费用<span style="color: red">&ensp;{{$refs.query.chargeAll.shijisum}}&ensp;</span>元
11
+ </p>
12
+ </div>
13
+ <div v-if="showtotal" style="margin-top: 20px;height: 90%">
14
+ <tabset v-ref:tabs :close="false">
15
+ <tab header='隐患信息'>
16
+ <add-hidden-schedule :contract="contract" :type="type"></add-hidden-schedule>
17
+ </tab>
18
+ </tabset>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+
26
+ export default {
27
+ title: '工程项目进度列表 ',
28
+ data () {
29
+ return {
30
+ showData: true,
31
+ showtotal: false,
32
+ contract: {},
33
+ type: null
34
+ }
35
+ },
36
+ ready () {
37
+ },
38
+ methods: {
39
+ },
40
+ events: {
41
+ async 'openInvalid' (data) {
42
+
43
+ this.$showMessage('您确定要作废此合同吗?', ['confirm']).then((res) => {
44
+ if (res === 'confirm') {
45
+ data.f_contract_status = '无效'
46
+ this.$resetpost(
47
+ `gongcheng/rs/entity/t_contract`,
48
+ data,
49
+ {resolveMsg: '作废成功!!!',rejectMsg: '作废失败!!!'}
50
+ ).then(r => {
51
+ this.$refs.query.search()
52
+ })
53
+ }
54
+ })
55
+ },
56
+ async 'renewHidden' (data) {
57
+
58
+ data.user = this.$login.f
59
+
60
+ let res = await this.$resetpost(
61
+ `gongcheng/rs/logic/renewHidden`,
62
+ {data: data},
63
+ {resolveMsg: null,rejectMsg: '修改失败!!!'}
64
+ )
65
+
66
+ this.$refs.query.search()
67
+ },
68
+ 'openRenew' (contract) {
69
+ this.type = 'renew'
70
+ this.contract = contract
71
+ this.showData = false
72
+
73
+ this.$refs.query.$refs.cp.pager = false
74
+ this.showtotal = false
75
+ this.$nextTick(() => {
76
+ this.showtotal = true
77
+ })
78
+ },
79
+ // 打开详情
80
+ 'openViewContract' (contract) {
81
+ this.type = 'view'
82
+ this.contract = contract
83
+ this.showData = false
84
+ this.$refs.query.$refs.cp.pager = false
85
+ this.showtotal = false
86
+ this.$nextTick(() => {
87
+ this.showtotal = true
88
+ })
89
+ },
90
+ // 添加项目
91
+ async 'addHidden' (data) {
92
+ data.user = this.$login.f
93
+
94
+ let res = await this.$resetpost(
95
+ `gongcheng/rs/logic/addHidden`,
96
+ {data: data}
97
+ )
98
+
99
+ this.$refs.query.search()
100
+ },
101
+ // 打开添加合同
102
+ async 'openAddContract' () {
103
+ this.contract = {}
104
+ // 获取唯一标识,用于保存文件
105
+ let res = await this.$resetpost(
106
+ `gongcheng/rs/logic/getUUID`,
107
+ null,
108
+ {resolveMsg: null,rejectMsg: '唯一标识获取失败!!!'}
109
+ )
110
+
111
+ this.contract.f_process_id = res.data
112
+
113
+ this.type = 'add'
114
+ this.showData = false
115
+ this.$refs.query.$refs.cp.pager = false
116
+ this.showtotal = false
117
+ this.$nextTick(() => {
118
+ this.showtotal = true
119
+ })
120
+ },
121
+ 'search' () {
122
+ // 关闭详细
123
+ this.showtotal = false
124
+ // 显示列表数据
125
+ this.showData = true
126
+ // 显示分页
127
+ this.$refs.query.$refs.cp.pager = true
128
+ // 调用查询
129
+ this.$refs.query.$refs.cp.$refs.cri.search()
130
+ },
131
+ 'return'(){
132
+ // 关闭详细
133
+ this.showtotal = false
134
+ // 显示列表数据
135
+ this.showData = true
136
+ // 显示分页
137
+ this.$refs.query.$refs.cp.pager = true
138
+ }
139
+ },
140
+ computed: {
141
+ }
142
+ }
143
+ </script>
144
+
145
+ <style scoped>
146
+ </style>