apply-clients 3.5.4-87 → 3.5.4-88

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 (52) hide show
  1. package/application.properties +4 -0
  2. package/build/dev-server.js +6 -11
  3. package/conf/context.xml +9 -0
  4. package/conf/server-node1.xml +69 -0
  5. package/conf/server-node2.xml +69 -0
  6. package/conf/server.xml +32 -0
  7. package/nginx.conf +21 -0
  8. package/package.json +3 -3
  9. package/pom.xml +18 -0
  10. package/src/App.vue +25 -25
  11. package/src/apply.js +137 -137
  12. package/src/components/android/AppCheckTakePic.vue +168 -168
  13. package/src/components/android/AppTakePic.vue +182 -182
  14. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  15. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  16. package/src/components/product/PcZhihuanManagement.vue +160 -160
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  18. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  19. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  20. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  21. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  22. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  23. package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -197
  24. package/src/filiale/fugou/android/printCharge.vue +162 -162
  25. package/src/filiale/fugou/android.js +16 -16
  26. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  27. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  28. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  29. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  30. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  31. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  32. package/src/filiale/fugou/pc/chargeReport.vue +143 -0
  33. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  34. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  35. package/src/filiale/fugou/pc.js +1 -0
  36. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  37. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  38. package/src/filiale/qianneng/android.js +15 -15
  39. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  40. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  41. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  42. package/src/filiale/qianneng/pc.js +29 -29
  43. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  44. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  45. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  46. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  47. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  48. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
  49. package/src/main.js +2 -3
  50. package/src/test/SessionTestServlet.java +69 -0
  51. package/webapp/WEB-INF/web.xml +52 -0
  52. package/webapp/session-test.jsp +59 -0
