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,104 @@
1
+ <template>
2
+ <div class="auto" style="padding-right:5px; padding-top: 10px;">
3
+ <validator name="v">
4
+ <div class="panel" v-bind:class="{'panel-default': showdef, ' panel-info' : showinfo}">
5
+ <div class="panel-heading" @click ="hello()">
6
+ <h3 class="panel-title">资料移交信息<span class="pull-right glyphicon" v-bind:class="{'glyphicon-chevron-right': show, 'glyphicon-chevron-down' : hasError}"></span></h3>
7
+ </div>
8
+ <div class="panel-body" v-if="hasError">
9
+ <div class="col-sm-12">
10
+ <span class="col-sm-6">资料是否齐全:{{model.f_iscomplete_information == true?"是":"否"}}</span>
11
+ <span class="col-sm-12">移交点火通气备注:{{model.f_ignitionventilation_transfer_remark}}</span>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </validator>
16
+ </div>
17
+ </template>
18
+ <script>
19
+ export default {
20
+ title: '资料移交信息',
21
+ data () {
22
+ return {
23
+ title: '材料计划',
24
+ actdefid: 9,
25
+ hasError: false,
26
+ show: true,
27
+ showdef: true,
28
+ showinfo: false,
29
+ model: {
30
+ }
31
+ }
32
+ },
33
+ props: ['transfer'],
34
+ ready() {
35
+ this.model = Object.assign({}, this.model, this.transfer)
36
+ if (!this.transfer.f_project_startdate) {
37
+ this.model.f_project_startdate = '无'
38
+ this.model.f_project_material = '无'
39
+ this.model.f_blue_print = '无'
40
+ this.model.f_indoor_startdate = '无'
41
+ this.model.f_indoor_enddate = '无'
42
+ this.model.f_outdoors_startdate = '无'
43
+ this.model.f_outdoors_enddate = '无'
44
+ this.model.f_project_remarks = '无'
45
+ }
46
+ this.show = false
47
+ this.hasError = false
48
+ if (this.transfer.defname === this.title) {
49
+ this.hasError = true
50
+ } else {
51
+ this.hasError = false
52
+ this.show = true
53
+ }
54
+ if (this.actdefid <= this.model.actdefid) {
55
+ this.showdef = false
56
+ this.showinfo = true
57
+ } else {
58
+ this.showdef = true
59
+ this.showinfo = false
60
+ }
61
+ },
62
+ methods: {
63
+ hello () {
64
+ if (!this.transfer.defname) {
65
+ return
66
+ }
67
+ if (this.actdefid > this.transfer.actdefid) {
68
+ return
69
+ }
70
+ if (this.show) {
71
+ this.show = false
72
+ this.hasError = true
73
+ } else {
74
+ this.show = true
75
+ this.hasError = false
76
+ }
77
+ },
78
+ flush () {
79
+ this.transfer = ''
80
+ this.model = ''
81
+ }
82
+ },
83
+ watch: {
84
+ 'transfer' () {
85
+ this.model = Object.assign({}, this.model, this.transfer)
86
+ this.show = false
87
+ this.hasError = false
88
+ if (this.transfer.defname === this.title) {
89
+ this.hasError = true
90
+ } else {
91
+ this.hasError = false
92
+ this.show = true
93
+ }
94
+ if (this.actdefid <= this.model.actdefid) {
95
+ this.showdef = false
96
+ this.showinfo = true
97
+ } else {
98
+ this.showdef = true
99
+ this.showinfo = false
100
+ }
101
+ }
102
+ }
103
+ }
104
+ </script>
@@ -65,7 +65,7 @@
65
65
 
66
66
  <script>
67
67
  import {HttpResetClass} from 'vue-client'
68
- import * as Util from '../../Util'
68
+ import * as Util from '../../../Util'
69
69
 
