apply-clients 3.5.6-13 → 3.5.6-14

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/build/dev-server.js +3 -3
  2. package/package.json +1 -1
  3. package/src/components/android/Process/AppServiceControl.vue +1760 -1760
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/Install/ContractCharge.vue +210 -210
  6. package/src/filiale/dingcheng/android/AppInstallationDetails.vue +477 -477
  7. package/src/filiale/dingcheng/pc/InstallationDetails.vue +607 -607
  8. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  9. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
  10. package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -516
  11. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  12. package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
  13. package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
  14. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
  15. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
  16. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  17. package/src/filiale/fugou/pc/ServiceControl.vue +1741 -1741
  18. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  19. package/src/filiale/fugou/pc.js +19 -19
  20. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
  21. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  22. package/src/filiale/gongyi/pc.js +25 -25
  23. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  24. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
  25. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
  26. package/src/filiale/jinhuang/android.js +7 -7
  27. package/src/filiale/jinhuang/pc/ContractList.vue +222 -222
  28. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
  29. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
  30. package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -478
  31. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
  32. package/src/filiale/jinhuang/pc.js +12 -12
  33. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
  34. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
  35. package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
  36. package/src/filiale/shexian/android/AppServiceControl.vue +1786 -1786
  37. package/src/filiale/shexian/android/AppSign.vue +152 -152
  38. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  39. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
  40. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
  41. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1879
  42. package/src/filiale/yangchunboneng/android.js +21 -21
  43. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  44. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +10 -0
  45. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +400 -365
  46. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
  47. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +644 -617
  48. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
  49. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1060 -1060
  50. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  51. package/src/filiale/yangchunboneng/pc.js +29 -29
  52. package/src/main.js +2 -2
