apply-clients 3.4.2 → 3.4.4

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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -1,100 +1,137 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10" style="margin-top: 20px">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
19
- :isdelete="false"
20
- :isusetype="true"
21
- :isremark = "true"
22
- :takeimg="false"
23
- :issearch="true"
24
- :defname="selectdata.defname">
25
- </apply-upload>
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '流程监控',
39
- data () {
40
- return {
41
- showtotal: false, // 控制详细信息显示
42
- showData: true,
43
- selectdata: {},
44
- xmlname: '' // 配置文件名称
45
- }
46
- },
47
- created () {
48
- },
49
- methods: {
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let data = {
53
- workname: this.selectdata.processname
54
- }
55
-
56
- let res = await this.$resetpost(
57
- 'rs/logic/ApplyGetConfigs',
58
- {data: data},
59
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
- )
61
-
62
- Vue.prototype.$workflow_vue = res.data
63
- }
64
- },
65
- events: {
66
- 'onMessage' (data) {
67
- console.log('接收消息')
68
- console.log(data)
69
- if (data.type === 'apply-task') {
70
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
71
- }
72
- },
73
- async 'apply' (val) {
74
- this.selectdata = val
75
- this.showtotal = false
76
-
77
- // 获取配置文件
78
- await this.loadName()
79
-
80
- this.$refs.query.$refs.cp.pager = false
81
- this.showData = false
82
-
83
- this.showtotal = true
84
- },
85
- 'search' () {
86
- // 关闭详细
87
- this.showtotal = false
88
- // 显示列表数据
89
- this.showData = true
90
- // 显示分页
91
- this.$refs.query.$refs.cp.pager = true
92
- // 调用查询
93
- this.$refs.query.$refs.cp.$refs.cri.search()
94
- }
95
- },
96
-
97
- watch: {
98
- }
99
- }
100
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :isupload = "false"
19
+ :isdelete="false"
20
+ :isusetype="true"
21
+ :isremark = "true"
22
+ :takeimg="true"
23
+ :issearch="true"
24
+ :defname="selectdata.defname">
25
+ </apply-upload>
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '流程监控',
39
+ data () {
40
+ return {
41
+ showtotal: false, // 控制详细信息显示
42
+ showData: true,
43
+ selectdata: {},
44
+ xmlname: '' // 配置文件名称
45
+ }
46
+ },
47
+ created () {
48
+ },
49
+ methods: {
50
+ // 获取页面配置json文件
51
+ async loadName () {
52
+ let data = {
53
+ workname: this.selectdata.processname
54
+ }
55
+
56
+ let res = await this.$resetpost(
57
+ 'rs/logic/ApplyGetConfigs',
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
+ )
61
+
62
+ Vue.prototype.$workflow_vue = res.data
63
+ }
64
+ },
65
+ events: {
66
+ // 刷新控制层
67
+ async 'breakControl' (servicedata) {
68
+
69
+ if (servicedata.id) {
70
+ let data = {
71
+ condition: `u.id = ${servicedata.id}`,
72
+ data: {
73
+ orgid: this.$login.f.orgid
74
+ }
75
+ }
76
+ let res = await this.$resetpost(
77
+ 'rs/sql/supervisory',
78
+ {data: data},
79
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
80
+ )
81
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
82
+ } else {
83
+ this.selectdata = servicedata
84
+ }
85
+
86
+ this.showtotal = false
87
+ this.$nextTick(() => {
88
+ this.showtotal = true
89
+ })
90
+
91
+ },
92
+ 'onMessage' (data) {
93
+ console.log('接收消息')
94
+ console.log(data)
95
+ if (data.type === 'apply-task') {
96
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
97
+ }
98
+ },
99
+ async 'apply' (val) {
100
+ this.selectdata = null
101
+ this.selectdata = val
102
+ this.showtotal = false
103
+
104
+ // 获取配置文件
105
+ await this.loadName()
106
+
107
+ this.$refs.query.$refs.cp.pager = false
108
+ this.showData = false
109
+
110
+ this.showtotal = true
111
+ },
112
+ 'search' () {
113
+ // 关闭详细
114
+ this.showtotal = false
115
+ // 显示列表数据
116
+ this.showData = true
117
+ // 显示分页
118
+ this.$refs.query.$refs.cp.pager = true
119
+ // 调用查询
120
+ this.$refs.query.$refs.cp.$refs.cri.search()
121
+ },
122
+ 'loadPage' () {
123
+ // 关闭详细
124
+ this.showtotal = false
125
+ // 显示列表数据
126
+ this.showData = true
127
+ // 显示分页
128
+ this.$refs.query.$refs.cp.pager = true
129
+ // 调用查询
130
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
131
+ }
132
+ },
133
+
134
+ watch: {
135
+ }
136
+ }
137
+ </script>
@@ -4,30 +4,36 @@
4
4
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">客户名称:</label>
9
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
+ </div>
7
12
  <div class="form-group col-sm-3">
