apply-clients 6.0.4 → 6.0.6

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 (28) hide show
  1. package/build/dev-server.js +72 -72
  2. package/package.json +1 -1
  3. package/src/components/apply/base/rightview/InstallCardList2.vue +3 -2
  4. package/src/components/apply/base/rightview/carddetail/BuildFeeDetail2.vue +77 -77
  5. package/src/components/apply/base/rightview/carddetail/ChangeFeeDetail2.vue +116 -116
  6. package/src/components/apply/base/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  7. package/src/components/build/Install/InstallFee/AddContract.vue +257 -257
  8. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -929
  9. package/src/components/build/Install/InstallFee/PreparationFee.vue +223 -223
  10. package/src/components/build/Install/InstallFee/PrestoreFee.vue +630 -630
  11. package/src/components/build/Install/Process/CustomerBuildingMessage.vue +251 -251
  12. package/src/components/build/Install/Process/CustomerEquipmentMessage.vue +172 -172
  13. package/src/components/build/Install/Process/CustomerFile.vue +423 -423
  14. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -414
  15. package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -749
  16. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -376
  17. package/src/components/build/Install/Process/MeterType.vue +379 -379
  18. package/src/components/build/Install/Process/PlaceControler.vue +304 -304
  19. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -388
  20. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -259
  21. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -243
  22. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -426
  23. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -441
  24. package/src/components/build/Install/ProcessInfo/ApplyRecordCancel.vue +135 -135
  25. package/src/components/build/Install/bill/BillGZKMakeInfo.vue +58 -58
  26. package/src/components/build/Install/bill/BillQRKMakeInfo.vue +79 -79
  27. package/src/components/build/Install/bill/BillXSDMakeInfo.vue +206 -206
  28. package/src/main.js +25 -25