70
70
  export default {
71
71
  title: "售单销信息",
@@ -0,0 +1,178 @@
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
+ <route v-ref:route></route>
14
+ <route :comp="{name: 'customer-essential-info'}" v-if = "r1" ></route>
15
+ </tab>
16
+ <tab header='户档案信息'>
17
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></customer-record-message>
18
+ </tab>
19
+ <tab header='表档案信息'>
20
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></customer-record-message>
21
+ </tab>
22
+ <tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">
23
+ <customer-equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></customer-equipment-message>
24
+ </tab>
25
+ <tab header='材料信息'>
26
+ <customer-material-message v-ref:material :selectdata="selectdata" :edit = "false"></customer-material-message>
27
+ </tab>
28
+ <tab header='附件'>
29
+ <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"
30
+ :isupload = "true"
31
+ :takeimg = "true"
32
+ :edit = "false">
33
+ </upload>
34
+ </tab>
35
+ </tabset>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </template>
40
+ <script>
41
+ export default {
42
+ title: '流程监控',
43
+ props: [ 'defname'],
44
+ data() {
45
+ return {
46
+ flagl:false,
47
+ flagg: false,
48
+ showbasic: false,
49
+ showtotal: false,
50
+ header: null,
51
+ selectdata: {},
52
+ botheight: '0%',
53
+ topheight: '100%',
54
+ tittle1:'户档案管理',
55
+ tittle2:'表档案管理',
56
+ tittle3:'设备管理',
57
+ info: '流程监控'
58
+ }
59
+ },
60
+ events: {
61
+ 'addactive'() {
62
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
63
+ this.hidden()
64
+ this.showbasic = true
65
+ this.topheight = '20%'
66
+ this.botheight = '80%'
67
+ },
68
+ 'changeheight'() {
69
+ this.show = false
70
+ this.botheight = '0%'
71
+ if (this.$refs.binfo) {
72
+ this.$refs.pinfo.flush()
73
+ this.$refs.jinfo.flush()
74
+ this.$refs.binfo.flush()
75
+ this.$refs.finfo.flush()
76
+ this.$refs.cinfo.flush()
77
+ this.$refs.fvinfo.flush()
78
+ this.$refs.minfo.flush()
79
+ this.$refs.dinfo.flush()
80
+ this.$refs.buinfo.flush()
81
+ this.$refs.ninfo.flush()
82
+ this.$refs.iinfo.flush()
83
+ }
84
+ },
85
+ 'check'(val) {
86
+
87
+ this.selectdata = ''
88
+ this.selectdata = val
89
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
90
+ this.topheight = '20%'
91
+ this.botheight = '80%'
92
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
93
+ this.$refs.queryuser.$refs.cp.pager = false
94
+ this.showbasic = true
95
+ let msg = val.defname
96
+ this.header = msg
97
+ this.hidden()
98
+ if(this.$login.f.f_fengongsi.includes("西昌")){
99
+ if(msg === '测绘申请'){
100
+ this.$refs.route.init('zr_placecontroler', {selectdata: this.selectdata,edit : false})//zr_placecontroler zr_receivingnote
101
+ }
102
+ if(msg === '测绘设计'){
103
+ console.log('测绘设计')
104
+ this.$refs.route.init('zr_testdesign', {selectdata: this.selectdata,edit : false})//zr_placecontroler zr_receivingnote
105
+ }
106
+ if (msg === '报建登记') {
107
+ console.log(this.selectdata)
108
+ this.$refs.route.init('zr_customeressentialinfo', {selectdata: this.selectdata,edit : false})
109
+ console.log(this.$refs.record)
110
+ }
111
+ if (msg === '收费标准制定') {
112
+ this.$refs.route.init('zr_feenorme', {selectdata: this.selectdata,edit : false})
113
+ }
114
+ if (msg === '合同签订') {
115
+ this.$refs.route.init('zr_contratsigne', {selectdata: this.selectdata,edit : false})
116
+ }
117
+ if (msg === '材料计划') {
118
+ this.$refs.route.init('zr_materialplan', {selectdata: this.selectdata,edit : false})
119
+ }
120
+ if (msg === '施工报建') {
121
+ this.$refs.route.init('zr_construction', {selectdata: this.selectdata,edit : false})
122
+ }
123
+ if (msg === '工程施工任务书') {
124
+ this.$refs.route.init('zr_dispatchingjob', {selectdata: this.selectdata,edit : false})
125
+ }
126
+ if (msg === '竣工验收') {
127
+ this.$refs.route.init('zr_receivingnote', {selectdata: this.selectdata,edit : false})
128
+ }
129
+ if (msg === '资料移交') {
130
+ this.$refs.route.init('zr_ignitionventilation_transfer', {selectdata: this.selectdata,edit : false})
131
+ }
132
+ if (msg === '通气点火') {
133
+ this.$refs.route.init('zr_ignitionventilation', {selectdata: this.selectdata,edit : false})
134
+ }
135
+ if (msg === '完工') {
136
+ this.$refs.route.init('zr_end')
137
+ }
138
+ }
139
+ },
140
+ 'selfsearch'() {
141
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
142
+ },
143
+ 'close'() {
144
+ this.hidden()
145
+ this.showtotal = false
146
+ this.topheight = '100%'
147
+ this.botheight = '0%'
148
+ this.$refs.queryuser.$refs.cp.pager = true
149
+ }
150
+ },
151
+ methods: {
152
+ hidden() {
153
+ this.showtotal = true
154
+ },
155
+ close() {
156
+ this.hidden()
157
+ this.topheight = '100%'
158
+ this.botheight = '0%'
159
+ }
160
+ },
161
+ watch: {
162
+ 'selectdata'(val) {
163
+ console.log('selectdata:', val)
164
+ },
165
+ 'selectdata.f_customer_type'() {
166
+ if (this.selectdata.f_customer_type == '企业') {
167
+ this.flagg = true
168
+ }
169
+ },
170
+ 'selectdata.f_apply_type'() {
171
+ if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
172
+ this.flagl = true
173
+ }
174
+ }
175
+ },
176
+
177
+ }
178
+ </script>
@@ -0,0 +1,209 @@
1
+ <template>
2
+ <div class="d1">
3
+ <div class="left col-sm-12">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri
6
+ style="padding: 20px;background-color: #f6f6f6;">
7
+ <form novalidate class="" partial>
8
+ <div class="col-sm-12">
9
+ <div class="col-sm-2">
10
+ <label class="col-sm-6 label">客户名称:</label>
11
+ <div class="col-sm-6">
12
+ <input type="text" class="form-control" placeholder='客户名称' v-model="model.f_user_name"
13
+ v-on:keyup.enter="search"
14
+ condition="f_user_name like '{}%'">
15
+ </div>
16
+ </div>
17
+
18
+ <!--<div class="col-sm-2">-->
19
+ <!--<input type="text" class="form-control" placeholder='报建编号' v-model="model.f_apply_num"-->
20
+ <!--v-on:keyup.enter="search"-->
21
+ <!--condition="f_apply_num like '{}%'">-->
22
+ <!--</div>-->
23
+ <div class="col-sm-2">
24
+ <label class="col-sm-6 label">用户地址:</label>
25
+ <div class="col-sm-6">
26
+ <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
27
+ v-on:keyup.enter="search"
28
+ condition="f_address like '{}%'">
29
+ </div>
30
+ </div>
31
+ <div class="col-sm-2">
32
+ <label class="col-sm-6 label">小区名称:</label>
33
+ <div class="col-sm-6">
34
+ <input type="text" class="form-control" placeholder='小区名称' v-model="model.f_residential_area"
35
+ v-on:keyup.enter="search"
36
+ condition="f_residential_area like '{}%'">
37
+ </div>
38
+ </div>
39
+ <div class="col-sm-1"></div>
40
+ <div class="col-sm-2">
41
+ <label class="col-sm-6 label">报装类型:</label>
42
+ <div class="col-sm-6">
43
+ <v-select :options="$parent.$parent.applytype" placeholder='报装类型' condition="f_apply_type like '{}%'"
44
+ v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
45
+ </v-select>
46
+ </div>
47
+ </div>
48
+ <div class="col-sm-1"></div>
49
+ <div class="col-sm-1">
50
+ <button class="btn btn-primary btn-sm width-80" type="button" @click="search(),$parent.$parent.close()">
51
+ <span class="glyphicon glyphicon-search"></span>查询
52
+ </button>
53
+ </div>
54
+ </div>
55
+ </form>
56
+ </criteria>
57
+ <data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
58
+ <template partial='head'>
59
+ <tr class="title">
60
+ <th>
61
+ <nobr>序号</nobr>
62
+ </th>
63
+ <th>
64
+ <nobr>当前状态</nobr>
65
+ </th>
66
+ <th>
67
+ <nobr>报建编号</nobr>
68
+ </th>
69
+ <th>
70
+ <nobr>客户名称</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>用户类型</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>电话</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>地址</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>流程状态</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>报装类型</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>报建日期</nobr>
89
+ </th>
90
+ </tr>
91
+ </template>
92
+ <template partial='body'>
93
+ <tr>
94
+ <td @click="$parent.$parent.$parent.check(row)">
95
+ <nobr>{{$index+1}}</nobr>
96
+ </td>
97
+ <td @click="$parent.$parent.$parent.check(row)">
98
+ <nobr>{{row.f_sub_state}}</nobr>
99
+ </td>
100
+ <td @click="$parent.$parent.$parent.check(row)">
101
+ <nobr>{{row.f_apply_num}}</nobr>
102
+ </td>
103
+ <td @click="$parent.$parent.$parent.check(row)">
104
+ <nobr>{{row.f_user_name}}</nobr>
105
+ </td>
106
+ <td @click="$parent.$parent.$parent.check(row)">
107
+ <nobr>{{row.f_user_type}}</nobr>
108
+ </td>
109
+ <td @click="$parent.$parent.$parent.check(row)">
110
+ <nobr>{{row.f_phone}}</nobr>
111
+ </td>
112
+ <td @click="$parent.$parent.$parent.check(row)">
113
+ <nobr>{{row.f_address}}</nobr>
114
+ </td>
115
+ <td @click="$parent.$parent.$parent.check(row)">
116
+ <nobr>{{row.defname}}</nobr>
117
+ </td>
118
+ <td @click="$parent.$parent.$parent.check(row)">
119
+ <nobr>{{row.f_apply_type}}</nobr>
120
+ </td>
121
+ <td @click="$parent.$parent.$parent.check(row)">
122
+ <nobr>{{row.f_apply_date}}</nobr>
123
+ </td>
124
+ </tr>
125
+ </template>
126
+ </data-grid>
127
+ </criteria-paged>
128
+ </div>
129
+ </div>
130
+ </template>
131
+ <script>
132
+ import AppData from '../../../../stores/AppData.js'
133
+ import {
134
+ PagedList
135
+ } from 'vue-client'
136
+ import getNowDate from '../../../getNowDate.js'
137
+
138
+ export default {
139
+ title: '勘探详情',
140
+ data() {
141
+ return {
142
+ model: new PagedList('rs/sql/supervisory', 20, {
143
+ data: {
144
+ id: `${this.$login.f.name}`,
145
+ fengongsi: `${this.$login.f.f_fengongsi}`
146
+ }
147
+ }),
148
+ condition: '',
149
+ select: ''
150
+ }
151
+ },
152
+ ready() {
153
+ this.$refs.cp.$refs.cri.search()
154
+ },
155
+ methods: {
156
+ generateUUID() {
157
+ var d = new Date().getTime()
158
+ var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
159
+ var r = (d + Math.random() * 16) % 16 | 0
160
+ d = Math.floor(d / 16)
161
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
162
+ })
163
+ return uuid
164
+ },
165
+ check(val) {
166
+ this.$dispatch('check', val)
167
+ },
168
+ close() {
169
+ this.$dispatch('close')
170
+ },
171
+ compare(val) {
172
+ val === '完工'
173
+ console.log('完工', val)
174
+ return false
175
+ }
176
+ },
177
+ computed: {
178
+ date() {
179
+ return getNowDate()
180
+ },
181
+ selected() {
182
+ return this.$refs.cp.$refs.grid.selected
183
+ },
184
+ usertype() {
185
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
186
+ },
187
+ defnameType() {
188
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')]
189
+ },
190
+ applytype() {
191
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('报装类型')]
192
+ }
193
+ }
194
+ }
195
+ </script>
196
+ <style>
197
+ tr.title {
198
+ background-color: #6666ff;
199
+ }
200
+
201
+ .label {
202
+ display: flex;
203
+ justify-content: center;
204
+ align-items: Center;
205
+ color: black;
206
+ padding-top: 8px;
207
+ }
208
+
209
+ </style>
@@ -21,41 +21,20 @@
21
21
  methods :{
22
22
  //点击获取节点名
23
23
  getdefname(row){
24
- if(this.$login.r.includes('报装流程监控')){
25
- // 仅留保存按钮
24
+ if(row.defname == '报建登记'){
26
25
  row = Object.assign({},this.selectdata,row)
27
26
  this.$dispatch('check', row)
28
- return
29
- }
30
- this.$supervisory_vue.start_activity=this.$supervisory_vue.activitys[0].title;
31
- if(row.defname === this.$supervisory_vue.start_activity){
32
- row = Object.assign({},this.selectdata,row)
33
- this.$dispatch('check', row)
34
- }else if(this.check(row.actorexpression)){
27
+ }else if(this.$login.f.rolesnames.includes(row.actorexpression.split("$")[1]) ){
35
28
  row = Object.assign({},this.selectdata,row)
36
29
  this.$dispatch('check', row)
37
30
  }else{
38
31
  this.$showMessage("对不起,您没有查看此节点的权限!")
39
32
  }
40
- },
41
- // 检测是否有权限
42
- check(actorexpression){
43
- let array = this.$login.f.rolesnames.split(',')
44
- for(let i=0;i<array.length;i++){
45
- if(array[i] && actorexpression.includes(array[i])){
46
- return true
47
- }else if(actorexpression.includes(this.$login.f.id)){ // P(张三) // 张三
48
- return true
49
- }else if(array[i]=='报装流程监控'){
50
- return true
51
- }
52
- }
53
- return false
54
33
  }
55
34
  },
56
35
  watch:{
57
36
  async 'selectdata'(){
58
- // 获取流程节点信息
37
+ debugger
59
38
  let http = new HttpResetClass()
60
39
  var temp = []
61
40
  if(this.selectdata){
@@ -65,10 +44,6 @@
65
44
  var flag = true
66
45
  for (var j = 0; j< temp.length; j++){
67
46
  if(res.data[i].defname == temp[j].defname){
68
- // 获取每个满足条件节点信息的人的分公司和部门
69
-
70
- http = new HttpResetClass()
71
-
72
47
  flag = false
73
48
  }
74
49
  }
@@ -77,7 +52,6 @@
77
52
  }
78
53
  }
79
54
  this.defnames = temp
80
-
81
55
  }
82
56
  }
83
57
  }