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,636 +0,0 @@
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-4 control-label">联&nbsp;&nbsp;系&nbsp;人</label>
10
- <div class="col-sm-8">
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-4 control-label">项目名称</label>
18
- <div class="col-sm-8">
19
- <input type="text" class="form-control" placeholder='项目名称' v-model="model.f_entry_name"
20
- v-on:keyup.enter="search"
21
- condition="f_entry_name like '{}%'">
22
- </div>
23
- </div>
24
- <div class="col-sm-2">
25
- <label class="col-sm-4 control-label">报建编号</label>
26
- <div class="col-sm-8">
27
- <input type="text" class="form-control" :options="$parent.$parent.fapplytype" placeholder='报建编号' v-model="model.f_apply_num"
28
- v-on:keyup.enter="search"
29
- condition="f_apply_num like '{}%'">
30
- </div>
31
- </div>
32
- <div class="col-sm-2">
33
- <label class="col-sm-4 control-label">用户地址</label>
34
- <div class="col-sm-8">
35
- <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
36
- v-on:keyup.enter="search"
37
- condition="f_address like '{}%'">
38
- </div>
39
- </div>
40
- <div class="col-sm-3 " style="width:30%">
41
- <button class="btn btn-primary btn-sm width-80" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()" style="margin-left:5%">
42
- <span class="glyphicon glyphicon-search"></span>{{$parent.$parent.button_name}}
43
- </button>
44
- <button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
45
- <button class="btn btn-primary btn-sm" type="button" v-show="$parent.$parent.startFlowonce"
46
- @click="$parent.$parent.addactive('报装申请')">
47
- <span class="glyphicon glyphicon-plus" ></span>报装申请
48
- </button>
49
- <button class="btn btn-primary btn-sm" type="button" v-show="$parent.$parent.startFlowall"
50
- @click="$parent.$parent.addactive('集体报装申请')">
51
- <span class="glyphicon glyphicon-plus" ></span>集体报装申请
52
- </button>
53
- </div>
54
-
55
-
56
- </div>
57
- <div class="col-sm-12 " style="margin-top:5px">
58
- <div class="col-sm-2 form-input-group ">
59
- <label for="startDate" class="control-label" style="width:81px;">开始日期</label>
60
- <datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
61
- width='100%'
62
- v-model="model.startDate"
63
- :value.sync="model.startDate"
64
- :format="'yyyy-MM-dd HH:mm:ss'"
65
- :show-reset-button="true"
66
- condition="f_apply_date >= '{}'">
67
- </datepicker>
68
- </div>
69
-
70
- <div class="col-sm-2 ">
71
- <label for="startDate" class="col-sm-4 control-label">终止日期</label>
72
- <div class="col-sm-8">
73
- <datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
74
- style="display: block;"
75
- v-model="model.endDate"
76
- :value.sync="model.endDate"
77
- :format="'yyyy-MM-dd HH:mm:ss'"
78
- :show-reset-button="true"
79
- condition="f_apply_date <= '{}'">
80
- </datepicker>
81
- </div>
82
-
83
- </div>
84
- <div class="col-sm-2">
85
- <label class="col-sm-4 control-label">流程状态</label>
86
- <div class="col-sm-8">
87
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.alloptions"
88
- condition="defname = '{}'" placeholder='流程状态'
89
- v-model="model.defname" :value.sync="model.defname" close-on-select>
90
- </v-select>
91
- </div>
92
- </div>
93
- <div class="col-sm-2" >
94
- <label class="col-sm-4 control-label">报建类型</label>
95
- <div class="col-sm-8">
96
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'报装申请',value:'报装申请'},{label:'集体报建',value:'集体报建'}]"
97
- condition="f_apply_type = '{}'" placeholder='报建类型'
98
- v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
99
- </v-select>
100
- </div>
101
- </div>
102
- <div class="col-sm-2" >
103
- <label class="col-sm-4 control-label">业务类型</label>
104
- <div class="col-sm-8">
105
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'新报装',value:'新报装'},{label:'改管',value:'改管'}]"
106
- condition="f_work_type = '{}'" placeholder='业务类型'
107
- v-model="model.f_work_type" :value.sync="model.f_work_type" close-on-select>
108
- </v-select>
109
- </div>
110
- </div>
111
-
112
- <div class="col-sm-2" style="float: left">
113
- <label class="col-sm-4 control-label">报装来源</label>
114
- <div class="col-sm-8">
115
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'}]"
116
- condition="f_apply_source = '{}'" placeholder='报装来源'
117
- v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
118
- </v-select>
119
- </div>
120
- </div>
121
-
122
-
123
-
124
- </div>
125
- <div class="col-sm-12 " style="margin-top:5px">
126
- <div class="col-sm-2">
127
- <label class="col-sm-4 control-label ">用户类型</label>
128
- <div class="col-sm-8">
129
- <v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
130
- :width="100" style="width:100%"
131
- v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
132
- </v-select>
133
- </div>
134
- </div>
135
- </div>
136
-
137
-
138
- <!--<div class="col-sm-1">-->
139
- <!--<button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.modify()"><span-->
140
- <!--class="glyphicon glyphicon-plus"></span>改装登记-->
141
- <!--</button>-->
142
- <!--</div>-->
143
- <!--</div>-->
144
-
145
- </form>
146
- </criteria>
147
- <data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
148
- <template partial='head'>
149
- <tr class="title">
150
- <th>
151
- <nobr>序号</nobr>
152
- </th>
153
- <th>
154
- <nobr>来源</nobr>
155
- </th>
156
- <th>
157
- <nobr>当前状态</nobr>
158
- </th>
159
- <th>
160
- <nobr>报建编号</nobr>
161
- </th>
162
- <th>
163
- <nobr>业务类型</nobr>
164
- </th>
165
- <th>
166
- <nobr>联系人</nobr>
167
- </th>
168
- <th>
169
- <nobr>项目名称</nobr>
170
- </th>
171
- <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
172
- <nobr>用户类型</nobr>
173
- </th>
174
- <th>
175
- <nobr>电话</nobr>
176
- </th>
177
- <th>
178
- <nobr>地址</nobr>
179
- </th>
180
- <th>
181
- <nobr>流程状态</nobr>
182
- </th>
183
- <th>
184
- <nobr>报建类型</nobr>
185
- </th>
186
- <th>
187
- <nobr>报建日期</nobr>
188
- </th>
189
- <th>
190
- <nobr>督办信息</nobr>
191
- </th>
192
- <th>
193
- <nobr >申请信息</nobr>
194
- </th>
195
- <th>
196
- <nobr>操作</nobr>
197
- </th>
198
- </tr>
199
- </template>
200
- <template partial='body'>
201
- <tr >
202
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
203
- <nobr><font>{{$index+1}}</font></nobr>
204
- </td>
205
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
206
- <nobr><font>{{row.f_apply_source}}</font></nobr>
207
- </td>
208
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
209
- <nobr><font>{{row.f_sub_state!='完工' ? '未完工' :'完工'}}</font></nobr>
210
- </td>
211
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
212
- <nobr><font>{{row.f_apply_num}}</font></nobr>
213
- </td>
214
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
215
- <nobr><font>{{row.f_work_type}}</font></nobr>
216
- </td>
217
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
218
- <nobr><font>{{row.f_user_name}}</font></nobr>
219
- </td>
220
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
221
- <nobr><font>{{row.f_entry_name}}</font></nobr>
222
- </td>
223
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
224
- <nobr><font>{{row.f_user_type}}</font></nobr>
225
- </td>
226
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
227
- <nobr><font>{{row.f_phone}}</font></nobr>
228
- </td>
229
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
230
- <nobr><font>{{row.f_address}}</font></nobr>
231
- </td>
232
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
233
- <nobr><font>{{row.defname}}</font></nobr>
234
- </td>
235
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
236
- <nobr><font>{{row.f_apply_type}}</font></nobr>
237
- </td>
238
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
239
- <nobr><font>{{row.f_apply_date}}</font></nobr>
240
- </td>
241
- <th >
242
- <nobr v-if="row.f_surpervise_type"><button class="btn btn-danger" @click="$parent.$parent.$parent.stopinfoshow($index)">查看督办信息</button></nobr>
243
- <nobr v-if="!row.f_surpervise_type" >无督办</nobr>
244
- </th>
245
- <th >
246
-
247
- <nobr v-if="row.f_check_state">用户已申请</nobr>
248
- <nobr v-if="!row.f_check_state" >无申请</nobr>
249
- </th>
250
- <td style="text-align: center;">
251
- <dropdown v-if="row.defname != '完工'">
252
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
253
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
254
- </button>
255
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
256
- <li>
257
- <a href="#" @click="$parent.$parent.$parent.check(row)">{{row.defname}}</a>
258
- </li>
259
- </ul>
260
- </dropdown>
261
- </td>
262
- </tr>
263
- </template>
264
- </data-grid>
265
- </criteria-paged>
266
- </div>
267
- <modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
268
- <header slot="modal-header" class="modal-header">
269
- <button type="button" class="close" @click="closestopinfo"><span>&times;</span></button>
270
- <h4 class="modal-title">督办信息</h4>
271
- </header>
272
- <article slot="modal-body" class="modal-body">
273
- <p >{{stopremarks}}</p>
274
- </article>
275
- <footer slot="modal-footer" class="modal-footer">
276
- </footer>
277
- </modal>
278
- </div>
279
- </template>
280
- <script>
281
- import * as Util from '../../Util'
282
- import Vue from 'vue'
283
- import {
284
- PagedList
285
- } from 'vue-client'
286
- import getNowDate from '../../getNowDate.js'
287
- import {HttpResetClass} from 'vue-client'
288
- export default {
289
- title: '勘探详情',
290
- data() {
291
- return {
292
- timer: null,
293
- timer1:null,
294
- remindTime:5,//超时提醒时间
295
- isOverNum:0,//报建是否提醒过
296
- model: new PagedList('rs/sql/checkuser', 20, {
297
- data: {
298
- id: this.$login.f.id,
299
- fengongsi: this.$login.f.f_fengongsi
300
- }
301
- }),
302
- fapplytype: this.$appdata.getParam('用户类型'),
303
- applytype: this.$appdata.getParam('报建类型'),
304
- department: this.$appdata.getParam('受理部门'),
305
- derection: this.$appdata.getParam('方向'),
306
- containt: this.$appdata.getParam('工作内容'),
307
- condition: '',
308
- select: '',
309
- alloptions:[],
310
- button_name:"查询",
311
- showstopinfoflag:false,
312
- stopremarks:"",
313
- startFlowonce:true,
314
- startFlowall:true,
315
- usertype: this.$appdata.getParam('用户类型'),
316
- }
317
- },
318
- compiled(){
319
- console.log("开始判断")
320
- },
321
- async ready() {
322
- this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
323
- this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
324
- await this.getConfig()
325
- let str='报建语音提醒时间'
326
- this.$refs.cp.$refs.cri.search()
327
- str='超时提前提醒时间'
328
- this.loadSingleValue(str)
329
- let self = this
330
- //判断用户是否有权限
331
- this.checkUserOperator();
332
-
333
- },
334
- methods: {
335
- //清空 查询条件项
336
- clear(){
337
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
338
- this.$refs.cp.$refs.cri.model[key] = []
339
- })
340
- },
341
- checkUserOperator(){
342
- if(this.$login.r.find(value => value == '报装申请')){
343
- this.startFlowonce=true;
344
- }
345
- if(this.$login.r.find(value => value == '集体报装申请')){
346
- this.startFlowall=true;
347
- }
348
- },
349
- stopinfoshow(index){
350
- this.showstopinfoflag = true;
351
- let remakrs = this.model.rows[index].f_surpervise_info;
352
- console.log(JSON.stringify(remakrs))
353
- console.log(remakrs)
354
-
355
- this.stopremarks= remakrs;
356
- },
357
- closestopinfo(){
358
- this.showstopinfoflag = close;
359
- },
360
- getapplyName(str){
361
- console.log("开始获取所有名")
362
- console.log(JSON.stringify(str.activitys))
363
- let param = [];
364
- // let workflow = JSON.parse(str);
365
- param.push({label:"全部",value:""})
366
- str.activitys.forEach(function(item){
367
- let title = item.title;
368
- console.log(title)
369
- param.push({label:title,value:title});
370
- })
371
- this.alloptions = param;
372
-
373
- },
374
- generateUUID() {
375
- var d = new Date().getTime()
376
- var uuid = 'xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
377
- var r = (d + Math.random() * 16) % 16 | 0
378
- d = Math.floor(d / 16)
379
- return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
380
- })
381
- return uuid
382
- },
383
- searchNow(){
384
- if(this.button_name == "返回"){
385
- this.button_name ="查询";
386
- }
387
- this.$refs.cp.$refs.cri.search()
388
- this.eachFind()
389
- },
390
- async getConfig(){
391
- let http = new HttpResetClass()
392
- await http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
393
- ).then((res)=>{
394
- if(res.data.code && res.data.code == 200){
395
- Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
396
- console.log("$workflow_vue===>"+JSON.stringify(this.$workflow_vue))
397
- this.getapplyName(this.$workflow_vue);
398
- }else{
399
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
400
- return
401
- }
402
- })
403
-
404
- },
405
- async addactive(modify) {
406
- this.button_name ="返回"
407
- //await this.getConfig()
408
- this.$workflow_vue.start_activity = modify
409
- let http = new HttpResetClass()
410
- let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.$workflow_vue.workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
411
- this.$refs.cp.pager = false
412
- let val = {
413
- defname: this.$workflow_vue.start_activity,
414
- f_process_id: res.data.f_process_id,
415
- f_apply_date: Util.toStandardTimeString(),
416
- f_apply_num: this.generateUUID(),
417
- f_apply_operator_telephone: this.$login.f.f_fgsdianhua
418
- }
419
- // // 如果是改装,将modify装入val
420
- // if(modify){
421
- // modify.f_customer_type = '个人'
422
- // modify.f_apply_type = '改装登记'
423
- // modify.f_phone = modify.f_user_phone
424
- // let temp = modify.f_residential_area
425
- // modify.f_residential_area = modify.f_area
426
- // modify.f_area = temp
427
- // Object.assign(val,modify)
428
- // }
429
-
430
- console.log(112 + JSON.stringify(this.$login.f.f_apply_department))
431
- this.$dispatch('check', val)
432
- this.$dispatch('changeheight')
433
- this.$dispatch('addactive')
434
- },
435
- // 改装申请
436
- modify(){
437
- // 调出改装申请界面
438
- this.$parent.show = false
439
- }
440
- ,
441
- check(val) {
442
- this.button_name="返回"
443
- // if(val.defname.includes("派单")){
444
- // if(val.f_unaccounts_money && parseInt(val.f_unaccounts_money)!=0){
445
- // this.$showAlert('当前用户金额未结余!!!', 'warning', 3000)
446
- // this.button_name ="查询";
447
- // return;
448
- // }
449
- // }
450
- this.$dispatch('check', val)
451
- this.$dispatch('addactive')
452
- }
453
- ,
454
- close() {
455
- this.$dispatch('close')
456
- }
457
- ,
458
- compare(val) {
459
- val === '完工'
460
- console.log('完工', val)
461
- return false
462
- },
463
- // 获取数据
464
- loadSingleValue(str) {
465
- let http = new HttpResetClass()
466
- let data = {
467
- singlename: str,
468
- //预先提醒时间
469
-
470
- }
471
- http.load('POST', 'rs/sql/findsingle', {data: data}, {resolveMsg: null, rejectMsg: '获取语音提醒时间失败'}).then((res) => {
472
- console.log('-----------------进去之前-----------'+JSON.stringify(res))
473
- let flag1=false
474
- let flag2=false
475
- if (res.data.length==0){
476
- flag1=true
477
- console.log('没有单值'+flag1)
478
- flag2=false
479
- }else if (res.data[0].value==0) {
480
- flag2=true
481
- console.log('为0')
482
- flag1=false
483
- }else{
484
- if (str==='报建语音提醒时间'){
485
- this.remindTime = res.data[0].value
486
- }
487
- console.log('为'+res.data[0].value)
488
- flag1=false
489
- flag2=false
490
- }
491
-
492
- if (this.isOverNum==0){
493
- if (flag1){
494
- console.log('不启动定时器')
495
-
496
- }else if (flag2) {
497
- console.log('启动定时器out')
498
- this.setOut()
499
- }else{
500
- console.log('启动定时器timer和out')
501
- this.setTimer()
502
- this.setOut()
503
- }
504
- this.isOverNum++;
505
- } else{
506
- this.isOverNum=0;
507
- }
508
-
509
-
510
- },(res)=>{
511
- //响应错误回调
512
- console.log('响应错误')
513
- })
514
-
515
- },
516
- setTimer() {
517
- if(this.timer == null) {
518
- this.timer = setInterval( () => {
519
- console.log('开始定时...每过5秒执行一次')
520
- this.$refs.cp.$refs.cri.search()
521
- console.log('数据已刷新')
522
- this.eachFind()
523
- console.log('eachfind完毕');
524
- }, 60*1000*this.remindTime)
525
- }
526
- },
527
- setOut() {
528
- if(this.timer1 == null) {
529
- this.timer1 = setTimeout( () => {
530
- console.log('开始setTimeout')
531
- this.eachFind()
532
- console.log('setTimeout完毕');
533
- }, 1000)
534
- }
535
- },
536
- //语音提醒
537
- speckText(str) {
538
- var url= "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text=" + encodeURI(str);
539
- new Audio(url).play();
540
-
541
- },
542
-
543
- eachFind() {
544
- let arr = this.$refs.cp.$refs.grid.model.rows
545
- let overNumString1=''
546
- let flagNum1=1
547
- let dbflag = 1
548
- let dbinfo = []
549
- let hourfals = 0
550
- let hourstr = ''
551
- for(let val of arr) {
552
- if(val.f_surpervise_type){
553
- dbflag = dbflag+1
554
- dbinfo.push(val.f_user_name)
555
- }
556
- if(val.ishourover =='1'){
557
- hourfals += 1
558
- hourstr+=hourfals+'条'
559
- }
560
- console.log(val.isbeforeover)
561
- if (val.isbeforeover==='预期提醒'){
562
- console.log('flagNUm:'+flagNum1);
563
- if (flagNum1==1){
564
- overNumString1=flagNum1+'条'
565
- flagNum1=flagNum1+1
566
- }else{
567
- overNumString1=overNumString1+'和第'+flagNum1+'条'
568
- flagNum1=flagNum1+1
569
- }
570
- }
571
- }
572
- if(hourfals!=0){
573
- this.speckText('请注意:第:'+overNumString1+'数据一小时后过期')
574
- }
575
- if (flagNum1!=1){
576
- console.log(overNumString1);
577
- this.speckText('请注意:第:'+overNumString1+'数据即将过期')
578
- }
579
- if(dbflag !=1){
580
- this.speckText('请注意: 您有'+dbflag-1+'条数据被督办')
581
- this.$showMessage("用户:"+dbinfo.join(",")+"需要紧急处理!!")
582
- }
583
- console.log('语音播放完毕');
584
- }
585
- },
586
- created: function() {
587
- clearInterval(this.timer)
588
- clearInterval(this.timer1)
589
- this.timer = null
590
- this.timer1 = null
591
- },
592
- beforeDestroy() {
593
- clearInterval(this.timer)
594
- clearInterval(this.timer1)
595
- this.timer = null
596
- this.timer1 = null
597
- },
598
- computed: {
599
- date() {
600
- return getNowDate()
601
- }
602
- ,
603
- selected() {
604
- return this.$refs.cp.$refs.grid.selected
605
- }
606
- }
607
- }
608
- </script>
609
- <style scoped>
610
- label {
611
- display: flex;
612
- justify-content:center;
613
- align-items:Center;
614
- padding-top: 8px;
615
- }
616
- tr.title {
617
- background-color: #6666ff;
618
- }
619
- td{
620
- text-align: center;
621
- }
622
- /* .active{
623
- color: Crimson;
624
- }
625
- .p{
626
- color: green;
627
- }*/
628
-
629
- .p1 {
630
- color: #dc0b12;
631
- font-weight:bold
632
- }
633
- .p {
634
- color: #ffaf4f;
635
- }
636
- </style>