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
@@ -1,407 +0,0 @@
1
- <template>
2
- <show-back-reason v-if="selectdata.f_back_reason && selectdata.f_back_reason!=''"
3
- :data="show_data"></show-back-reason>
4
- <!--<gas-stop v-if="selectdata.defname == '停气碰口'"></gas-stop>-->
5
- <material-message v-if="selectdata.defname=='材料导入'" v-ref:material
6
- :selectdata="selectdata"
7
- :state="2"
8
- :edit="true"></material-message>
9
- <material-message v-if="selectdata.defname=='材料审核'" v-ref:material
10
- :selectdata="selectdata"
11
- :state="1"
12
- :edit="true"></material-message>
13
- <receive-batch v-if="selectdata.defname == '派工单'" :selectdata="selectdata" v-ref:receivebatch></receive-batch>
14
- <project-settlement v-if="selectdata.defname == '工程结算'" :selectdata="selectdata"></project-settlement>
15
- <!-- <installfee :infee="selectdata" :showfee='true' v-if="selectdata.defname == '通气条件确认'"></installfee>-->
16
- <buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1"
17
- v-if="selectdata.defname == '收费'"></buyer-message>
18
- <installfee :infee="selectdata" v-if="selectdata.defname == '收费'"></installfee>
19
- <service-view v-ref:service_show :data="data" v-if="showview"></service-view>
20
- </template>
21
- <script>
22
- import {HttpResetClass} from 'vue-client'
23
- export default {
24
- title: '报建监控控制层',
25
- props: ['selectdata'],
26
- data() {
27
- return {
28
- data: null, // 展示的数据
29
- json_datas: null, // json配置数据结构
30
- showview: false // 控制显示层显示
31
- }
32
- },
33
- methods: {
34
- getmodel(){
35
- return this.$refs.service_show.getmodel()
36
- },
37
- // json配置数据处理 比如下拉框的options
38
- async initializtion() {
39
- // selectdata 填充 data
40
- if (this.selectdata.f_survey_name) {
41
- let buyerinfos = []
42
- var numReg = /^[0-9]+$/
43
- var numRe = new RegExp(numReg)
44
- if (numRe.test(this.selectdata.f_survey_name)) {
45
- let querydata = {
46
- tablename: 't_user',
47
- condition: `id = ${this.selectdata.f_survey_name}`
48
- }
49
- buyerinfos = await this.$resetpost('rs/sql/singleTable', {data: querydata}, {
50
- resolveMsg: null,
51
- rejectMsg: '获取人员失败'
52
- })
53
- this.selectdata.f_survey_name = {
54
- id:buyerinfos.data[0].id,
55
- name:buyerinfos.data[0].name
56
- }
57
- }
58
- }
59
-
60
- this.data = Object.assign({}, this.data, this.selectdata)
61
- for (let i = 0; i < this.data.fields.length; i++) {
62
-
63
- /**
64
- * 增加需求: 流程监控想要能下拉选择县区
65
- * updateTime:2020.07.23
66
- */
67
- if (this.data.fields[i].label == '县/区') {
68
- let area = await this.$resetpost('rs/sql/singleTable', {
69
- data: {
70
- // items: 'f_bill_url,f_url_code',
71
- tablename: 't_pcd',
72
- condition: `f_filialeids = '${this.$login.f.f_orgids}'`
73
- }
74
- }, {resolveMsg: null, rejectMsg: null})
75
- let rs = []
76
- for (let i = 0; i < area.data.length; i++) {
77
- let temp = {
78
- label: area.data[i].f_pcd,
79
- value: area.data[i].f_pcd
80
- }
81
- rs.push(temp)
82
- }
83
- this.data.fields[i].options = [{label: '全部', value: ''}, ...rs]
84
- }
85
-
86
-
87
- if (this.selectdata[this.data.fields[i].field]) {
88
- this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
89
- }
90
-
91
- if (typeof this.data.fields[i].value === 'string' && this.data.fields[i].value.startsWith("{") && this.data.fields[i].value.endsWith("}")) {
92
- this.data.fields[i].value = JSON.parse(this.data.fields[i].value)
93
- }
94
- this.data.fields[i].readonly = true
95
- this.data.fields[i].disabled = true
96
- if(this.$login.r.find(value => value == '报建流程修改') && this.data.f_apply_type=='个人报建' && this.$login.r.includes('报建流程修改')){
97
- this.data.fields[i].readonly = false
98
- this.data.fields[i].disabled = false
99
- }
100
- if(this.$login.r.find(value => value == '集体报建流程修改') && this.data.f_apply_type=='集体报建' && this.$login.r.includes('报建流程修改')){
101
- this.data.fields[i].readonly = false
102
- this.data.fields[i].disabled = false
103
- }
104
- if(this.data.fields[i].label=='合同总金额'){
105
- console.log("合同总金额修改");
106
- if(this.$login.r.includes('合同金额修改')){
107
- this.data.fields[i].readonly = false
108
- this.data.fields[i].disabled = false
109
- }
110
- }
111
- if(this.data.fields[i].label=='费用合计'){
112
- console.log("费用合计修改");
113
- if(this.$login.r.includes('合同金额修改')){
114
- this.data.fields[i].readonly = false
115
- this.data.fields[i].disabled = false
116
- }
117
- }
118
- }
119
- this.data.buttons = null
120
- if( this.$login.r.find(value => value == '报建流程修改') && this.data.f_apply_type=='个人报建' ){
121
- // 仅留保存按钮
122
- this.data.buttons = [
123
- {
124
- "button_name": "保存"
125
- }
126
- ]
127
- }
128
- if(this.data.f_apply_type=='集体报建' && this.$login.r.includes('集体报建流程修改')){
129
- // 仅留保存按钮
130
- this.data.buttons = [
131
- {
132
- "button_name": "保存"
133
- }
134
- ]
135
- }
136
-
137
- }
138
- },
139
- events:{
140
- 'getmodel'(){
141
- return this.$refs.service_show.getmodel()
142
- },
143
- // 获取view层button事件/
144
- async 'button'(model) {
145
- let http = new HttpResetClass()
146
- // 下发,提交,保存,退回通用业务后台处理logic
147
- let url = 'rs/logic/ApplyProductService'
148
- model.id = this.selectdata.appid
149
- let requestData = {
150
- tables: this.data.tables,
151
- model: model,
152
- isedit: true
153
- }
154
- requestData.loginUser = this.$login.f
155
- console.log('即将发送请求url=>' + url + ',参数=>' + JSON.stringify(requestData))
156
- let res = res = await http.load('POST', url, {data: requestData}, {resolveMsg: null, rejectMsg: '数据保存失败'})
157
- console.log("service处理完成返回数据:", JSON.stringify(res.data))
158
- if (res.data.code == 200) {
159
- this.$dispatch('close')
160
- } else {
161
- if (res.data.msg) {
162
- this.$showMessage(res.data.msg)
163
- }
164
- }
165
- },
166
- 'checkboxSelectControl'(index,index2){
167
- console.log("chufa事件control");
168
- console.log('this.$refs.service_show.data.fields[index]==>:'+JSON.stringify(this.$refs.service_show.data.fields[index]));
169
- if(this.$refs.service_show.data.fields[index].label=="提交资料"){
170
- for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
171
-
172
- if(this.$refs.service_show.data.fields[i].label=="用户提交资料"){
173
- //if(this.$refs.service_show.data.fields[index].value == ""){
174
- console.log("this.$refs.service_show.data.fields[index].items[index2].value==>"+JSON.stringify(this.$refs.service_show.data.fields[index].items[index2]))
175
- //增加和删除框中的内容
176
- if(this.$refs.service_show.data.fields[index].items[index2].value == false){
177
- this.$refs.service_show.data.fields[i].value+=this.$refs.service_show.data.fields[index].items[index2].label+" ";
178
- this.$refs.service_show.data.fields[index].items[index2].value=true;
179
- }else{
180
- let deleteValue = this.$refs.service_show.data.fields[index].items[index2].label;
181
- let values =this.$refs.service_show.data.fields[i].value;
182
- let result = values.split(" ").filter((item)=>{
183
- return item!=deleteValue;
184
- }).join(" ")
185
- console.log(result);
186
- this.$refs.service_show.data.fields[i].value =result;
187
- this.$refs.service_show.data.fields[index].items[index2].value=false;
188
- }
189
- //}
190
- }
191
- }
192
- }
193
- },
194
- async 'select_cascade'(index){
195
- console.log("sdsdsdsdsdsdsdsdsdsdsdsdsdsd")
196
- if (this.$refs.service_show.data.fields[index].label == '工程安装费'||
197
- this.$refs.service_show.data.fields[index].label == '材料费'||
198
- this.$refs.service_show.data.fields[index].label == '人工费') {
199
- debugger
200
- let gcmoney = 0;
201
- let clmoney=0;
202
- let rgmoney=0;
203
- for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
204
-
205
- if (this.$refs.service_show.data.fields[i].label == '工程安装费') {
206
- gcmoney =this.$refs.service_show.data.fields[i].value
207
- }
208
- if (this.$refs.service_show.data.fields[i].label == '材料费') {
209
- clmoney = this.$refs.service_show.data.fields[i].value
210
- }
211
- if (this.$refs.service_show.data.fields[i].label == '人工费') {
212
- rgmoney = this.$refs.service_show.data.fields[i].value
213
- }
214
- if (this.$refs.service_show.data.fields[i].label === '费用合计') {
215
- this.$refs.service_show.data.fields[i].value = parseInt(gcmoney)+parseInt(clmoney)+parseInt(rgmoney);
216
- }
217
- }
218
- this.$refs.service_show.update()
219
-
220
- }
221
-
222
- if (this.$refs.service_show.data.fields[index].label == '合同总金额'){
223
- for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
224
- if (this.$refs.service_show.data.fields[i].label === '未结总金额') {
225
- this.$refs.service_show.data.fields[i].value = parseInt(this.$refs.service_show.data.fields[index].value);
226
- }
227
- }
228
- }
229
-
230
- /**
231
- * 增加需求: 流程监控地址可以下拉选择
232
- * 2020.07.23
233
- */
234
- if (this.$refs.service_show.data.fields[index].label === '县/区') {
235
- let temp = this.$refs.service_show.data.fields[index].value
236
- console.log('==============================县/区:' + temp)
237
- for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
238
- // 控制设置级联
239
- // 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
240
- if (this.$refs.service_show.data.fields[i].label === '街道名称') {
241
- // this.$refs.service_show.data.fields[i].value = ''
242
- let street = await this.$resetpost('rs/sql/singleTable', {
243
- data: {
244
- tablename: 't_street',
245
- condition: `f_filialeids = '${this.$login.f.f_orgids}' and f_pcd='${temp}'`
246
- }
247
- }, {resolveMsg: null, rejectMsg: null})
248
- let streetrs = []
249
- for (let i = 0; i < street.data.length; i++) {
250
- let temp = {
251
- label: street.data[i].f_street,
252
- value: street.data[i].f_street
253
- }
254
- streetrs.push(temp)
255
- }
256
-
257
- this.$refs.service_show.data.fields[i].options = [{label: '全部', value: ''}, ...streetrs]
258
- //this.data.fields[i].options = [{label: '全部', value: ''}, ...streetrs]
259
- // console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~option:', this.data.fields[i].options)
260
-
261
- this.$refs.service_show.update()
262
- }
263
- }
264
- }
265
- /**
266
- * 增加需求: 流程监控地址可以下拉选择
267
- * 2020.07.23
268
- */
269
- if (this.$refs.service_show.data.fields[index].label === '街道名称') {
270
- let temp = this.$refs.service_show.data.fields[index].value
271
- console.log('=============================街道:' + temp)
272
- for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
273
- // 控制设置级联
274
- // 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
275
- if (this.$refs.service_show.data.fields[i].label === '小区名称') {
276
- // this.$refs.service_show.data.fields[i].value = ''
277
-
278
- let area = await this.$resetpost('rs/sql/singleTable', {
279
- data: {
280
- tablename: 't_area',
281
- condition: `f_filialeids = '${this.$login.f.f_orgids}' and f_street='${temp}'`
282
- }
283
- }, {resolveMsg: null, rejectMsg: null})
284
- let arears = []
285
- this.areaall=area.data;
286
- for (let i = 0; i < area.data.length; i++) {
287
- let temp = {
288
- label: area.data[i].f_residential_area,
289
- value: area.data[i].f_residential_area
290
- }
291
- arears.push(temp)
292
- }
293
- this.$refs.service_show.data.fields[i].options = [{label: '全部', value: ''}, ...arears]
294
- //this.data.fields[i].options = [{label: '全部', value: ''}, ...streetrs]
295
- console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~option:', this.$refs.service_show.data.fields[i].options)
296
-
297
- this.$refs.service_show.update()
298
-
299
- }
300
- }
301
- }
302
- /**
303
- * 增加需求: 流程监控地址可以下拉选择
304
- * 2020.07.23
305
- */
306
- if(this.$refs.service_show.data.fields[index].label === '小区名称'){
307
- for (let i = 0; i < this.areaall.length; i++) {
308
- console.log("aaaaaaaaaaaa")
309
- if(this.areaall[i].f_residential_area== this.$refs.service_show.data.fields[index].value){
310
- console.log("abbbbbbbbb")
311
- for (let j = 0; j < this.$refs.service_show.data.fields.length; j++) {
312
- if(this.$refs.service_show.data.fields[j].label === '小区地址'){
313
- console.log(this.areaall[i].f_area_address)
314
- this.$refs.service_show.data.fields[j].value=this.areaall[i].f_area_address
315
- }
316
- }
317
- }
318
- }
319
- }
320
- /**
321
- * 增加需求: 流程监控地址可以下拉选择,
322
- * 2020.07.23
323
- */
324
- // 合成地址
325
- if (
326
- this.$refs.service_show.data.fields[index].label === '县/区' ||
327
- this.$refs.service_show.data.fields[index].label === '街道名称' ||
328
- this.$refs.service_show.data.fields[index].label === '小区名称' ||
329
- this.$refs.service_show.data.fields[index].label === '楼号' ||
330
- this.$refs.service_show.data.fields[index].label === '单元号' ||
331
- this.$refs.service_show.data.fields[index].label === '楼层' ||
332
- this.$refs.service_show.data.fields[index].label === '门牌号'
333
- ) {
334
- console.log('即将合成地址')
335
- var address = ''
336
- let k=0;
337
- for (k = 0; k < this.$refs.service_show.data.fields.length; k++) {
338
- // 控制设置级联
339
- // 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
340
- // xxx xx xxx
341
- if (this.$refs.service_show.data.fields[k].label === '县/区' && this.$refs.service_show.data.fields[k].value) {
342
- address += this.$refs.service_show.data.fields[k].value
343
- }
344
- if (this.$refs.service_show.data.fields[k].label === '街道名称' && this.$refs.service_show.data.fields[k].value) {
345
- address += this.$refs.service_show.data.fields[k].value
346
- }
347
- if (this.$refs.service_show.data.fields[k].label === '小区名称' && this.$refs.service_show.data.fields[k].value) {
348
- address += this.$refs.service_show.data.fields[k].value
349
- }
350
- if (this.$refs.service_show.data.fields[k].label === '楼号' && this.$refs.service_show.data.fields[k].value) {
351
- address += this.$refs.service_show.data.fields[k].value + '栋'
352
- }
353
- if (this.$refs.service_show.data.fields[k].label === '单元号' && this.$refs.service_show.data.fields[k].value) {
354
- address += this.$refs.service_show.data.fields[k].value + '单元'
355
- }
356
- if (this.$refs.service_show.data.fields[k].label=== '楼层' && this.$refs.service_show.data.fields[k].value) {
357
- address += this.$refs.service_show.data.fields[k].value + '层'
358
- }
359
- if (this.$refs.service_show.data.fields[k].label === '门牌号' && this.$refs.service_show.data.fields[k].value) {
360
- address += this.$refs.service_show.data.fields[k].value + '室'
361
- }
362
-
363
- }
364
- console.log('获取到的address=>' + address)
365
- // 数据获取完毕时放入地址text
366
- for (k = 0; k < this.$refs.service_show.data.fields.length; k++) {
367
- if (this.$refs.service_show.data.fields[k].label === '地址') {
368
- this.$refs.service_show.data.fields[k].value = address
369
- console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[k].value)
370
- this.$refs.service_show.update()
371
- }
372
- }
373
- }
374
-
375
- },
376
-
377
- },
378
- watch: {
379
- 'selectdata'() {
380
- this.json_datas = this.$supervisory_vue
381
- let sum = 0
382
- let jsonData = {}
383
- for (let i = 0; i < this.json_datas.activitys.length; i++) {
384
- if (this.selectdata.defname == this.json_datas.activitys[i].title) {
385
- jsonData = this.json_datas.activitys[i]
386
- sum++
387
- }
388
- }
389
- if (sum == 1) {
390
- this.data = jsonData
391
- this.initializtion()
392
- // 完成时间和完成人,部门,分公司
393
- this.data.filiale = this.selectdata.f_filiale
394
- this.data.f_parentname = this.selectdata.f_parentname
395
- this.data.operate_date = this.selectdata.finishtime
396
- this.data.operator = this.selectdata.sender
397
- this.showview = true
398
- } else if (sum == 0) {
399
- this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
400
- } else {
401
- this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
402
- }
403
- },
404
- deep: true
405
- }
406
- }
407
- </script>
@@ -1,130 +0,0 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <supervisory-list v-ref:queryuser></supervisory-list>
5
- </div>
6
- <div v-show="showtotal" v-bind:style="{ height: botheight }">
7
- <div class="col-sm-2" v-show="showbasic">
8
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
9
- </div>
10
- <div class="col-sm-9">
11
- <tabset v-ref:tabs :close="false">
12
- <tab :header='header'>
13
- <supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
14
- </tab>
15
- <tab header='档案信息'>
16
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
17
- </tab>
18
- <tab header='附件'>
19
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>
20
- <!--
21
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
22
- :isupload = "true"
23
- :takeimg = "true"
24
- :edit = "false">
25
- </upload>-->
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </template>
32
- <script>
33
- import Vue from 'vue'
34
- import {HttpResetClass} from 'vue-client'
35
- export default {
36
- title: '流程监控',
37
- props: [ 'defname'],
38
- data() {
39
- return {
40
- flagl:false,
41
- flagg: false,
42
- showbasic: false,
43
- showtotal: false,
44
- header: null,
45
- selectdata: {},
46
- botheight: '0%',
47
- topheight: '100%',
48
- tittle1:'户档案管理',
49
- tittle2:'表档案管理',
50
- tittle3:'设备管理',
51
- info: '流程监控'
52
- }
53
- },
54
- created(){
55
- let http = new HttpResetClass()
56
- http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
57
- ).then((res)=>{
58
- if(res.data.code && res.data.code == 200){
59
- Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
60
- }else{
61
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
62
- return
63
- }
64
- })
65
- console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
66
- },
67
- events: {
68
- 'addactive'() {
69
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
70
- this.hidden()
71
- this.showbasic = true
72
- this.topheight = '20%'
73
- this.botheight = '80%'
74
- },
75
- 'changeheight'() {
76
- this.show = false
77
- this.botheight = '0%'
78
- },
79
- 'check'(val) {
80
- this.selectdata = ''
81
- this.selectdata = val
82
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
83
- this.topheight = '20%'
84
- this.botheight = '80%'
85
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
86
- this.$refs.queryuser.$refs.cp.pager = false
87
- this.showbasic = true
88
- let msg = val.defname
89
- this.header = msg
90
- this.hidden()
91
- },
92
- 'selfsearch'() {
93
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
94
- },
95
- 'close'() {
96
- this.hidden()
97
- this.showtotal = false
98
- this.topheight = '100%'
99
- this.botheight = '0%'
100
- this.$refs.queryuser.$refs.cp.pager = true
101
- }
102
- },
103
- methods: {
104
- hidden() {
105
- this.showtotal = true
106
- },
107
- close() {
108
- this.hidden()
109
- this.topheight = '100%'
110
- this.botheight = '0%'
111
- }
112
- },
113
- watch: {
114
- 'selectdata'(val) {
115
- console.log('selectdata:', val)
116
- },
117
- 'selectdata.f_customer_type'() {
118
- if (this.selectdata.f_customer_type == '企业') {
119
- this.flagg = true
120
- }
121
- },
122
- 'selectdata.f_apply_type'() {
123
- if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
124
- this.flagl = true
125
- }
126
- }
127
- },
128
-
129
- }
130
- </script>