apply-clients 3.4.64 → 3.4.66

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 (105) hide show
  1. package/build/dev-server.js +2 -2
  2. package/dist-android/static/18.js +2 -2
  3. package/dist-android/static/18.js.map +1 -1
  4. package/dist-android/static/19.js +2 -2
  5. package/dist-android/static/19.js.map +1 -1
  6. package/dist-android/static/24.js +2 -2
  7. package/dist-android/static/24.js.map +1 -1
  8. package/dist-android/static/25.js +2 -2
  9. package/dist-android/static/25.js.map +1 -1
  10. package/dist-android/static/26.js +2 -2
  11. package/dist-android/static/26.js.map +1 -1
  12. package/dist-android/static/28.js +2 -2
  13. package/dist-android/static/28.js.map +1 -1
  14. package/dist-android/static/30.js +2 -2
  15. package/dist-android/static/30.js.map +1 -1
  16. package/dist-android/static/34.js +2 -2
  17. package/dist-android/static/34.js.map +1 -1
  18. package/dist-android/static/43.js +2 -2
  19. package/dist-android/static/43.js.map +1 -1
  20. package/dist-android/static/47.js +2 -2
  21. package/dist-android/static/47.js.map +1 -1
  22. package/dist-android/static/50.js +2 -2
  23. package/dist-android/static/50.js.map +1 -1
  24. package/dist-android/static/52.js +2 -2
  25. package/dist-android/static/52.js.map +1 -1
  26. package/dist-android/static/53.js +2 -2
  27. package/dist-android/static/53.js.map +1 -1
  28. package/dist-android/static/54.js +2 -2
  29. package/dist-android/static/54.js.map +1 -1
  30. package/dist-android/static/60.js +2 -2
  31. package/dist-android/static/60.js.map +1 -1
  32. package/dist-android/static/63.js +2 -2
  33. package/dist-android/static/63.js.map +1 -1
  34. package/dist-android/static/64.js +2 -2
  35. package/dist-android/static/64.js.map +1 -1
  36. package/dist-android/static/78.js +2 -2
  37. package/dist-android/static/78.js.map +1 -1
  38. package/dist-android/static/83.js +2 -2
  39. package/dist-android/static/83.js.map +1 -1
  40. package/dist-android/static/84.js +2 -2
  41. package/dist-android/static/84.js.map +1 -1
  42. package/dist-android/static/86.js +2 -2
  43. package/dist-android/static/86.js.map +1 -1
  44. package/dist-android/static/87.js +2 -2
  45. package/dist-android/static/87.js.map +1 -1
  46. package/dist-android/static/89.js +2 -2
  47. package/dist-android/static/89.js.map +1 -1
  48. package/dist-android/static/97.js +2 -2
  49. package/dist-android/static/97.js.map +1 -1
  50. package/dist-android/static/app.js +80 -80
  51. package/dist-android/static/app.js.map +1 -1
  52. package/package.json +4 -3
  53. package/src/apply.js +5 -0
  54. package/src/applyAndroid.js +2 -0
  55. package/src/components/android/AppSign.vue +154 -154
  56. package/src/components/android/AppTakePic.vue +143 -143
  57. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
  58. package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
  59. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
  60. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  61. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  62. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  63. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  64. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  65. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
  66. package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
  67. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  68. package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
  69. package/src/components/product/Ignition/IgnitionList.vue +236 -0
  70. package/src/components/product/Ignition/IgnitionListManage.vue +413 -0
  71. package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
  72. package/src/components/product/Process/ExplorationSelect.vue +0 -13
  73. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  74. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  75. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  76. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  77. package/src/components/product/Process/Service/ServiceControl.vue +56 -1
  78. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  79. package/src/components/product/Process/ShowBackReason.vue +33 -33
  80. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
  81. package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
  82. package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
  83. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  84. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
  85. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  86. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  87. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  88. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  89. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
  90. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  91. package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
  92. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  93. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
  94. package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
  95. package/src/filiale/shexian/pc/ExplorationSelect.vue +474 -0
  96. package/src/filiale/shexian/pc.js +6 -0
  97. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
  98. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  99. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  100. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  101. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  102. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  103. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
  104. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
  105. package/dist.7z +0 -0
