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,317 @@
1
+ <template>
2
+ <div class="auto select-overspread">
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
+ <!--<div class="col-sm-4 form-group">-->
11
+ <!--<label class="control-label col-sm-6">审核施工资料:</label>-->
12
+ <!--<div class="col-sm-6">-->
13
+ <!--<v-select :is-all-line="true" :value.sync="model.f_check_project" v-model="model.f_check_project"-->
14
+ <!--:options='fcheckproject' placeholder="全部" close-on-select></v-select>-->
15
+ <!--</div>-->
16
+ <!--</div>-->
17
+ <!--<div class="col-sm-4 form-group">-->
18
+ <!--<label class="control-label col-sm-5">审核蓝图:</label>-->
19
+ <!--<div class="col-sm-6">-->
20
+ <!--<v-select :is-all-line="true" :value.sync="model.f_check_blueprint" v-model="model.f_check_blueprint"-->
21
+ <!--:options='fcheckblueprint' placeholder="全部" close-on-select></v-select>-->
22
+ <!--</div>-->
23
+ <!--</div>-->
24
+ <!--<div class="col-sm-4 form-group">-->
25
+ <!--<label class="control-label col-sm-3">实际竣工日期</label>-->
26
+ <!--<div class="col-sm-6">-->
27
+ <!--<datepicker width="600.76px;"-->
28
+ <!--:value.sync="model.f_project_enddate"-->
29
+ <!--:format="'yyyy-MM-dd'" readonly="readonly"-->
30
+ <!--v-model="model.f_project_enddate"-->
31
+ <!--:show-reset-button="reset">-->
32
+ <!--</datepicker>-->
33
+ <!--</div>-->
34
+ <!--</div>-->
35
+ <div class="col-sm-4 form-group" :class="[$v.f_constructionunit_name.required ? 'has-error': '']">
36
+ <label class="control-label col-sm-6">施工部门签字人:</label>
37
+ <div class="col-sm-6">
38
+ <input type="text" class="form-control" id="f_constructionunit_name" v-model="model.f_constructionunit_name" v-validate:f_constructionunit_name='{required: true }'/>
39
+ </div>
40
+ </div>
41
+ <div class="col-sm-4 form-group":class="[$v.cunitdate.required ? 'has-error': '']">
42
+ <label class="control-label col-sm-5">施工部门签字日期:</label>
43
+ <div class="col-sm-6">
44
+ <input type="text" v-show="false" v-model="$refs.cunitdate.value" v-validate:cunitdate='{required: true}'/>
45
+ <datepicker id="f_apply_date" width="200.72px;" v-ref:cunitdate
46
+ :value.sync="model.f_constructionunit_date"
47
+ :disabled-days-of-Week="[]"
48
+ :format="'yyyy-MM-dd'" readonly="readonly"
49
+ v-model="model.f_constructionunit_date"
50
+ :show-reset-button="reset">
51
+ </datepicker>
52
+ </div>
53
+ </div>
54
+ <div class="col-sm-4 form-group" :class="[$v.f_install_name.required ? 'has-error': '']">
55
+ <label class="control-label col-sm-3">安装人员:</label>
56
+ <div class="col-sm-6">
57
+ <input type="text" class="form-control" v-model="model.f_install_name" v-validate:f_install_name='{required: true }'/>
58
+ </div>
59
+ </div>
60
+ <div class="col-sm-12">
61
+ <div class="col-sm-4 form-group" :class="[$v.f_designunit_name.required ? 'has-error': '']">
62
+ <label class="control-label col-sm-6">设计部门签字人:</label>
63
+ <div class="col-sm-6">
64
+ <input type="text" class="form-control" v-model="model.f_designunit_name" v-validate:f_designunit_name='{required: true }'/>
65
+ </div>
66
+ </div>
67
+ <div class="col-sm-4 form-group" :class="[$v.dunitdate.required ? 'has-error' : '' ]">
68
+ <label class="control-label col-sm-5">设计部门签字日期:</label>
69
+ <div class="col-sm-6">
70
+ <input type="text" v-show="false" v-model="$refs.dunitdate.value" v-validate:dunitdate='{required: true}'/>
71
+ <datepicker id="f_apply_date" width="200.72px;" v-ref:dunitdate
72
+ :value.sync="model.f_designunit_date"
73
+ :disabled-days-of-Week="[]"
74
+ :format="'yyyy-MM-dd'" readonly="readonly"
75
+ v-model="model.f_designunit_date"
76
+ :show-reset-button="reset">
77
+ </datepicker>
78
+ </div>
79
+ </div>
80
+ <div class="col-sm-4 form-group">
81
+ <div class="col-sm-2"></div>
82
+ <div class="col-sm-9">
83
+ <input type="checkbox" id="checkbox" v-model="model.f_check_indoorproject" v-validate:f_check_indoorproject='{required: true }'/>
84
+ <label for="checkbox" class="font-size" :class="[$v.f_check_indoorproject.required ? 'text-danger' : '']">户内工程是否验收通过</label>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ <div class="col-sm-12"></div>
89
+ <div class="col-sm-4 form-group" :class="[$v.f_buildunit_name.required ? 'has-error': '']">
90
+ <label class="control-label col-sm-6">建设部门签字人:</label>
91
+ <div class="col-sm-6">
92
+ <input type="text" class="form-control" v-model="model.f_buildunit_name" v-validate:f_buildunit_name='{required: true }'/>
93
+ </div>
94
+ </div>
95
+ <div class="col-sm-4 form-group" :class="[$v.bunitdate.required ? 'has-error': '']">
96
+ <label class="control-label col-sm-5">建设部门签字日期:</label>
97
+ <div class="col-sm-6">
98
+ <input type="text" v-show="false" v-model="$refs.bunitdate.value" v-validate:bunitdate='{required: true}'/>
99
+ <datepicker id="f_apply_date" width="200.72px;" v-ref:bunitdate
100
+ :value.sync="model.f_buildunit_date"
101
+ :disabled-days-of-Week="[]"
102
+ :format="'yyyy-MM-dd'" readonly="readonly"
103
+ v-model="model.f_buildunit_date"
104
+ :show-reset-button="reset">
105
+ </datepicker>
106
+ </div>
107
+ </div>
108
+ <div class="col-sm-4 form-group">
109
+ <div class="col-sm-2"></div>
110
+ <div class="col-sm-9">
111
+ <input type="checkbox" id="checkbox1" v-model="model.f_check_outdoorsproject" v-validate:f_check_outdoorsproject='{required: true }'/>
112
+ <label for="checkbox1" class="font-size" :class="[$v.f_check_outdoorsproject.required ? 'text-danger' : '']">庭院工程是否验收通过</label>
113
+ </div>
114
+ </div>
115
+ <div class="col-sm-12"></div>
116
+ <div class="col-sm-4 form-group" :class="[$v.f_supervisionunit_name.required ? 'has-error': '']">
117
+ <label class="control-label col-sm-6">监理部门签字人:</label>
118
+ <div class="col-sm-6">
119
+ <input type="text" class="form-control" v-model="model.f_supervisionunit_name" v-validate:f_supervisionunit_name='{required: true }'/>
120
+ </div>
121
+ </div>
122
+ <div class="col-sm-4 form-group":class="[$v.uunitdate.required ? 'has-error': '']">
123
+ <label class="control-label col-sm-5">监理部门签字日期:</label>
124
+ <div class="col-sm-6">
125
+ <input type="text" v-show="false" v-model="$refs.uunitdate.value" v-validate:uunitdate='{required: true}'/>
126
+ <datepicker id="f_apply_date" width="200.72px;" v-ref:uunitdate
127
+ :value.sync="model.f_upervisionunit_date"
128
+ :disabled-days-of-Week="[]"
129
+ :format="'yyyy-MM-dd'" readonly="readonly"
130
+ v-model="model.f_upervisionunit_date"
131
+ :show-reset-button="reset">
132
+ </datepicker>
133
+ </div>
134
+ </div>
135
+ <div class="col-sm-4 form-group">
136
+ <label class="control-label col-sm-3">实际竣工日期</label>
137
+ <div class="col-sm-6">
138
+ <datepicker width="600.76px;"
139
+ :value.sync="model.f_project_enddate"
140
+ :format="'yyyy-MM-dd'" readonly="readonly"
141
+ v-model="model.f_project_enddate"
142
+ :show-reset-button="reset">
143
+ </datepicker>
144
+ </div>
145
+ </div>
146
+ <div class="col-sm-12 form-group">
147
+ <label class="control-label col-sm-2">验收备注:</label>
148
+ <div class="col-sm-9">
149
+ <textarea class="form-control" rows="3" v-model="model.f_completed_remarks"></textarea>
150
+ </div>
151
+ </div>
152
+ <div class="form-group col-sm-6">
153
+ <label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
154
+ <div class="col-sm-5" id="f_filiale">
155
+ <input class="form-control" type="text" v-model="model.f_filiale" disabled>
156
+ </div>
157
+ </div>
158
+ <div class="col-sm-6 form-group">
159
+ <label class="control-label col-sm-4">操作日期:</label>
160
+ <div class="col-sm-5">
161
+ <input type="text" class="form-control" disabled v-model="model.f_completed_date"/>
162
+ </div>
163
+ </div>
164
+ <div class="col-sm-6 form-group">
165
+ <label class="control-label col-sm-4">部门:</label>
166
+ <div class="col-sm-5">
167
+ <input type="text" class="form-control" disabled v-model="model.f_completed_department"/>
168
+ </div>
169
+ </div>
170
+ <div class="col-sm-6 form-group">
171
+ <label class="control-label col-sm-4">操作人:</label>
172
+ <div class="col-sm-5">
173
+ <input type="text" class="form-control" disabled v-model="model.f_completed_operator"/>
174
+ </div>
175
+ </div>
176
+ </form>
177
+ </validator>
178
+ <div class="from-group col-sm-12">
179
+ <center>
180
+ <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;">
181
+ 保存
182
+ </button>
183
+ <button type="button" @click="commit()" class="btn btn-primary" style="width:80px; margin-left:50px;" :disabled="$v.invalid">
184
+ 提交
185
+ </button>
186
+ <button type="button" @click="back()" class="btn btn-warning" style="width:80px; margin-left:50px;">
187
+ 退回
188
+ </button>
189
+ </center>
190
+ </div>
191
+ </div>
192
+ </template>
193
+ <script>
194
+ import co from 'co'
195
+ import AppData from '../../../../stores/AppData'
196
+ import * as Util from '../../../Util'
197
+ let gen = function * (self, val) {
198
+ val.f_sub_state = ''
199
+ val.f_temp_date = Util.toStandardTimeString()
200
+ val.f_check_project = val.f_check_project[0] ? val.f_check_project[0] : ''
201
+ val.f_check_blueprint = val.f_check_blueprint[0] ? val.f_check_blueprint[0] : ''
202
+ let data ={
203
+ tablename:'t_apply',
204
+ parameters:val
205
+ }
206
+ yield self.$resetpost('rs/logic/save', {data:data})
207
+ if(self.selectdata.defname==='内部验收'&&self.selectdata.actdefid === '14'){
208
+ let data = {
209
+ model: {
210
+ f_processid: self.selectdata.f_process_id,
211
+ },
212
+ loginUser: {
213
+ id: self.$login.f.id,
214
+ name: self.$login.f.name,
215
+ ename: self.$login.f.ename
216
+ },
217
+ employeetemplate : self.selectdata.f_survey_name,
218
+ subdep: '提交'
219
+ }
220
+ self.$resetpost(`rs/logic/grantnext`,
221
+ {data: data})
222
+ .then(() => {
223
+ self.reset()
224
+ })
225
+ }else {
226
+ let data = {
227
+ model: {
228
+ f_processid: self.selectdata.f_process_id,
229
+ },
230
+ loginUser: {
231
+ id: self.$login.f.id,
232
+ name: self.$login.f.name,
233
+ ename: self.$login.f.ename
234
+ },
235
+ subdep: '提交'
236
+ }
237
+ self.$resetpost(`rs/logic/checknext`,
238
+ {data: data})
239
+ .then(() => {
240
+ self.reset()
241
+ })
242
+ }
243
+
244
+ }
245
+ export default {
246
+ title: '现场勘探',
247
+ data () {
248
+ return {
249
+ model: {
250
+ actid: ''
251
+ }
252
+ }
253
+ },
254
+ props: ['selectdata'],
255
+ ready () {
256
+ this.$nextTick(() => {
257
+ this.setselect()
258
+ })
259
+ },
260
+ methods: {
261
+ back() {
262
+ let data = {
263
+ model: {
264
+ f_processid: this.selectdata.f_process_id,
265
+ },
266
+ loginUser: {
267
+ id: this.$login.f.id,
268
+ name: this.$login.f.name,
269
+ ename: this.$login.f.ename
270
+ },
271
+ subdep: '退回'
272
+ }
273
+ this.$resetpost(`rs/logic/checknext`,
274
+ {data: data})
275
+ .then(() => {
276
+ this.reset()
277
+ })
278
+ },
279
+ confirm () {
280
+ // this.model.f_sub_state = '完成'
281
+ this.model.f_check_project = this.model.f_check_project[0] ? this.model.f_check_project[0] : ''
282
+ this.model.f_check_blueprint = this.model.f_check_blueprint[0] ? this.model.f_check_blueprint[0] : ''
283
+ let data ={
284
+ tablename:'t_apply',
285
+ parameters:this.model
286
+ }
287
+ this.$resetpost('rs/logic/save',{data:data})
288
+ .then(() => {
289
+ this.reset()
290
+ })
291
+ },
292
+ commit () {
293
+ let getGen = gen(this, this.model)
294
+ co(getGen)
295
+ },
296
+ reset () {
297
+ this.$dispatch('close')
298
+ this.$dispatch('selfsearch')
299
+ },
300
+ setselect () {
301
+ this.selectdata.f_check_project = [this.selectdata.f_check_project ? this.selectdata.f_check_project : this.model.f_check_project]
302
+ this.selectdata.f_check_blueprint = [this.selectdata.f_check_blueprint ? this.selectdata.f_check_blueprint : this.model.f_check_blueprint]
303
+ this.model = Object.assign({}, this.model, this.selectdata)
304
+ this.model.f_completed_date = this.$login.toStandardDateString()
305
+ this.model.f_completed_department = this.$login.f.f_parentname
306
+ this.model.f_completed_operator = this.$login.f.name
307
+ }
308
+ },
309
+ watch: {
310
+ 'selectdata'() {
311
+ this.$nextTick(() => {
312
+ this.setselect()
313
+ })
314
+ }
315
+ }
316
+ }
317
+ </script>