@@ -1,197 +1,197 @@
1
- <template>
2
- <div class="col-sm-12" style="margin: 20px 0px;">
3
- <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
- <template partial='head'>
5
- <tr>
6
- <th class="textNoLineBreak">序号</th>
7
- <th class="textNoLineBreak">检查项目</th>
8
- <th class="textNoLineBreak">检查结果</th>
9
- <th class="textNoLineBreak">操作</th>
10
- </tr>
11
- </template>
12
- <template partial='body'>
13
- <tr>
14
- <td style="text-align: center;">
15
- <nobr>{{$index+1}}</nobr>
16
- </td>
17
- <td style="text-align: center;" >
18
- <nobr>{{row.f_check_list}}</nobr>
19
- </td>
20
- <td style="text-align: center;">
21
- <nobr>{{row.f_check_value}}</nobr>
22
- </td>
23
- <td style="text-align: center;">
24
- <nobr>
25
- <button
26
- type="button"
27
- name="button"
28
- class="btn btn-link"
29
- @click="$parent.$parent.showModal(row)"
30
- >修改</button>
31
- </nobr>
32
- </td>
33
- </tr>
34
- </template>
35
- </data-grid>
36
- <validator name="v">
37
- <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
38
- <header slot="modal-header" class="modal-header">
39
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
40
- <h4 class="modal-title">检查明细</h4>
41
- </header>
42
- <article slot="modal-body" class="modal-body clearfix">
43
- <div class="form-group col-sm-12">
44
- <label class="col-sm-2 control-label">检查项目:</label>
45
- <div class="col-sm-10">
46
- <textarea width="100%" rows="3" readonly v-model="checkList.f_check_list"></textarea>
47
- </div>
48
-
49
- </div>
50
- <div class="form-group col-sm-12" >
51
- <label class="col-sm-2 control-label">检查结果:</label>
52
- <div class="col-sm-10">
53
- <input-select
54
- placeholder='请选择' width="100%"
55
- v-model="checkList.f_check_value"
56
- :value.sync="checkList.f_check_value"
57
- :options='item'
58
- class="select select_list"
59
- :value-single="true"
60
- close-on-select ></input-select>
61
- </div>
62
- </div>
63
- <app-check-take-pic
64
- :blobid="selectdata.f_process_id"
65
- :flag="flag"
66
- :defname="selectdata.defname"
67
- :isdelete="true"
68
- :istakepic="true"
69
- :istype="true">
70
- </app-check-take-pic>
71
- </article>
72
- <footer slot="modal-footer" class="modal-footer">
73
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
74
- </footer>
75
- </modal>
76
- </validator>
77
- </div>
78
- </template>
79
- <script>
80
- import {HttpResetClass} from 'vue-client'
81
- import Vue from 'vue'
82
-
83
- export default {
84
- title: '检查项管理',
85
- props: {
86
- selectdata: {
87
- type: Object
88
- },
89
- },
90
- data () {
91
- return {
92
- model: {
93
- data: null
94
- },
95
- flag:0,
96
- showCheckModel: false,
97
- checkList:{},
98
- item: [{label: '是', value: '是'},{label: '否', value: '否'}],
99
- hasList:false,
100
- savelist:[]
101
- }
102
- },
103
- ready () {
104
- this.search()
105
- },
106
- methods: {
107
- async save(){
108
- let res = await this.$resetpost(
109
- `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
110
- this.checkList,
111
- {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
112
- )
113
- if(res){
114
- this.showCheckModel=false
115
- this.search()
116
- }
117
- },
118
- showModal(row){
119
- this.checkList=row
120
- this.flag=this.selectdata.f_apply_num+row.id
121
- this.showCheckModel=true
122
- },
123
- closeModal() {
124
- this.showCheckModel=false
125
- },
126
- //如果是第一次,则新保存检查想到数据库
127
- async saveCheck() {
128
- if (this.hasList === false) {
129
- this.savelist = []
130
- let checkList
131
- if (this.selectdata.f_apply_type == '工商户报建'){
132
- checkList = this.$appdata.getParam("报建非民用检查项目")
133
- }else {
134
- checkList = this.$appdata.getParam("报建民用检查项目")
135
- }
136
-
137
- //遍历数组,获取数组中的每一个对象,并获取对象的value
138
- for (let i = 0; i < checkList.length; i++) {
139
- let obj = checkList[i]
140
- let value = obj.value
141
- this.savelist.push(value)
142
- }
143
- //保存到数据库
144
- let http = new HttpResetClass()
145
- let data = {
146
- apply: this.selectdata,
147
- user: Vue.user,
148
- check:this.savelist
149
- }
150
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
151
- resolveMsg: null,
152
- rejectMsg: '添加失败!!!'
153
- })
154
- }
155
- },
156
- //查询
157
- async search() {
158
- let http = new HttpResetClass()
159
- let data = {
160
- tablename: 't_apply_check',
161
- condition: `f_process_id= '${this.selectdata.f_process_id}'`
162
- }
163
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
164
- resolveMsg: null,
165
- rejectMsg: '检查项查询失败!!!'
166
- })
167
- if(res.data.length>0){
168
- this.model.data=res.data
169
- }else{
170
- this.saveCheck()
171
- }
172
- }
173
- },
174
- events: {
175
- },
176
- computed: {
177
- CheckItems() {
178
- return this.$appdata.getParam("报建检查项目")
179
- }
180
- },
181
- watch: {
182
- }
183
- }
184
- </script>
185
- <style scoped>
186
- .textNoLineBreak {
187
- white-space: nowrap;
188
- }
189
- .head-but{
190
- margin-left: 5px;
191
- height: 34px;
192
- /*background-color: #6aa6e2;*/
193
- border-radius: 4px;
194
- font-family: PingFang;
195
- color: #ffffff;
196
- }
197
- </style>
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th class="textNoLineBreak">序号</th>
7
+ <th class="textNoLineBreak">检查项目</th>
8
+ <th class="textNoLineBreak">检查结果</th>
9
+ <th class="textNoLineBreak">操作</th>
10
+ </tr>
11
+ </template>
12
+ <template partial='body'>
13
+ <tr>
14
+ <td style="text-align: center;">
15
+ <nobr>{{$index+1}}</nobr>
16
+ </td>
17
+ <td style="text-align: center;" >
18
+ <nobr>{{row.f_check_list}}</nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_check_value}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>
25
+ <button
26
+ type="button"
27
+ name="button"
28
+ class="btn btn-link"
29
+ @click="$parent.$parent.showModal(row)"
30
+ >修改</button>
31
+ </nobr>
32
+ </td>
33
+ </tr>
34
+ </template>
35
+ </data-grid>
36
+ <validator name="v">
37
+ <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
38
+ <header slot="modal-header" class="modal-header">
39
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
40
+ <h4 class="modal-title">检查明细</h4>
41
+ </header>
42
+ <article slot="modal-body" class="modal-body clearfix">
43
+ <div class="form-group col-sm-12">
44
+ <label class="col-sm-2 control-label">检查项目:</label>
45
+ <div class="col-sm-10">
46
+ <textarea width="100%" rows="3" readonly v-model="checkList.f_check_list"></textarea>
47
+ </div>
48
+
49
+ </div>
50
+ <div class="form-group col-sm-12" >
51
+ <label class="col-sm-2 control-label">检查结果:</label>
52
+ <div class="col-sm-10">
53
+ <input-select
54
+ placeholder='请选择' width="100%"
55
+ v-model="checkList.f_check_value"
56
+ :value.sync="checkList.f_check_value"
57
+ :options='item'
58
+ class="select select_list"
59
+ :value-single="true"
60
+ close-on-select ></input-select>
61
+ </div>
62
+ </div>
63
+ <app-check-take-pic
64
+ :blobid="selectdata.f_process_id"
65
+ :flag="flag"
66
+ :defname="selectdata.defname"
67
+ :isdelete="true"
68
+ :istakepic="true"
69
+ :istype="true">
70
+ </app-check-take-pic>
71
+ </article>
72
+ <footer slot="modal-footer" class="modal-footer">
73
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
74
+ </footer>
75
+ </modal>
76
+ </validator>
77
+ </div>
78
+ </template>
79
+ <script>
80
+ import {HttpResetClass} from 'vue-client'
81
+ import Vue from 'vue'
82
+
83
+ export default {
84
+ title: '检查项管理',
85
+ props: {
86
+ selectdata: {
87
+ type: Object
88
+ },
89
+ },
90
+ data () {
91
+ return {
92
+ model: {
93
+ data: null
94
+ },
95
+ flag:0,
96
+ showCheckModel: false,
97
+ checkList:{},
98
+ item: [{label: '是', value: '是'},{label: '否', value: '否'}],
99
+ hasList:false,
100
+ savelist:[]
101
+ }
102
+ },
103
+ ready () {
104
+ this.search()
105
+ },
106
+ methods: {
107
+ async save(){
108
+ let res = await this.$resetpost(
109
+ `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
110
+ this.checkList,
111
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
112
+ )
113
+ if(res){
114
+ this.showCheckModel=false
115
+ this.search()
116
+ }
117
+ },
118
+ showModal(row){
119
+ this.checkList=row
120
+ this.flag=this.selectdata.f_apply_num+row.id
121
+ this.showCheckModel=true
122
+ },
123
+ closeModal() {
124
+ this.showCheckModel=false
125
+ },
126
+ //如果是第一次,则新保存检查想到数据库
127
+ async saveCheck() {
128
+ if (this.hasList === false) {
129
+ this.savelist = []
130
+ let checkList
131
+ if (this.selectdata.f_apply_type == '工商户报建'){
132
+ checkList = this.$appdata.getParam("报建非民用检查项目")
133
+ }else {
134
+ checkList = this.$appdata.getParam("报建民用检查项目")
135
+ }
136
+
137
+ //遍历数组,获取数组中的每一个对象,并获取对象的value
138
+ for (let i = 0; i < checkList.length; i++) {
139
+ let obj = checkList[i]
140
+ let value = obj.value
141
+ this.savelist.push(value)
142
+ }
143
+ //保存到数据库
144
+ let http = new HttpResetClass()
145
+ let data = {
146
+ apply: this.selectdata,
147
+ user: Vue.user,
148
+ check:this.savelist
149
+ }
150
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
151
+ resolveMsg: null,
152
+ rejectMsg: '添加失败!!!'
153
+ })
154
+ }
155
+ },
156
+ //查询
157
+ async search() {
158
+ let http = new HttpResetClass()
159
+ let data = {
160
+ tablename: 't_apply_check',
161
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
162
+ }
163
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
164
+ resolveMsg: null,
165
+ rejectMsg: '检查项查询失败!!!'
166
+ })
167
+ if(res.data.length>0){
168
+ this.model.data=res.data
169
+ }else{
170
+ this.saveCheck()
171
+ }
172
+ }
173
+ },
174
+ events: {
175
+ },
176
+ computed: {
177
+ CheckItems() {
178
+ return this.$appdata.getParam("报建检查项目")
179
+ }
180
+ },
181
+ watch: {
182
+ }
183
+ }
184
+ </script>
185
+ <style scoped>
186
+ .textNoLineBreak {
187
+ white-space: nowrap;
188
+ }
189
+ .head-but{
190
+ margin-left: 5px;
191
+ height: 34px;
192
+ /*background-color: #6aa6e2;*/
193
+ border-radius: 4px;
194
+ font-family: PingFang;
195
+ color: #ffffff;
196
+ }
197
+ </style>