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
@@ -0,0 +1,210 @@
1
+ <template>
2
+ <div class="flex bg-white p-10 datapanel" >
3
+ <div style="flex: 1.5;height: 100%" class="flex">
4
+ <p class="bg-info text-center" style="padding: 8px;font-size: 20px">报建收费记录
5
+ </p>
6
+ <div class="flex" style="height: 90%">
7
+ <criteria-paged :model="model" v-ref:paged >
8
+ <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
9
+ <div class="form-group">
10
+ <label class="control-label">分公司:</label>
11
+ <v-select :value.sync="model.f_filiale" v-model="model.f_filiale"
12
+ :options='$parent.$parent.filiale' placeholder='请选择'
13
+ close-on-select condition="f_filiale = '{}'">
14
+ </v-select>
15
+ </div>
16
+ <div novalidate class="form-inline auto" partial>
17
+ <div class="form-group">
18
+ <label class="control-label">报建编号:</label>
19
+ <input type="text" class="form-control" v-model="model.f_apply_num"
20
+ condition="f_apply_num like '%{}%'" placeholder='报建编号'>
21
+ </div>
22
+ <div class="form-group">
23
+ <label class="control-label">操作日期:</label>
24
+ <datepicker placeholder="开始日期"
25
+ v-model="model.f_operate_start_date"
26
+ :value.sync="model.f_operate_start_date"
27
+ :format="'yyyy-MM-dd 00:00:00'"
28
+ condition="f_charge_date >= '{}'"
29
+ ></datepicker>
30
+ <datepicker placeholder="结束日期"
31
+ v-model="model.f_operate_end_date"
32
+ :value.sync="model.f_operate_end_date"
33
+ :format="'yyyy-MM-dd 23:59:59'"
34
+ condition="f_charge_date <= '{}'"
35
+ ></datepicker>
36
+ </div>
37
+ <div class="form-group">
38
+ <label class="control-label">收费人员:</label>
39
+ <v-select :value.sync="model.f_charge_collectors" v-model="model.f_charge_collectors"
40
+ :options='$parent.$parent.human' placeholder='请选择' style="width: 50%"
41
+ close-on-select condition="f_charge_collectors = '{}'">
42
+ </v-select>
43
+ </div>
44
+
45
+ <!-- <div class="form-group">
46
+ <label class="control-label">是否冲正:</label>
47
+ <v-select :value.sync="model.f_is_correct" v-model="model.f_is_correct"
48
+ :options='$parent.$parent.correct' placeholder='请选择' style="width: 50%"
49
+ close-on-select condition="f_is_correct = '{}'">
50
+ </v-select>
51
+ </div>-->
52
+ <div class="form-group">
53
+ <label class="control-label">是否有效:</label>
54
+ <v-select :value.sync="model.f_charging_status" v-model="model.f_charging_status"
55
+ :options='$parent.$parent.state' placeholder='请选择' style="width: 50%"
56
+ close-on-select condition="f_charging_status = '{}'">
57
+ </v-select>
58
+ </div>
59
+ <div class="form-group">
60
+ <label class="control-label">收费方式:</label>
61
+ <v-select :value.sync="model.f_payment_method" v-model="model.f_payment_method"
62
+ :options='$parent.$parent.method' placeholder='请选择' style="width: 50%"
63
+ close-on-select condition="f_payment_method = '{}'">
64
+ </v-select>
65
+ </div>
66
+ <div class="form-group">
67
+ <button class="btn btn-success" @click="search (),$parent.$parent.cleaner()">查询</button>
68
+ </div>
69
+ </div>
70
+ </criteria>
71
+ <data-grid :model="model" v-ref:grid partial='list'>
72
+ <template partial='head'>
73
+ <tr>
74
+ <th><nobr>序号</nobr></th>
75
+ <th><nobr>收费金额</nobr></th>
76
+ <th><nobr>收费项目</nobr></th>
77
+ <th><nobr>收费人员</nobr></th>
78
+ <th><nobr>是否有效</nobr></th>
79
+ <th><nobr>付款方式</nobr></th>
80
+ <th><nobr>收费日期</nobr></th>
81
+ <th><nobr>报建编号</nobr></th>
82
+ <th><nobr>分公司</nobr></th>
83
+ <!--<th><nobr>发票号码</nobr></th>-->
84
+ <th><nobr>票据类型</nobr></th>
85
+ <!--<th><nobr>发票冲正</nobr></th>-->
86
+ </tr>
87
+ </template>
88
+ <template partial='body'>
89
+ <td style="text-align: center;">{{$index+1}}</td>
90
+ <td style="text-align: center;">{{row.f_charge_money}}</td>
91
+ <td style="text-align: center;">{{row.f_charge_item}}</td>
92
+ <td style="text-align: center;">{{row.f_charge_collectors}}</td>
93
+ <td style="text-align: center;">{{row.f_charging_status}}</td>
94
+ <td style="text-align: center;">{{row.f_payment_method}}</td>
95
+ <td style="text-align: center;">{{row.f_charge_date}}</td>
96
+ <td style="text-align: center;">{{row.f_apply_num}}</td>
97
+ <td style="text-align: center;">{{row.f_filiale}}</td>
98
+ <!--<td style="text-align: center;">{{row.f_invoice_num}}</td>-->
99
+ <td style="text-align: center;">{{row.f_bill_style}}</td>
100
+ <!--<td style="text-align: center;">{{row.f_is_correct}}</td>-->
101
+ </template>
102
+ </data-grid>
103
+ </criteria-paged>
104
+ </div>
105
+ <div class="flex" style="height: 10%">
106
+ <div novalidate class="form-inline auto" partial>
107
+ <p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
108
+ <span style="color: red">{{modeluse.rows.length}}</span>笔,合计金额<span style="color: red">{{price.rows[0].f_charge_money}}</span>元
109
+ </p>
110
+ </div>
111
+ </div>
112
+ </div>
113
+
114
+ </div>
115
+ </template>
116
+ <script>
117
+ import { PagedList } from 'vue-client'
118
+
119
+ export default {
120
+ title: '报建收费查看',
121
+ name: 'ApplyChargeSearch',
122
+ data () {
123
+ return {
124
+ model: new PagedList('rs/sql/getApplyCharge', 30, { orderitem: '`id`'}),
125
+ modeluse: new PagedList('rs/sql/getApplyCharge', 999999, { orderitem: '`id`'}),
126
+ price: new PagedList('rs/sql/getChargeAll', 999999, { orderitem: '`f_charge_money`'}),
127
+ human:[],
128
+ filiale:[],
129
+ method:[],
130
+ correct:[
131
+ {label: '全部', value: ''},
132
+ {label: '是', value: '是'},
133
+ {label:'否', value: '否'}
134
+ ],
135
+ state:[
136
+ {label: '全部', value: ''},
137
+ {label: '有效', value: '有效'},
138
+ {label:'冲正', value: '冲正'}
139
+ ]
140
+ }
141
+ },
142
+ ready () {
143
+ this.search()
144
+ this.gethuman()
145
+ },
146
+ methods: {
147
+ search () {
148
+ let condition = "1=1"
149
+ this.model.search(condition)
150
+ this.modeluse.search(condition)
151
+ this.price.search(condition)
152
+ },
153
+
154
+ selfSearch(args) {
155
+ this.model.search(args.condition, args.model)
156
+ },
157
+ cleaner() {
158
+ console.log('12312312')
159
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
160
+ this.$refs.paged.$refs.criteria.model[key] = ''
161
+ })
162
+ console.log('condition:', this.$refs.paged.$refs.criteria.condition)
163
+ this.model.search(this.$refs.paged.$refs.criteria.condition)
164
+ this.modeluse.search(this.$refs.paged.$refs.criteria.condition)
165
+ this.price.search(this.$refs.paged.$refs.criteria.condition)
166
+ },
167
+ gethuman(){
168
+ console.log('获取人员')
169
+ this.$resetpost('rs/logic/getChargeList', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
170
+ // this.params.rows.splice(index, 1)
171
+ console.log('获取成功',res)
172
+ let house = [{label:'全部',value:''}]
173
+ for (let row of res.data.human){
174
+ house.push({label: row.f_charge_collectors,value: row.f_charge_collectors})
175
+ }
176
+ this.human = house
177
+ let house2 = [{label:'全部',value:''}]
178
+ for (let row of res.data.f){
179
+ house2.push({label: row.f_filiale,value: row.f_filiale})
180
+ }
181
+ this.filiale = house2
182
+ let house3 = [{label:'全部',value:''}]
183
+ for (let row of res.data.method){
184
+ house3.push({label: row.f_payment_method,value: row.f_payment_method})
185
+ }
186
+ this.method = house3
187
+ })
188
+
189
+ },
190
+
191
+ },
192
+ computed: {
193
+
194
+ },
195
+ events: {
196
+
197
+ },
198
+ watch: {
199
+
200
+ }
201
+ }
202
+ </script>
203
+ <style>
204
+ .datapanel {
205
+ color: #333;
206
+ background-color: white;
207
+ padding: 10px 20px;
208
+ border-radius:15px;
209
+ }
210
+ </style>
@@ -0,0 +1,308 @@
1
+ <template>
2
+ <div class="d1">
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="col-sm-12">
8
+ <div class="col-sm-2">
9
+ <label class="col-sm-6">客户名称:</label>
10
+ <div class="col-sm-6">
11
+ <input type="text" class="form-control" placeholder='客户名称' v-model="model.f_user_name"
12
+ v-on:keyup.enter="search"
13
+ condition="f_user_name like '{}%'">
14
+ </div>
15
+ </div>
16
+ <div class="col-sm-2">
17
+ <label class="col-sm-6">报建编号:</label>
18
+ <div class="col-sm-6">
19
+ <input type="text" class="form-control" placeholder='报建编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="search"
21
+ condition="f_apply_num like '{}%'">
22
+ </div>
23
+ </div>
24
+ <div class="col-sm-2">
25
+ <label class="col-sm-6">用户地址:</label>
26
+ <div class="col-sm-6">
27
+ <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
28
+ v-on:keyup.enter="search"
29
+ condition="f_address like '{}%'">
30
+ </div>
31
+ </div>
32
+ <div class="col-sm-2">
33
+ <label class="col-sm-6">小区名称:</label>
34
+ <div class="col-sm-6">
35
+ <input type="text" class="form-control" placeholder='小区名称' v-model="model.f_residential_area"
36
+ v-on:keyup.enter="search"
37
+ condition="f_residential_area like '{}%'">
38
+ </div>
39
+ </div>
40
+ <!--<div class="col-sm-1">-->
41
+ <!--<v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}%'"-->
42
+ <!--v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>-->
43
+ <!--</v-select>-->
44
+ <!--</div>-->
45
+ <!--<div class="col-sm-1">-->
46
+ <!--<v-select :options="$parent.$parent.defnameType" placeholder='流程状态' condition="act.defname like '%{}%'"-->
47
+ <!--v-model="model.defname" :value.sync="model.defname" close-on-select>-->
48
+ <!--</v-select>-->
49
+ <!--</div>-->
50
+ <!--<div class="col-sm-1">-->
51
+ <!--<v-select :options="$parent.$parent.applytype" placeholder='报装类型' condition="f_apply_type like '{}%'"-->
52
+ <!--v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>-->
53
+ <!--</v-select>-->
54
+ <!--</div>-->
55
+ <div class="col-sm-1">
56
+ </div>
57
+ <div class="col-sm-1">
58
+ <button class="btn btn-primary btn-sm width-80" type="button" @click="search(),$parent.$parent.close()">
59
+ <span class="glyphicon glyphicon-search"></span>查询
60
+ </button>
61
+ </div>
62
+ <div class="col-sm-1">
63
+ <button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.addactive()"><span
64
+ class="glyphicon glyphicon-plus"></span>申请登记
65
+ </button>
66
+ </div>
67
+ <!-- <div class="col-sm-1">
68
+ <button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.modify()"><span
69
+ class="glyphicon glyphicon-plus"></span>改装申请
70
+ </button>
71
+ </div>-->
72
+ </div>
73
+ </form>
74
+ </criteria>
75
+ <data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
76
+ <template partial='head'>
77
+ <tr class="title">
78
+ <th>
79
+ <nobr>序号</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>当前状态</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>报建编号</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>用户姓名</nobr>
89
+ </th>
90
+ <th v-if="!this.$login.f.f_fengongsi.includes('西昌')">
91
+ <nobr>用户类型</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>电话</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>地址</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>流程状态</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>报装类型</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>报建日期</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>操作</nobr>
110
+ </th>
111
+ </tr>
112
+ </template>
113
+ <template partial='body'>
114
+ <tr v-else>
115
+ <td style="text-align: center;">
116
+ <nobr><font>{{$index+1}}</font></nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr><font>{{row.f_sub_state}}</font></nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr><font>{{row.f_user_name}}</font></nobr>
126
+ </td>
127
+ <td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('西昌')">
128
+ <nobr><font>{{row.f_user_type}}</font></nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr><font>{{row.f_phone}}</font></nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr><font>{{row.f_address}}</font></nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr><font>{{row.defname}}</font></nobr>
138
+ </td>
139
+ <td style="text-align: center;">
140
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <dropdown v-if="row.defname != '完工'">
147
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
148
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
149
+ </button>
150
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
151
+ <li>
152
+ <a href="#" @click="$parent.$parent.$parent.check(row)">{{row.defname}}</a>
153
+ </li>
154
+ </ul>
155
+ </dropdown>
156
+ </td>
157
+ </tr>
158
+ </template>
159
+ </data-grid>
160
+ </criteria-paged>
161
+ </div>
162
+ </div>
163
+ </template>
164
+ <script>
165
+ import * as Util from '../../Util'
166
+ import {
167
+ PagedList
168
+ } from 'vue-client'
169
+ import getNowDate from '../../getNowDate.js'
170
+
171
+ export default {
172
+ title: '勘探详情',
173
+ data() {
174
+ return {
175
+ // usertype: this.$appdata.getParam('用户类型'),
176
+ // defnameType: this.$appdata.getParam('流程状态'),
177
+ // applytype: this.$appdata.getParam('报装类型'),
178
+ model: new PagedList('rs/sql/checkuser', 20, {
179
+ data: {
180
+ id: this.$login.f.id,
181
+ fengongsi: this.$login.f.f_fengongsi
182
+ }
183
+ }),
184
+ condition: '',
185
+ select: ''
186
+ }
187
+ },
188
+ ready() {
189
+ this.$refs.cp.$refs.cri.search()
190
+ let self = this
191
+ // setTimeout(() => {
192
+ // let rows = self.model.rows
193
+ // let trs = []
194
+ // for (var i = 0; i < rows.length; i++) {
195
+ // trs.push(document.getElementById("vc-datagrid-name-" + i))
196
+ // }
197
+ // for (var i = 0; i < rows.length; i++) {
198
+ // // 用时间去判断要显示的字体颜色
199
+ // let starttime = rows[i].f_temp_date.replace(new RegExp("-", "gm"), "/")
200
+ // let starttimeHaoMiao = (new Date(starttime)).getTime() // 得到上个节点提交毫秒数
201
+ // let nowtimeHaoMiao = new Date().getTime() // 此时时间毫秒数
202
+ // let tds = trs[i].getElementsByTagName("font")
203
+ // if (rows[i].f_sub_state === '重设') { // 如果是退回,则字体变红
204
+ // for (var i = 0; i < tds.length; i++) {
205
+ // tds[i].setAttribute("color", "red")
206
+ // }
207
+ // } else if ((nowtimeHaoMiao - starttimeHaoMiao) >= 86400000) { // 若大于一天,字体变蓝
208
+ // for (var i = 0; i < tds.length; i++) {
209
+ // tds[i].setAttribute("color", "blue")
210
+ // }
211
+ // }
212
+ // }
213
+ // }, 1000)
214
+ },
215
+ methods: {
216
+ generateUUID() {
217
+ var d = new Date().getTime()
218
+ var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
219
+ var r = (d + Math.random() * 16) % 16 | 0
220
+ d = Math.floor(d / 16)
221
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
222
+ })
223
+ return uuid
224
+ },
225
+ addactive(modify) {
226
+ // this.$refs.cp.$refs.cri.search()
227
+ this.$refs.cp.pager = false
228
+ let val = {
229
+ defname: '报建登记',
230
+ f_process_id: this.generateUUID(),
231
+ f_apply_date: Util.toStandardTimeString(),
232
+ f_apply_department: this.$login.f.f_parentname,
233
+ f_apply_operator: this.$login.f.name,
234
+ f_filiale: this.$login.f.f_fengongsi,
235
+ f_apply_num: this.generateUUID(),
236
+ f_apply_operator_telephone: this.$login.f.f_fgsdianhua
237
+ }
238
+ // 如果是改装,将modify装入val
239
+ if(modify){
240
+ modify.f_customer_type = '个人'
241
+ modify.f_apply_type = '改装报建'
242
+ modify.f_phone = modify.f_user_phone
243
+ let temp = modify.f_residential_area
244
+ modify.f_residential_area = modify.f_area
245
+ modify.f_area = temp
246
+ Object.assign(val,modify)
247
+ }
248
+ if (this.$login.f.f_fengongsi.includes("博能")) {
249
+ val.defname = '勘察登记'
250
+ }
251
+ console.log(112 + JSON.stringify(this.$login.f.f_apply_department))
252
+ this.$dispatch('check', val)
253
+ this.$dispatch('changeheight')
254
+ this.$dispatch('addactive')
255
+ },
256
+ // 改装申请
257
+ /* modify() {
258
+ // 调出改装申请界面
259
+ this.$parent.show = false
260
+ },*/
261
+ check(val) {
262
+
263
+ this.$dispatch('check', val)
264
+ }
265
+ ,
266
+ close() {
267
+ this.$dispatch('close')
268
+ }
269
+ ,
270
+ compare(val) {
271
+ val === '完工'
272
+ console.log('完工', val)
273
+ return false
274
+ }
275
+ }
276
+ ,
277
+ computed: {
278
+ date() {
279
+ return getNowDate()
280
+ }
281
+ ,
282
+ selected() {
283
+ return this.$refs.cp.$refs.grid.selected
284
+ }
285
+ }
286
+ // watch: {
287
+ // compare (val) {
288
+ // val === '完工'
289
+ // console.log('2222222222222222222222222222222222222222222222222222', val)
290
+ // return false
291
+ // }
292
+ // }
293
+ }
294
+ </script>
295
+ <style scoped>
296
+ label {
297
+ display: flex;
298
+ justify-content:center;
299
+ align-items:Center;
300
+ padding-top: 8px;
301
+ }
302
+ tr.title {
303
+ background-color: #6666ff;
304
+ }
305
+ td{
306
+ text-align: center;
307
+ }
308
+ </style>