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,441 @@
1
+ <template xmlns="http://www.w3.org/1999/xhtml" xmlns:v-validate="http://www.w3.org/1999/xhtml">
2
+ <div class="auto" style="overflow: hidden">
3
+ <div class="panel panel-info">
4
+ <div class="panel-heading">
5
+ <h3 class="panel-title">测绘设计</h3>
6
+ </div>
7
+ </div>
8
+ <validator name="v">
9
+ <form class="form-horizontal">
10
+
11
+ <div class="col-sm-11">
12
+ <div class="form-group col-sm-4">
13
+ <label for="f_designer" class=" col-sm-6 control-label">项目名称:</label>
14
+ <div class="col-sm-6" id="f_entry_name">
15
+ <input class="form-control col-sm-6" type="text" v-model="model.f_entry_name" :readonly="edit ? false : 'readonly'">
16
+ </div>
17
+ </div>
18
+
19
+ <div class="form-group col-sm-4">
20
+ <label for="f_install_num" class=" col-sm-6 control-label">已完成户数:</label>
21
+ <div class="col-sm-6" id="f_completion_households" :class="[$v.f_completion_households.required ? 'formItem-required' : '' ]">
22
+ <input class="form-control col-sm-6" type="number" v-model="model.f_completion_households"
23
+ v-validate:f_completion_households='{required: true}'
24
+ :readonly="edit ? false : 'readonly'">
25
+ </div>
26
+ </div>
27
+ <div class="form-group col-sm-4">
28
+ <label class="col-sm-6 control-label">完成时间:</label>
29
+ <div class="col-sm-6" id="f_completion_time" :class="[$v.f_completion_time.required ? 'formItem-required' : '' ]">
30
+ <input class="form-control col-sm-6" v-show="false" v-model="model.f_completion_time" v-validate:f_completion_time='{required: true}'>
31
+ <datepicker class="col-sm-6"
32
+ :value.sync="model.f_completion_time"
33
+ :format="'yyyy-MM-dd'"
34
+ v-model="model.f_completion_time"
35
+ :show-reset-button="reset"
36
+ :readonly="true"
37
+ >
38
+ </datepicker>
39
+ </div>
40
+ </div>
41
+ </div>
42
+
43
+ <div class="col-sm-11">
44
+ <div class="form-group col-sm-4">
45
+ <div class="col-sm-3"></div>
46
+ <div class="col-sm-6">
47
+ <label for="checkbox" class=" col-sm-7 control-label">是否设计出图</label>
48
+ <div class="col-sm-5">
49
+ <input class="form-control col-sm-6" type="checkbox" class="" id="checkbox" v-model="model.f_isdesign"
50
+ :disabled="edit ? false : 'disabled'">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="form-group col-sm-4">
55
+ <label for="f_design_cycle" class=" col-sm-6 control-label">设计周期:</label>
56
+ <div class="col-sm-6" id="f_design_cycle" :class="[$v.f_design_cycle.required ? 'formItem-required' : '' ]">
57
+ <input class="form-control col-sm-6" type="text" v-model="model.f_design_cycle" :readonly="edit ? false : 'readonly'" v-validate:f_design_cycle='{required: true}'>
58
+ </div>
59
+ </div>
60
+ <div class="form-group col-sm-4">
61
+ <label for="f_design_start_date" class=" col-sm-6 control-label">设计派工日期:</label>
62
+ <div class="col-sm-6" id="f_design_start_date">
63
+ <input class="form-control col-sm-6" type="text" v-show="false" v-model="model.f_design_start_date">
64
+ <datepicker class="col-sm-6"
65
+ :value.sync="model.f_design_start_date"
66
+ :format="'yyyy-MM-dd'"
67
+ v-model="model.f_design_start_date"
68
+ :readonly="true"
69
+ :show-reset-button="reset">
70
+ </datepicker>
71
+ </div>
72
+ </div>
73
+ </div>
74
+
75
+ <div class="from-group col-sm-11">
76
+ <div class="form-group col-sm-4">
77
+ <label for="f_design_end_date" class=" col-sm-6 control-label">设计完成日期:</label>
78
+ <div class="col-sm-6" id="f_design_end_date" :class="[$v.f_design_end_date.required ? 'formItem-required' : '' ]">
79
+ <input class="form-control col-sm-6" type="text" v-show="false" v-model="model.f_design_end_date" v-validate:f_design_end_date = '{required:true}'>
80
+ <datepicker width="600.76px;" class="col-sm-6"
81
+ :value.sync="model.f_design_end_date"
82
+ :format="'yyyy-MM-dd'"
83
+ v-model="model.f_design_end_date"
84
+ :readonly = "true"
85
+ :show-reset-button="reset" >
86
+ </datepicker>
87
+ </div>
88
+ </div>
89
+ <div class="form-group col-sm-4">
90
+ <label for="f_designer" class=" col-sm-6 control-label">图纸设计人:</label>
91
+ <div class="col-sm-6" id="f_designer" :class="[$v.f_designer.required ? 'formItem-required' : '' ]">
92
+ <input class="form-control col-sm-6" type="text" v-model="model.f_designer" :readonly="edit ? false : 'readonly'" v-validate:f_designer = '{required:true}'>
93
+ </div>
94
+ </div>
95
+ <div class="form-group col-sm-4">
96
+ <label for="f_design_unit" class=" col-sm-6 control-label">图纸审计单位:</label>
97
+ <div class="col-sm-6" id="f_design_unit" :class="[$v.f_design_unit.required ? 'formItem-required' : '' ]">
98
+ <input class="form-control col-sm-6" type="text" v-model="model.f_design_unit" :readonly="edit ? false : 'readonly'"
99
+ v-validate:f_design_unit = '{required: true}'>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ <div class="from-group col-sm-11">
104
+ <div class="form-group col-sm-4">
105
+ <label for="f_design_check_name" class=" col-sm-6 control-label">图纸审核人:</label>
106
+ <div class="col-sm-6" id="f_design_check_name" :class="[$v.f_design_check_name.required ? 'formItem-required' : '' ]">
107
+ <input class="form-control col-sm-6" type="text" v-model="model.f_design_check_name" :readonly="edit ? false : 'readonly'"
108
+ v-validate:f_design_check_name = '{required: true}'>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ <div class="form-group col-sm-11">
113
+ <label class="col-sm-2" for="f_survey_remarks">勘查意见:</label>
114
+ <div class="col-sm-10" id="f_survey_remarks">
115
+ <textarea class="form-control col-sm-6" v-model="model.f_survey_remarks" rows="3"
116
+ :readonly="edit ? false : 'readonly'">
117
+ </textarea>
118
+ </div>
119
+ </div>
120
+ <div class="from-group col-sm-11">
121
+ <div class="form-group col-sm-12">
122
+ <label class="col-sm-2" for="f_design_remarks">设计出图说明:</label>
123
+ <div class="col-sm-10" id="f_design_remarks">
124
+ <textarea class="form-control col-sm-6" rows="3" v-model="model.f_design_remarks"
125
+ :readonly="edit ? false : 'readonly'">
126
+ </textarea>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ <div class="form-group col-sm-11">
131
+ <div class="form-group col-sm-6">
132
+ <label for="f_survey_departmen" class=" col-sm-4 control-label">部门:</label>
133
+ <div class="col-sm-6" id="f_survey_departmen">
134
+ <input class="form-control" type="text" v-model="model.f_apply_department" disabled>
135
+ </div>
136
+ </div>
137
+ <div class="form-group col-sm-6">
138
+ <label for="f_survey_operator" class="col-sm-6 control-label">执行人:</label>
139
+ <div class="col-sm-6" id="f_survey_operator">
140
+ <input class="form-control" type="text" v-model="model.f_apply_operator" disabled>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ <div class="form-group col-sm-11">
145
+ <div class="form-group col-sm-6">
146
+ <label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
147
+ <div class="col-sm-6" id="f_filiale">
148
+ <input class="form-control" type="text" v-model="model.f_filiale" disabled>
149
+ </div>
150
+ </div>
151
+ <div class="form-group col-sm-6">
152
+ <label class=" col-sm-6 control-label">操作日期:</label>
153
+ <div class="col-sm-6" id="f_survey_date">
154
+ <input class="form-control" type="text" v-model="model.f_survey_date" disabled>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </form>
159
+ </validator>
160
+ <div class="from-group col-sm-11" v-show="edit">
161
+ <center>
162
+ <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" >
163
+ 保存
164
+ </button>
165
+ <button type="button" @click="commit()" class="btn btn-primary" style="width:80px; margin-left:40px;" :disabled='!$v.valid'>
166
+ 提交
167
+ </button>
168
+ <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
169
+ 取消
170
+ </button>
171
+ </center>
172
+ </div>
173
+ </div>
174
+ <place-controler-print v-if="showPrint" :show="showPrint"></place-controler-print>
175
+ </template>
176
+ <script>
177
+ import co from 'co'
178
+ import {HttpResetClass} from 'vue-client'
179
+ import * as Util from '../../../../Util'
180
+ let gen = function* (self, val) {
181
+ let data = {
182
+ tablename: 't_apply',
183
+ parameters: val
184
+ }
185
+ yield self.$resetpost('rs/logic/save', {data: data})
186
+ data = {
187
+ model: {
188
+ f_processid: self.selectdata.f_process_id,
189
+ },
190
+ loginUser: {
191
+ id: self.$login.f.id,
192
+ name: self.$login.f.name,
193
+ ename: self.$login.f.ename
194
+ },
195
+ employeetemplate: self.employeetemplate,// 指派勘察人员
196
+ subdep: '提交'
197
+ }
198
+ self.$resetpost(`rs/logic/grantnext`,
199
+ {data: data})
200
+ .then(() => {
201
+ self.reset()
202
+ })
203
+ }
204
+ export default {
205
+ title: '测绘申请',
206
+ data() {
207
+ return {
208
+ fgastype: this.$appdata.getParam('用气类型'),
209
+ completiontime: this.$appdata.getParam('完成时间'),
210
+ employees: [], // 部门人员数组
211
+ employeetemplate: '', // 选定部门人员
212
+ model: {
213
+ f_filiale: this.$login.f.f_filiale,
214
+ f_survey_date: Util.toStandardTimeString(),
215
+ f_survey_department: this.$login.f.f_parentname,
216
+ f_survey_operator: this.$login.f.name
217
+ },
218
+ pattern: '/^[+]{0,1}(\\d+)$|^[+]{0,1}(\\d+\\.\\d+)$/',
219
+ showPrint: false
220
+ }
221
+ },
222
+ props: ['selectdata','edit'],
223
+ ready() {
224
+ this.selectdata.f_gas_type = this.selectdata.f_gas_type ? [this.selectdata.f_gas_type] : this.model.f_gas_type
225
+ this.model = Object.assign({}, this.model, this.selectdata)
226
+ },
227
+ methods: {
228
+ // 获取部门领导角色
229
+ async loademployees() {
230
+ let http = new HttpResetClass()
231
+ if (this.selectdata.actdefid != '1') {
232
+ await http.load('POST', 'rs/sql/singleTable', {
233
+ data: {
234
+ tablename: 't_actorperson',
235
+ condition: " userseq='" + this.$login.f.id + "' order by id desc"
236
+ }
237
+ }, {resolveMsg: null, rejectMsg: "角色人员是(登陆人)信息查询失败"}, {silent: true})
238
+ .then((res) => {
239
+ console.log("取得部门领导的角色" + res.data[0].actorid)
240
+ if (res.data[0].actorid.startsWith("R") && (res.data[0].actorid.includes("部门负责人") || res.data[0].actorid.includes("部经理") || res.data[0].actorid.includes("部门领导") || res.data[0].actorid.includes("部负责人") || res.data[0].actorid.includes("部领导") || res.data[0].actorid.includes("组长"))) {
241
+ let loaderstr = res.data[0].actorid.substring(2, res.data[0].actorid.length - 1)
242
+ this.temploader = loaderstr
243
+ // 如果是退回的就用已经的人员,保证下发的是同一个人
244
+ this.toemployees()
245
+ let loademployeestr = null
246
+ if (loaderstr.includes("部门")) {
247
+ loademployeestr = 'R(' + loaderstr.split("部门")[0] + '部门人员)'
248
+ } else if (loaderstr.includes("部")) {
249
+ loademployeestr = 'R(' + loaderstr.split("部")[0] + '部人员)'
250
+ } else if (loaderstr.includes("组长")) {
251
+ loademployeestr = 'R(' + loaderstr.split("组长")[0] + '人员)'
252
+ }
253
+ console.log(loademployeestr)
254
+ let http2 = new HttpResetClass()
255
+ http2.load('POST', 'rs/sql/singleTable', {
256
+ data: {
257
+ tablename: 't_role',
258
+ condition: " name='" + loademployeestr.substring(2, loademployeestr.length - 1) + "'"
259
+ // condition: " name='" + loaderstr.split("部")[0] + '部人员' + "'"
260
+ }
261
+ }, {resolveMsg: null, rejectMsg: "角色人员(部门人员)id信息查询失败"}, {silent: true}).then((res) => {
262
+ console.log("取得角色人员(部门人员)id" + JSON.stringify(res.data[0].id))
263
+ let strid = res.data[0].id
264
+ let http3 = new HttpResetClass()
265
+ http3.load('POST', 'rs/sql/singleTable', {
266
+ data: {
267
+ tablename: 't_user',
268
+ condition: "roles like '%" + strid + "%'"
269
+ }
270
+ }, {resolveMsg: null, rejectMsg: "角色人员(部门人员)信息查询失败"}, {silent: true}).then((res) => {
271
+ console.log("角色人员(部门人员)信息成功")
272
+ for (var i = 0; i < res.data.length; i++) {
273
+ this.employees.push({lable: res.data[i].name, value: res.data[i].name})
274
+ }
275
+ })
276
+ })
277
+ }
278
+ })
279
+ }
280
+ },
281
+ confirm() {
282
+ //判断当前节点的状态(开始活动/完工)
283
+ this.$resetpost('rs/sql/findProcessState', {data: {actid:this.selectdata.actid}}, {
284
+ resolveMsg: null,
285
+ rejectMsg: '提交错误!'
286
+ }).then((res) => {
287
+ if (res.data[0].state != '开始活动') {
288
+ this.$showMessage("该节点信息已在别处提交,请刷新!")
289
+ this.reset()
290
+ } else {
291
+ //通过数据校验再进行下一步判断
292
+ if (this.verification()) {
293
+
294
+ if(Number(this.model.f_completion_households) >Number( this.selectdata.f_total_households)){
295
+ this.$showMessage("已完成户数不能大于总户数!")
296
+ this.model.f_completion_households = null
297
+ }else{
298
+ let data = {
299
+ tablename: 't_apply',
300
+ parameters: this.model
301
+ }
302
+ this.$resetpost('rs/logic/save', {data: data})
303
+ .then(() => {
304
+ this.reset()
305
+ })
306
+ }
307
+ }
308
+ }
309
+ })
310
+
311
+ },
312
+ commit() {
313
+ //判断当前节点的状态(开始活动/完工)
314
+ var entryName = this.model.f_entry_name //项目名称
315
+ var ename = this.selectdata.f_entry_name
316
+ this.$resetpost('rs/sql/findProcessState', {data: {actid:this.selectdata.actid}}, {
317
+ resolveMsg: null,
318
+ rejectMsg: '提交错误!'
319
+ }).then((res) => {
320
+ if (res.data[0].state != '开始活动') {
321
+ this.$showMessage("该节点信息已在别处提交,请刷新!")
322
+ this.reset()
323
+ } else {
324
+ //通过数据校验再进行下一步判断
325
+ if (this.verification()) {
326
+ if(name == null){
327
+ //项目名称唯一性判断
328
+ this.$resetpost('rs/sql/findByEntryName', {data: {entryName: entryName}}, {
329
+ resolveMsg: null,
330
+ rejectMsg: '提交错误!'
331
+ }).then((res) => {
332
+ if (res.data.length > 0) {
333
+ this.$showMessage("项目名称不能重复!")
334
+ } else {
335
+ let getGen = gen(this, this.model)
336
+ co(getGen)
337
+ }
338
+ })
339
+ }else{
340
+ if(Number(this.model.f_completion_households) >Number( this.selectdata.f_total_households)){
341
+ this.$showMessage("已完成户数不能大于总户数!")
342
+ this.model.f_completion_households = null
343
+ }else{
344
+ let getGen = gen(this, this.model)
345
+ co(getGen)
346
+ }
347
+
348
+ }
349
+ }
350
+ }
351
+ })
352
+ },
353
+ //数据校验
354
+ verification() {
355
+ var isNum = /^(([+]?\d*$)|(^[+]?\d+(\.\d+)?$))/ //非负纯数字
356
+ var regex = /.*?[\u4e00-\u9fa5].*?[\u4e00-\u9fa5].*/ //至少两个汉字
357
+ var phoneReg = /^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/ //手机号码正则
358
+ var telReg = /0\d{2,3}-\d{7,8}/ //座机正则
359
+ if (!this.model.f_entry_name) {
360
+ this.$showMessage("项目名称不能为空!")
361
+ return false
362
+ }
363
+
364
+
365
+
366
+ if (!this.model.f_completion_households) {
367
+ this.$showMessage("已完成户数不能为空!")
368
+ return false
369
+ } else if (!isNum.test(this.model.f_completion_households)) {
370
+ this.$showMessage("已完成户数格式错误!")
371
+ return false
372
+ }
373
+
374
+
375
+
376
+ if (!this.model.f_designer) {
377
+ this.$showMessage("图纸设计人不能为空!")
378
+ return
379
+ } else if (!regex.test(this.model.f_designer.trim())) {
380
+ this.$showMessage("图纸设计人请至少输入两个汉字!")
381
+ return false
382
+ }
383
+ if (!this.model.f_design_check_name) {
384
+ this.$showMessage("图纸审核人不能为空!")
385
+ return
386
+ } else if (!regex.test(this.model.f_design_check_name.trim())) {
387
+ this.$showMessage("图纸审核人请至少输入两个汉字!")
388
+ return false
389
+ }
390
+
391
+ if(!this.model.f_design_cycle){
392
+ this.$showMessage("设计周期不能为空!")
393
+ return false
394
+ }
395
+ if(!this.model.f_design_start_date){
396
+ this.$showMessage("设计派工日期不能为空!")
397
+ return false
398
+ }
399
+ if(!this.model.f_design_end_date){
400
+ this.$showMessage("设计完成日期不能为空!")
401
+ return false
402
+ }
403
+ if(!this.model.f_design_unit){
404
+ this.$showMessage("图纸审计单位不能为空!")
405
+ return false
406
+ }
407
+
408
+ if(!this.model.f_completion_time){
409
+ this.$showMessage("完成时间不能为空!")
410
+ return false
411
+ }
412
+ return true
413
+
414
+ },
415
+ reset() {
416
+ this.$dispatch('close')
417
+ this.$dispatch('selfsearch')
418
+ },
419
+ setselect() {
420
+ this.selectdata.f_gas_type = this.selectdata.f_gas_type ? this.selectdata.f_gas_type : this.model.f_gas_type
421
+ this.model = Object.assign({}, this.model, this.selectdata)
422
+ this.model.f_survey_date = this.$login.toStandardDateString()
423
+ this.model.f_survey_department = this.$login.f.f_parentname
424
+ this.model.f_survey_operator = this.$login.f.name
425
+ }
426
+ },
427
+ events: {
428
+ },
429
+ watch: {}
430
+ }
431
+ </script>
432
+ <style>
433
+ .formItem-required::after {
434
+ content: '*';
435
+ position: absolute;
436
+ font-size: 20px;
437
+ margin-top: 3.5%;
438
+ margin-left: 3%;
439
+ color: #d91118;
440
+ }
441
+ </style>
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <div style="text-align:center; height: 50%; margin-top: 5%;font-size: 16px;">
3
+ <p>该工程已完工</p>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import co from 'co'
8
+ import * as Util from '../../../../Util'
9
+ import AppData from '../../../../../stores/AppData'
10
+
11
+ export default {
12
+ title: '完工',
13
+ data() {
14
+ return {
15
+
16
+ }
17
+ }
18
+ }
19
+ </script>
20
+
@@ -0,0 +1,68 @@
1
+ <template>
2
+ <div class="auto" style="padding-right:5px;">
3
+ <div class="panel panel-info">
4
+ <div class="panel-heading">
5
+ <h3 class="panel-title">用户基本信息</h3>
6
+ </div>
7
+ <div class="panel-body">
8
+ <span>姓名:{{model.f_user_name}}</span>
9
+ <span>电话:{{model.f_phone}}</span>
10
+ <span>片区:{{model.f_area}}</span>
11
+ <span>报装类型:{{model.f_apply_type}}</span>
12
+ <span>用户类型:{{model.f_user_type}}</span>
13
+ <span>申请户数:{{model.f_apply_count}}</span>
14
+ <span>房屋类型:{{model.f_house_type}}</span>
15
+ <span>小区:{{model.f_residential_area}}</span>
16
+ <span>地址:{{model.f_address}}</span>
17
+ <span v-if="model.f_apply_type.includes( '改装报建')">改装原因:{{model.f_apply_remarks}}</span>
18
+ <span v-else>报建备注:{{model.f_apply_remarks}}</span>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+ <script>
24
+ export default {
25
+ title: '基本信息',
26
+ data () {
27
+ return {
28
+ model: {
29
+ f_user_name: '无',
30
+ f_address: '无',
31
+ f_apply_count: '无',
32
+ f_phone: '无',
33
+ f_apply_type: '无',
34
+ f_area: '无',
35
+ f_user_type: '无',
36
+ f_house_type: '无',
37
+ f_residential_area: '无',
38
+ f_apply_remarks: '无'
39
+ }
40
+ }
41
+ },
42
+ props: ['basic'],
43
+ ready () {
44
+ this.model = Object.assign({}, this.model, this.basic)
45
+ },
46
+ methods: {
47
+ flush() {
48
+ this.model.f_user_name = '无'
49
+ this.model.f_address = '无'
50
+ this.model.f_apply_count = '无'
51
+ this.model.f_phone = '无'
52
+ this.model.f_apply_type = '无'
53
+ this.model.f_area = '无'
54
+ this.model.f_user_type = '无'
55
+ this.model.f_house_type = '无'
56
+ this.model.f_residential_area = '无'
57
+ this.model.f_apply_remarks = '无'
58
+ }
59
+ },
60
+ watch: {
61
+ 'basic' () {
62
+ this.model = Object.assign({}, this.model, this.basic)
63
+ }
64
+ }
65
+ }
66
+ </script>
67
+ <style>
68
+ </style>
@@ -0,0 +1,110 @@
1
+ <template>
2
+ <div class="auto" style="padding-right:5px; padding-top: 10px;">
3
+ <validator name="v">
4
+ <div class="panel" v-bind:class="{'panel-default': showdef, ' panel-info' : showinfo}">
5
+ <div class="panel-heading" @click ="hello()">
6
+ <h3 class="panel-title">施工信息<span class="pull-right glyphicon" v-bind:class="{'glyphicon-chevron-right': show, 'glyphicon-chevron-down' : hasError}"></span></h3>
7
+ </div>
8
+ <div class="panel-body" v-if="hasError">
9
+ <div class="col-sm-12">
10
+ <span class="col-sm-6">开工日期:{{model.f_project_startdate}}</span>
11
+ <span class="col-sm-12">户内工程</span>
12
+ <span class="col-sm-6">开始时间:{{model.f_indoor_startdate}}</span>
13
+ <span class="col-sm-6">完成时间:{{model.f_indoor_enddate}}</span>
14
+ <span class="col-sm-12">户外工程</span>
15
+ <span class="col-sm-6">开始时间:{{model.f_outdoors_startdate}}</span>
16
+ <span class="col-sm-6">完成时间:{{model.f_outdoors_enddate}}</span>
17
+ <span class="col-sm-12">施工备注:{{model.f_project_remarks}}</span>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </validator>
22
+ </div>
23
+ </template>
24
+ <script>
25
+ export default {
26
+ title: '施工信息',
27
+ data () {
28
+ return {
29
+ title: '施工',
30
+ actdefid: 9,
31
+ hasError: false,
32
+ show: true,
33
+ showdef: true,
34
+ showinfo: false,
35
+ model: {
36
+ }
37
+ }
38
+ },
39
+ props: ['build'],
40
+ ready() {
41
+ this.model = Object.assign({}, this.model, this.build)
42
+ if (!this.build.f_project_startdate) {
43
+ this.model.f_project_startdate = '无'
44
+ this.model.f_project_material = '无'
45
+ this.model.f_blue_print = '无'
46
+ this.model.f_indoor_startdate = '无'
47
+ this.model.f_indoor_enddate = '无'
48
+ this.model.f_outdoors_startdate = '无'
49
+ this.model.f_outdoors_enddate = '无'
50
+ this.model.f_project_remarks = '无'
51
+ }
52
+ this.show = false
53
+ this.hasError = false
54
+ if (this.build.defname === this.title) {
55
+ this.hasError = true
56
+ } else {
57
+ this.hasError = false
58
+ this.show = true
59
+ }
60
+ if (this.actdefid <= this.model.actdefid) {
61
+ this.showdef = false
62
+ this.showinfo = true
63
+ } else {
64
+ this.showdef = true
65
+ this.showinfo = false
66
+ }
67
+ },
68
+ methods: {
69
+ hello () {
70
+ if (!this.build.defname) {
71
+ return
72
+ }
73
+ if (this.actdefid > this.build.actdefid) {
74
+ return
75
+ }
76
+ if (this.show) {
77
+ this.show = false
78
+ this.hasError = true
79
+ } else {
80
+ this.show = true
81
+ this.hasError = false
82
+ }
83
+ },
84
+ flush () {
85
+ this.build = ''
86
+ this.model = ''
87
+ }
88
+ },
89
+ watch: {
90
+ 'build' () {
91
+ this.model = Object.assign({}, this.model, this.build)
92
+ this.show = false
93
+ this.hasError = false
94
+ if (this.build.defname === this.title) {
95
+ this.hasError = true
96
+ } else {
97
+ this.hasError = false
98
+ this.show = true
99
+ }
100
+ if (this.actdefid <= this.model.actdefid) {
101
+ this.showdef = false
102
+ this.showinfo = true
103
+ } else {
104
+ this.showdef = true
105
+ this.showinfo = false
106
+ }
107
+ }
108
+ }
109
+ }
110
+ </script>