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,370 @@
1
+ <template xmlns="http://www.w3.org/1999/xhtml" xmlns:v-validate="http://www.w3.org/1999/xhtml">
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="form-group col-sm-11">
11
+ <div class="form-group col-sm-4 form-input-group">
12
+ <label class="control-label">客户名称:</label>
13
+ <div class="col-sm-6">
14
+ <input class="form-control col-sm-6" type="text" v-model="model.f_user_name">
15
+ </div>
16
+ </div>
17
+ <div class="form-group col-sm-4 form-input-group">
18
+ <label class="control-label">客户类型:</label>
19
+ <div class="col-sm-5">
20
+ <v-select :is-all-line="true" :value.sync="model.f_customer_type" v-model="model.f_customer_type" v-ref:customertype
21
+ :options='fcustomertype'
22
+ placeholder='请选择' close-on-select></v-select>
23
+ </div>
24
+ </div>
25
+ <div class="form-group col-sm-4 form-input-group">
26
+ <label class="col-sm-4 control-label">报装类型:</label>
27
+ <div class="col-sm-8">
28
+ <v-select :is-all-line="true" v-ref:fapplytype
29
+ v-model="model.f_apply_type"
30
+ placeholder='请选择'
31
+ :value.sync="model.f_apply_type"
32
+ :options='fapplytype'
33
+ close-on-select>
34
+ </v-select>
35
+ </div>
36
+ </div>
37
+ <div class="form-group col-sm-4 form-input-group">
38
+ <label class="control-label">电话号码:</label>
39
+ <div class="col-sm-6">
40
+ <input class="form-control col-sm-6" type="text" v-model="model.f_phone">
41
+ </div>
42
+ </div>
43
+ <div class="form-group col-sm-4 form-input-group">
44
+ <label class="control-label">用户类型:</label>
45
+ <div class="col-sm-4">
46
+ <v-select :is-all-line="true" :value.sync="model.f_user_type" v-model="model.f_user_type" v-ref:usertype :options='fusertype'
47
+ placeholder='请选择' close-on-select></v-select>
48
+ </div>
49
+ </div>
50
+ <div class="form-group col-sm-4 form-input-group">
51
+ <label class="col-sm-4 control-label">证件类型:</label>
52
+ <div class="col-sm-6">
53
+ <v-select
54
+ v-model="model.f_credentials"
55
+ placeholder='请选择'
56
+ :value.sync="model.f_credentials"
57
+ :options='fcredentials'
58
+ close-on-select>
59
+ </v-select>
60
+ </div>
61
+ </div>
62
+ <div class="form-group col-sm-4 form-input-group">
63
+ <label class="control-label">证件号码:</label>
64
+ <div class="col-sm-5">
65
+ <input class="form-control" type="text" v-model="model.f_idnumber">
66
+ </div>
67
+ </div>
68
+ <div class="form-group col-sm-4 form-input-group">
69
+ <label class="control-label">片区:</label>
70
+ <div class="col-sm-5">
71
+ <v-select :is-all-line="true" style="width:100%" :value.sync="model.f_residential_area" v-model="model.f_residential_area" v-ref:area
72
+ :options='village'
73
+ placeholder='请选择' close-on-select></v-select>
74
+ <!--<input style="width:90%;height:26px;position: relative;top: -26px" :value.sync="model.f_residential_area" v-model="model.f_residential_area" />-->
75
+ </div>
76
+ </div>
77
+ <div class="form-group col-sm-4 form-input-group">
78
+ <label class="control-label">小区:</label>
79
+ <div class="col-sm-5">
80
+ <v-select :is-all-line="true" :value.sync="model.f_area" v-model="model.f_area" v-ref:area :options='allvillages'
81
+ placeholder='请选择' close-on-select></v-select>
82
+ </div>
83
+ </div>
84
+ <div class="form-group col-sm-12 form-input-group">
85
+ <label class=" col-sm-3 control-label">用户单位:</label>
86
+ <div class="col-sm-8">
87
+ <input class="form-control" type="text" v-model="model.f_company_name">
88
+ </div>
89
+ </div>
90
+ <div class="form-group col-sm-12 form-input-group">
91
+ <label class=" col-sm-3 control-label">勘探地址:</label>
92
+ <div class="col-sm-8">
93
+ <input class="form-control" type="text" v-model="model.f_address">
94
+ </div>
95
+ </div>
96
+ <div class="form-group col-sm-4 form-input-group" :class="[$v.f_install_num.required ? 'has-error':'']">
97
+ <label for="f_install_num" class=" col-sm-6 control-label">实际可安装用户:</label>
98
+ <div class="col-sm-6" id="f_install_num">
99
+ <input class="form-control" type="text" v-model="model.f_install_num"
100
+ v-validate:f_install_num='{required: true}'>
101
+ </div>
102
+ </div>
103
+ <div class="form-group col-sm-4 form-input-group" :class="[$v.f_payfee_num.required ? 'has-error':'']">
104
+ <label for="f_payfee_num" class=" col-sm-6 control-label">缴费户数:</label>
105
+ <div class="col-sm-6" id="f_payfee_num">
106
+ <input class="form-control" type="text" v-model="model.f_payfee_num"
107
+ v-validate:f_payfee_num='{required: true}'>
108
+ </div>
109
+ </div>
110
+ <div class="form-group col-sm-4 form-input-group" :class="[$v.gastype.required ? 'has-error select-error' : '' ]">
111
+ <label for="f_gas_type" class="col-sm-6 control-label">用气类型:</label>
112
+ <div class="col-sm-6" id="f_gas_type">
113
+ <input type="text" v-show="false" v-model="$refs.gastype.value[0]" v-validate:gastype='{required: true}'/>
114
+ <v-select :is-all-line="true" v-ref:gastype
115
+ v-model="model.f_gas_type"
116
+ placeholder="全部"
117
+ :value.sync="model.f_gas_type"
118
+ :options='fgastype'
119
+ close-on-select>
120
+ </v-select>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ <div class="col-sm-11">
125
+ <div class="form-group col-sm-4 form-input-group" :class="[$v.surveyname.required ? 'select-error has-error' : '']">
126
+ <label for="f_meter_brand" class="col-sm-6 control-label">勘查人员:</label>
127
+ <div class="col-sm-6" id="f_survey_name">
128
+ <input type="text" v-show="false" v-model="$refs.surveyname.value[0]"
129
+ v-validate:surveyname='{required: true}'>
130
+ <v-select :is-all-line="true" v-ref:surveyname
131
+ v-model="model.f_survey_name"
132
+ placeholder="全部"
133
+ :value.sync="model.f_survey_name"
134
+ :options='fsurveyname'
135
+ close-on-select>
136
+ </v-select>
137
+ <!--<select v-model="employeetemplate" class="form-control">-->
138
+ <!--<option v-if="employeetemplate" :value="employeetemplate" selected>{{employeetemplate}}</option>-->
139
+ <!--<option v-else selected value="">请选择</option>-->
140
+ <!--<option :value="coupon.value" v-for="coupon in employees">{{coupon.lable}}</option>-->
141
+ <!--</select>-->
142
+
143
+ </div>
144
+ </div>
145
+ <div class="form-group col-sm-4 form-input-group" :class="[$v.surveytime.required ? 'has-error' : '']">
146
+ <label for="f_survey_time" class="col-sm-6 control-label">勘查日期:</label>
147
+ <div class="col-sm-6" id="f_survey_time">
148
+ <input type="text" v-show="false" v-model="$refs.surveytime.value"
149
+ v-validate:surveytime='{required: true}'/>
150
+ <datepicker id="f_survey_time" width="200.72px;" v-ref:surveytime
151
+ :value.sync="model.f_survey_time"
152
+ :disabled-days-of-Week="[]"
153
+ :format="'yyyy-MM-dd'"
154
+ v-model="model.f_survey_time"
155
+ :show-reset-button="reset" readonly="readonly">
156
+ </datepicker>
157
+ </div>
158
+ </div>
159
+ <div class="form-group col-sm-4 form-input-group">
160
+ <div class="col-sm-3"></div>
161
+ <div class="col-sm-6">
162
+ <input type="checkbox" class="" id="checkbox" v-model="model.f_isdesign"
163
+ v-validate:f_isdesign='{required: true }'/>
164
+ <label for="checkbox" class="font-size">是否设计出图</label>
165
+ </div>
166
+ </div>
167
+ </div>
168
+ <div class="form-group col-sm-11 form-input-group">
169
+ <label class="col-sm-2" for="f_survey_remarks">勘查意见:</label>
170
+ <div class="col-sm-10" id="f_survey_remarks">
171
+ <textarea class="form-control" v-model="model.f_survey_remarks" rows="3"></textarea>
172
+ </div>
173
+ </div>
174
+ <div class="form-group col-sm-11">
175
+ <div class="form-group col-sm-6">
176
+ <label for="f_survey_departmen" class=" col-sm-4 control-label">部门:</label>
177
+ <div class="col-sm-6" id="f_survey_departmen">
178
+ <input class="form-control" type="text" v-model="model.f_survey_department" disabled>
179
+ </div>
180
+ </div>
181
+ <div class="form-group col-sm-6">
182
+ <label for="f_survey_operator" class="col-sm-6 control-label">执行人:</label>
183
+ <div class="col-sm-6" id="f_survey_operator">
184
+ <input class="form-control" type="text" v-model="model.f_survey_operator" disabled>
185
+ </div>
186
+ </div>
187
+ <!--<div class="form-group col-sm-3 form-input-group">-->
188
+ <!--<label class="control-label">派发给:</label>-->
189
+ <!--<div class="col-sm-5">-->
190
+
191
+ <!--</div>-->
192
+ <!--</div>-->
193
+ </div>
194
+ <div class="form-group col-sm-11">
195
+ <div class="form-group col-sm-6">
196
+ <label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
197
+ <div class="col-sm-6" id="f_filiale">
198
+ <input class="form-control" type="text" v-model="model.f_filiale" disabled>
199
+ </div>
200
+ </div>
201
+ <div class="form-group col-sm-6">
202
+ <label class=" col-sm-6 control-label">操作日期:</label>
203
+ <div class="col-sm-6" id="f_survey_date">
204
+ <input class="form-control" type="text" v-model="model.f_survey_date" disabled>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </form>
209
+ </validator>
210
+ <div class="from-group col-sm-11">
211
+ <center>
212
+ <!--<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;">-->
213
+ <!--保存-->
214
+ <!--</button>-->
215
+ <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;">
216
+ 提交
217
+ </button>
218
+ <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
219
+ 撤销
220
+ </button>
221
+ </center>
222
+ </div>
223
+ </div>
224
+ </template>
225
+ <script>
226
+ import {HttpResetClass} from 'vue-client'
227
+ import * as Util from '../../../../Util'
228
+ export default {
229
+ title: "基本信息",
230
+ props: {
231
+ selectdata: {
232
+ type: Object,
233
+ default: {}
234
+ }
235
+ },
236
+ data() {
237
+ return {
238
+ fusertype: this.$appdata.getParam('用户类型'),
239
+ fapplytype: this.$appdata.getParam('报装类型'),
240
+ fcredentials: this.$appdata.getParam('证件类型'),
241
+ fhousetype: this.$appdata.getParam('房屋类型'),
242
+ fcustomertype: this.$appdata.getParam('客户类型'),
243
+ fgastype: this.$appdata.getParam('用气类型'),
244
+ fsurveyname : this.$appdata.getParam('勘查人员'),
245
+ model: {
246
+ f_filiale: this.$login.f.f_filiale,
247
+ f_survey_date: Util.toStandardTimeString(),
248
+ f_survey_department: this.$login.f.f_parentname,
249
+ f_survey_operator: this.$login.f.name
250
+ }
251
+ }
252
+ },
253
+ ready() {
254
+ console.log("开始")
255
+ this.model = Object.assign({}, this.model, this.selectdata)
256
+ },
257
+ methods: {
258
+ // 父组件更新子组件属性
259
+ updateData(val) {
260
+ this.selectdata = val
261
+ },
262
+
263
+ confirm() {
264
+ this.getModel();
265
+ this.workflow();
266
+ },
267
+
268
+ workflow() {
269
+ console.log('11', this.uuid);
270
+ if (!this.model.f_apply_type) {
271
+ this.$showMessage("请选择报装类型")
272
+ } else if (!this.model.f_user_type) {
273
+ this.$showMessage("请选择用户类型")
274
+ }
275
+ else {
276
+ this.model.f_apply_type = this.model.f_apply_type
277
+ let fileInfoData = this.$parent.$parent.$parent.$parent.$refs.file.fileInfoData
278
+ let recordmessage = this.$parent.$parent.$parent.$parent.$refs.record.model.rows
279
+ let materialmessage = this.$parent.$parent.$parent.$parent.$refs.material.model.rows
280
+ for(var i=0;i<materialmessage.length;i++){
281
+ materialmessage[i].id = Number(materialmessage[i].id)
282
+ materialmessage[i].f_quantity = Number(materialmessage[i].f_quantity)
283
+ materialmessage[i].f_price = Number(materialmessage[i].f_price)
284
+ materialmessage[i].f_money = Number(materialmessage[i].f_money)
285
+ }
286
+ let buildingmessage = []
287
+ if(this.$parent.$parent.$parent.$parent.$refs.building){
288
+ buildingmessage = this.$parent.$parent.$parent.$parent.$refs.building.model.rows
289
+ }
290
+ let equipmentmessage = []
291
+ if (this.$parent.$parent.$parent.$parent.flagg) {
292
+ equipmentmessage = this.$parent.$parent.$parent.$parent.$refs.equipment.devicesinfo
293
+ if (equipmentmessage.length != 0 && equipmentmessage[0].id == null) {
294
+ equipmentmessage = []
295
+ }
296
+ for (var i = 0; i < equipmentmessage.length; i++) {
297
+ equipmentmessage[i].f_devices_type = equipmentmessage[i].f_devices_type[0] ? equipmentmessage[i].f_devices_type[0] : ''
298
+ }
299
+ }
300
+ let data = {
301
+ model: this.model,
302
+ fileinfodata: fileInfoData,
303
+ recordmessage: recordmessage,
304
+ materialmessage: materialmessage,
305
+ equipmentmessage: equipmentmessage,
306
+ buildingmessage: buildingmessage,
307
+ loginUser: {
308
+ id: this.$login.f.id,
309
+ name: this.$login.f.name,
310
+ ename: this.$login.f.ename
311
+ }
312
+ }
313
+ this.$resetpost(`rs/logic/saveapplynext`, {data: data})
314
+ .then((res) => {
315
+ this.reset()
316
+ })
317
+ }
318
+ },
319
+
320
+ reset() {
321
+ this.$dispatch('close')
322
+ this.$dispatch('selfsearch')
323
+ },
324
+
325
+ getModel() {
326
+ console.log("合并后" + JSON.stringify(this.model));
327
+ this.model.f_user_type = this.model.f_user_type[0] ? this.model.f_user_type[0] : ''
328
+ this.model.f_area = this.model.f_area[0] ? this.model.f_area[0] : ''
329
+ // this.model.f_house_type = this.model.f_house_type[0] ? this.model.f_house_type[0] : ''
330
+ this.model.f_credentials = this.model.f_credentials[0] ? this.model.f_credentials[0] : ''
331
+ this.model.f_apply_type = this.model.f_apply_type[0] ? this.model.f_apply_type[0] : ''
332
+ this.model.f_residential_area = this.model.f_residential_area[0] ? this.model.f_residential_area[0] : ''
333
+ this.model.f_customer_type = this.model.f_customer_type[0] ? this.model.f_customer_type[0] : ''
334
+ this.model.f_gas_type = typeof this.model.f_gas_type==='object'?this.model.f_gas_type[0]:this.model.f_gas_type?this.model.f_gas_type:''
335
+ this.model.f_survey_name = typeof this.model.f_survey_name==='object'?this.model.f_survey_name[0]:this.model.f_survey_name?this.model.f_survey_name:''
336
+ // this.model.f_sub_state = ''
337
+ },
338
+
339
+ },
340
+ watch: {
341
+ 'selectdata'() {
342
+ console.log("监听selectdata")
343
+ this.model = Object.assign({}, this.selectdata, this.model)
344
+ },
345
+ 'model.f_customer_type'() {
346
+ if (this.model.f_customer_type == '企业') {
347
+ this.$parent.$parent.$parent.$parent.flagg = true
348
+ } else {
349
+ this.$parent.$parent.$parent.$parent.flagg = false
350
+ }
351
+ }
352
+ },
353
+ computed: {
354
+ village() {
355
+ let temp = []
356
+ for (var i = 0; i < this.$login.f.f_allArea.length; i++) {
357
+ temp.push({label: this.$login.f.f_allArea[i].label, value: this.$login.f.f_allArea[i].label})
358
+ }
359
+ return temp
360
+ },
361
+ allvillages() {
362
+ let temp = []
363
+ for (var i = 0; i < this.$login.f.f_allArea.length; i++) {
364
+ if (this.model.f_residential_area[0] == this.$login.f.f_allArea[i].label)
365
+ return this.$login.f.f_allArea[i].value
366
+ }
367
+ }
368
+ }
369
+ }
370
+ </script>