apply-clients 3.3.66 → 3.3.71

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 (42) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +133 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +92 -89
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +595 -566
  9. package/src/components/android/AppSign.vue +142 -142
  10. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  11. package/src/components/android/Process/AppExplorationUser.vue +396 -340
  12. package/src/components/android/Process/AppServiceControl.vue +865 -865
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +4 -2
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  16. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  18. package/src/components/product/Business/BusinessApply.vue +242 -242
  19. package/src/components/product/Function/InstallFunction.vue +132 -132
  20. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  21. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  22. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  23. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  24. package/src/components/product/OldApply/OldApply.vue +150 -150
  25. package/src/components/product/Onetomany.vue +377 -377
  26. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  27. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  28. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  29. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  30. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  31. package/src/components/product/Process/ExplorationUser.vue +189 -147
  32. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  33. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  34. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  35. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  36. package/src/components/product/ServiceView.vue +631 -631
  37. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  38. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  39. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  40. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  41. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  42. package/src/main.js +3 -0
@@ -1,235 +1,252 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">组织机构:</label>
10
- <res-select
11
- restype='organization'
12
- :initresid='$parent.$parent.curorgid'
13
- @res-select="$parent.$parent.getorg"
14
- is-mul="false"
15
- ></res-select>
16
- </div>
17
- <div class="form-group col-sm-3">
18
- <label class="font_normal_body">工程编号:</label>
19
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
- v-on:keyup.enter="$parent.$parent.search()"
21
- condition="a.f_apply_num = '{}'">
22
- </div>
23
- <div class="form-group col-sm-3">
24
- <label class="font_normal_body">操&ensp;作&ensp;人:</label>
25
- <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
26
- v-on:keyup.enter="$parent.$parent.search()"
27
- condition="ma.f_operator like '%{}%'">
28
- </div>
29
- <div class="form-group col-sm-3 button-range">
30
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
- <export-excel :data="$parent.$parent.getCondition"
33
- :field="$parent.$parent.getfield"
34
- sqlurl="rs/logic/applyExportfile"
35
- sql-name="applyGetMaterial"
36
- template-name='材料明细导出'
37
- :choose-col="true"></export-excel>
38
- <div
39
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
- class="button_spacing"
42
- style="float: right">
43
- </div>
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow">
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">客户名称:</label>
49
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="a.f_user_name like '%{}%'">
52
- </div>
53
- <div class="form-group col-sm-3">
54
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
55
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="a.f_address like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">材料名称:</label>
61
- <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="ma.f_material_name = '{}'">
64
- </div>
65
- <div class="form-group col-sm-3">
66
- <label class="font_normal_body">材料型号:</label>
67
- <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_material_style"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="ma.f_material_style = '{}'">
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">材料单位:</label>
73
- <input type="text" style="width: 60%" class="input_search" placeholder='材料单位' v-model="model.f_material_unit"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="ma.f_material_unit = '{}'">
76
- </div>
77
- <div class="form-group col-sm-3">
78
- <label class="font_normal_body">材料数量:</label>
79
- <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="ma.f_material_number = '{}'">
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label for="startDate" class="font_normal_body">开始时间:</label>
85
- <datepicker id="startDate" placeholder="开始日期"
86
- style="width: 60%!important;"
87
- v-model="model.startDate"
88
- :value.sync="model.startDate"
89
- :format="'yyyy-MM-dd 00:00:00'"
90
- :show-reset-button="true"
91
- condition="ma.f_operation_date >= '{}'">
92
- </datepicker>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label for="endDate" class="font_normal_body">结束时间:</label>
96
- <datepicker id="endDate" placeholder="结束日期"
97
- style="width: 60%!important;"
98
- v-model="model.endDate"
99
- :value.sync="model.endDate"
100
- :format="'yyyy-MM-dd 23:59:59'"
101
- :show-reset-button="true"
102
- condition="ma.f_operation_date <= '{}'">
103
- </datepicker>
104
- </div>
105
- </div>
106
- </div>
107
- </criteria>
108
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
- <template partial='head'>
110
- <tr>
111
- <th>序号</th>
112
- <th>工程编号</th>
113
- <th>客户名称</th>
114
- <th>地址</th>
115
- <th>材料名称</th>
116
- <th>材料型号</th>
117
- <th>材料单位</th>
118
- <th>材料数量</th>
119
- <th>操作人</th>
120
- <th>操作时间</th>
121
- </tr>
122
- </template>
123
- <template partial='body'>
124
- <tr >
125
- <td style="text-align: center;">
126
- <nobr><font>{{$index+1}}</font></nobr>
127
- </td>
128
- <td style="text-align: center;">
129
- <nobr><font>{{row.f_apply_num}}</font></nobr>
130
- </td>
131
- <td style="text-align: center;">
132
- <nobr><font>{{row.f_user_name}}</font></nobr>
133
- </td>
134
- <td style="text-align: center;">
135
- <nobr><font>{{row.f_address}}</font></nobr>
136
- </td>
137
- <td style="text-align: center;">
138
- <nobr><font>{{row.f_material_name}}</font></nobr>
139
- </td>
140
- <td style="text-align: center;">
141
- <nobr><font>{{row.f_material_style}}</font></nobr>
142
- </td>
143
- <td style="text-align: center;">
144
- <nobr><font>{{row.f_material_unit}}</font></nobr>
145
- </td>
146
- <td style="text-align: center;">
147
- <nobr><font>{{row.f_material_number}}</font></nobr>
148
- </td>
149
- <td style="text-align: center;">
150
- <nobr><font>{{row.f_operator}}</font></nobr>
151
- </td>
152
- <td style="text-align: center;">
153
- <nobr><font>{{row.f_operation_date}}</font></nobr>
154
- </td>
155
- </tr>
156
- </template>
157
- </data-grid>
158
- </criteria-paged>
159
- </div>
160
- </div>
161
- </template>
162
-
163
- <script>
164
- import {PagedList} from 'vue-client'
165
- import {HttpResetClass} from 'vue-client'
166
- export default {
167
- title: '材料明细',
168
- data () {
169
- return {
170
- model: new PagedList('rs/sql/applyGetMaterial', 30, null),
171
- curorgid: [this.$login.f.orgid],
172
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
173
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
174
- chargeStatus: [
175
- {label: '全部', value: ''},
176
- {label: '有效', value: '有效'},
177
- {label: '作废', value: '作废'},
178
- {label: '退款', value: '退款'}
179
- ],
180
- criteriaShow: false,
181
- chargeAll: {
182
- count: 0,
183
- sum: 0
184
- },
185
- getfield: {
186
- 'f_apply_num': '工程编号',
187
- 'f_user_name': '客户名称',
188
- 'f_address': '地址',
189
- 'f_material_name': '材料名称',
190
- 'f_material_style': '材料型号',
191
- 'f_material_unit': '材料单位',
192
- 'f_material_number': '材料数量',
193
- 'f_operator': '操作人',
194
- 'f_operation_date': '操作时间'
195
- }
196
- }
197
- },
198
- ready () {
199
- // 调用查询
200
- this.search()
201
- },
202
- methods: {
203
- clear () {
204
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
205
- this.$refs.cp.$refs.cri.model[key] = ''
206
- })
207
- },
208
- searchCondition (args) {
209
- args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
210
- this.model.search(args.condition, args.model)
211
- },
212
- // 查询
213
- search () {
214
- this.$refs.cp.$refs.cri.search()
215
- },
216
- getorg (val) {
217
- if (val.length <= 0) {
218
- return
219
- }
220
- this.curorgid = val
221
- this.search()
222
- }
223
- },
224
- computed: {
225
- getCondition () {
226
- return {
227
- condition: this.model.condition
228
- }
229
- }
230
- }
231
- }
232
- </script>
233
-
234
- <style scoped>
235
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">组织机构:</label>
10
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="a.f_apply_num = '{}'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">操&ensp;作&ensp;人:</label>
25
+ <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="ma.f_operator like '%{}%'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <export-excel :data="$parent.$parent.getCondition"
33
+ :field="$parent.$parent.getfield"
34
+ sqlurl="rs/logic/applyExportfile"
35
+ sql-name="applyGetMaterial"
36
+ template-name='材料明细导出'
37
+ :choose-col="true"></export-excel>
38
+ <div
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
+ class="button_spacing"
42
+ style="float: right">
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">客户名称:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="a.f_user_name like '%{}%'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
55
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="a.f_address like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">材料名称:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="ma.f_material_name = '{}'">
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label class="font_normal_body">材料型号:</label>
67
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_material_style"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="ma.f_material_style = '{}'">
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">材料单位:</label>
73
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料单位' v-model="model.f_material_unit"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="ma.f_material_unit = '{}'">
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">材料数量:</label>
79
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="ma.f_material_number = '{}'">
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label for="startDate" class="font_normal_body">开始时间:</label>
85
+ <datepicker id="startDate" placeholder="开始日期"
86
+ style="width: 60%!important;"
87
+ v-model="model.startDate"
88
+ :value.sync="model.startDate"
89
+ :format="'yyyy-MM-dd 00:00:00'"
90
+ :show-reset-button="true"
91
+ condition="ma.f_operation_date >= '{}'">
92
+ </datepicker>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label for="endDate" class="font_normal_body">结束时间:</label>
96
+ <datepicker id="endDate" placeholder="结束日期"
97
+ style="width: 60%!important;"
98
+ v-model="model.endDate"
99
+ :value.sync="model.endDate"
100
+ :format="'yyyy-MM-dd 23:59:59'"
101
+ :show-reset-button="true"
102
+ condition="ma.f_operation_date <= '{}'">
103
+ </datepicker>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </criteria>
108
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
+ <template partial='head'>
110
+ <tr>
111
+ <th>序号</th>
112
+ <th>工程编号</th>
113
+ <th>客户名称</th>
114
+ <th>地址</th>
115
+ <th>材料名称</th>
116
+ <th>材料型号</th>
117
+ <th>材料单位</th>
118
+ <th>材料数量</th>
119
+ <th>操作人</th>
120
+ <th>操作时间</th>
121
+ </tr>
122
+ </template>
123
+ <template partial='body'>
124
+ <tr >
125
+ <td style="text-align: center;">
126
+ <nobr><font>{{$index+1}}</font></nobr>
127
+ </td>
128
+ <td style="text-align: center;">
129
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr><font>{{row.f_user_name}}</font></nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr><font>{{row.f_address}}</font></nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr><font>{{row.f_material_name}}</font></nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr><font>{{row.f_material_style}}</font></nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr><font>{{row.f_material_unit}}</font></nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr><font>{{row.f_material_number}}</font></nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr><font>{{row.f_operator}}</font></nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
154
+ </td>
155
+ </tr>
156
+ </template>
157
+ </data-grid>
158
+
159
+ </criteria-paged>
160
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
161
+ 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
162
+ 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
163
+ </p>
164
+ </div>
165
+
166
+ </div>
167
+ </template>
168
+
169
+ <script>
170
+ import {PagedList} from 'vue-client'
171
+ import {HttpResetClass} from 'vue-client'
172
+ export default {
173
+ title: '材料明细',
174
+ data () {
175
+ return {
176
+ model: new PagedList('rs/sql/applyGetMaterial', 30, null),
177
+ curorgid: [this.$login.f.orgid],
178
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
179
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
180
+ chargeStatus: [
181
+ {label: '全部', value: ''},
182
+ {label: '有效', value: '有效'},
183
+ {label: '作废', value: '作废'},
184
+ {label: '退款', value: '退款'}
185
+ ],
186
+ criteriaShow: false,
187
+ chargeAll: {
188
+ count: 0,
189
+ sum: 0
190
+ },
191
+ getfield: {
192
+ 'f_apply_num': '工程编号',
193
+ 'f_user_name': '客户名称',
194
+ 'f_address': '地址',
195
+ 'f_material_name': '材料名称',
196
+ 'f_material_style': '材料型号',
197
+ 'f_material_unit': '材料单位',
198
+ 'f_material_number': '材料数量',
199
+ 'f_operator': '操作人',
200
+ 'f_operation_date': '操作时间'
201
+ }
202
+ }
203
+ },
204
+ ready () {
205
+ // 调用查询
206
+ this.search()
207
+ },
208
+ methods: {
209
+ clear () {
210
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
211
+ this.$refs.cp.$refs.cri.model[key] = ''
212
+ })
213
+ },
214
+ searchCondition (args) {
215
+ args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
216
+ this.model.search(args.condition, args.model)
217
+ },
218
+ // 查询
219
+ search () {
220
+ this.$refs.cp.$refs.cri.search()
221
+ this.getChargeAll()
222
+ },
223
+ async getChargeAll () {
224
+ let http = new HttpResetClass()
225
+ let data = {
226
+ condition: this.model.condition
227
+ }
228
+ let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
229
+ console.log(res.data[0])
230
+ console.log('222')
231
+ this.chargeAll = res.data[0]
232
+ },
233
+ getorg (val) {
234
+ if (val.length <= 0) {
235
+ return
236
+ }
237
+ this.curorgid = val
238
+ this.search()
239
+ }
240
+ },
241
+ computed: {
242
+ getCondition () {
243
+ return {
244
+ condition: this.model.condition
245
+ }
246
+ }
247
+ }
248
+ }
249
+ </script>
250
+
251
+ <style scoped>
252
+ </style>