apply-clients 3.5.4-76 → 3.5.4-78

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 (36) hide show
  1. package/build/dev-server.js +10 -5
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +137 -137
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -448
  10. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  11. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  12. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  13. package/src/filiale/fugou/android/AppServiceControl.vue +1843 -1843
  14. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -191
  15. package/src/filiale/fugou/android.js +15 -15
  16. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  17. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -515
  18. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  19. package/src/filiale/fugou/pc/ServiceControl.vue +1703 -1704
  20. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  21. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  22. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  23. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  24. package/src/filiale/fugou/pc.js +2 -1
  25. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  26. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  27. package/src/filiale/qianneng/android.js +15 -15
  28. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  29. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  30. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +526 -526
  31. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  32. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  33. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  34. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  35. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1058 -1058
  36. package/src/main.js +3 -2
@@ -1,191 +1,191 @@
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" 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 = this.$appdata.getParam("报建检查项目")
131
- //遍历数组,获取数组中的每一个对象,并获取对象的value
132
- for (let i = 0; i < checkList.length; i++) {
133
- let obj = checkList[i]
134
- let value = obj.value
135
- this.savelist.push(value)
136
- }
137
- //保存到数据库
138
- let http = new HttpResetClass()
139
- let data = {
140
- apply: this.selectdata,
141
- user: Vue.user,
142
- check:this.savelist
143
- }
144
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
145
- resolveMsg: null,
146
- rejectMsg: '添加失败!!!'
147
- })
148
- }
149
- },
150
- //查询
151
- async search() {
152
- let http = new HttpResetClass()
153
- let data = {
154
- tablename: 't_apply_check',
155
- condition: `f_process_id= '${this.selectdata.f_process_id}'`
156
- }
157
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
158
- resolveMsg: null,
159
- rejectMsg: '检查项查询失败!!!'
160
- })
161
- if(res.data.length>0){
162
- this.model.data=res.data
163
- }else{
164
- this.saveCheck()
165
- }
166
- }
167
- },
168
- events: {
169
- },
170
- computed: {
171
- CheckItems() {
172
- return this.$appdata.getParam("报建检查项目")
173
- }
174
- },
175
- watch: {
176
- }
177
- }
178
- </script>
179
- <style scoped>
180
- .textNoLineBreak {
181
- white-space: nowrap;
182
- }
183
- .head-but{
184
- margin-left: 5px;
185
- height: 34px;
186
- /*background-color: #6aa6e2;*/
187
- border-radius: 4px;
188
- font-family: PingFang;
189
- color: #ffffff;
190
- }
191
- </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" 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 = this.$appdata.getParam("报建检查项目")
131
+ //遍历数组,获取数组中的每一个对象,并获取对象的value
132
+ for (let i = 0; i < checkList.length; i++) {
133
+ let obj = checkList[i]
134
+ let value = obj.value
135
+ this.savelist.push(value)
136
+ }
137
+ //保存到数据库
138
+ let http = new HttpResetClass()
139
+ let data = {
140
+ apply: this.selectdata,
141
+ user: Vue.user,
142
+ check:this.savelist
143
+ }
144
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
145
+ resolveMsg: null,
146
+ rejectMsg: '添加失败!!!'
147
+ })
148
+ }
149
+ },
150
+ //查询
151
+ async search() {
152
+ let http = new HttpResetClass()
153
+ let data = {
154
+ tablename: 't_apply_check',
155
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
156
+ }
157
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
158
+ resolveMsg: null,
159
+ rejectMsg: '检查项查询失败!!!'
160
+ })
161
+ if(res.data.length>0){
162
+ this.model.data=res.data
163
+ }else{
164
+ this.saveCheck()
165
+ }
166
+ }
167
+ },
168
+ events: {
169
+ },
170
+ computed: {
171
+ CheckItems() {
172
+ return this.$appdata.getParam("报建检查项目")
173
+ }
174
+ },
175
+ watch: {
176
+ }
177
+ }
178
+ </script>
179
+ <style scoped>
180
+ .textNoLineBreak {
181
+ white-space: nowrap;
182
+ }
183
+ .head-but{
184
+ margin-left: 5px;
185
+ height: 34px;
186
+ /*background-color: #6aa6e2;*/
187
+ border-radius: 4px;
188
+ font-family: PingFang;
189
+ color: #ffffff;
190
+ }
191
+ </style>
@@ -1,15 +1,15 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
5
- 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
- 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
7
- 'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
8
- 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
9
- 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
10
- 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
- 'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
12
- 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) }
13
-
14
- }
15
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
5
+ 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
+ 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
7
+ 'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
8
+ 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
9
+ 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
10
+ 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
+ 'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
12
+ 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) }
13
+
14
+ }
15
+ exports.specialComp = specialComp