apply-clients 3.5.1 → 3.5.2

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 (44) hide show
  1. package/build/dev-server.js +142 -133
  2. package/package.json +118 -118
  3. package/src/App.vue +26 -21
  4. package/src/applyAndroid.js +58 -58
  5. package/src/components/android/AppSign.vue +152 -152
  6. package/src/components/android/AppTakePic.vue +181 -181
  7. package/src/components/android/Process/AppChargeList.vue +224 -224
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Install/ContractCharge.vue +210 -210
  10. package/src/filiale/fugou/android/AppChargeManagement.vue +625 -625
  11. package/src/filiale/hongda/pc/FunctionServiceControl.vue +526 -525
  12. package/src/filiale/qianneng/android/AppExplorationUser.vue +441 -441
  13. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  14. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  15. package/src/filiale/qianneng/pc/ExplorationSelect.vue +492 -492
  16. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +521 -521
  17. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +392 -392
  18. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  19. package/src/filiale/qianneng/pc/ServiceControl.vue +1351 -1340
  20. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  21. package/src/filiale/qianneng/pc/SupervisoryServiceControl.vue +871 -871
  22. package/src/filiale/qianneng/pc/chargeManagement.vue +656 -656
  23. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  24. package/src/filiale/qianneng/pc/supplementalAgreement.vue +344 -344
  25. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -390
  26. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +120 -120
  27. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -552
  28. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -507
  29. package/src/filiale/yangchunboneng/android/AppInstallationDetails.vue +492 -492
  30. package/src/filiale/yangchunboneng/android/AppOtherChargeManagement.vue +116 -116
  31. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1552 -1552
  32. package/src/filiale/yangchunboneng/android/AppTakePic.vue +181 -181
  33. package/src/filiale/yangchunboneng/android/chargesList.vue +170 -170
  34. package/src/filiale/yangchunboneng/android.js +16 -16
  35. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +496 -496
  36. package/src/filiale/yangchunboneng/pc/InstallationDetails.vue +609 -609
  37. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1782 -1782
  38. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1005 -1005
  39. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -374
  40. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +960 -960
  41. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -511
  42. package/src/filiale/yangchunboneng/pc/otherchargeManagement.vue +214 -214
  43. package/src/filiale/yangchunboneng/pc.js +17 -17
  44. package/src/main.js +23 -23
