apply-clients 3.4.2 → 3.4.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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -0,0 +1,376 @@
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
+ <res-select
9
+ restype='organization'
10
+ :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ :is-mul="false"
13
+ ></res-select>
14
+ </div>
15
+ <div class="form-group col-sm-3">
16
+ <label for="startDate" class="font_normal_body">开始时间:</label>
17
+ <datepicker id="startDate" placeholder="开始日期"
18
+ style="width: 60%!important;"
19
+ v-model="model.startDate"
20
+ :value.sync="model.startDate"
21
+ :format="'yyyy-MM-dd 00:00:00'"
22
+ :show-reset-button="true"
23
+ condition="a.f_apply_date >= '{}'">
24
+ </datepicker>
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label for="endDate" class="font_normal_body">结束时间:</label>
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ style="width: 60%!important;"
30
+ v-model="model.endDate"
31
+ :value.sync="model.endDate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ :show-reset-button="true"
34
+ condition="a.f_apply_date <= '{}'">
35
+ </datepicker>
36
+ </div>
37
+ <div class="form-group col-sm-3 button-range">
38
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
+ <export-excel :data="$parent.$parent.getCondition"
41
+ :field="$parent.$parent.getfield"
42
+ sqlurl="rs/logic/applyExportfile"
43
+ sql-name="getApplyCharge"
44
+ template-name='收费记录信息导出'
45
+ :choose-col="true"></export-excel>
46
+ <div
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
+ class="button_spacing"
50
+ style="float: right">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body">房产名称:</label>
57
+ <input type="text" style="width: 60%" class="input_search" placeholder='房产名称' v-model="model.f_user_name"
58
+ v-on:keyup.enter="$parent.$parent.search()"
59
+ condition="a.f_user_name = '{}'">
60
+ </div>
61
+ <div class="form-group col-sm-3">
62
+ <label class="font_normal_body">地址:</label>
63
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_residential_area"
64
+ v-on:keyup.enter="$parent.$parent.search()"
65
+ condition="a.f_residential_area = '{}'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">报建地区:</label>
69
+ <v-select
70
+ v-model="model.f_entry_type"
71
+ placeholder='请选择'
72
+ condition="a.f_entry_type = '{}'"
73
+ :value.sync="model.f_entry_type"
74
+ :options='$parent.$parent.applytype'
75
+ class="select select_list"
76
+ :value-single="true"
77
+ @change="$parent.$parent.applyTypeChange()"
78
+ close-on-select ></v-select>
79
+ </div>
80
+ <div class="form-group col-sm-3">
81
+ <label class="font_normal_body">报建性质:</label>
82
+ <v-select
83
+ v-model="model.f_apply_nature"
84
+ placeholder='报建性质'
85
+ condition="a.f_apply_nature = '{}'"
86
+ :value.sync="model.f_apply_nature"
87
+ :options='$parent.$parent.applyNatures'
88
+ class="select select_list"
89
+ :value-single="true"
90
+ close-on-select ></v-select>
91
+ </div>
92
+ <div class="form-group col-sm-3">
93
+ <label class="font_normal_body">合同编号:</label>
94
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_number"
95
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_contract_number like '%{}%'" placeholder='合同编号'>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label class="font_normal_body">工程编号:</label>
99
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
100
+ v-on:keyup.enter="$parent.$parent.search()"
101
+ condition="a.f_apply_num like '%{}%'">
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body">项目负责人:</label>
105
+ <input type="text" style="width:60%" class="input_search" placeholder='项目负责人' v-model="model.f_corporate_name"
106
+ v-on:keyup.enter="$parent.$parent.search()"
107
+ condition="a.f_corporate_name like '%{}%'">
108
+ </div>
109
+ <div class="form-group col-sm-3">
110
+ <label class="font_normal_body">联系电话:</label>
111
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_phone like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">工程状态(是否完工):</label>
117
+ <v-select
118
+ v-model="model.F_is_STATE"
119
+ placeholder='请选择'
120
+ condition="a.f_is_wangong='{}'"
121
+ :value.sync="model.F_is_STATE"
122
+ :options='$parent.$parent.chargeStatus'
123
+ class="select select_list"
124
+ :value-single="true"
125
+ close-on-select ></v-select>
126
+ </div>
127
+
128
+ <div class="form-group col-sm-3">
129
+ <label class="font_normal_body">合同金额:</label>
130
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
131
+ v-on:keyup.enter="$parent.$parent.search()"
132
+ condition="a.f_contract_money = '{}'">
133
+ </div>
134
+ <div class="form-group col-sm-3">
135
+ <label class="font_normal_body">责任人:</label>
136
+ <v-select
137
+ v-model="model.f_operator"
138
+ placeholder='请选择'
139
+ condition="a.f_operator = '{}'"
140
+ :value.sync="model.f_operator"
141
+ class="select select_list"
142
+ :options='$parent.$parent.operatorList'
143
+ :value-single="true"
144
+ close-on-select ></v-select>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </criteria>
149
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
150
+ <template partial='head'>
151
+ <tr>
152
+ <th style="text-align: center;" colspan="18">周口市已签房产项目</th>
153
+ </tr>
154
+ <tr>
155
+ <th style="white-space: nowrap;">序号</th>
156
+ <th style="white-space: nowrap;">房产名称</th>
157
+ <th style="white-space: nowrap;">地址</th>
158
+ <th style="white-space: nowrap;">报建地区</th>
159
+ <th style="white-space: nowrap;">报建性质</th>
160
+ <th style="white-space: nowrap;">签约户数</th>
161
+ <th style="white-space: nowrap;">签约时间</th>
162
+ <th style="white-space: nowrap;">合同金额(元)</th>
163
+ <th style="white-space: nowrap;">已回款金额(元)</th>
164
+ <th style="white-space: nowrap;">剩余金额(元)</th>
165
+ <th style="white-space: nowrap;">签约金额</th>
166
+ <th style="white-space: nowrap;">签约单位价格(元)</th>
167
+ <th style="white-space: nowrap;">备注</th>
168
+ <th style="white-space: nowrap;">签约合同之外回款</th>
169
+ <th style="white-space: nowrap;">项目负责人</th>
170
+ <th style="white-space: nowrap;">联系电话</th>
171
+ <th style="white-space: nowrap;">责任人</th>
172
+ </tr>
173
+ </template>
174
+ <template partial='body'>
175
+ <tr >
176
+ <td style="text-align: center;">
177
+ <nobr><font>{{$index+1}}</font></nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr><font>{{row.f_user_name}}</font></nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr><font>{{row.f_residential_area}}</font></nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr><font>{{row.f_entry_type}}</font></nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr><font>{{row.f_apply_count}}</font></nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr><font>{{row.f_contract_money}}</font></nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr><font>{{row.f_cumulative_payment_money}}</font></nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr><font>{{row.f_surplus_money}}</font></nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr><font>{{row.f_qy_jine}}</font></nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr><font>{{row.f_qy_danjia}}</font></nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr><font>{{row.f_apply_remarks}}</font></nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr><font>{{row.f_add_contract_money}}</font></nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr><font>{{row.f_corporate_name}}</font></nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr><font>{{row.f_phone}}</font></nobr>
223
+ </td>
224
+ <td style="text-align: center;">
225
+ <nobr><font>{{row.f_operator}}</font></nobr>
226
+ </td>
227
+ </tr>
228
+ </template>
229
+ </data-grid>
230
+ </criteria-paged>
231
+ </template>
232
+
233
+ <script>
234
+ import {PagedList} from 'vue-client'
235
+ import {HttpResetClass} from 'vue-client'
236
+ import {isEmpty} from "../../Util";
237
+ export default {
238
+ title: '报建团购数据查询列表',
239
+ data () {
240
+ return {
241
+ model: new PagedList('rs/sql/getGroupBy', 30, null),
242
+ curorgid: [this.$login.f.orgid],
243
+ curdepid: [],
244
+ servicerList:[],
245
+ operatorList:[],
246
+ curuserid: [],
247
+ // paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
248
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建地区')],
249
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('团购报建性质')], // 报建性质
250
+ // istongqi: [{label: '全部', value: ''},
251
+ // {label: '是', value: '是'},
252
+ // {label: '否', value: '否'},
253
+ // ],
254
+ chargeStatus: [
255
+ {label: '全部', value: ''},
256
+ {label: '是', value: '是'},
257
+ {label: '否', value: '否'},
258
+ ],
259
+ criteriaShow: false,
260
+ chargeAll: {
261
+ count: 0,
262
+ sum: 0
263
+ },
264
+ getfield: {
265
+ 'f_apply_num': '工程编号',
266
+ 'f_contract_number': '合同编号',
267
+ 'f_user_name': '房产名称',
268
+ 'f_residential_area':'地址',
269
+ 'f_entry_type':'报建地区',
270
+ 'f_apply_nature': '报建性质',
271
+ 'f_apply_count': '签约户数',
272
+ 'f_apply_date':'签约时间',
273
+ 'f_contract_money':'签约金额(万元)',
274
+ 'f_cumulative_payment_money':'已回款金额(万元)',
275
+ 'f_surplus_money':'剩余金额(万元)',
276
+ 'f_qy_jine':'签约金额',
277
+ 'f_qy_danjia':'签约单价(元)',
278
+ 'f_apply_remarks': '备注',
279
+ 'f_add_contract_money': '签约合同之外回款',
280
+ 'f_corporate_name': '项目负责人',
281
+ 'f_phone': '联系电话',
282
+ 'f_operator': '责任人',
283
+
284
+ }
285
+ }
286
+ },
287
+ ready () {
288
+ // 调用查询
289
+ this.search()
290
+ this.getapplyoperator()
291
+ },
292
+ methods: {
293
+ async getapplyoperator(){
294
+ let data = {
295
+ condition: `1=1 and f_apply_type='团购报建'`
296
+ }
297
+ let http = new HttpResetClass()
298
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
299
+ res.data.forEach(item => {
300
+ this.operatorList.push({
301
+ 'label': item.f_operator,
302
+ 'value': item.f_operator
303
+ })
304
+ })},
305
+
306
+ applyTypeChange () {
307
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
308
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
309
+ } else {
310
+ this.applyNatures = [{label: '全部', value: ''}]
311
+ }
312
+ },
313
+ clear () {
314
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
315
+ this.$refs.cp.$refs.cri.model[key] = ''
316
+ })
317
+ this.curdepid = []
318
+ this.curuserid = []
319
+ },
320
+ searchCondition (args) {
321
+ args.condition = args.condition + ` and f_orgid in (${this.curorgid})`
322
+ if (this.curdepid.length > 0) {
323
+ args.condition = args.condition + ` and f_depid in (${this.curdepid})`
324
+ }
325
+ if (this.curuserid.length > 0) {
326
+ args.condition = args.condition + ` and f_charge_collectors_id in (${this.curuserid})`
327
+ }
328
+ this.model.search(args.condition, args.model)
329
+ },
330
+ // 查询
331
+ search () {
332
+ this.$refs.cp.$refs.cri.search()
333
+ this.getapplyoperator()
334
+ },
335
+
336
+ getuser (val) {
337
+ if (val.length <= 0) {
338
+ return
339
+ }
340
+ this.curuserid = val
341
+ this.search()
342
+ },
343
+ getdep (val) {
344
+ if (val.length <= 0) {
345
+ return
346
+ }
347
+ this.curdepid = val
348
+ this.curuserid = []
349
+ this.search()
350
+ },
351
+ getorg (val) {
352
+ if (val.length <= 0) {
353
+ return
354
+ }
355
+ this.curorgid = val
356
+ this.curdepid = []
357
+ this.curuserid = []
358
+ this.search()
359
+ },
360
+
361
+ },
362
+ computed: {
363
+ getCondition () {
364
+ return {
365
+ condition: this.model.condition
366
+ }
367
+ },
368
+ selected() {
369
+ return this.$refs.cp.$refs.grid.selected
370
+ }
371
+ }
372
+ }
373
+ </script>
374
+
375
+ <style scoped>
376
+ </style>
@@ -0,0 +1,194 @@
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="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_construction_unit"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="f_construction_unit like '%{}%'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <export-excel :data="$parent.$parent.getCondition"
33
+ :field="$parent.$parent.getfield"
34
+ sqlurl="rs/logic/applyExportfile"
35
+ sql-name="applyGetMaterial"
36
+ template-name='材料明细导出'
37
+ :choose-col="true"></export-excel>
38
+ <div
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
+ class="button_spacing"
42
+ style="float: right">
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">客户名称:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="f_user_name = '{}'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">安装项目:</label>
55
+ <v-select
56
+ v-model="$parent.$parent.f_install_project"
57
+ placeholder='安装项目'
58
+ :value.sync="$parent.$parent.f_install_project"
59
+ :options='$parent.$parent.installProjects'
60
+ class="select select_list"
61
+ :value-single="true"
62
+ close-on-select ></v-select>
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label for="startDate" class="font_normal_body">开始时间:</label>
66
+ <datepicker id="startDate" placeholder="开始日期"
67
+ style="width: 60%!important;"
68
+ v-model="model.startDate"
69
+ :value.sync="model.startDate"
70
+ :format="'yyyy-MM-dd 00:00:00'"
71
+ :show-reset-button="true"
72
+ condition="f_construction_date >= '{}'">
73
+ </datepicker>
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label for="endDate" class="font_normal_body">结束时间:</label>
77
+ <datepicker id="endDate" placeholder="结束日期"
78
+ style="width: 60%!important;"
79
+ v-model="model.endDate"
80
+ :value.sync="model.endDate"
81
+ :format="'yyyy-MM-dd 23:59:59'"
82
+ :show-reset-button="true"
83
+ condition="f_construction_date <= '{}'">
84
+ </datepicker>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </criteria>
89
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
90
+ <template partial='head'>
91
+ <tr>
92
+ <th>序号</th>
93
+ <th>工程编号</th>
94
+ <th>客户名称</th>
95
+ <th>安装项目</th>
96
+ <th>施工单位</th>
97
+ <th>施工时间</th>
98
+ </tr>
99
+ </template>
100
+ <template partial='body'>
101
+ <tr >
102
+ <td style="text-align: center;">
103
+ <nobr><font>{{$index+1}}</font></nobr>
104
+ </td>
105
+ <td style="text-align: center;">
106
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
107
+ </td>
108
+ <td style="text-align: center;">
109
+ <nobr><font>{{row.f_user_name}}</font></nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr><font>{{row.f_install_project}}</font></nobr>
113
+ </td>
114
+ <td style="text-align: center;">
115
+ <nobr><font>{{row.f_construction_unit}}</font></nobr>
116
+ </td>
117
+ <td style="text-align: center;">
118
+ <nobr><font>{{row.f_construction_date}}</font></nobr>
119
+ </td>
120
+ </tr>
121
+ </template>
122
+ </data-grid>
123
+ </criteria-paged>
124
+ </div>
125
+ </div>
126
+ </template>
127
+
128
+ <script>
129
+ import {PagedList} from 'vue-client'
130
+ import {HttpResetClass} from 'vue-client'
131
+ export default {
132
+ title: '安装项目',
133
+ data () {
134
+ return {
135
+ model: new PagedList('rs/sql/applyGetInstall', 30, {
136
+ data: {
137
+ f_install_project: this.f_install_project
138
+ }
139
+ }),
140
+ f_install_project: null,
141
+ curorgid: [this.$login.f.orgid],
142
+ installProjects: [{label: '全部', value: ''}, ...this.$appdata.getParam('安装项目')],
143
+ criteriaShow: false,
144
+ getfield: {
145
+ 'f_apply_num': '工程编号',
146
+ 'f_user_name': '客户名称',
147
+ 'f_install_project': '安装项目',
148
+ 'f_construction_unit': '施工单位',
149
+ 'f_construction_date': '施工时间'
150
+ }
151
+ }
152
+ },
153
+ ready () {
154
+ this.model.f_install_project = null
155
+ // 调用查询
156
+ this.search()
157
+ },
158
+ methods: {
159
+ clear () {
160
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
161
+ this.$refs.cp.$refs.cri.model[key] = ''
162
+ })
163
+ },
164
+ searchCondition (args) {
165
+ args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
166
+ // if (this.model.model && this.model.model.f_install_project) {
167
+ // this.model.f_install_project = this.model.model.f_install_project
168
+ // }
169
+ this.model.search(args.condition, args.model)
170
+ },
171
+ // 查询
172
+ search () {
173
+ this.$refs.cp.$refs.cri.search()
174
+ },
175
+ getorg (val) {
176
+ if (val.length <= 0) {
177
+ return
178
+ }
179
+ this.curorgid = val
180
+ this.search()
181
+ }
182
+ },
183
+ computed: {
184
+ getCondition () {
185
+ return {
186
+ condition: this.$refs.cp.$refs.cri.condition
187
+ }
188
+ }
189
+ }
190
+ }
191
+ </script>
192
+
193
+ <style scoped>
194
+ </style>