@@ -1,242 +1,242 @@
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
- <th class="textNoLineBreak">
11
- <button style="color:black" class="button_new button_spacing" type="button" @click="$parent.$parent.getCheck()">重置
12
- </button>
13
- </th>
14
- </tr>
15
- </template>
16
- <template partial='body'>
17
- <tr>
18
- <td style="text-align: center;">
19
- <nobr>{{$index+1}}</nobr>
20
- </td>
21
- <td style="text-align: center;" >
22
- <nobr>{{row.f_check_list}}</nobr>
23
- </td>
24
- <td style="text-align: center;">
25
- <nobr>{{row.f_check_value}}</nobr>
26
- </td>
27
- <td style="text-align: center;">
28
- <nobr>
29
- <button
30
- type="button"
31
- name="button"
32
- class="btn btn-link"
33
- @click="$parent.$parent.showModal(row)"
34
- >修改</button>
35
- </nobr>
36
- </td>
37
- </tr>
38
- </template>
39
- </data-grid>
40
- <validator name="v">
41
- <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
42
- <header slot="modal-header" class="modal-header">
43
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
44
- <h4 class="modal-title">检查明细</h4>
45
- </header>
46
- <article slot="modal-body" class="modal-body clearfix">
47
- <div class="form-group col-sm-12">
48
- <label class="col-sm-2 control-label">检查项目:</label>
49
- <div class="col-sm-10">
50
- <textarea width="100%" rows="3" readonly v-model="checkList.f_check_list"></textarea>
51
- </div>
52
-
53
- </div>
54
- <div class="form-group col-sm-12" >
55
- <label class="col-sm-2 control-label">检查结果:</label>
56
- <div class="col-sm-10">
57
- <input-select
58
- placeholder='请选择' width="100%"
59
- v-model="checkList.f_check_value"
60
- :value.sync="checkList.f_check_value"
61
- :options='item'
62
- class="select select_list"
63
- :value-single="true"
64
- close-on-select ></input-select>
65
- </div>
66
- </div>
67
- <app-check-take-pic
68
- :blobid="selectdata.f_process_id"
69
- :flag="flag"
70
- :defname="selectdata.defname"
71
- :isdelete="true"
72
- :istakepic="true"
73
- :istype="true">
74
- </app-check-take-pic>
75
- </article>
76
- <footer slot="modal-footer" class="modal-footer">
77
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
78
- </footer>
79
- </modal>
80
- </validator>
81
- </div>
82
- </template>
83
- <script>
84
- import {HttpResetClass} from 'vue-client'
85
- import Vue from 'vue'
86
- import co from "co";
87
-
88
- export default {
89
- title: '检查项管理',
90
- props: {
91
- selectdata: {
92
- type: Object
93
- },
94
- },
95
- data () {
96
- return {
97
- model: {
98
- data: null
99
- },
100
- flag:0,
101
- showCheckModel: false,
102
- checkList:{},
103
- item: [{label: '是', value: '是'},{label: '否', value: '否'}],
104
- hasList:false,
105
- savelist:[]
106
- }
107
- },
108
- ready () {
109
- this.search()
110
- },
111
- methods: {
112
- async flush(){
113
- let http = new HttpResetClass()
114
- let data = {
115
- tablename: 't_apply_check',
116
- condition: `f_process_id= '${this.selectdata.f_process_id}'`
117
- }
118
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
119
- resolveMsg: null,
120
- rejectMsg: '检查项查询失败!!!'
121
- })
122
- this.model.data=res.data
123
- },
124
- async getCheck(){
125
- let http = new HttpResetClass()
126
- this.$showMessage('是否获取最新检查项?', ['confirm', 'cancel']).then(async (res) => {
127
- if (res === 'confirm') {
128
- this.model.data=[]
129
- let del= `delete from t_apply_check where f_process_id='${this.selectdata.f_process_id}'`
130
- //删除旧的检查项,
131
- await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/runSQL`, {data: {sql: del}},
132
- {resolveMsg: null, rejectMsg: '删除安检册失败'})
133
- //拉取新的检查项
134
- await this.saveCheck()
135
- //刷新
136
- await this.flush()
137
- }
138
- })
139
- },
140
- async save(){
141
- let res = await this.$resetpost(
142
- `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
143
- this.checkList,
144
- {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
145
- )
146
- if(res){
147
- this.showCheckModel=false
148
- this.search()
149
- }
150
- },
151
- showModal(row){
152
- this.checkList=row
153
- this.flag=this.selectdata.f_apply_num+row.id
154
- this.showCheckModel=true
155
- },
156
- closeModal() {
157
- this.showCheckModel=false
158
- },
159
- //如果是第一次,则新保存检查想到数据库
160
- async saveCheck() {
161
- if (this.hasList === false) {
162
- this.savelist = []
163
- let checkList
164
- if (this.selectdata.f_apply_type == '工商户报建'){
165
- if(this.selectdata.defname == '质检'){
166
- checkList = this.$appdata.getParam("工商业质检")
167
- }else {
168
- checkList = this.$appdata.getParam("报建非民用检查项目")
169
- }
170
- }else if(this.selectdata.f_apply_type == '团购报建'){
171
- checkList = this.$appdata.getParam("团购报建主流程质检项")
172
- } else if(this.selectdata.f_apply_type == '团购转散户'){
173
- checkList = this.$appdata.getParam("团购转散户质检项")
174
- }
175
- else{
176
- checkList = this.$appdata.getParam("报建民用检查项目")
177
- }
178
-
179
- //遍历数组,获取数组中的每一个对象,并获取对象的value
180
- for (let i = 0; i < checkList.length; i++) {
181
- let obj = checkList[i]
182
- let value = obj.value
183
- this.savelist.push(value)
184
- }
185
- //保存到数据库
186
- let http = new HttpResetClass()
187
- let data = {
188
- apply: this.selectdata,
189
- user: Vue.user,
190
- check:this.savelist
191
- }
192
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
193
- resolveMsg: null,
194
- rejectMsg: '添加失败!!!'
195
- })
196
- }
197
- },
198
- //查询
199
- async search() {
200
- if (this.selectdata.f_apply_type == '工商户报建' && this.selectdata.defname == '质检'){
201
- await this.saveCheck()
202
- }
203
- let http = new HttpResetClass()
204
- let data = {
205
- tablename: 't_apply_check',
206
- condition: `f_process_id= '${this.selectdata.f_process_id}'`
207
- }
208
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
209
- resolveMsg: null,
210
- rejectMsg: '检查项查询失败!!!'
211
- })
212
- if(res.data.length>0){
213
- this.model.data=res.data
214
- }else{
215
- this.saveCheck()
216
- }
217
- }
218
- },
219
- events: {
220
- },
221
- computed: {
222
- CheckItems() {
223
- return this.$appdata.getParam("报建检查项目")
224
- }
225
- },
226
- watch: {
227
- }
228
- }
229
- </script>
230
- <style scoped>
231
- .textNoLineBreak {
232
- white-space: nowrap;
233
- }
234
- .head-but{
235
- margin-left: 5px;
236
- height: 34px;
237
- /*background-color: #6aa6e2;*/
238
- border-radius: 4px;
239
- font-family: PingFang;
240
- color: #ffffff;
241
- }
242
- </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
+ <th class="textNoLineBreak">
11
+ <button style="color:black" class="button_new button_spacing" type="button" @click="$parent.$parent.getCheck()">重置
12
+ </button>
13
+ </th>
14
+ </tr>
15
+ </template>
16
+ <template partial='body'>
17
+ <tr>
18
+ <td style="text-align: center;">
19
+ <nobr>{{$index+1}}</nobr>
20
+ </td>
21
+ <td style="text-align: center;" >
22
+ <nobr>{{row.f_check_list}}</nobr>
23
+ </td>
24
+ <td style="text-align: center;">
25
+ <nobr>{{row.f_check_value}}</nobr>
26
+ </td>
27
+ <td style="text-align: center;">
28
+ <nobr>
29
+ <button
30
+ type="button"
31
+ name="button"
32
+ class="btn btn-link"
33
+ @click="$parent.$parent.showModal(row)"
34
+ >修改</button>
35
+ </nobr>
36
+ </td>
37
+ </tr>
38
+ </template>
39
+ </data-grid>
40
+ <validator name="v">
41
+ <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
42
+ <header slot="modal-header" class="modal-header">
43
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
44
+ <h4 class="modal-title">检查明细</h4>
45
+ </header>
46
+ <article slot="modal-body" class="modal-body clearfix">
47
+ <div class="form-group col-sm-12">
48
+ <label class="col-sm-2 control-label">检查项目:</label>
49
+ <div class="col-sm-10">
50
+ <textarea width="100%" rows="3" readonly v-model="checkList.f_check_list"></textarea>
51
+ </div>
52
+
53
+ </div>
54
+ <div class="form-group col-sm-12" >
55
+ <label class="col-sm-2 control-label">检查结果:</label>
56
+ <div class="col-sm-10">
57
+ <input-select
58
+ placeholder='请选择' width="100%"
59
+ v-model="checkList.f_check_value"
60
+ :value.sync="checkList.f_check_value"
61
+ :options='item'
62
+ class="select select_list"
63
+ :value-single="true"
64
+ close-on-select ></input-select>
65
+ </div>
66
+ </div>
67
+ <app-check-take-pic
68
+ :blobid="selectdata.f_process_id"
69
+ :flag="flag"
70
+ :defname="selectdata.defname"
71
+ :isdelete="true"
72
+ :istakepic="true"
73
+ :istype="true">
74
+ </app-check-take-pic>
75
+ </article>
76
+ <footer slot="modal-footer" class="modal-footer">
77
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
78
+ </footer>
79
+ </modal>
80
+ </validator>
81
+ </div>
82
+ </template>
83
+ <script>
84
+ import {HttpResetClass} from 'vue-client'
85
+ import Vue from 'vue'
86
+ import co from "co";
87
+
88
+ export default {
89
+ title: '检查项管理',
90
+ props: {
91
+ selectdata: {
92
+ type: Object
93
+ },
94
+ },
95
+ data () {
96
+ return {
97
+ model: {
98
+ data: null
99
+ },
100
+ flag:0,
101
+ showCheckModel: false,
102
+ checkList:{},
103
+ item: [{label: '是', value: '是'},{label: '否', value: '否'}],
104
+ hasList:false,
105
+ savelist:[]
106
+ }
107
+ },
108
+ ready () {
109
+ this.search()
110
+ },
111
+ methods: {
112
+ async flush(){
113
+ let http = new HttpResetClass()
114
+ let data = {
115
+ tablename: 't_apply_check',
116
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
117
+ }
118
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
119
+ resolveMsg: null,
120
+ rejectMsg: '检查项查询失败!!!'
121
+ })
122
+ this.model.data=res.data
123
+ },
124
+ async getCheck(){
125
+ let http = new HttpResetClass()
126
+ this.$showMessage('是否获取最新检查项?', ['confirm', 'cancel']).then(async (res) => {
127
+ if (res === 'confirm') {
128
+ this.model.data=[]
129
+ let del= `delete from t_apply_check where f_process_id='${this.selectdata.f_process_id}'`
130
+ //删除旧的检查项,
131
+ await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/runSQL`, {data: {sql: del}},
132
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
133
+ //拉取新的检查项
134
+ await this.saveCheck()
135
+ //刷新
136
+ await this.flush()
137
+ }
138
+ })
139
+ },
140
+ async save(){
141
+ let res = await this.$resetpost(
142
+ `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
143
+ this.checkList,
144
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
145
+ )
146
+ if(res){
147
+ this.showCheckModel=false
148
+ this.search()
149
+ }
150
+ },
151
+ showModal(row){
152
+ this.checkList=row
153
+ this.flag=this.selectdata.f_apply_num+row.id
154
+ this.showCheckModel=true
155
+ },
156
+ closeModal() {
157
+ this.showCheckModel=false
158
+ },
159
+ //如果是第一次,则新保存检查想到数据库
160
+ async saveCheck() {
161
+ if (this.hasList === false) {
162
+ this.savelist = []
163
+ let checkList
164
+ if (this.selectdata.f_apply_type == '工商户报建'){
165
+ if(this.selectdata.defname == '质检'){
166
+ checkList = this.$appdata.getParam("工商业质检")
167
+ }else {
168
+ checkList = this.$appdata.getParam("报建非民用检查项目")
169
+ }
170
+ }else if(this.selectdata.f_apply_type == '团购报建'){
171
+ checkList = this.$appdata.getParam("团购报建主流程质检项")
172
+ } else if(this.selectdata.f_apply_type == '团购转散户'){
173
+ checkList = this.$appdata.getParam("团购转散户质检项")
174
+ }
175
+ else{
176
+ checkList = this.$appdata.getParam("报建民用检查项目")
177
+ }
178
+
179
+ //遍历数组,获取数组中的每一个对象,并获取对象的value
180
+ for (let i = 0; i < checkList.length; i++) {
181
+ let obj = checkList[i]
182
+ let value = obj.value
183
+ this.savelist.push(value)
184
+ }
185
+ //保存到数据库
186
+ let http = new HttpResetClass()
187
+ let data = {
188
+ apply: this.selectdata,
189
+ user: Vue.user,
190
+ check:this.savelist
191
+ }
192
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
193
+ resolveMsg: null,
194
+ rejectMsg: '添加失败!!!'
195
+ })
196
+ }
197
+ },
198
+ //查询
199
+ async search() {
200
+ if (this.selectdata.f_apply_type == '工商户报建' && this.selectdata.defname == '质检'){
201
+ await this.saveCheck()
202
+ }
203
+ let http = new HttpResetClass()
204
+ let data = {
205
+ tablename: 't_apply_check',
206
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
207
+ }
208
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
209
+ resolveMsg: null,
210
+ rejectMsg: '检查项查询失败!!!'
211
+ })
212
+ if(res.data.length>0){
213
+ this.model.data=res.data
214
+ }else{
215
+ this.saveCheck()
216
+ }
217
+ }
218
+ },
219
+ events: {
220
+ },
221
+ computed: {
222
+ CheckItems() {
223
+ return this.$appdata.getParam("报建检查项目")
224
+ }
225
+ },
226
+ watch: {
227
+ }
228
+ }
229
+ </script>
230
+ <style scoped>
231
+ .textNoLineBreak {
232
+ white-space: nowrap;
233
+ }
234
+ .head-but{
235
+ margin-left: 5px;
236
+ height: 34px;
237
+ /*background-color: #6aa6e2;*/
238
+ border-radius: 4px;
239
+ font-family: PingFang;
240
+ color: #ffffff;
241
+ }
242
+ </style>