apply-clients 5.0.361 → 6.0.3

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 (192) hide show
  1. package/build/css-loaders.js +34 -0
  2. package/build/dev-android.js +101 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server-app.js +76 -0
  5. package/build/dev-server.js +72 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +83 -0
  10. package/build/webpack.baseandroid.conf.js +84 -0
  11. package/build/webpack.dev.conf.js +39 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/build/webpack.test.conf.js +31 -0
  17. package/dist-android/static/.gitkeep +0 -0
  18. package/dist-android/static/batchleft.png +0 -0
  19. package/dist-android/static/batchright.png +0 -0
  20. package/dist-android/static/bluemainbg.jpg +0 -0
  21. package/dist-android/static/huangtengbiaozhi.png +0 -0
  22. package/dist-android/static/login_bg.jpg +0 -0
  23. package/dist-android/static/login_title.png +0 -0
  24. package/dist-android/static/login_title1.png +0 -0
  25. package/dist-android/static/loginbg.jpg +0 -0
  26. package/dist-android/static/loginlogo.png +0 -0
  27. package/dist-android/static/main_logo.png +0 -0
  28. package/dist-android/static/mainbg.jpg +0 -0
  29. package/dist-android/static/menulogo.png +0 -0
  30. package/dist-android/static/newmainbg.jpg +0 -0
  31. package/dist-android/static/psicon.png +0 -0
  32. package/dist-android/static/singleleft.png +0 -0
  33. package/dist-android/static/singleright.png +0 -0
  34. package/dist-android/static/treeopen.png +0 -0
  35. package/dist-android/static/treeout.png +0 -0
  36. package/dist-android/static/treeset.png +0 -0
  37. package/dist-android/static/usericon.png +0 -0
  38. package/dist-android/static/xinxi.png +0 -0
  39. package/package.json +5 -10
  40. package/src/AndroidApp.vue +1 -1
  41. package/src/App.vue +0 -1
  42. package/src/apply.js +172 -104
  43. package/src/applyAndroid.js +0 -5
  44. package/src/assets/shipin1.mp4 +0 -0
  45. package/src/bootstrap/less/bootstrap.less +2 -1
  46. package/src/components/Hello.vue +39 -0
  47. package/src/components/Table.js +2 -2
  48. package/src/components/Test.vue +26 -0
  49. package/src/components/Util.js +6 -11
  50. package/src/components/app_apply/Acceptance.vue +2 -7
  51. package/src/components/app_apply/ApplyApp.vue +6 -16
  52. package/src/components/app_apply/ApplyInfo.vue +1 -1
  53. package/src/components/app_apply/ApplyListUpload.vue +3 -3
  54. package/src/components/app_apply/ApplyToDoList.vue +3 -3
  55. package/src/components/app_apply/ApplyUserInfo.vue +3 -2
  56. package/src/components/app_apply/FieldExploration.vue +1 -3
  57. package/src/components/app_apply/PlaceControler.vue +49 -38
  58. package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
  59. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  60. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
  61. package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
  62. package/src/components/build/Install/ExplorationSelect.vue +308 -0
  63. package/src/components/build/Install/ExplorationUser.vue +315 -0
  64. package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
  65. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
  66. package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
  67. package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
  68. package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
  69. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
  70. package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
  71. package/src/components/build/Install/Process/BuildJob.vue +242 -0
  72. package/src/components/build/Install/Process/ContratSigne.vue +283 -0
  73. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
  74. package/src/components/build/Install/Process/CustomerFile.vue +423 -0
  75. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
  76. package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
  77. package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
  78. package/src/components/build/Install/Process/FeeNorme.vue +252 -0
  79. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
  80. package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
  81. package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
  82. package/src/components/build/Install/Process/MeterType.vue +379 -0
  83. package/src/components/build/Install/Process/PlaceControler.vue +304 -0
  84. package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
  85. package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
  86. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
  87. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
  88. package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
  89. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
  90. package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
  92. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
  93. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
  94. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
  95. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
  96. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
  97. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
  98. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
  99. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
  100. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
  101. package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
  102. package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
  103. package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
  104. package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
  105. package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
  106. package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
  107. package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
  108. package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
  109. package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
  110. package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
  111. package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
  112. package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
  113. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
  114. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
  115. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
  116. package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
  117. package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
  118. package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
  119. package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
  120. package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
  121. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
  122. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
  123. package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
  124. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
  125. package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
  126. package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
  127. package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
  128. package/src/main.js +2 -9
  129. package/src/stores/ApplyLoadParams.js +1 -1
  130. package/src/bootstrap/less/standard.less +0 -208
  131. package/src/components/app_apply/ServiceControl.vue +0 -442
  132. package/src/components/app_apply/ServiceView.vue +0 -356
  133. package/src/components/product/Common/ApplyValidateBill.vue +0 -55
  134. package/src/components/product/Common/PrintBill.vue +0 -120
  135. package/src/components/product/Function/InstallFunction.vue +0 -142
  136. package/src/components/product/Function/InstallInfoSelect.vue +0 -254
  137. package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
  138. package/src/components/product/Function/functions/AddContract.vue +0 -301
  139. package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
  140. package/src/components/product/Function/functions/InstallFee.vue +0 -919
  141. package/src/components/product/Function/functions/material_recording.vue +0 -237
  142. package/src/components/product/MaterialBatchList.vue +0 -109
  143. package/src/components/product/MaterialBatchManage.vue +0 -34
  144. package/src/components/product/Process/ExplorationSelect.vue +0 -636
  145. package/src/components/product/Process/ExplorationUser.vue +0 -131
  146. package/src/components/product/Process/MaterialUseList.vue +0 -159
  147. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
  148. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
  149. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
  150. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
  151. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
  152. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  153. package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
  154. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
  155. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  156. package/src/components/product/Process/ShowBackReason.vue +0 -18
  157. package/src/components/product/ServiceView.vue +0 -800
  158. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
  159. package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
  160. package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
  161. package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
  162. package/src/plugins/commonService.js +0 -229
  163. package/yarn.lock +0 -8072
  164. /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
  165. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
  166. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
  167. /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
  168. /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
  169. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
  170. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
  171. /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
  172. /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
  173. /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
  174. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
  175. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
  176. /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
  177. /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
  178. /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
  179. /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
  180. /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
  181. /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
  182. /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
  183. /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
  184. /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
  185. /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
  186. /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
  187. /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
  188. /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
  189. /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
  190. /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
  191. /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
  192. /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
