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,131 +0,0 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
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' : '#f6f6f6' ,padding:'12px'}">
8
- <div class="col-sm-10">
9
- <tabset v-ref:tabs :close="false">
10
- <tab :header='header' style="background-color :#f6f6f6">
11
- <service-control v-ref:service :selectdata="selectdata" ></service-control>
12
- </tab>
13
- <tab header='档案信息管理' style="background-color :#f6f6f6">
14
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1"
15
- :edit = "true">
16
- </record-message>
17
- </tab>
18
- <!-- <tab header='表档案管理'>-->
19
- <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle2"-->
20
- <!-- :edit = "true">-->
21
- <!-- </record-message>-->
22
- <!-- </tab>-->
23
- <!--<tab header='材料信息' style="background-color :#f6f6f6">-->
24
- <!--<material-message v-ref:material :selectdata="selectdata"-->
25
- <!--:edit = "true">-->
26
- <!--</material-message>-->
27
- <!--</tab>-->
28
- <tab header='附件' style="background-color :#f6f6f6">
29
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>
30
- <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
31
- </tab>
32
- <!--<tab header='设备新增' v-if="flagg">-->
33
- <!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
34
- <!--:edit = "true">-->
35
- <!--</equipment-message>-->
36
- <!--</tab>-->
37
- <!-- <tab header='设备管理' v-if="flagg">
38
- <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
39
- </tab>-->
40
- </tabset>
41
- </div>
42
- <div class="col-sm-2" v-show="showbasic" >
43
- <history_control v-ref:binfo :selectdata="selectdata"></history_control>
44
- </div>
45
- </div>
46
- </div>
47
- </template>
48
- <script>
49
- import Vue from 'vue'
50
- import {HttpResetClass} from 'vue-client'
51
- export default {
52
- title: '报建流程',
53
- data() {
54
- return {
55
- flagg: false,
56
- show: true,
57
- showbasic: false,
58
- showtotal: false,
59
- header: null,
60
- selectdata: {},
61
- botheight: '0%',
62
- topheight: '100%',
63
- tittle1:'户档案管理',
64
- tittle2:'表档案管理',
65
- tittle3:'设备管理'
66
- }
67
- },
68
-
69
- events: {
70
- 'addactive'() {
71
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
72
- this.hidden()
73
- this.showbasic = true
74
- this.topheight = '8%'
75
- this.botheight = '82%'
76
- },
77
- 'changeheight'() {
78
- this.show = true
79
- this.botheight = '0%'
80
- },
81
- 'check'(val) {
82
- this.selectdata = null
83
- this.selectdata = val
84
- console.log(val)
85
- //如果点击后未结余金额不为0,不允许下发f_unaccounts_money
86
-
87
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
88
- this.topheight = '8%'
89
- this.botheight = '82%'
90
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
91
- this.$refs.queryuser.$refs.cp.pager = false
92
- this.showbasic = true
93
- this.header = val.defname
94
- this.hidden()
95
- this.$refs.service.refurbish(val)
96
- },
97
- 'selfsearch'() {
98
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
99
- },
100
- 'close'() {
101
- this.showtotal = false
102
- this.topheight = '100%'
103
- this.botheight = '0%'
104
- this.$refs.queryuser.$refs.cp.pager = true
105
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
106
- }
107
- },
108
- methods: {
109
- hidden() {
110
- this.showtotal = true
111
- },
112
- close() {
113
- this.hidden()
114
- this.topheight = '100%'
115
- this.botheight = '0%'
116
- }
117
- },
118
- async ready(){
119
- },
120
- watch: {
121
- 'selectdata'(val) {
122
- console.log('selectdata:', val)
123
- },
124
- 'selectdata.f_customer_type'() {
125
- if (this.selectdata.f_customer_type == '企业') {
126
- this.flagg = true
127
- }
128
- }
129
- }
130
- }
131
- </script>
@@ -1,159 +0,0 @@
1
- <template>
2
- <div id='app'class="flex bg-white p-10 datapanel" >
3
- <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='search'>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="form-group">
7
- <div class="form-group">
8
- <label class="control-label">分公司:</label>
9
- <!--<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" ></right-tree>
10
- --> <v-select :value.sync="model.f_filiale" v-model="model.f_filiale"
11
- :options='$parent.$parent.filiale' placeholder='请选择'
12
- close-on-select>
13
- </v-select>
14
- </div>
15
- <div class="form-group">
16
- <label class="control-label">报建编号:</label>
17
- <!--<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" ></right-tree>
18
- --> <v-select :value.sync="model.f_apply_num" v-model="model.f_apply_num"
19
- :options='$parent.$parent.appnum' placeholder='请选择'
20
- close-on-select search="">
21
- </v-select>
22
- </div>
23
- <div class="form-group">
24
- <label for="startDate" class="control-label">开始日期:</label>
25
- <datepicker id="startDate" placeholder="开始日期"
26
- v-model="model.startDate"
27
- :value.sync="model.startDate"
28
- :disabled-days-of-Week="[]"
29
- :format="'yyyy-MM-dd'"
30
- :show-reset-button="reset">
31
- </datepicker></div>
32
- <div class="form-group" class="control-label">
33
- <label for="endDate">结束日期:</label>
34
- <datepicker id="endDate" placeholder="结束日期"
35
- v-model="model.endDate"
36
- :value.sync="model.endDate"
37
- :disabled-days-of-Week="[]"
38
- :format="'yyyy-MM-dd'"
39
- :show-reset-button="reset">
40
- </datepicker></div>
41
- <div class="form-group">
42
- <button class="button_search button_spacing" @click="search()">查询</button>
43
- <report-print class="button_new button_spacing" id='shexian' top='1cm' left='1cm' width='100%' height='100%'></report-print>
44
- <report-excel class="button_export button_spacing" id='shexian'></report-excel></div>
45
- </div>
46
- </div>
47
- </criteria>
48
- <div partial='list' id='shexian'>
49
- <table class='tableprint' style="margin: 0px auto">
50
- <thead>
51
- <tr>
52
- <th colspan='5' style="font-weight: normal; text-align: left;">
53
- <h3 style="text-align: center">报建实用材料报表</h3>
54
- </th>
55
- </tr>
56
- <tr>
57
- <th colspan='5' style="font-weight: normal; text-align: center;">
58
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
59
- 结束时间:{{ model.model.endDate }}
60
- 报建编号:{{ model.applynum }}
61
- </th>
62
- </tr>
63
- </thead>
64
- <tr>
65
- <th colspan='5' style="font-weight: normal;">
66
- {{{ model.data.substring(26,model.data.length-8) }}}
67
- </th>
68
- </tr>
69
- </table>
70
- </div>
71
- </criteria-paged>
72
- </div>
73
-
74
- </template>
75
-
76
- <script>
77
- import { DataModel } from 'vue-client'
78
-
79
- export default {
80
- title: '报表',
81
- data () {
82
-
83
- let model = new DataModel('rs/report/materialReport',{startDate: 'this.model.startDate', endDate: 'this.model.endDate',f_filiale: 'this.fengongsi',f_apply_num:'this.applynum'})
84
- model.f_subcompany = '',
85
- model.fengongsi = '',
86
- model.applynum = ''
87
- return {
88
- filialeNameStr:'',
89
- filialeCodeStr:'',
90
- userid: this.$login.f.id,
91
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
92
- model:model,
93
- filiale:[],
94
- appnum:[]
95
-
96
- }
97
- },
98
- methods: {
99
- // 获取组织结构
100
- getRes(obj) {
101
- console.log(obj,'se')
102
- let fengongsi=obj.res.toString().split('.')
103
- console.log(fengongsi,'se')
104
- console.log(fengongsi[fengongsi.length-1],'se')
105
- this.model.f_subcompany = obj.res
106
- console.log(this.model,'se')
107
- // this.model.filialeCodeStr = obj.resids
108
- // this.model.filialeCodeStr = this.model.filialeCodeStr.replace(/\./g, '')
109
- },
110
- gethuman(){
111
- console.log('获取人员')
112
- this.$resetpost('rs/logic/getMaterialItem', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
113
- // this.params.rows.splice(index, 1)
114
- console.log('获取成功',res)
115
-
116
- let house2 = []
117
- for (let row of res.data.f){
118
- house2.push({label: row.f_filiale,value: row.f_filiale})
119
- }
120
- this.filiale = house2
121
- let house3 = [
122
- {label:'全部',value:''}
123
- ]
124
- for (let row of res.data.appnum){
125
- house3.push({label: row.f_apply_num,value: row.f_apply_num})
126
- }
127
- this.appnum = house3
128
- })
129
-
130
- },
131
- },
132
- ready(){
133
- this.gethuman()
134
- },
135
- computed: {
136
- selected() {
137
- return this.$refs.grid.selected
138
- },
139
- // outlets () {
140
- // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
141
- // },
142
- // operator () {
143
- // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
144
- // }
145
- },
146
- watch :{
147
- 'model.model.f_filiale[0]'(val){
148
-
149
- this.model.fengongsi = val
150
-
151
-
152
- },
153
- 'model.model.f_apply_num[0]'(val){
154
- this.model.applynum = val
155
-
156
- },
157
- }
158
- }
159
- </script>
@@ -1,134 +0,0 @@
1
- <template>
2
- <div class="auto" style="padding-right:5px; padding-top: 10px;" v-if="refreshed">
3
- <validator name="v">
4
-
5
- <div v-for="(index,item) in data" class="panel" v-bind:class="{'panel-default': showpanl[index].showdef, ' panel-info ' : showpanl[index].showinfo}">
6
- <div :class="{'panel-heading background-default':showpanl[index].show,'panel-heading':!showpanl[index].show}" @click ="hello(index)">
7
- <h3 class="panel-title">{{item.title}}信息<span class="pull-right glyphicon" v-bind:class="{'glyphicon-chevron-right': showpanl[index].show, 'glyphicon-chevron-down' : showpanl[index].hasError}"></span></h3>
8
- </div>
9
- <div class="panel-body" v-if="showpanl[index].hasError">
10
- <div class="col-sm-12">
11
- <div v-for="(index2,row) in item.fields">
12
- <span v-if="row.hasOwnProperty('field')" class="col-sm-12">{{item.fields[index2].label}}:{{item.fields[index2].value}}</span>
13
- <span v-else class="col-sm-12" v-for="(index3,arr) in row.items">{{arr.label}}:{{arr.value?'是':'否'}}</span>
14
- </div>
15
- </div>
16
- </div>
17
- </div>
18
-
19
- </validator>
20
- </div>
21
- </template>
22
- <script>
23
- import {HttpResetClass} from 'vue-client'
24
- export default {
25
- title: '通气点火信息',
26
- data () {
27
- return {
28
- data:null,
29
- defnames:null,
30
- refreshed:true,
31
- showpanl:[]
32
- }
33
- },
34
- props: ['selectdata'],
35
- methods: {
36
- // 初始化 [{label:xx,value:vvv,filed}]
37
- initializtion(){
38
- let tempArray =[]
39
- // 按照数据库defname的顺序排序
40
- for(let i = 0;i<this.defnames.length;i++){
41
- // 配置文件title循环
42
- for(let j = 0;j<this.$workflow_vue.activitys.length;j++){
43
- if(this.defnames[i].defname===this.$workflow_vue.activitys[j].title){
44
- let temp = this.$workflow_vue.activitys[j]
45
- if(this.defnames[i].hasOwnProperty('person')){
46
- temp.person = this.defnames[i].person
47
- }
48
- this.showpanl.push({hasError:false,show:true,showdef:true,showinfo:false})
49
- tempArray.push(temp)
50
- }
51
- }
52
- }
53
- // 给排序后的数组填充数据
54
- for(let i=0;i<tempArray.length;i++){
55
- for(let j = 0;j<tempArray[i].fields.length;j++){
56
- if(tempArray[i].fields[j].hasOwnProperty('field')){
57
- if(tempArray[i].fields[j].label=='合同金额'||
58
- tempArray[i].fields[j].label=='首付'||
59
- tempArray[i].fields[j].label=='进度款'||
60
- tempArray[i].fields[j].label=='尾款'){
61
- tempArray[i].fields[j].value = '隐藏数据'
62
- }else{
63
- tempArray[i].fields[j].value = this.selectdata[tempArray[i].fields[j].field]
64
- }
65
-
66
- }else if(tempArray[i].fields[j].hasOwnProperty('items')){
67
- for(let k = 0;k<tempArray[i].fields[j].items.length;k++){
68
- tempArray[i].fields[j].items[k].value = this.selectdata[tempArray[i].fields[j].items[k].field]
69
- }
70
- }
71
- if(tempArray[i].fields[j].value&&typeof tempArray[i].fields[j].value =='string'&&tempArray[i].fields[j].value.startsWith('{')&&tempArray[i].fields[j].value.endsWith('}')){
72
- let temp = JSON.parse(tempArray[i].fields[j].value)
73
- tempArray[i].fields[j].value = temp.name
74
- }
75
- }
76
- }
77
- this.data = tempArray
78
- this.refreshed =false
79
- this.$nextTick(()=>{
80
- this.refreshed =true
81
- this.hello(9999999)
82
- })
83
- },
84
- hello (index) {
85
- if (!this.selectdata.defname) {
86
- return
87
- }
88
- if(index==9999999){
89
- if(this.showpanl.length>0){
90
- this.showpanl[0].hasError = true
91
- }
92
- return
93
- }
94
- if (this.showpanl[index].show) {
95
- this.showpanl[index].show = false
96
- this.showpanl[index].hasError = true
97
- } else {
98
- this.showpanl[index].show = true
99
- this.showpanl[index].hasError= false
100
- }
101
- }
102
- },
103
- watch:{
104
- async 'selectdata'(){
105
- let http = new HttpResetClass()
106
- var temp = []
107
- if(this.selectdata){
108
- let res = await http.load('POST','rs/sql/getdefname',{data:{processid:this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
109
- //循环去除回退导致重复的节点
110
- for (var i = 0; i < res.data.length; i++) {
111
- var flag = true
112
- for (var j = 0; j< temp.length; j++){
113
- if(res.data[i].defname == temp[j].defname){
114
- flag = false
115
- }
116
- }
117
- if(flag){
118
- temp.push(res.data[i])
119
- }
120
- }
121
- this.defnames = temp
122
- }
123
- // 初始化开始
124
- this.initializtion()
125
- }
126
- }
127
- }
128
- </script>
129
- <style scoped>
130
- .background-default{
131
- background-color: #F2F6FA;
132
- }
133
-
134
- </style>