@@ -1,214 +1,214 @@
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">收费人员</th>
11
- <th class="textNoLineBreak">收费日期</th>
12
- <th class="textNoLineBreak">收费状态</th>
13
- <th class="textNoLineBreak">确认人</th>
14
- <th class="textNoLineBreak">确认时间</th>
15
- <th class="textNoLineBreak">操作</th>
16
- </tr>
17
- </template>
18
- <template partial='body'>
19
- <tr>
20
- <td style="text-align: center;">
21
- <nobr>{{$index+1}}</nobr>
22
- </td>
23
- <td style="text-align: center;">
24
- <nobr>{{row.f_money}}</nobr>
25
- </td>
26
- <td style="text-align: center;">
27
- <nobr>{{row.f_brand_spec}}</nobr>
28
- </td>
29
- <td style="text-align: center;">
30
- <nobr>{{row.f_payment}}</nobr>
31
- </td>
32
- <td style="text-align: center;">
33
- <nobr>{{row.f_operator}}</nobr>
34
- </td>
35
- <td style="text-align: center;">
36
- <nobr>{{row.f_operate_date}}</nobr>
37
- </td>
38
- <td style="text-align: center;">
39
- <nobr>{{row.f_state}}</nobr>
40
- </td>
41
- <td style="text-align: center;">
42
- <nobr>{{row.f_confirm_person}}</nobr>
43
- </td>
44
- <td style="text-align: center;">
45
- <nobr>{{row.f_confirm_date}}</nobr>
46
- </td>
47
- <td style="text-align: center;">
48
- <nobr v-if="row.f_confirm_person==null">
49
- <button
50
- type="button"
51
- name="button"
52
- class="btn btn-link"
53
- :disabled="$parent.$parent.mark === 1"
54
- @click="$parent.$parent.showConfirmModal(row,'确认收款')"
55
- >确认收款</button>
56
- </nobr>
57
- </td>
58
- </tr>
59
- </template>
60
- </data-grid>
61
- <modal v-if="showConfirm" :show.sync="showConfirm" v-ref:modal :backdrop="false" title="确认收款">
62
- <header slot="modal-header" class="modal-header">
63
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
64
- <h4 class="modal-title">确认收款</h4>
65
- </header>
66
- <article slot="modal-body" class="modal-body clearfix">
67
- <div class="form-group col-sm-12">
68
- <label class="col-sm-2 control-label">收费金额:</label>
69
- <div class="col-sm-10">
70
- <input type="text"
71
- class="form-control input_view"
72
- style="width: 100%"
73
- readonly
74
- v-model="charge.f_money" />
75
- </div>
76
- </div>
77
- <div class="form-group col-sm-12">
78
- <label class="col-sm-2 control-label">付款方式:</label>
79
- <div class="col-sm-10">
80
- <input type="text"
81
- class="form-control input_view"
82
- style="width: 100%"
83
- readonly
84
- v-model="charge.f_payment" />
85
- </div>
86
- </div>
87
- <div class="form-group col-sm-12">
88
- <label class="col-sm-2 control-label">收费人员:</label>
89
- <div class="col-sm-10">
90
- <input type="text"
91
- class="form-control input_view"
92
- style="width: 100%"
93
- readonly
94
- v-model="charge.f_operator" />
95
- </div>
96
- </div>
97
- <div class="form-group col-sm-12">
98
- <label class="col-sm-2 control-label">确认人:</label>
99
- <div class="col-sm-10">
100
- <input type="text"
101
- class="form-control input_view"
102
- style="width: 100%"
103
- v-model="charge.f_confirm_person" />
104
- </div>
105
- </div>
106
- <div class="form-group col-sm-12">
107
- <label class="col-sm-2 control-label">确认时间:</label>
108
- <div class="col-sm-10">
109
- <datepicker id="startDate" placeholder="确认时间"
110
- style="width: 100%!important;"
111
- v-model="charge.f_confirm_date"
112
- :value.sync="charge.f_confirm_date"
113
- :default="true"
114
- :format="'yyyy-MM-dd HH:mm:ss'"
115
- :show-reset-button="true"
116
- >
117
- </datepicker>
118
- </div>
119
- </div>
120
- </article>
121
- <footer slot="modal-footer" class="modal-footer">
122
- <button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
123
- </footer>
124
- </modal>
125
- </div>
126
- </template>
127
- <script>
128
- import {getNowDate,isEmpty} from '../../../components/Util'
129
- import {PagedList} from 'vue-client'
130
- import {HttpResetClass} from 'vue-client'
131
- import Vue from 'vue'
132
-
133
- export default {
134
- title: '收费管理',
135
- props: {
136
- selectdata: {
137
- type: Object
138
- },
139
- mark: {
140
- type: Number,
141
- default: 0
142
- }
143
- },
144
- data () {
145
- return {
146
- model: {
147
- rows: null
148
- },
149
- showConfirm: false,
150
- charge:{}
151
- }
152
- },
153
- ready () {
154
- this.search()
155
- },
156
- methods: {
157
- async search () {
158
- let http = new HttpResetClass()
159
- let data = {
160
- condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}' and f_orgid = '${this.$login.f.orgid}' and f_state = '有效'`,
161
- orderitem:'f_operate_date desc'
162
- }
163
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applyotherChargeQuery`, {data:data}, {
164
- resolveMsg: null,
165
- rejectMsg: '收费记录查询失败!!!'
166
- })
167
- this.model.rows = res.data
168
- },
169
- showConfirmModal(row,type){
170
- this.charge = row
171
- if (type == '确认收款'){
172
- this.charge.f_confirm_person = this.$login.f.name
173
- this.showConfirm= true
174
- }
175
- },
176
- async ConfirmPayment() {
177
- let http = new HttpResetClass()
178
- let res = await http.load('POST', 'rs/logic/confirmotherCharge', {data: {charge:this.charge}}, {
179
- resolveMsg: null,
180
- rejectMsg: '提交失败!!!'
181
- })
182
- if(res.data==200){
183
- this.$showAlert('提交成功!!!', 'success', 3000)
184
- //延时1s
185
- setTimeout(() => {
186
- this.showConfirm= false
187
- }, 1000)
188
- }
189
- },
190
- closeModal(){
191
- this.showConfirm = false
192
- }
193
- },
194
- events: {
195
- },
196
- computed: {
197
- },
198
- watch: {
199
- }
200
- }
201
- </script>
202
- <style scoped>
203
- .textNoLineBreak {
204
- white-space: nowrap;
205
- }
206
- .head-but{
207
- margin-left: 5px;
208
- height: 34px;
209
- /*background-color: #6aa6e2;*/
210
- border-radius: 4px;
211
- font-family: PingFang;
212
- color: #ffffff;
213
- }
214
- </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">收费人员</th>
11
+ <th class="textNoLineBreak">收费日期</th>
12
+ <th class="textNoLineBreak">收费状态</th>
13
+ <th class="textNoLineBreak">确认人</th>
14
+ <th class="textNoLineBreak">确认时间</th>
15
+ <th class="textNoLineBreak">操作</th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <tr>
20
+ <td style="text-align: center;">
21
+ <nobr>{{$index+1}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>{{row.f_money}}</nobr>
25
+ </td>
26
+ <td style="text-align: center;">
27
+ <nobr>{{row.f_brand_spec}}</nobr>
28
+ </td>
29
+ <td style="text-align: center;">
30
+ <nobr>{{row.f_payment}}</nobr>
31
+ </td>
32
+ <td style="text-align: center;">
33
+ <nobr>{{row.f_operator}}</nobr>
34
+ </td>
35
+ <td style="text-align: center;">
36
+ <nobr>{{row.f_operate_date}}</nobr>
37
+ </td>
38
+ <td style="text-align: center;">
39
+ <nobr>{{row.f_state}}</nobr>
40
+ </td>
41
+ <td style="text-align: center;">
42
+ <nobr>{{row.f_confirm_person}}</nobr>
43
+ </td>
44
+ <td style="text-align: center;">
45
+ <nobr>{{row.f_confirm_date}}</nobr>
46
+ </td>
47
+ <td style="text-align: center;">
48
+ <nobr v-if="row.f_confirm_person==null">
49
+ <button
50
+ type="button"
51
+ name="button"
52
+ class="btn btn-link"
53
+ :disabled="$parent.$parent.mark === 1"
54
+ @click="$parent.$parent.showConfirmModal(row,'确认收款')"
55
+ >确认收款</button>
56
+ </nobr>
57
+ </td>
58
+ </tr>
59
+ </template>
60
+ </data-grid>
61
+ <modal v-if="showConfirm" :show.sync="showConfirm" v-ref:modal :backdrop="false" title="确认收款">
62
+ <header slot="modal-header" class="modal-header">
63
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
64
+ <h4 class="modal-title">确认收款</h4>
65
+ </header>
66
+ <article slot="modal-body" class="modal-body clearfix">
67
+ <div class="form-group col-sm-12">
68
+ <label class="col-sm-2 control-label">收费金额:</label>
69
+ <div class="col-sm-10">
70
+ <input type="text"
71
+ class="form-control input_view"
72
+ style="width: 100%"
73
+ readonly
74
+ v-model="charge.f_money" />
75
+ </div>
76
+ </div>
77
+ <div class="form-group col-sm-12">
78
+ <label class="col-sm-2 control-label">付款方式:</label>
79
+ <div class="col-sm-10">
80
+ <input type="text"
81
+ class="form-control input_view"
82
+ style="width: 100%"
83
+ readonly
84
+ v-model="charge.f_payment" />
85
+ </div>
86
+ </div>
87
+ <div class="form-group col-sm-12">
88
+ <label class="col-sm-2 control-label">收费人员:</label>
89
+ <div class="col-sm-10">
90
+ <input type="text"
91
+ class="form-control input_view"
92
+ style="width: 100%"
93
+ readonly
94
+ v-model="charge.f_operator" />
95
+ </div>
96
+ </div>
97
+ <div class="form-group col-sm-12">
98
+ <label class="col-sm-2 control-label">确认人:</label>
99
+ <div class="col-sm-10">
100
+ <input type="text"
101
+ class="form-control input_view"
102
+ style="width: 100%"
103
+ v-model="charge.f_confirm_person" />
104
+ </div>
105
+ </div>
106
+ <div class="form-group col-sm-12">
107
+ <label class="col-sm-2 control-label">确认时间:</label>
108
+ <div class="col-sm-10">
109
+ <datepicker id="startDate" placeholder="确认时间"
110
+ style="width: 100%!important;"
111
+ v-model="charge.f_confirm_date"
112
+ :value.sync="charge.f_confirm_date"
113
+ :default="true"
114
+ :format="'yyyy-MM-dd HH:mm:ss'"
115
+ :show-reset-button="true"
116
+ >
117
+ </datepicker>
118
+ </div>
119
+ </div>
120
+ </article>
121
+ <footer slot="modal-footer" class="modal-footer">
122
+ <button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
123
+ </footer>
124
+ </modal>
125
+ </div>
126
+ </template>
127
+ <script>
128
+ import {getNowDate,isEmpty} from '../../../components/Util'
129
+ import {PagedList} from 'vue-client'
130
+ import {HttpResetClass} from 'vue-client'
131
+ import Vue from 'vue'
132
+
133
+ export default {
134
+ title: '收费管理',
135
+ props: {
136
+ selectdata: {
137
+ type: Object
138
+ },
139
+ mark: {
140
+ type: Number,
141
+ default: 0
142
+ }
143
+ },
144
+ data () {
145
+ return {
146
+ model: {
147
+ rows: null
148
+ },
149
+ showConfirm: false,
150
+ charge:{}
151
+ }
152
+ },
153
+ ready () {
154
+ this.search()
155
+ },
156
+ methods: {
157
+ async search () {
158
+ let http = new HttpResetClass()
159
+ let data = {
160
+ condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}' and f_orgid = '${this.$login.f.orgid}' and f_state = '有效'`,
161
+ orderitem:'f_operate_date desc'
162
+ }
163
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applyotherChargeQuery`, {data:data}, {
164
+ resolveMsg: null,
165
+ rejectMsg: '收费记录查询失败!!!'
166
+ })
167
+ this.model.rows = res.data
168
+ },
169
+ showConfirmModal(row,type){
170
+ this.charge = row
171
+ if (type == '确认收款'){
172
+ this.charge.f_confirm_person = this.$login.f.name
173
+ this.showConfirm= true
174
+ }
175
+ },
176
+ async ConfirmPayment() {
177
+ let http = new HttpResetClass()
178
+ let res = await http.load('POST', 'rs/logic/confirmotherCharge', {data: {charge:this.charge}}, {
179
+ resolveMsg: null,
180
+ rejectMsg: '提交失败!!!'
181
+ })
182
+ if(res.data==200){
183
+ this.$showAlert('提交成功!!!', 'success', 3000)
184
+ //延时1s
185
+ setTimeout(() => {
186
+ this.showConfirm= false
187
+ }, 1000)
188
+ }
189
+ },
190
+ closeModal(){
191
+ this.showConfirm = false
192
+ }
193
+ },
194
+ events: {
195
+ },
196
+ computed: {
197
+ },
198
+ watch: {
199
+ }
200
+ }
201
+ </script>
202
+ <style scoped>
203
+ .textNoLineBreak {
204
+ white-space: nowrap;
205
+ }
206
+ .head-but{
207
+ margin-left: 5px;
208
+ height: 34px;
209
+ /*background-color: #6aa6e2;*/
210
+ border-radius: 4px;
211
+ font-family: PingFang;
212
+ color: #ffffff;
213
+ }
214
+ </style>
@@ -1,17 +1,17 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
5
- 'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
6
- 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
7
- 'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
8
- 'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
9
- 'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
10
- 'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
11
- 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
12
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
13
- 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
14
- 'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
15
- 'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) }
16
- }
17
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
5
+ 'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
6
+ 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
7
+ 'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
8
+ 'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
9
+ 'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
10
+ 'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
11
+ 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
12
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
13
+ 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
14
+ 'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
15
+ 'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) }
16
+ }
17
+ exports.specialComp = specialComp
package/src/main.js CHANGED
@@ -1,23 +1,23 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- import apply from './apply'
10
-
11
- all()
12
- apply('qianneng')
13
- ldap()
14
- sale('qianneng')
15
- material()
16
- system(false, 'qianneng')
17
-
18
- require('system-clients/src/styles/less/bootstrap.less')
19
- require('./expandcss.less')
20
- new Vue({
21
- el: 'body',
22
- components: { App }
23
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ import {system} from 'system-clients'
6
+ import {sale} from 'sale-client'
7
+ import {material} from 'material-client'
8
+
9
+ import apply from './apply'
10
+
11
+ all()
12
+ apply('hongda')
13
+ ldap()
14
+ sale('qianneng')
15
+ material()
16
+ system(false, 'qianneng')
17
+
18
+ require('system-clients/src/styles/less/bootstrap.less')
19
+ require('./expandcss.less')
20
+ new Vue({
21
+ el: 'body',
22
+ components: { App }
23
+ })