@@ -1,254 +0,0 @@
1
- <template>
2
- <div class="d1 flex">
3
- <div class="left col-sm-12">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
- <form novalidate class="" partial>
7
- <div class="row">
8
- <div class="col-sm-2">
9
- <label class="col-sm-4 control-label">联系人</label>
10
- <div class="col-sm-8">
11
- <input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
12
- condition="f_user_name like '{}%'" placeholder="联系人">
13
- </div>
14
- </div>
15
- <div class="col-sm-2">
16
- <label class="col-sm-4 control-label">项目名称</label>
17
- <div class="col-sm-8">
18
- <input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
19
- condition="f_entry_name like '{}%'" placeholder="项目名称">
20
- </div>
21
- </div>
22
- <div class="col-sm-2">
23
- <label class="col-sm-4 control-label">报建编号</label>
24
- <div class="col-sm-8">
25
- <input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
26
- condition="f_apply_num like '{}%'" placeholder="报建编号">
27
- </div>
28
- </div>
29
- <!-- <div class="col-sm-2">
30
- <label for="f_user_name" class="col-sm-6"><nobr> 地址:</nobr></label>
31
- <div class="col-sm-6">
32
- <input type="text" class="form-control" v-model="model.f_address" v-on:keyup.enter="search"
33
- condition="f_address like '{}%'" >
34
- </div>
35
- </div> -->
36
- <div class="col-sm-2">
37
- <!--<label for="f_user_name" class="col-sm-6"><nobr> 小区:</nobr></label>-->
38
- <label class="col-sm-4 control-label">小区</label>
39
- <div class="col-sm-8">
40
- <input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
41
- condition="f_residential_area like '{}%'" placeholder="小区">
42
- </div>
43
- </div>
44
- <div class="col-sm-2 ">
45
- <label class="col-sm-4 control-label">开始日期</label>
46
- <div class="col-sm-8">
47
- <datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
48
- width='100%'
49
- v-model="model.startDate"
50
- :value.sync="model.startDate"
51
- :format="'yyyy-MM-dd HH:mm:ss'"
52
- :show-reset-button="true"
53
- condition="f_apply_date >= '{}'">
54
- </datepicker>
55
- </div>
56
- </div>
57
- <div class="col-sm-2">
58
- <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:3%">
59
- <span class="glyphicon glyphicon-search"></span>查询</button>
60
- <button class="btn-primary btn btn-sm button_spacing" @click.prevent="$parent.$parent.clear()">清空</button>
61
- </div>
62
- </div>
63
- <div class="row" style="margin-top:5px;">
64
- <div class="col-sm-2">
65
- <label class="col-sm-4 control-label">终止日期</label>
66
- <div class="col-sm-8">
67
- <datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
68
- width='100%'
69
- v-model="model.endDate"
70
- :value.sync="model.endDate"
71
- :format="'yyyy-MM-dd HH:mm:ss'"
72
- :show-reset-button="true"
73
- condition="f_apply_date <= '{}'">
74
- </datepicker>
75
- </div>
76
- </div>
77
- <div class="col-sm-2">
78
- <label class="col-sm-4 control-label">用户类型</label>
79
- <div class="col-sm-8">
80
- <v-select :options="$parent.$parent.usertype"
81
- placeholder='用户类型'
82
- condition="f_user_type like '{}'"
83
- :width="100"
84
- v-model="model.f_user_type"
85
- style="width: 100%"
86
- :value.sync="model.f_user_type" close-on-select>
87
- </v-select>
88
- </div>
89
- </div>
90
- <div class="col-sm-2">
91
- <label class="col-sm-4 control-label">报建类型</label>
92
- <div class="col-sm-8">
93
- <v-select :options="$parent.$parent.applytype"
94
- placeholder='报建类型'
95
- condition="f_apply_type like '{}%'"
96
- :width="100"
97
- v-model="model.f_apply_type"
98
- :value.sync="model.f_apply_type"
99
- style="width: 100%" close-on-select>
100
- </v-select>
101
- </div>
102
- </div>
103
- </div>
104
-
105
- </form>
106
- </criteria>
107
- <data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false' style="margin-top: -21px;">
108
- <template partial='head' style="margin-top: 20px;">
109
- <tr class="title">
110
- <th>
111
- <nobr>序号</nobr>
112
- </th>
113
- <th>
114
- <nobr>项目名称</nobr>
115
- </th>
116
- <th>
117
- <nobr>报建编号</nobr>
118
- </th>
119
- <th>
120
- <nobr>联系人</nobr>
121
- </th>
122
- <th>
123
- <nobr>电话</nobr>
124
- </th>
125
- <th>
126
- <nobr>小区</nobr>
127
- </th>
128
- <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
129
- <nobr>用户类型</nobr>
130
- </th>
131
- <th>
132
- <nobr>流程状态</nobr>
133
- </th>
134
- <th>
135
- <nobr>报建类型</nobr>
136
- </th>
137
- <th>
138
- <nobr>报建日期</nobr>
139
- </th>
140
- <th>
141
- <nobr>安装户数</nobr>
142
- </th>
143
- <th>
144
- <nobr>操作</nobr>
145
- </th>
146
- </tr>
147
- </template>
148
- <template partial='body'>
149
- <tr>
150
- <td style="text-align: center;">
151
- <nobr>{{$index+1}}</nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr>{{row.f_entry_name}}</nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr>{{row.f_apply_num}}</nobr>
158
- </td>
159
- <td style="text-align: center;">
160
- <nobr>{{row.f_user_name}}</nobr>
161
- </td>
162
- <td style="text-align: center;">
163
- <nobr>{{row.f_phone}}</nobr>
164
- </td>
165
- <td style="text-align: center;">
166
- <nobr>{{row.f_residential_area}}</nobr>
167
- </td>
168
- <td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
169
- <nobr>{{row.f_user_type}}</nobr>
170
- </td>
171
- <td style="text-align: center;">
172
- <nobr>{{row.defname}}</nobr>
173
- </td>
174
- <td style="text-align: center;">
175
- <nobr>{{row.f_apply_type}}</nobr>
176
- </td>
177
- <td style="text-align: center;">
178
- <nobr>{{row.f_apply_date}}</nobr>
179
- </td>
180
- <td style="text-align: center;">
181
- <nobr>{{row.f_install_num}}</nobr>
182
- </td>
183
- <td style="text-align: center;">
184
- <dropdown v-if="row.defname != '完工'">
185
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
186
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
187
- </button>
188
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
189
- <li v-for="(index,func) in $function_vue">
190
- <a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
191
- </li>
192
- </ul>
193
- </dropdown>
194
- </td>
195
- </tr>
196
- </template>
197
- </data-grid>
198
- </criteria-paged>
199
- </div>
200
- </div>
201
- </template>
202
- <script>
203
- import {
204
- PagedList
205
- } from 'vue-client'
206
-
207
- export default {
208
- title: '报建业务信息',
209
- data() {
210
- return {
211
- usertype: this.$appdata.getParam('用户类型'),
212
- defnameType: this.$appdata.getParam('流程状态'),
213
- applytype: this.$appdata.getParam('报建类型'),
214
- //中燃 专用
215
- fapplytype: this.$appdata.getParam('用户类型'),
216
- showbtn: false,
217
- model: new PagedList('rs/sql/checkuserfunction', 20, {
218
- data: {
219
- id: this.$login.f.id,
220
- fengongsi: this.$login.f.f_fengongsi
221
- }
222
- }),
223
- condition: ''
224
- }
225
- },
226
- ready() {
227
- this.$refs.cp.$refs.cri.search()
228
- },
229
- methods: {
230
- clear(){
231
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
232
- this.$refs.cp.$refs.cri.model[key] = []
233
- })
234
- },
235
- clifun(row) {
236
- this.$refs.cp.$refs.grid.model.rows = [row]
237
- this.$refs.cp.pager = false
238
- this.$dispatch('showbtn', row)
239
- },
240
- showpager() {
241
- this.$refs.cp.pager = true
242
- this.$dispatch('hiddenbtn')
243
- }
244
- }
245
- }
246
- </script>
247
- <style scoped>
248
- label {
249
- display: flex;
250
- justify-content:center;
251
- align-items:Center;
252
- padding-top: 8px;
253
- }
254
- </style>
@@ -1,328 +0,0 @@
1
- <template>
2
- <div>
3
- <service-view :data="data" v-if="showview"></service-view>
4
- <installfee :infee="selectdata" v-if="showinfee"></installfee>
5
- <!--预存款-->
6
- <preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
7
- <!--预存报建收费-->
8
- <prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
9
- <!-- 费用变更 -->
10
- <!--<updatefee :upfee="selectdata" v-if="showupfee"></updatefee>-->
11
- <!-- 费用减免 -->
12
- <!--<reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>-->
13
- <!-- 购货方信息 -->
14
- <buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1" v-if="showbuyer" ></buyer-message>
15
- <!-- 领取材料 -->
16
- <receive-batch :selectdata="selectdata" :state="1" v-if="showreceivebatch" ></receive-batch>
17
- <!-- 添加合同 -->
18
- <addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
19
- <!-- 终止报建 -->
20
- <stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
21
- <!-- 领料记录 -->
22
- <material_recording :infee="selectdata" v-if="show_material"></material_recording>
23
- </div>
24
- </template>
25
- <script>
26
- import {HttpResetClass} from 'vue-client'
27
- export default {
28
- title: '报建功能业务控制层',
29
- props: ['selectdata','funcdata'],
30
- data () {
31
- return {
32
- data:null,
33
- model:null,
34
- json_datas:null,
35
- showview:false,
36
-
37
- showbuyer: false, // 显示购货方信息
38
- showreceivebatch:false,
39
- showcontract: false, // 补充协议
40
- showinfee: false, // 报建收费
41
- showprestorefee: false, // 开发商预存报建收费
42
- showstop: false, // 终止报建
43
- showbill: false, // 打印票据
44
- showpreparation: false, // 预付款
45
- show_material:false//报建材料
46
- }
47
- },
48
- methods: {
49
- // 购货方信息
50
- buyerMessage(){
51
- this.$parent.$refs.installselect.clifun(this.selectdata)
52
- // this.selectdata = row
53
- this.$parent.clishow= true
54
- this.$parent.show = false
55
-
56
- this.showbuyer = true
57
- this.showreceivebatch = false
58
- this.show_material = false
59
- this.showview = false
60
- this.showinfee = false
61
- this.showprestorefee = false
62
- this.showupfee = false
63
- this.showreducefee = false
64
- this.showstop = false
65
- this.showcontract = false
66
- this.showbill = false
67
- this.showpreparation = false
68
- },
69
- // 派工单
70
- receiveBatch(){
71
- this.$parent.$refs.installselect.clifun(this.selectdata)
72
- // this.selectdata = row
73
- this.$parent.clishow= true
74
- this.$parent.show = false
75
-
76
- this.showreceivebatch = true
77
- this.showbuyer = false
78
- this.show_material = false
79
- this.showview = false
80
- this.showinfee = false
81
- this.showprestorefee = false
82
- this.showupfee = false
83
- this.showreducefee = false
84
- this.showstop = false
85
- this.showcontract = false
86
- this.showbill = false
87
- this.showpreparation = false
88
- },
89
- // 领料记录
90
- materialRecord(){
91
- this.$parent.$refs.installselect.clifun(this.selectdata)
92
- // this.selectdata = row
93
- this.$parent.clishow= true
94
- this.$parent.show = false
95
-
96
- this.show_material = true
97
- this.showbuyer = false
98
- this.showreceivebatch = false
99
- this.showview = false
100
- this.showinfee = false
101
- this.showprestorefee = false
102
- this.showupfee = false
103
- this.showreducefee = false
104
- this.showstop = false
105
- this.showcontract = false
106
- this.showbill = false
107
- this.showpreparation = false
108
- },
109
- // 预付款
110
- preparation(){
111
- this.$parent.$refs.installselect.clifun(this.selectdata)
112
- // this.selectdata = row
113
- this.$parent.clishow= true
114
- this.$parent.show = false
115
-
116
- this.showreceivebatch = false
117
- this.showbuyer = false
118
- this.show_material = false
119
- this.showview = false
120
- this.showinfee = false
121
- this.showprestorefee = false
122
- this.showupfee = false
123
- this.showreducefee = false
124
- this.showstop = false
125
- this.showcontract = false
126
- this.showbill = false
127
- this.showpreparation = true
128
- },
129
- // 票据打印
130
- bill(){
131
- this.$parent.$refs.installselect.clifun(this.selectdata)
132
- // this.selectdata = row
133
- this.$parent.clishow= true
134
- this.$parent.show = false
135
-
136
- this.showreceivebatch = false
137
- this.showbuyer = false
138
- this.showview = false
139
- this.showinfee = false
140
- this.showprestorefee = false
141
- this.showupfee = false
142
- this.showreducefee = false
143
- this.showstop = false
144
- this.showcontract = false
145
- this.showpreparation = false
146
- this.showbill = true
147
- this.show_material = false
148
- },
149
- // 补充合同
150
- contract() {
151
- this.$parent.$refs.installselect.clifun(this.selectdata)
152
- // this.selectdata = row
153
- this.$parent.clishow= true
154
- this.$parent.show = false
155
-
156
- this.showreceivebatch = false
157
- this.showbuyer = false
158
- this.showview = false
159
- this.showinfee = false
160
- this.showprestorefee = false
161
- this.showupfee = false
162
- this.showreducefee = false
163
- this.showstop = false
164
- this.showbill = false
165
- this.showpreparation = false
166
- this.showcontract = true
167
- this.show_material = false
168
- },
169
- // 收费
170
- instalfee(str) {
171
- this.$parent.$refs.installselect.clifun(this.selectdata)
172
- // this.selectdata = row
173
- this.$parent.clishow= true
174
- this.$parent.show = false
175
-
176
- this.showreceivebatch = false
177
- this.showbuyer = false
178
- this.showview = false
179
- this.showupfee = false
180
- this.showreducefee = false
181
- this.showstop = false
182
- this.showcontract = false
183
- this.showbill = false
184
- this.showpreparation = false
185
- this.showprestorefee = false
186
- this.showinfee = false
187
- this.show_material = false
188
- // 采用开发商预付款方式收费
189
- if(str==='预付扣款'){
190
- this.showprestorefee = true
191
- }else {
192
- this.showinfee = true
193
- }
194
- },
195
- // 终止报建
196
- stopInstall() {
197
- this.$parent.$refs.installselect.clifun(this.selectdata)
198
- // this.selectdata = row
199
- this.$parent.clishow= true
200
- this.$parent.show = false
201
-
202
- this.showreceivebatch = false
203
- this.showbuyer = false
204
- this.showview = false
205
- this.showbill = false
206
- this.showinfee = false
207
- this.showprestorefee = false
208
- this.showupfee = false
209
- this.showreducefee = false
210
- this.showcontract = false
211
- this.showpreparation = false
212
- this.showstop = true
213
- this.show_material = false
214
- },
215
-
216
-
217
-
218
- // json配置数据处理 比如下拉框的options
219
- initializtion() {
220
- // selectdata 填充 data
221
- this.data=Object.assign({},this.data,this.selectdata)
222
- for(let i=0;i<this.data.fields.length;i++){
223
- if(this.selectdata[this.data.fields[i].field]){
224
- this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
225
- }
226
- // 如果配置类型为select,获取options
227
- if(this.data.fields[i].type==='select'){
228
- this.data.fields[i].options=this.$appdata.getParam(this.data.fields[i].label)
229
- if(this.data.fields[i].label==''){
230
-
231
- }
232
- }
233
- }
234
- },
235
- hasChange(){
236
- if(this.funcdata.fields){
237
- this.data = this.funcdata
238
- // 初始化要展示的数据结构
239
- this.initializtion()
240
- this.$parent.clishow= true
241
- this.$parent.show = false
242
-
243
- this.showview = true
244
- this.showbill = false
245
- this.showinfee = false
246
- this.showprestorefee = false
247
- this.showcontract = false
248
- this.showpreparation = false
249
- this.showstop = false
250
- this.showreceivebatch = false
251
- this.showbuyer = false
252
- this.show_material = false
253
- }else{
254
- if(this.funcdata.title==='终止报建'){
255
- this.stopInstall()
256
- }
257
- if(this.funcdata.title==='预付扣款'){
258
- this.instalfee('预付扣款')
259
- }
260
- if(this.funcdata.title==='报建收费'){
261
- this.instalfee()
262
- }
263
- if(this.funcdata.title==='打印票据'){
264
- this.bill()
265
- }
266
- // if(this.funcdata.title==='补充协议'){
267
- // this.contract()
268
- // }
269
- if(this.funcdata.title==='预付款'){
270
- this.preparation()
271
- }
272
- if(this.funcdata.title==='领料记录'){
273
- this.materialRecord()
274
- }
275
- if(this.funcdata.title==='购买方信息'){
276
- this.buyerMessage()
277
- }
278
- if(this.funcdata.title==='派工单'){
279
- this.receiveBatch()
280
- }
281
- }
282
- }
283
- },
284
- events: {
285
- // 任意select选中时触发事件
286
- 'select_cascade'(index){
287
- // 级联操作示例:
288
- /*
289
- if(this.data.activitys.ields[index].label==='报建类型'){
290
- for(let i=0;i<this.data.activitys.fields.length;i++){
291
- // 控制设置级联
292
- // 源select所选的值 this.data.activitys.fields[index].value
293
- if(this.data.activitys.fields[i].label==='级联测试2'){
294
- this.data.activitys.fields[i].options=[
295
- {label:'级联选项1',value:'级联选项1'},{label:'级联选项2',value:'级联选项2'},{label:'级联选项3',value:'级联选项3'}
296
- ]
297
- }
298
- }
299
- }
300
- */
301
- },
302
- // 获取view层button事件
303
- async 'button'(model){
304
- console.log("button事件接收参数:",model)
305
- model=Object.assign({},this.selectdata,model)
306
- // 下发,提交,保存,退回都在后台处理
307
- let http = new HttpResetClass();
308
- let res = await http.load('POST','rs/logic/ApplyProductFunctionService',{data:{tables:this.funcdata.tables,model:model,loginUser:this.$login.f}}, {resolveMsg: null, rejectMsg: '数据保存失败'})
309
- console.log("service处理完成返回数据:",JSON.stringify(res.data))
310
- if(res.code=200){
311
- this.$dispatch('hiddenbtn')
312
- this.showview= false
313
- }else{
314
- throw res.data.msg
315
- }
316
- }
317
- },
318
- watch:{
319
- 'funcdata'() {
320
- this.hasChange()
321
- },
322
- 'selectdata'() {
323
- this.hasChange()
324
- },
325
- deep:true
326
- }
327
- }
328
- </script>