8
13
  <label class="font_normal_body">组织机构:</label>
9
14
  <res-select
10
15
  restype='organization'
11
- :initresid='$parent.$parent.curorgid'
16
+ :initresid='$parent.$parent.curorgid'·
12
17
  @res-select="$parent.$parent.getorg"
13
18
  is-mul="false"
14
19
  ></res-select>
15
20
  </div>
16
- <div class="form-group col-sm-3">
17
- <label class="font_normal_body">报建编号:</label>
18
- <input type="text" style="width:60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
19
- v-on:keyup.enter="search"
20
- condition="f_apply_num = '{}'">
21
- </div>
22
- <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
26
- </div>
27
-
21
+ <!-- <div class="form-group col-sm-3">-->
22
+ <!-- <label class="font_normal_body">工程编号:</label>-->
23
+ <!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
24
+ <!-- v-on:keyup.enter="search"-->
25
+ <!-- condition="f_apply_num = '{}'">-->
26
+ <!-- </div>-->
28
27
  <div class="form-group col-sm-2 button-range">
29
28
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
30
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
+ <export-excel :data="$parent.$parent.getCondition"
32
+ :field="$parent.$parent.getfield"
33
+ sqlurl="rs/logic/applyExportfile"
34
+ sql-name="supervisory"
35
+ template-name='报装信息导出'
36
+ :choose-col="true"></export-excel>
31
37
  <div
32
38
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
39
  @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
@@ -37,15 +43,28 @@
37
43
  </div>
38
44
  </div>
39
45
  <div class="row" v-show="$parent.$parent.criteriaShow">
46
+ <!-- <div class="form-group col-sm-3">-->
47
+ <!-- <label class="font_normal_body">客户名称:</label>-->
48
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
49
+ <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
50
+ <!-- </div>-->
40
51
  <div class="form-group col-sm-3">
41
- <label class="font_normal_body">客户名称:</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
43
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
52
+ <label class="font_normal_body">工程编号:</label>
53
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
54
+ v-on:keyup.enter="search"
55
+ condition="f_apply_num = '{}'">
44
56
  </div>
45
57
  <div class="form-group col-sm-3">
46
- <label class="font_normal_body">联&ensp;系&ensp;人:</label>
47
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
48
- v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
58
+ <label class="font_normal_body">合同金额:</label>
59
+ <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
60
+ v-on:keyup.enter="$parent.$parent.search()"
61
+ condition="f_contract_money like '%{}%'">
62
+ </div>
63
+ <div class="form-group col-sm-3">
64
+ <label class="font_normal_body">联系电话:</label>
65
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
66
+ v-on:keyup.enter="search"
67
+ condition="f_phone like '%{}%'">
49
68
  </div>
50
69
  <div class="form-group col-sm-3">
51
70
  <label class="font_normal_body">合同编号:</label>
@@ -58,7 +77,7 @@
58
77
  <v-select
59
78
  v-model="model.f_apply_type"
60
79
  placeholder='报建类型'
61
- condition="f_apply_type like '%{}%'"
80
+ condition="f_apply_type = '{}'"
62
81
  :value.sync="model.f_apply_type"
63
82
  :options='$parent.$parent.applytype'
64
83
  class="select select_list"
@@ -79,10 +98,28 @@
79
98
  close-on-select ></v-select>
80
99
  </div>
81
100
  <div class="form-group col-sm-3">
82
- <label class="font_normal_body">联系电话:</label>
83
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
84
- v-on:keyup.enter="search"
85
- condition="f_phone like '%{}%'">
101
+ <label class="font_normal_body">报建性质:</label>
102
+ <v-select
103
+ v-model="model.f_apply_nature"
104
+ placeholder='报建性质'
105
+ condition="f_apply_nature = '{}'"
106
+ :value.sync="model.f_apply_nature"
107
+ :options='$parent.$parent.applyNatures'
108
+ class="select select_list"
109
+ :value-single="true"
110
+ close-on-select ></v-select>
111
+ </div>
112
+ <div class="form-group col-sm-3">
113
+ <label class="font_normal_body">流程状态:</label>
114
+ <v-select
115
+ v-model="model.f_sub_state"
116
+ placeholder='流程状态'
117
+ condition="f_sub_state = '{}'"
118
+ :value.sync="model.f_sub_state"
119
+ :options='$parent.$parent.subStates'
120
+ class="select select_list"
121
+ :value-single="true"
122
+ close-on-select ></v-select>
86
123
  </div>