@@ -0,0 +1,92 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'" v-if="!showtotal">
5
+ <ignition-list v-ref:query :show-data="showData"></ignition-list>
6
+ </div>
7
+ <div v-if="showtotal">
8
+ <div class="top">
9
+ <ignition-list-manage :show-data="selectdata" :node-snapshot="true"></ignition-list-manage>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ </template>
16
+ <script>
17
+ import Vue from 'vue'
18
+ import {HttpResetClass} from 'vue-client'
19
+ export default {
20
+ title: '点火派单列表',
21
+ data () {
22
+ return {
23
+ showtotal: false, // 控制详细信息显示
24
+ showData: true,
25
+ selectdata: {},
26
+ xmlname: '' // 配置文件名称
27
+ }
28
+ },
29
+ created () {
30
+ },
31
+ methods: {
32
+ // 获取页面配置json文件
33
+ async loadName () {
34
+ let data = {
35
+ workname: this.selectdata.processname
36
+ }
37
+
38
+ let res = await this.$resetpost(
39
+ 'rs/logic/ApplyGetConfigs',
40
+ {data: data},
41
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
42
+ )
43
+
44
+ Vue.prototype.$workflow_vue = res.data
45
+ }
46
+ },
47
+ events: {
48
+ 'onMessage' (data) {
49
+ console.log('接收消息')
50
+ console.log(data)
51
+ if (data.type === 'apply-task') {
52
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
53
+ }
54
+ },
55
+ async 'apply' (val) {
56
+ this.selectdata = val
57
+ this.showtotal = false
58
+
59
+ // 获取配置文件
60
+ await this.loadName()
61
+
62
+ this.$refs.query.$refs.cp.pager = false
63
+ this.showData = false
64
+
65
+ this.showtotal = true
66
+ },
67
+ 'search' () {
68
+ // 关闭详细
69
+ this.showtotal = false
70
+ // 显示列表数据
71
+ this.showData = true
72
+ // 显示分页
73
+ this.$refs.query.$refs.cp.pager = true
74
+ // 调用查询
75
+ this.$refs.query.$refs.cp.$refs.cri.search()
76
+ },
77
+ 'loadPage' () {
78
+ // 关闭详细
79
+ this.showtotal = false
80
+ // 显示列表数据
81
+ this.showData = true
82
+ // 显示分页
83
+ this.$refs.query.$refs.cp.pager = true
84
+ // 调用查询
85
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
86
+ }
87
+ },
88
+
89
+ watch: {
90
+ }
91
+ }
92
+ </script>
@@ -0,0 +1,236 @@
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
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" placeholder='工程编号' v-model="model.f_apply_num"
10
+ v-on:keyup.enter="$parent.$parent.search()"
11
+ condition="f_apply_num = '{}'">
12
+ </div>
13
+ <div class="form-group col-sm-3">
14
+ <label class="font_normal_body">客户名称:</label>
15
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
16
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'" placeholder='客户名称'>
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">联系电话:</label>
20
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="f_phone like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-2 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.updateShowStatus()" v-el:cx>{{$parent.$parent.showStatus ? '已派单' : '未派单'}}</button>
26
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
28
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
29
+ <div
30
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
32
+ class="button_spacing"
33
+ style="float: right">
34
+ </div>
35
+ </div>
36
+ </div>
37
+ <div class="row" v-show="$parent.$parent.criteriaShow">
38
+ <div class="form-group col-sm-3">
39
+ <label class="font_normal_body">合同编号:</label>
40
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
41
+ v-on:keyup.enter="$parent.$parent.search()"
42
+ condition="f_contract_number = '{}'">
43
+ </div>
44
+ <div class="form-group col-sm-3">
45
+ <label class="font_normal_body">报建类型:</label>
46
+ <v-select
47
+ v-model="model.f_apply_type"
48
+ placeholder='报建类型'
49
+ condition="f_apply_type = '{}'"
50
+ :value.sync="model.f_apply_type"
51
+ :options='$parent.$parent.applytype'
52
+ class="select select_list"
53
+ :value-single="true"
54
+ close-on-select ></v-select>
55
+ </div>
56
+ <div class="form-group col-sm-3" v-if="false">
57
+ <label class="font_normal_body">报建性质:</label>
58
+ <v-select
59
+ v-model="model.f_apply_nature"
60
+ placeholder='报建性质'
61
+ condition="f_apply_nature = '{}'"
62
+ :value.sync="model.f_apply_nature"
63
+ :options='$parent.$parent.applyNatures'
64
+ class="select select_list"
65
+ :value-single="true"
66
+ close-on-select ></v-select>
67
+ </div>
68
+ <div class="form-group col-sm-3">
69
+ <label class="font_normal_body">用户地址:</label>
70
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
71
+ v-on:keyup.enter="$parent.$parent.search()"
72
+ condition="u.f_address like '%{}%'">
73
+ </div>
74
+ <div class="form-group col-sm-3">
75
+ <label for="startDate" class="font_normal_body">开始时间:</label>
76
+ <datepicker id="startDate" placeholder="开始日期"
77
+ style="width: 60%!important;"
78
+ v-model="model.startDate"
79
+ :value.sync="model.startDate"
80
+ :format="'yyyy-MM-dd 00:00:00'"
81
+ :show-reset-button="true"
82
+ condition="f_apply_date >= '{}'">
83
+ </datepicker>
84
+ </div>
85
+ <div class="form-group col-sm-3">
86
+ <label for="endDate" class="font_normal_body">结束时间:</label>
87
+ <datepicker id="endDate" placeholder="结束日期"
88
+ style="width: 60%!important;"
89
+ v-model="model.endDate"
90
+ :value.sync="model.endDate"
91
+ :format="'yyyy-MM-dd 23:59:59'"
92
+ :show-reset-button="true"
93
+ condition="f_apply_date <= '{}'">
94
+ </datepicker>
95
+ </div>
96
+ <div class="form-group col-sm-3">
97
+ <label class="font_normal_body">来&emsp;&emsp;源:</label>
98
+ <v-select
99
+ v-model="model.f_apply_source"
100
+ placeholder='来源'
101
+ condition="u.f_apply_source = '{}'"
102
+ :value.sync="model.f_apply_source"
103
+ :options='$parent.$parent.sources'
104
+ class="select select_list"
105
+ :value-single="true"
106
+ close-on-select >
107
+ </v-select>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </criteria>
112
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
113
+ <template partial='head'>
114
+ <tr>
115
+ <th style="white-space: nowrap;">序号</th>
116
+ <th style="white-space: nowrap;">工程编号</th>
117
+ <th style="white-space: nowrap;">客户名称</th>
118
+ <th style="white-space: nowrap;">客户地址</th>
119
+ <th style="white-space: nowrap;">供气合同编号</th>
120
+ <th style="white-space: nowrap;">电话</th>
121
+ <th style="white-space: nowrap;">报建类型</th>
122
+ <th style="white-space: nowrap;">报建性质</th>
123
+ <th style="white-space: nowrap;">已发卡数</th>
124
+ <th style="white-space: nowrap;">未派发户数</th>
125
+ <th style="white-space: nowrap;">未通气户数</th>
126
+ <th style="white-space: nowrap;">报建日期</th>
127
+ </tr>
128
+ </template>
129
+ <template partial='body'>
130
+ <tr>
131
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
132
+ <nobr>{{$index+1}}</nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr>{{row.f_apply_num}}</nobr>
136
+ </td>
137
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
138
+ <nobr>{{row.f_user_name}}</nobr>
139
+ </td>
140
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
141
+ <nobr>{{row.f_address}}</nobr>
142
+ </td>
143
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
144
+ <nobr>{{row.f_contract_number}}</nobr>
145
+ </td>
146
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
147
+ <nobr>{{row.f_phone}}</nobr>
148
+ </td>
149
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
150
+ <nobr>{{row.f_apply_type}}</nobr>
151
+ </td>
152
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
153
+ <nobr>{{row.f_apply_nature}}</nobr>
154
+ </td>
155
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
156
+ <nobr>{{row.cardnum ? row.cardnum : 0}}</nobr>
157
+ </td>
158
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
159
+ <nobr>{{row.f_install_count - (row.irnum ? row.irnum : 0)}}</nobr>
160
+ </td>
161
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
162
+ <nobr>{{row.f_not_ventilate_households}}</nobr>
163
+ </td>
164
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
165
+ <nobr>{{row.f_apply_date}}</nobr>
166
+ </td>
167
+ </tr>
168
+ </template>
169
+ </data-grid>
170
+ </criteria-paged>
171
+ </div>
172
+ </template>
173
+ <script>
174
+ import {PagedList} from 'vue-client'
175
+ import {isEmpty} from '../../Util'
176
+ export default {
177
+ title: '点火详情',
178
+ props: ['showData'],
179
+ data () {
180
+ return {
181
+ model: new PagedList('rs/sql/getIgnitionList', 20, {
182
+ data: {
183
+ f_filiale: this.$login.f.f_fengongsi
184
+ }
185
+ }),
186
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
187
+ criteriaShow: false,
188
+ sources: [{label: '微信公众号', value: '微信公众号'}, {label: '线下发起', value: '线下发起'}],
189
+ showStatus: true
190
+ }
191
+ },
192
+ ready () {
193
+ // 调用查询
194
+ this.search()
195
+ },
196
+ events: {
197
+ },
198
+ methods: {
199
+ updateShowStatus () {
200
+ this.showStatus = !this.showStatus
201
+ this.search()
202
+ },
203
+ loadPage () {
204
+ this.$dispatch('loadPage')
205
+ },
206
+ searchCondition (args) {
207
+ if (this.showStatus) {
208
+ args.condition = args.condition + ` and (irnum is null or irnum < u.f_install_count)`
209
+ } else {
210
+ args.condition = args.condition + ` and irnum != 0`
211
+ }
212
+ if (args.condition.includes('民用报建')) {
213
+ args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')')
214
+ }
215
+ console.log('args.condition', args.condition)
216
+ this.model.search(args.condition, args.model)
217
+ },
218
+ // 查询
219
+ search () {
220
+ this.$dispatch('search')
221
+ },
222
+ check (val) {
223
+ this.$dispatch('apply', val)
224
+ },
225
+ clear () {
226
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
+ this.$refs.cp.$refs.cri.model[key] = null
228
+ })
229
+ }
230
+ },
231
+ computed: {
232
+ }
233
+ }
234
+ </script>
235
+ <style scoped>
236
+ </style>