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