87
124
  <div class="form-group col-sm-3">
88
125
  <label class="font_normal_body">用户地址:</label>
@@ -96,7 +133,7 @@
96
133
  style="width: 60%!important;"
97
134
  v-model="model.startDate"
98
135
  :value.sync="model.startDate"
99
- :format="'yyyy-MM-dd HH:mm:ss'"
136
+ :format="'yyyy-MM-dd 00:00:00'"
100
137
  :show-reset-button="true"
101
138
  condition="f_apply_date >= '{}'">
102
139
  </datepicker>
@@ -107,11 +144,52 @@
107
144
  style="width: 60%!important;"
108
145
  v-model="model.endDate"
109
146
  :value.sync="model.endDate"
110
- :format="'yyyy-MM-dd HH:mm:ss'"
147
+ :format="'yyyy-MM-dd 23:59:59'"
111
148
  :show-reset-button="true"
112
149
  condition="f_apply_date <= '{}'">
113
150
  </datepicker>
114
151
  </div>
152
+ <div class="form-group col-sm-3">
153
+ <label class="font_normal_body">施工单位:</label>
154
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
155
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
156
+ </div>
157
+ <div class="form-group col-sm-3">
158
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
159
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
160
+ v-on:keyup.enter="$parent.$parent.search()"
161
+ condition="meternumber like '%{}%'">
162
+ </div>
163
+ <div class="form-group col-sm-3">
164
+ <label class="font_normal_body">领用人:</label>
165
+ <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
166
+ v-on:keyup.enter="$parent.$parent.search()"
167
+ condition="lyr like '%{}%'">
168
+ </div>
169
+ <div class="form-group col-sm-3">
170
+ <label class="font_normal_body">发货人:</label>
171
+ <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
172
+ v-on:keyup.enter="$parent.$parent.search()"
173
+ condition="fyr like '%{}%'">
174
+ </div>
175
+ <div class="form-group col-sm-3">
176
+ <label class="font_normal_body">发起人:</label>
177
+ <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
178
+ v-on:keyup.enter="$parent.$parent.search()"
179
+ condition="f_operator like '%{}%'">
180
+ </div>
181
+ <div class="form-group col-sm-3">
182
+ <label class="font_normal_body">领用状态:</label>
183
+ <v-select
184
+ v-model="model.frstate"
185
+ placeholder='流程状态'
186
+ condition="frstate = '{}'"
187
+ :value.sync="model.frstate"
188
+ :options='$parent.$parent.lyStates'
189
+ class="select select_list"
190
+ :value-single="true"
191
+ close-on-select ></v-select>
192
+ </div>
115
193
  </div>
116
194
  </div>
117
195
  </criteria>
@@ -119,15 +197,24 @@
119
197
  <template partial='head'>
120
198
  <tr>
121
199
  <th style="white-space: nowrap;">序号</th>
122
- <th style="white-space: nowrap;">报建编号</th>
123
- <th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
200
+ <th style="white-space: nowrap;">工程编号</th>
201
+ <th style="white-space: nowrap;">客户名称</th>
124
202
  <th style="white-space: nowrap;">合同编号</th>
125
203
  <th style="white-space: nowrap;">电话</th>
126
204
  <th style="white-space: nowrap;">地址</th>
205
+ <th style="white-space: nowrap;">来源</th>
127
206
  <th style="white-space: nowrap;">报建类型</th>
128
207
  <th style="white-space: nowrap;">办理环节</th>
129
208
  <th style="white-space: nowrap;">流程状态</th>
130
209
  <th style="white-space: nowrap;">报建日期</th>
210
+ <th style="white-space: nowrap;">派单时间</th>
211
+ <th style="white-space: nowrap;">安装项目</th>
212
+ <th style="white-space: nowrap;">施工单位</th>
213
+ <th style="white-space: nowrap;">施工时间</th>
214
+ <th style="white-space: nowrap;">缴费金额</th>
215
+ <th style="white-space: nowrap;">领用人</th>
216
+ <th style="white-space: nowrap;">发货人</th>
217
+ <th style="white-space: nowrap;">发起人</th>
131
218
  </tr>
132
219
  </template>
133
220
  <template partial='body'>
@@ -139,7 +226,7 @@
139
226
  <nobr>{{row.f_apply_num}}</nobr>
140
227
  </td>
141
228
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
142
- <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
229
+ <nobr>{{row.f_user_name}}</nobr>
143
230
  </td>
144
231
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
145
232
  <nobr>{{row.f_contract_number}}</nobr>