@@ -1,251 +1,251 @@
1
- <template>
2
- <div class="flex">
3
- <div class="col-sm-12" style="height: auto">
4
- <div class="form-group col-sm-4 form-input-group">
5
- <label class="control-label">小区类型:</label>
6
- <div class="col-sm-6">
7
- <input class="form-control" type="text" v-model="model.f_unit"
8
- v-if="model.f_unit!=null||model.f_unit!=undefined">
9
- <v-select :is-all-line="true" v-else :value.sync="model.f_customer_type" v-model="model.f_customer_type" v-ref:f_customer_types
10
- :options='funit'
11
- placeholder='请选择' close-on-select></v-select>
12
- </div>
13
- </div>
14
- <div class="form-group col-sm-4 form-input-group">
15
- <label class="control-label">房屋类型:</label>
16
- <div class="col-sm-6">
17
- <input class="form-control" type="text" v-model="model.f_floor"
18
- v-if="model.f_floor!=null||model.f_floor!=undefined">
19
- <v-select :is-all-line="true" v-else :value.sync="model.f_customer_type" v-model="model.f_customer_type" v-ref:f_customer_types
20
- :options='ffloor'
21
- placeholder='请选择' close-on-select></v-select>
22
- </div>
23
- </div>
24
- <div class="form-group col-sm-4 form-input-group">
25
- <label class="control-label">总户数:</label>
26
- <div class="col-sm-5">
27
- <input class="form-control" type="number" v-model="model.f_room">
28
- </div>
29
- </div>
30
- <div class="form-group col-sm-4 form-input-group">
31
- <label class="control-label">总楼栋数:</label>
32
- <div class="col-sm-5">
33
- <input class="form-control" type="number" v-model="model.f_building_count">
34
- </div>
35
- </div>
36
- <div class="form-group col-sm-4 form-input-group">
37
- <label class="control-label">总楼层数:</label>
38
- <div class="col-sm-5">
39
- <input class="form-control" type="number" v-model="model.f_floor_count">
40
- </div>
41
- </div>
42
- </div>
43
- <div>
44
- <div class="form-inline auto" style="margin-bottom: 5px;">
45
- <label for="">楼栋查找:</label>
46
- <input type="text" class="form-control" placeholder='请输入查找的参数名' v-model="param"
47
- @keyup.enter="filterParams(param)">
48
- <button type="button" class="btn btn-primary" @click="filterParams(param)">查询</button>
49
- <button type="button" class="btn btn-warning" @click="add()">新增</button>
50
- <div class="form-inline" style="float: right">
51
- <button type="button" class="btn btn-warning add-postition" @click="impexcel()">导入</button>
52
- </div>
53
- </div>
54
- <div class="span">
55
- <partial-view v-ref:single-load>
56
- <data-grid :model="model" v-ref:grid>
57
- <template partial='head'>
58
- <tr>
59
- <th>序号</th>
60
- <th>楼栋</th>
61
- <th>单元</th>
62
- <th>户数</th>
63
- <th>备注</th>
64
- <!--<th>操作</th>-->
65
- </tr>
66
- </template>
67
- <template partial='body'>
68
- <td>{{$index+1}}</td>
69
- <td>{{row.f_building}}</td>
70
- <td>{{row.f_unit}}</td>
71
- <td>{{row.f_door_count}}</td>
72
- <td>{{row.f_remarks}}</td>
73
- <!--<td class="flex-around">-->
74
- <!--<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.modifyParam(row,'修改')">修改</button>-->
75
- <!--<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.deleteItem(row)">删除</button>-->
76
- <!--</td>-->
77
- </template>
78
- </data-grid>
79
- </partial-view>
80
- </div>
81
- </div>
82
- <modal :show.sync="show" v-ref:modal backdrop="false">
83
- <header slot="modal-header" class="modal-header">
84
- <button type="button" class="close" @click="close"><span>&times;</span></button>
85
- <h4 class="modal-title">配置</h4>
86
- </header>
87
- <article slot="modal-body" class="modal-body">
88
- <div class="from-group">
89
- <label for="">楼栋</label>
90
- <input type="text" class="form-control" v-model="selectItem.f_building">
91
- </div>
92
- <div class="from-group">
93
- <label for="">单元</label>
94
- <input type="text" class="form-control" v-model="selectItem.f_unit">
95
- </div>
96
- <div class="from-group">
97
- <label for="">户数</label>
98
- <input type="text" class="form-control" v-model="selectItem.f_door_count">
99
- </div>
100
- <div class="from-group">
101
- <label for="">备注</label>
102
- <input type="text" class="form-control" v-model="selectItem.f_remarks">
103
- </div>
104
- </article>
105
- <footer slot="modal-footer" class="modal-footer">
106
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
107
- <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
108
- </footer>
109
- </modal>
110
- <modal :show.sync="showFile" v-ref:modal backdrop="true">
111
- <header slot="modal-header" class="modal-header">
112
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
113
- <h4 class="modal-title">文件导入</h4>
114
- </header>
115
- <article slot="modal-body" class="modal-body">
116
- <div class="form-group">
117
- <file-updata-excel class="my-file-uploader" name="myFileExcel"
118
- action="rs/excel/import/t_building_info" tagname="文件导入" :configpath="configpath" multiple
119
- v-ref:file></file-updata-excel>
120
- </div>
121
- </article>
122
-
123
- <footer slot="modal-footer" class="modal-footer">
124
- <!--<button type="button" class="btn btn-default" @click='closeFile'>取消</button>
125
-
126
- <button type="button" class="btn btn-success" @click='uploadFile()'>确认</button>-->
127
- </footer>
128
- </modal>
129
- </div>
130
- </template>
131
- <script>
132
-
133
- export default {
134
- title: '楼栋信息',
135
- data() {
136
- return {
137
- funit: this.$appdata.getParam('小区类型'),
138
- ffloor: this.$appdata.getParam('房屋类型'),
139
- type: '',
140
- selectItem: {
141
- name: '',
142
- value: ''
143
- },
144
- params: null,
145
- model: {
146
- rows: []
147
- },
148
- show: false,
149
- showFile: false,
150
- //configpath : "..\\src\\main\\resources\\hibernate\\报建\\building.hbm.xml"
151
- configpath: "F:\\workspace\\ApplyInstall\\src\\main\\resources\\hibernate\\报建\\building.hbm.xml"
152
- //configpath : "F:\\workspace\\ApplyInstall\\src\\main\\resources\\template\\导入模板\\表头配置\\报建\\louDong.json"
153
- }
154
- },
155
- ready() {
156
- // this.model.rows = AppData.singleValues
157
- this.loadSingle()
158
- },
159
- methods: {
160
- impexcel() {
161
- this.$showMessage(this.$refs.file.$el.querySelector('input').value)
162
- this.showFile = true
163
- },
164
- closeFile() {
165
- this.showFile = false
166
- // 将选的文件清空
167
- this.$showMessage(this.$refs.file.$el.querySelector('input').value)
168
- this.$refs.file.$el.querySelector('input').value = ''
169
- },
170
- loadSingle() {
171
- this.$refs.singleLoad.load('rs/sql/applysingleTable', {
172
- data: {
173
- tablename: 't_singlevalue',
174
- condition: '1=1'
175
- }
176
- }).then((res) => {
177
- this.model.rows = this.params = res.data
178
- })
179
- },
180
- deleteItem(row) {
181
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
182
- if (res === 'confirm') {
183
- this.$refs.singleLoad.load('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
184
- this.loadSingle()
185
- })
186
- }
187
- })
188
- },
189
- filterParams(param) {
190
- if (param && param !== "") {
191
- // this.model.rows = []
192
- this.model.rows = this.params.filter((item) => {
193
- return item.name.includes(param)
194
- })
195
- // for (var i = 0; i < keys.length; i++) {
196
- // this.model.rows[keys[i]] = item.name[keys[i]]
197
- // }
198
- } else {
199
- this.model.rows = this.params
200
- }
201
- },
202
- add() {
203
- this.show = true
204
- },
205
- modifyParam(row, type) {
206
- this.type = type
207
- this.show = true
208
- // this.selectItem = row
209
- this.selectItem.f_building = row.f_building
210
- this.selectItem.f_unit = row.f_unit
211
- this.selectItem.f_door_count = row.f_door_count
212
- this.selectItem.f_remarks = row.f_remarks
213
- },
214
- confirm() {
215
- let data ={
216
- tablename:'t_singlevalue',
217
- parameters:this.selectItem
218
- }
219
- this.$refs.singleLoad.load('rs/logic/t_singlevalue',{data:data} ).then((res) => {
220
- this.show = false
221
- // 如果没有id,需要在数组中添加
222
- this.loadSingle()
223
- this.selectItem = {
224
- name: '',
225
- value: ''
226
- }
227
- })
228
- },
229
- // 关闭模态框
230
- close() {
231
- this.show = false
232
- this.selectItem = {
233
- name: '',
234
- value: ''
235
- }
236
- }
237
- // modify (row, key) {
238
- // this.value = row
239
- // this.key = key
240
- // },
241
- // clear (row, key) {
242
- // if (this.key) {
243
- // this.model.rows[key] = this.value
244
- // this.value = null
245
- // this.key = null
246
- // }
247
- // }
248
- }
249
-
250
- }
251
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <div class="col-sm-12" style="height: auto">
4
+ <div class="form-group col-sm-4 form-input-group">
5
+ <label class="control-label">小区类型:</label>
6
+ <div class="col-sm-6">
7
+ <input class="form-control" type="text" v-model="model.f_unit"
8
+ v-if="model.f_unit!=null||model.f_unit!=undefined">
9
+ <v-select :is-all-line="true" v-else :value.sync="model.f_customer_type" v-model="model.f_customer_type" v-ref:f_customer_types
10
+ :options='funit'
11
+ placeholder='请选择' close-on-select></v-select>
12
+ </div>
13
+ </div>
14
+ <div class="form-group col-sm-4 form-input-group">
15
+ <label class="control-label">房屋类型:</label>
16
+ <div class="col-sm-6">
17
+ <input class="form-control" type="text" v-model="model.f_floor"
18
+ v-if="model.f_floor!=null||model.f_floor!=undefined">
19
+ <v-select :is-all-line="true" v-else :value.sync="model.f_customer_type" v-model="model.f_customer_type" v-ref:f_customer_types
20
+ :options='ffloor'
21
+ placeholder='请选择' close-on-select></v-select>
22
+ </div>
23
+ </div>
24
+ <div class="form-group col-sm-4 form-input-group">
25
+ <label class="control-label">总户数:</label>
26
+ <div class="col-sm-5">
27
+ <input class="form-control" type="number" v-model="model.f_room">
28
+ </div>
29
+ </div>
30
+ <div class="form-group col-sm-4 form-input-group">
31
+ <label class="control-label">总楼栋数:</label>
32
+ <div class="col-sm-5">
33
+ <input class="form-control" type="number" v-model="model.f_building_count">
34
+ </div>
35
+ </div>
36
+ <div class="form-group col-sm-4 form-input-group">
37
+ <label class="control-label">总楼层数:</label>
38
+ <div class="col-sm-5">
39
+ <input class="form-control" type="number" v-model="model.f_floor_count">
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <div>
44
+ <div class="form-inline auto" style="margin-bottom: 5px;">
45
+ <label for="">楼栋查找:</label>
46
+ <input type="text" class="form-control" placeholder='请输入查找的参数名' v-model="param"
47
+ @keyup.enter="filterParams(param)">
48
+ <button type="button" class="btn btn-primary" @click="filterParams(param)">查询</button>
49
+ <button type="button" class="btn btn-warning" @click="add()">新增</button>
50
+ <div class="form-inline" style="float: right">
51
+ <button type="button" class="btn btn-warning add-postition" @click="impexcel()">导入</button>
52
+ </div>
53
+ </div>
54
+ <div class="span">
55
+ <partial-view v-ref:single-load>
56
+ <data-grid :model="model" v-ref:grid>
57
+ <template partial='head'>
58
+ <tr>
59
+ <th>序号</th>
60
+ <th>楼栋</th>
61
+ <th>单元</th>
62
+ <th>户数</th>
63
+ <th>备注</th>
64
+ <!--<th>操作</th>-->
65
+ </tr>
66
+ </template>
67
+ <template partial='body'>
68
+ <td>{{$index+1}}</td>
69
+ <td>{{row.f_building}}</td>
70
+ <td>{{row.f_unit}}</td>
71
+ <td>{{row.f_door_count}}</td>
72
+ <td>{{row.f_remarks}}</td>
73
+ <!--<td class="flex-around">-->
74
+ <!--<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.modifyParam(row,'修改')">修改</button>-->
75
+ <!--<button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.deleteItem(row)">删除</button>-->
76
+ <!--</td>-->
77
+ </template>
78
+ </data-grid>
79
+ </partial-view>
80
+ </div>
81
+ </div>
82
+ <modal :show.sync="show" v-ref:modal backdrop="false">
83
+ <header slot="modal-header" class="modal-header">
84
+ <button type="button" class="close" @click="close"><span>&times;</span></button>
85
+ <h4 class="modal-title">配置</h4>
86
+ </header>
87
+ <article slot="modal-body" class="modal-body">
88
+ <div class="from-group">
89
+ <label for="">楼栋</label>
90
+ <input type="text" class="form-control" v-model="selectItem.f_building">
91
+ </div>
92
+ <div class="from-group">
93
+ <label for="">单元</label>
94
+ <input type="text" class="form-control" v-model="selectItem.f_unit">
95
+ </div>
96
+ <div class="from-group">
97
+ <label for="">户数</label>
98
+ <input type="text" class="form-control" v-model="selectItem.f_door_count">
99
+ </div>
100
+ <div class="from-group">
101
+ <label for="">备注</label>
102
+ <input type="text" class="form-control" v-model="selectItem.f_remarks">
103
+ </div>
104
+ </article>
105
+ <footer slot="modal-footer" class="modal-footer">
106
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
107
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
108
+ </footer>
109
+ </modal>
110
+ <modal :show.sync="showFile" v-ref:modal backdrop="true">
111
+ <header slot="modal-header" class="modal-header">
112
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
113
+ <h4 class="modal-title">文件导入</h4>
114
+ </header>
115
+ <article slot="modal-body" class="modal-body">
116
+ <div class="form-group">
117
+ <file-updata-excel class="my-file-uploader" name="myFileExcel"
118
+ action="rs/excel/import/t_building_info" tagname="文件导入" :configpath="configpath" multiple
119
+ v-ref:file></file-updata-excel>
120
+ </div>
121
+ </article>
122
+
123
+ <footer slot="modal-footer" class="modal-footer">
124
+ <!--<button type="button" class="btn btn-default" @click='closeFile'>取消</button>
125
+
126
+ <button type="button" class="btn btn-success" @click='uploadFile()'>确认</button>-->
127
+ </footer>
128
+ </modal>
129
+ </div>
130
+ </template>
131
+ <script>
132
+
133
+ export default {
134
+ title: '楼栋信息',
135
+ data() {
136
+ return {
137
+ funit: this.$appdata.getParam('小区类型'),
138
+ ffloor: this.$appdata.getParam('房屋类型'),
139
+ type: '',
140
+ selectItem: {
141
+ name: '',
142
+ value: ''
143
+ },
144
+ params: null,
145
+ model: {
146
+ rows: []
147
+ },
148
+ show: false,
149
+ showFile: false,
150
+ //configpath : "..\\src\\main\\resources\\hibernate\\报建\\building.hbm.xml"
151
+ configpath: "F:\\workspace\\ApplyInstall\\src\\main\\resources\\hibernate\\报建\\building.hbm.xml"
152
+ //configpath : "F:\\workspace\\ApplyInstall\\src\\main\\resources\\template\\导入模板\\表头配置\\报建\\louDong.json"
153
+ }
154
+ },
155
+ ready() {
156
+ // this.model.rows = AppData.singleValues
157
+ this.loadSingle()
158
+ },
159
+ methods: {
160
+ impexcel() {
161
+ this.$showMessage(this.$refs.file.$el.querySelector('input').value)
162
+ this.showFile = true
163
+ },
164
+ closeFile() {
165
+ this.showFile = false
166
+ // 将选的文件清空
167
+ this.$showMessage(this.$refs.file.$el.querySelector('input').value)
168
+ this.$refs.file.$el.querySelector('input').value = ''
169
+ },
170
+ loadSingle() {
171
+ this.$refs.singleLoad.load('rs/sql/singleTable', {
172
+ data: {
173
+ tablename: 't_singlevalue',
174
+ condition: '1=1'
175
+ }
176
+ }).then((res) => {
177
+ this.model.rows = this.params = res.data
178
+ })
179
+ },
180
+ deleteItem(row) {
181
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
182
+ if (res === 'confirm') {
183
+ this.$refs.singleLoad.load('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
184
+ this.loadSingle()
185
+ })
186
+ }
187
+ })
188
+ },
189
+ filterParams(param) {
190
+ if (param && param !== "") {
191
+ // this.model.rows = []
192
+ this.model.rows = this.params.filter((item) => {
193
+ return item.name.includes(param)
194
+ })
195
+ // for (var i = 0; i < keys.length; i++) {
196
+ // this.model.rows[keys[i]] = item.name[keys[i]]
197
+ // }
198
+ } else {
199
+ this.model.rows = this.params
200
+ }
201
+ },
202
+ add() {
203
+ this.show = true
204
+ },
205
+ modifyParam(row, type) {
206
+ this.type = type
207
+ this.show = true
208
+ // this.selectItem = row
209
+ this.selectItem.f_building = row.f_building
210
+ this.selectItem.f_unit = row.f_unit
211
+ this.selectItem.f_door_count = row.f_door_count
212
+ this.selectItem.f_remarks = row.f_remarks
213
+ },
214
+ confirm() {
215
+ let data ={
216
+ tablename:'t_singlevalue',
217
+ parameters:this.selectItem
218
+ }
219
+ this.$refs.singleLoad.load('rs/logic/t_singlevalue',{data:data} ).then((res) => {
220
+ this.show = false
221
+ // 如果没有id,需要在数组中添加
222
+ this.loadSingle()
223
+ this.selectItem = {
224
+ name: '',
225
+ value: ''
226
+ }
227
+ })
228
+ },
229
+ // 关闭模态框
230
+ close() {
231
+ this.show = false
232
+ this.selectItem = {
233
+ name: '',
234
+ value: ''
235
+ }
236
+ }
237
+ // modify (row, key) {
238
+ // this.value = row
239
+ // this.key = key
240
+ // },
241
+ // clear (row, key) {
242
+ // if (this.key) {
243
+ // this.model.rows[key] = this.value
244
+ // this.value = null
245
+ // this.key = null
246
+ // }
247
+ // }
248
+ }
249
+
250
+ }
251
+ </script>