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,315 @@
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
+ <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
+ </div>
7
+ <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#ffffff' ,padding:'12px'}">
8
+ <div class="col-sm-9">
9
+ <tabset v-ref:tabs :close="false">
10
+ <tab :header='header'>
11
+ <route v-ref:route></route>
12
+ <route :comp="{name: 'customer-essential-info'}" v-if = "r1"></route>
13
+ </tab>
14
+ <tab header='户档案管理'>
15
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle1"
16
+ :edit = "true">
17
+ </customer-record-message>
18
+ </tab>
19
+ <tab header='表档案管理'>
20
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle2"
21
+ :edit = "true">
22
+ </customer-record-message>
23
+ </tab>
24
+ <tab header='材料信息'>
25
+ <customer-material-message v-ref:material :selectdata="selectdata"
26
+ :edit = "true">
27
+ </customer-material-message>
28
+ </tab>
29
+ <tab header='附件'>
30
+ <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>
31
+ <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
32
+ </tab>
33
+ <tab header='设备新增' v-if="flagg">
34
+ <customer-equipment-message v-ref:equipment :selectdata="selectdata"
35
+ :edit = "true">
36
+ </customer-equipment-message>
37
+ </tab>
38
+ <!-- <tab header='设备管理' v-if="flagg">
39
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
40
+ </tab>-->
41
+ </tabset>
42
+ </div>
43
+ <div class="col-sm-3" v-show="showbasic" v-if="!this.$login.f.f_fengongsi.includes('西昌')">
44
+ <basicinfo v-ref:binfo :basic="selectdata"></basicinfo>
45
+ <placeprocessinfo v-ref:pinfo :palceinfo="selectdata"></placeprocessinfo >
46
+ <zr_placeprocessinfo v-ref:pinfo :palceinfo="selectdata"></zr_placeprocessinfo>
47
+ <zr_testdesigninfo v-ref:desinfo :palceinfo="selectdata"></zr_testdesigninfo>
48
+ <projeterprocessinfo v-ref:jinfo :projeterinfo="selectdata"></projeterprocessinfo>
49
+ <feenormeinfo v-ref:finfo :feen="selectdata"></feenormeinfo>
50
+ <contratprocessinfo v-ref:cinfo :contrat="selectdata"></contratprocessinfo>
51
+ <feeverifierinfo v-ref:fvinfo :feev="selectdata"></feeverifierinfo>
52
+ <meterprocessinfo v-ref:minfo :meter="selectdata"></meterprocessinfo>
53
+ <dispatchinginfo v-ref:dinfo :dispatch="selectdata"></dispatchinginfo>
54
+ <buildinfo v-ref:buinfo :build="selectdata"></buildinfo>
55
+ <receivinginfo v-ref:ninfo :note="selectdata"></receivinginfo>
56
+ <ignitioninfo v-ref:iinfo :ignition="selectdata"></ignitioninfo>
57
+ </div>
58
+ <div class="col-sm-3" v-show="showbasic" v-if="$login.f.f_fengongsi.includes('西昌')">
59
+ <zr_basicinfo v-ref:binfo :basic="selectdata"></zr_basicinfo>
60
+ <zr_placeprocessinfo v-ref:pinfo :palceinfo="selectdata"></zr_placeprocessinfo>
61
+ <zr_testdesigninfo v-ref:desinfo :palceinfo="selectdata"></zr_testdesigninfo>
62
+ <zr_feenormeinfo v-ref:finfo :feen="selectdata"></zr_feenormeinfo>
63
+ <zr_contratprocessinfo v-ref:cinfo :contrat="selectdata"></zr_contratprocessinfo>
64
+ <zr_materialplan_info v-ref:minfo :materialplan="selectdata"></zr_materialplan_info>
65
+ <zr_buildinfo v-ref:buinfo :build="selectdata"></zr_buildinfo>
66
+ <zr_dispatchinginfo v-ref:dinfo :dispatch="selectdata"></zr_dispatchinginfo>
67
+ <zr_receivinginfo v-ref:rinfo :note="selectdata"></zr_receivinginfo>
68
+ <zr_ignition_transfer_info v-ref:igntrinfo :transfer="selectdata"></zr_ignition_transfer_info>
69
+ <zr_ignitioninfo v-ref:iginfo :ignition="selectdata"></zr_ignitioninfo>
70
+
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </template>
75
+ <script>
76
+ export default {
77
+ title: '报建流程',
78
+ data() {
79
+ return {
80
+ flagg: false,
81
+ show: true,
82
+ showbasic: false,
83
+ showtotal: false,
84
+ header: null,
85
+ selectdata: {},
86
+ botheight: '0%',
87
+ topheight: '100%',
88
+ tittle1:'户档案管理',
89
+ tittle2:'表档案管理',
90
+ tittle3:'设备管理'
91
+ }
92
+ },
93
+ events: {
94
+ 'addactive'() {
95
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
96
+ this.hidden()
97
+ this.showbasic = true
98
+ this.topheight = '8%'
99
+ this.botheight = '82%'
100
+ },
101
+ 'changeheight'() {
102
+ this.show = true
103
+ this.botheight = '0%'
104
+ if(this.$login.f.f_fengongsi.includes('西昌')){
105
+ if (this.$refs.binfo) {
106
+ this.$refs.binfo.flush()
107
+ this.$refs.pinfo.flush()
108
+ /* this.$refs.desinfo.flush()*/
109
+ this.$refs.finfo.flush()
110
+ this.$refs.cinfo.flush()
111
+ this.$refs.minfo.flush()
112
+ this.$refs.buinfo.flush()
113
+ this.$refs.dinfo.flush()
114
+ this.$refs.rinfo.flush()
115
+ this.$refs.rinfo.flush()
116
+ this.$refs.igntrinfo.flush()
117
+ this.$refs.iginfo.flush()
118
+ }
119
+ }else{
120
+ if (this.$refs.binfo) {
121
+ this.$refs.pinfo.flush()
122
+ this.$refs.jinfo.flush()
123
+ this.$refs.desinfo.flush()
124
+ this.$refs.binfo.flush()
125
+ this.$refs.finfo.flush()
126
+ this.$refs.cinfo.flush()
127
+ this.$refs.fvinfo.flush()
128
+ this.$refs.minfo.flush()
129
+ this.$refs.dinfo.flush()
130
+ this.$refs.buinfo.flush()
131
+ this.$refs.ninfo.flush()
132
+ this.$refs.iinfo.flush()
133
+ }
134
+ }
135
+ },
136
+ 'check'(val) {
137
+ this.selectdata = ''
138
+ this.selectdata = val
139
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
140
+ this.topheight = '8%'
141
+ this.botheight = '82%'
142
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
143
+ this.$refs.queryuser.$refs.cp.pager = false
144
+ this.showbasic = true
145
+ let msg = val.defname
146
+ this.header = msg
147
+ this.hidden()
148
+ // 青白江博能燃气
149
+ if(this.$login.f.f_fengongsi.includes("博能")){
150
+ if(msg === '勘察登记'||msg === '方案材料预算'||msg === '方案材料预算审核'||msg === '方案材料预算经理审核'){
151
+ this.$refs.route.init('qbj_placecontroler', {selectdata: this.selectdata})
152
+ }
153
+ if (msg === '设计出图') {
154
+ this.$refs.route.init('projeterfigure', {selectdata: this.selectdata})
155
+ }
156
+ if (msg === '收费标准') {
157
+ this.$refs.route.init('feenorme', {selectdata: this.selectdata})
158
+ }
159
+ if (msg === '合同签订'
160
+ ||msg === '合同审核'
161
+ ||msg === '合同签订'
162
+ ||msg === '录入材料'
163
+ ||msg === '材料审核'
164
+ ||msg === '材料申购'
165
+ ) {
166
+ this.$refs.route.init('contratsigne', {selectdata: this.selectdata})
167
+ }
168
+ if (msg === '项目报价') {
169
+ this.$refs.route.init('feenormeandcontratsigne', {selectdata: this.selectdata})
170
+ }
171
+ if (msg === '收费审核') {
172
+ this.$refs.route.init('feeverifier', {selectdata: this.selectdata})
173
+ }
174
+ if (msg === '定表型'||msg === '现场勘察并项目初设'||msg === '方案审核') {
175
+ this.$refs.route.init('metertype', {selectdata: this.selectdata})
176
+ }
177
+ if (msg === '派工单'||msg === '工程派工并启动内验') {
178
+ this.$refs.route.init('dispatchingjob', {selectdata: this.selectdata})
179
+ }
180
+ if (msg === '施工') {
181
+ this.$refs.route.init('buildjob', {selectdata: this.selectdata})
182
+ }
183
+ if (msg === '竣工验收单'||msg ==='内部验收') {
184
+ this.$refs.route.init('receivingnote', {selectdata: this.selectdata})
185
+ }
186
+ if (msg === '通气点火'||msg === '停气碰口并外验通气'||msg === '工程结算'||msg === '资料归档') {
187
+ this.$refs.route.init('ignitionventilation', {selectdata: this.selectdata})
188
+ }
189
+ }else if(this.$login.f.f_fengongsi.includes("西昌")){
190
+ console.log('西昌')
191
+ if(msg === '测绘申请'){
192
+ console.log('测绘申请')
193
+ this.$refs.route.init('zr_placecontroler', {selectdata: this.selectdata,edit : true})//zr_placecontroler zr_receivingnote
194
+ }
195
+ if(msg === '测绘设计'){
196
+ console.log('测绘设计')
197
+ this.$refs.route.init('zr_testdesign', {selectdata: this.selectdata,edit : true})//zr_placecontroler zr_receivingnote
198
+ }
199
+ if (msg === '报建登记') {
200
+ console.log(this.selectdata)
201
+ this.$refs.route.init('zr_customeressentialinfo', {selectdata: this.selectdata,edit : true})
202
+ console.log(this.$refs.record)
203
+ }
204
+ if (msg === '收费标准制定') {
205
+ this.$refs.route.init('zr_feenorme', {selectdata: this.selectdata,edit : true})
206
+ }
207
+ if (msg === '合同签订') {
208
+ this.$refs.route.init('zr_contratsigne', {selectdata: this.selectdata,edit : true})
209
+ }
210
+ if (msg === '材料计划') {
211
+ this.$refs.route.init('zr_materialplan', {selectdata: this.selectdata,edit : true})
212
+ }
213
+ if (msg === '材料审核') {
214
+ this.$refs.route.init('zr_materialplanexamine', {selectdata: this.selectdata,edit : true})
215
+ }
216
+ if (msg === '施工报建') {
217
+ this.$refs.route.init('zr_construction', {selectdata: this.selectdata,edit : true})
218
+ }
219
+ if (msg === '工程施工任务书') {
220
+ this.$refs.route.init('zr_dispatchingjob', {selectdata: this.selectdata,edit : true})
221
+ }
222
+ if (msg === '竣工验收') {
223
+ this.$refs.route.init('zr_receivingnote', {selectdata: this.selectdata,edit : true})
224
+ }
225
+ if (msg === '资料移交') {
226
+ this.$refs.route.init('zr_ignitionventilation_transfer', {selectdata: this.selectdata,edit : true})
227
+ }
228
+ if (msg === '通气点火') {
229
+ this.$refs.route.init('zr_ignitionventilation', {selectdata: this.selectdata,edit : true})
230
+ }
231
+ } else {
232
+ if(msg === '勘探登记'){
233
+ this.$refs.route.init('qbj_placecontroler', {selectdata: this.selectdata})
234
+ }
235
+ if (msg === '报建登记') {
236
+ console.log(this.selectdata)
237
+ this.$refs.route.init('customer-essential-info', {selectdata: this.selectdata})
238
+ console.log(this.$refs.record)
239
+ }
240
+ if (msg === '现场勘探') {
241
+ this.$refs.route.init('placecontroler', {selectdata: this.selectdata})
242
+ }
243
+ if (msg === '设计出图') {
244
+ this.$refs.route.init('projeterfigure', {selectdata: this.selectdata})
245
+ }
246
+ if (msg === '收费标准') {
247
+ this.$refs.route.init('feenorme', {selectdata: this.selectdata})
248
+ }
249
+ if (msg === '合同签订'
250
+ ||msg === '合同审核'
251
+ ||msg === '合同签订'
252
+ ||msg === '录入材料'
253
+ ||msg === '材料审核'
254
+ ||msg === '材料申购'
255
+ ) {
256
+ this.$refs.route.init('contratsigne', {selectdata: this.selectdata})
257
+ }
258
+ if (msg === '项目报价并录入合同价格') {
259
+ this.$refs.route.init('feenormeandcontratsigne', {selectdata: this.selectdata})
260
+ }
261
+ if (msg === '收费审核') {
262
+ this.$refs.route.init('feeverifier', {selectdata: this.selectdata})
263
+ }
264
+ if (msg === '定表型'||msg === '现场勘察并项目初设'||msg === '方案审核') {
265
+ this.$refs.route.init('metertype', {selectdata: this.selectdata})
266
+ }
267
+ if (msg === '派工单'||msg === '工程派工并启动内验') {
268
+ this.$refs.route.init('dispatchingjob', {selectdata: this.selectdata})
269
+ }
270
+ if (msg === '施工') {
271
+ this.$refs.route.init('buildjob', {selectdata: this.selectdata})
272
+ }
273
+ if (msg === '竣工验收单'||msg ==='内部验收') {
274
+ this.$refs.route.init('receivingnote', {selectdata: this.selectdata})
275
+ }
276
+ if (msg === '通气点火'||msg === '停气碰口并外验通气'||msg === '工程结算'||msg === '资料归档') {
277
+ this.$refs.route.init('ignitionventilation', {selectdata: this.selectdata})
278
+ }
279
+ }
280
+ },
281
+ 'selfsearch'() {
282
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
283
+ },
284
+ 'close'() {
285
+ // this.selectdata = ''
286
+ this.hidden()
287
+ this.showtotal = false
288
+ this.topheight = '100%'
289
+ this.botheight = '0%'
290
+ this.$refs.queryuser.$refs.cp.pager = true
291
+ }
292
+ },
293
+ methods: {
294
+ hidden() {
295
+ this.showtotal = true
296
+ },
297
+ close() {
298
+ this.hidden()
299
+ this.topheight = '100%'
300
+ this.botheight = '0%'
301
+ }
302
+ },
303
+ watch: {
304
+ 'selectdata'(val) {
305
+ console.log('selectdata:', val)
306
+ },
307
+ 'selectdata.f_customer_type'() {
308
+ if (this.selectdata.f_customer_type == '企业') {
309
+ this.flagg = true
310
+ }
311
+ }
312
+ },
313
+
314
+ }
315
+ </script>
@@ -0,0 +1,257 @@
1
+ <template>
2
+ <div class="col-sm-12" style="height: auto">
3
+ <div class="auto select-overspread">
4
+ <div class="panel panel-info">
5
+ <div class="panel-heading auto">
6
+ <h3 class="panel-title">补充协议</h3>
7
+ </div>
8
+ </div>
9
+ </div>
10
+ <div class="col-sm-12" style="height: auto">
11
+ <span class="col-sm-1"></span>
12
+ <span class="col-sm-3">总个数:{{contract_datas.length}}</span>
13
+ <span class="col-sm-2"></span>
14
+ <span class="col-sm-3" v-if="!$login.f.f_fengongsi.includes('彩虹')">总金额:{{sum}}元</span>
15
+ <button class="col-sm-offset-2 btn btn-warning" type="button" @click="add()">补充协议</button>
16
+ </div>
17
+ <div class="col-sm-12" style="height: auto;border:1px solid #000;padding-top: 10px;" v-for="row in contract_datas">
18
+ <div class="col-sm-12">
19
+ <div class="form-group col-sm-3 form-input-group">
20
+ <label class="control-label">合同编号:</label>
21
+ <div class="col-sm-6">
22
+ <input class="form-control" type="text" v-model="row.f_contract_number" readonly>
23
+ </div>
24
+ </div>
25
+ <div class="form-group col-sm-3 form-input-group">
26
+ <label class="control-label">类型(合同/协议):</label>
27
+ <div class="col-sm-6">
28
+ <input class="form-control" type="text" v-model="row.f_contract_type" readonly>
29
+ </div>
30
+ </div>
31
+ <div class="form-group col-sm-3 form-input-group">
32
+ <label class="control-label">签订日期:</label>
33
+ <div class="col-sm-6">
34
+ <input class="form-control" type="text" v-model="row.f_contract_time" readonly>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="col-sm-12">
39
+ <div class="form-group col-sm-3 form-input-group">
40
+ <label class="control-label">合同金额(元):</label>
41
+ <div class="col-sm-6">
42
+ <input class="form-control" type="text" v-model="row.f_contract_money" readonly>
43
+ </div>
44
+ </div>
45
+ <div class="form-group col-sm-3 form-input-group">
46
+ <label class="control-label">金额大写:</label>
47
+ <div class="col-sm-6">
48
+ <input class="form-control" type="text" v-model="row.f_capital" readonly>
49
+ </div>
50
+ </div>
51
+ <div class="form-group col-sm-3 form-input-group">
52
+ <label class="control-label">合同性质:</label>
53
+ <div class="col-sm-6">
54
+ <input class="form-control" type="text" v-model="row.f_contract_nature" readonly>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ <div class="form-group col-sm-12 form-input-group">
59
+ <label class="control-label">缴费类型:</label>
60
+ <div class="col-sm-5">
61
+ <textarea class="form-control" v-model="row.f_pay_type" rows="3" readonly></textarea>
62
+ </div>
63
+ </div>
64
+ <div class="form-group col-sm-12 form-input-group">
65
+ <label class="control-label">备注:</label>
66
+ <div class="col-sm-5">
67
+ <textarea class="form-control" v-model="row.t_remarks" rows="2" readonly></textarea>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ <modal :show.sync="show" v-ref:modal backdrop="false">
72
+ <header slot="modal-header" class="modal-header">
73
+ <button type="button" class="close" @click="close"><span>&times;</span></button>
74
+ <h4 class="modal-title">新增合同</h4>
75
+ </header>
76
+ <article slot="modal-body" class="modal-body">
77
+ <div class="from-group">
78
+ <label>合同编号</label>
79
+ <input type="text" class="form-control" v-model="addcontract.f_contract_number" readonly>
80
+ </div>
81
+ <div class="from-group">
82
+ <label>签订日期</label>
83
+ <div>
84
+ <datepicker width="600.76px;"
85
+ :value.sync="addItem.f_contract_time"
86
+ :format="'yyyy-MM-dd'"
87
+ v-model="addItem.f_contract_time" readonly="readonly"
88
+ :show-reset-button="reset">
89
+ </datepicker>
90
+ </div>
91
+ </div>
92
+ <div class="from-group">
93
+ <label>合同金额(元)</label>
94
+ <input type="text" class="form-control" v-model="addItem.f_contract_money">
95
+ </div>
96
+ <div class="form-group">
97
+ <label class="control-label">金额大写:</label>
98
+ <input class="form-control" type="text" v-model="getCapital" readonly>
99
+ </div>
100
+
101
+ <div class="from-group">
102
+ <label>缴费类型</label>
103
+ <v-select :options="jiaofei"
104
+ v-model="addItem.f_pay_type" :value.sync="addItem.f_pay_type" close-on-select>
105
+ </v-select>
106
+ </div>
107
+ <div class="from-group">
108
+ <label>备注</label>
109
+ <textarea class="form-control" v-model="addItem.t_remarks" rows="3"></textarea>
110
+ </div>
111
+ </article>
112
+ <footer slot="modal-footer" class="modal-footer">
113
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
114
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
115
+ </footer>
116
+ </modal>
117
+ </div>
118
+ </template>
119
+
120
+ <script>
121
+ import {HttpResetClass} from 'vue-client'
122
+
123
+ export default {
124
+
125
+ title: "追加合同",
126
+ props: ['addcontract'],
127
+ data() {
128
+ return {
129
+ contract_datas: [], // 合同信息数组
130
+ show: false, // 新增合同模态框控制
131
+ addItem: null, // 模态框零时对象
132
+ }
133
+ },
134
+ ready() {
135
+ // this.contract_datas = {
136
+ // f_contract_number: 1,
137
+ // f_contract_time: 2,
138
+ // f_contract_money: 9,
139
+ // f_pay_type: 3,
140
+ // t_remarks: 5
141
+ // }, //测试数据
142
+ // {f_contract_number: 1, f_contract_money: 9, f_contract_time: 2, f_pay_type: 3, t_remarks: 5}
143
+ this.load();
144
+ },
145
+ methods: {
146
+ // 小写转换大写
147
+ smalltoBIG(n) {
148
+ let fraction = ['角', '分'];
149
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
150
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
151
+ let head = n < 0 ? '欠' : '';
152
+ n = Math.abs(n);
153
+
154
+ let s = '';
155
+
156
+ for (var i = 0; i < fraction.length; i++) {
157
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
158
+ }
159
+ s = s || '整';
160
+ n = Math.floor(n);
161
+
162
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
163
+ let p = '';
164
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
165
+ p = digit[n % 10] + unit[1][j] + p;
166
+ n = Math.floor(n / 10);
167
+ }
168
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
169
+ }
170
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
171
+ },
172
+ // 获取数据库数据
173
+ async load() {
174
+ let http = new HttpResetClass();
175
+ let data = {
176
+ tablename: 't_contract',
177
+ condition: `processid = '${this.addcontract.f_process_id}'`
178
+ }
179
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取合同表失败'})
180
+ this.contract_datas = []
181
+ res.data.forEach((item,index)=>{
182
+ if(item.f_contract_nature.includes("\"")){
183
+ item.f_contract_nature = item.f_contract_nature.split("\"")[1]
184
+ }
185
+ if(item.f_pay_type.includes("\"")){
186
+ item.f_pay_type = item.f_pay_type.split("\"")[1]
187
+ }
188
+ })
189
+ this.contract_datas = res.data
190
+ },
191
+ // 新增按钮触发事件
192
+ add() {
193
+ if(!this.contract_datas){
194
+ this.show = true
195
+ }else{
196
+ this.$showMessage("请先在主流程中签订合同")
197
+ }
198
+
199
+ },
200
+ // 模态框确定按钮触发
201
+ async confirm() {
202
+ if(this.addItem.f_contract_money){
203
+ let http = new HttpResetClass();
204
+ this.addItem.f_contract_nature = this.addcontract.f_contract_nature
205
+ this.addItem.f_contract_number = this.addcontract.f_contract_number
206
+ this.addItem.processid = this.addcontract.f_process_id
207
+ this.addItem.f_contract_type = '补充协议'
208
+ this.addItem.applyid = this.addcontract.f_apply_num
209
+ this.addItem.f_operator = this.$login.f.name
210
+ this.addItem.f_department = this.$login.f.f_parentname
211
+ this.addItem.f_filiale = this.$login.f.f_fengongsi
212
+ this.contract_datas.push(this.addItem)
213
+ await http.load('POST', 'rs/logic/saveentity', {data:{tablename:'t_contract',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: "添加失败"})
214
+ .then((res) => {
215
+ this.close()
216
+ })
217
+ }{
218
+ this.$showMessage("请输入金额")
219
+ }
220
+
221
+
222
+ },
223
+ // 模态框关闭按钮触发
224
+ close() {
225
+ this.show = false
226
+ this.addItem = null
227
+ }
228
+
229
+ },
230
+ computed: {
231
+ // 计算大写
232
+ getCapital() {
233
+ if (this.addItem.f_contract_money) {
234
+ this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_contract_money))
235
+ }
236
+ return this.addItem.f_capital
237
+ },
238
+ // 总金额计算
239
+ sum() {
240
+ let num = 0;
241
+ for (var i = 0; i < this.contract_datas.length; i++) {
242
+ num += Number(this.contract_datas[i].f_contract_money)
243
+ }
244
+ return num
245
+ },
246
+ jiaofei() {
247
+ return this.$appdata.getParam('缴费类型')
248
+ // return [{label: '全部', value: ''}, ...AppData.getParam('缴费类型')]
249
+ }
250
+ }
251
+ }
252
+ </script>
253
+ <style scoped>
254
+ textarea {
255
+ width: 74.5%;
256
+ }
257
+ </style>