@@ -150,6 +237,9 @@
150
237
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
151
238
  <nobr>{{row.f_address}}</nobr>
152
239
  </td>
240
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
241
+ <nobr>{{row.f_apply_source}}</nobr>
242
+ </td>
153
243
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
154
244
  <nobr>{{row.f_apply_type}}</nobr>
155
245
  </td>
@@ -162,6 +252,30 @@
162
252
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
163
253
  <nobr>{{row.f_apply_date}}</nobr>
164
254
  </td>
255
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
256
+ <nobr>{{row.ftime}}</nobr>
257
+ </td>
258
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
259
+ <nobr>{{row.f_install_project}}</nobr>
260
+ </td>
261
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
262
+ <nobr>{{row.f_construction_unit}}</nobr>
263
+ </td>
264
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
265
+ <nobr>{{row.f_construction_date}}</nobr>
266
+ </td>
267
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
268
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
269
+ </td>
270
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
271
+ <nobr>{{row.lyr}}</nobr>
272
+ </td>
273
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
274
+ <nobr>{{row.fyr}}</nobr>
275
+ </td>
276
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
277
+ <nobr>{{row.f_operator}}</nobr>
278
+ </td>
165
279
  </tr>
166
280
  </template>
167
281
  </data-grid>
@@ -181,10 +295,52 @@
181
295
  orgid: this.$login.f.orgid
182
296
  }
183
297
  }),
298
+ orgid:'',
184
299
  curorgid: [this.$login.f.orgid],
185
300
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
186
301
  defnames: [{label: '全部', value: ''}], // 流程节点
187
- criteriaShow: false
302
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
303
+ criteriaShow: false,
304
+ subStates: [
305
+ {label: '全部', value: ''},
306
+ {label: '新增', value: '新增'},
307
+ {label: '暂停', value: '暂停'},
308
+ {label: '终止', value: '终止'},
309
+ {label: '完工', value: '完工'},
310
+ {label: '正在进行', value: '正在进行'}
311
+ ], // 流程状态
312
+ lyStates: [
313
+ {label: '全部', value: ''},
314
+ {label: '已领', value: '已领'},
315
+ {label: '未领', value: '未领'}
316
+
317
+ ], // 流程状态
318
+ getfield: {
319
+ 'f_apply_num': '工程编号',
320
+ 'f_user_name': '客户名称',
321
+ 'f_contract_number': '合同编号',
322
+ 'f_phone': '电话',
323
+ 'f_address': '地址',
324
+ 'f_apply_type': '报建类型',
325
+ 'f_apply_nature': '报建性质',
326
+ 'f_cumulative_payment_money': '收费金额',
327
+ 'defname': '办理环节',
328
+ 'f_sub_state': '流程状态',
329
+ 'f_apply_date': '报建日期',
330
+ 'ftime': '派单时间',
331
+ 'f_apply_remarks': '备注',
332
+ 'f_payment_remarks': '缴费备注',
333
+ 'f_install_project': '安装项目',
334
+ 'f_construction_unit': '施工单位',
335
+ 'f_construction_date': '施工时间',
336
+ 'f_operator': '发起人',
337
+ 'f_depname':'发起人部门',
338
+ 'lyr': '领用人',
339
+ 'fdnyr':'领用人部门',
340
+ 'fyr': '发货人',
341
+ 'fdnfr':'发货人部门',
342
+ 'meternumber':'表号'
343
+ }
188
344
  }
189
345
  },
190
346
  ready () {
@@ -194,6 +350,9 @@
194
350
  events: {
195
351
  },
196
352
  methods: {
353
+ loadPage () {
354
+ this.$dispatch('loadPage')
355
+ },
197
356
  // 查询
198
357
  search () {
199
358
  this.$dispatch('search')
@@ -209,8 +368,11 @@
209
368
  )
210
369
 
211
370
  this.defnames = [{label: '全部', value: ''}, ...res.data]
371
+
372
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
212
373
  } else {
213
374
  this.defnames = [{label: '全部', value: ''}]
375
+ this.applyNatures = [{label: '全部', value: ''}]
214
376
  }
215
377
  },
216
378
  clear () {
@@ -223,9 +385,18 @@
223
385
  return
224
386
  }
225
387
  this.model.params.data.orgid = val[0]
388
+ this.orgid= val[0]
226
389
  }
227
390
  },
228
391
  computed: {
392
+ getCondition () {
393
+ return {
394
+ condition: this.model.condition,
395
+ data: {
396
+ orgid: this.orgid
397
+ }
398
+ }
399
+ }
229
400
  }
230
401
  }
231
402
  </script>