safecheck-client 4.0.0-45 → 4.0.0-48

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "4.0.0-45",
4
+ "version": "4.0.0-48",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -77,6 +77,17 @@
77
77
  v-model="model.f_operator" close-on-select clear-button></v-select>
78
78
  </div>
79
79
  </div>
80
+ <div class="row app-row">
81
+ <div class="col-xs-5" style="margin-bottom: 6px">
82
+ <img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px" alt="">
83
+ <span class="text-left font">收费方式</span>
84
+ </div>
85
+ <div class="col-xs-7">
86
+ <v-select :value.sync="model.f_payment" class="input-font" condition="f_payment = '{}'"
87
+ :options='$parent.$parent.payTypes' :width="'100%'"
88
+ v-model="model.f_payment" close-on-select clear-button></v-select>
89
+ </div>
90
+ </div>
80
91
  <div class="row text-center app-row">
81
92
  <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
82
93
  @click="$parent.$parent.search()">查询
@@ -121,6 +132,10 @@
121
132
  <p class="panel-title col-xs-3 text-left font">保险类型:</p>
122
133
  <p class="panel-title col-xs-9 text-left input-font">{{ row.f_fee_type }}</p>
123
134
  </div>
135
+ <div class="row">
136
+ <p class="panel-title col-xs-3 text-left font">收费方式:</p>
137
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_payment }}</p>
138
+ </div>
124
139
  <div class="row">
125
140
  <p class="panel-title col-xs-3 text-left font">开始时间:</p>
126
141
  <p class="panel-title col-xs-9 text-left input-font">{{ row.f_ins_start_date }}</p>
@@ -146,171 +161,172 @@
146
161
  </template>
147
162
  <script>
148
163
 
149
- import { HttpResetClass, PagedList } from 'vue-client'
150
- import Vue from 'vue'
151
- export default {
152
- title: '保险登记',
153
- props: ['data', 'tabname'],
154
- data() {
155
- return {
156
- operators:[{label:'全部',value:'全部'}],
157
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/getInsuranceChargesList`, 20,
158
- {
159
- sort: `'asc'`
160
- }
161
- )
162
- }
163
- },
164
- async ready() {
165
- let dt = new Date()
166
- let year = dt.getFullYear()
167
- let month = dt.getMonth()-2
168
- if(month<=0){
169
- year = year -1
170
- month = dt.getMonth()+10
171
- }
172
- let date = dt.getDate()
173
- this.$refs.paged.$refs.cri.model.f_ins_start_date = year + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
174
- this.initOperators()
175
- this.$refs.paged.$refs.cri.model.f_operator = Vue.user.name
176
- },
177
- methods: {
178
- initOperators(){
179
- new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_GroupBy`, {
180
- data: {
181
- items: 'f_operator',
182
- tablename: 't_userfees',
183
- condition: `1=1`,
184
- groupitem: 'f_operator'
185
- }
186
- }, {resolveMsg: null, rejectMsg: null}).then(res => {
187
- res.data.forEach(ress => {
188
- this.operators.push({
189
- label: ress.f_operator,
190
- value: ress.f_operator
191
- })
164
+ import { HttpResetClass, PagedList } from 'vue-client'
165
+ import Vue from 'vue'
166
+ export default {
167
+ title: '保险登记',
168
+ props: ['data', 'tabname'],
169
+ data() {
170
+ return {
171
+ operators:[{label:'全部',value:'全部'}],
172
+ payTypes: [{label: '请选择', value: ''}, ...this.$appdata.getParam('付款方式')],
173
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/getInsuranceChargesList`, 20,
174
+ {
175
+ sort: `'asc'`
176
+ }
177
+ )
178
+ }
179
+ },
180
+ async ready() {
181
+ let dt = new Date()
182
+ let year = dt.getFullYear()
183
+ let month = dt.getMonth()-2
184
+ if(month<=0){
185
+ year = year -1
186
+ month = dt.getMonth()+10
187
+ }
188
+ let date = dt.getDate()
189
+ this.$refs.paged.$refs.cri.model.f_ins_start_date = year + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
190
+ this.initOperators()
191
+ this.$refs.paged.$refs.cri.model.f_operator = Vue.user.name
192
+ },
193
+ methods: {
194
+ initOperators(){
195
+ new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_GroupBy`, {
196
+ data: {
197
+ items: 'f_operator',
198
+ tablename: 't_userfees',
199
+ condition: `1=1`,
200
+ groupitem: 'f_operator'
201
+ }
202
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
203
+ res.data.forEach(ress => {
204
+ this.operators.push({
205
+ label: ress.f_operator,
206
+ value: ress.f_operator
192
207
  })
193
208
  })
194
- },
195
- clearCondition() {
196
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
197
- this.$refs.paged.$refs.cri.model[key] = []
198
- })
199
- },
200
- selfSearch(args) {
201
- args.condition += ` and f_state != '无效'`
202
- this.model.search(args.condition, args.model)
203
- },
204
- search() {
205
- this.$refs.paged.$refs.cri.search()
206
- },
207
-
209
+ })
208
210
  },
209
- events: {
210
-
211
+ clearCondition() {
212
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
213
+ this.$refs.paged.$refs.cri.model[key] = []
214
+ })
215
+ },
216
+ selfSearch(args) {
217
+ args.condition += ` and f_state != '无效'`
218
+ this.model.search(args.condition, args.model)
219
+ },
220
+ search() {
221
+ this.$refs.paged.$refs.cri.search()
211
222
  },
212
- watch: {
213
223
 
214
- }
224
+ },
225
+ events: {
226
+
227
+ },
228
+ watch: {
229
+
215
230
  }
231
+ }
216
232
  </script>
217
233
  <style>
218
- .bg {
219
- background-color: blue;
220
- height: 1px;
221
- border: 0;
222
- }
234
+ .bg {
235
+ background-color: blue;
236
+ height: 1px;
237
+ border: 0;
238
+ }
223
239
 
224
- .app-row {
225
- background-color: white;
226
- padding: 10px 10px 0 10px;
227
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
228
- }
240
+ .app-row {
241
+ background-color: white;
242
+ padding: 10px 10px 0 10px;
243
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
244
+ }
229
245
 
230
- .search_input {
231
- border: 0;
232
- outline: none;
233
- }
246
+ .search_input {
247
+ border: 0;
248
+ outline: none;
249
+ }
234
250
 
235
- .font {
236
- font: 15px PingFang-SC-Medium;
237
- color: #666666;
238
- }
251
+ .font {
252
+ font: 15px PingFang-SC-Medium;
253
+ color: #666666;
254
+ }
239
255
 
240
- .input-font {
241
- font: 15px PingFang-SC-Medium;
242
- color: #333333;
243
- }
256
+ .input-font {
257
+ font: 15px PingFang-SC-Medium;
258
+ color: #333333;
259
+ }
244
260
 
245
- .btn-font {
246
- font: 600 16px PingFang-SC-Bold;
247
- color: #499EDF;
248
- }
261
+ .btn-font {
262
+ font: 600 16px PingFang-SC-Bold;
263
+ color: #499EDF;
264
+ }
249
265
 
250
- .btn-color {
251
- background-color: #FFFFFF;
252
- border-radius: 10px;
253
- border: 1px solid #499EDF;
254
- }
266
+ .btn-color {
267
+ background-color: #FFFFFF;
268
+ border-radius: 10px;
269
+ border: 1px solid #499EDF;
270
+ }
255
271
 
256
- .app-text {
257
- font-size: 12px;
258
- }
272
+ .app-text {
273
+ font-size: 12px;
274
+ }
259
275
 
260
- .panel-self {
261
- border-radius: 10px;
262
- border: 1px solid #499EDF;
263
- background-color: #F8F8F8;
264
- }
276
+ .panel-self {
277
+ border-radius: 10px;
278
+ border: 1px solid #499EDF;
279
+ background-color: #F8F8F8;
280
+ }
265
281
 
266
- .yybtn-color {
267
- background-color: #499edf;
268
- border-radius: 4px;
269
- border: 1px solid #499EDF;
270
- color: #FFFFFF;
271
- font: 14px PingFang-SC-Bold;
272
- }
282
+ .yybtn-color {
283
+ background-color: #499edf;
284
+ border-radius: 4px;
285
+ border: 1px solid #499EDF;
286
+ color: #FFFFFF;
287
+ font: 14px PingFang-SC-Bold;
288
+ }
273
289
 
274
- .qxbtn-color {
275
- background-color: #FFFFFF;
276
- border-radius: 4px;
277
- color: #499edf;
278
- font: 14px PingFang-SC-Bold;
279
- border: 1px solid #499EDF;
280
- }
290
+ .qxbtn-color {
291
+ background-color: #FFFFFF;
292
+ border-radius: 4px;
293
+ color: #499edf;
294
+ font: 14px PingFang-SC-Bold;
295
+ border: 1px solid #499EDF;
296
+ }
281
297
 
282
- .sort-caret {
283
- display: inline-block;
284
- width: 0;
285
- height: 0;
286
- border: 0;
287
- content: "";
288
- position: absolute;
289
- left: 3px;
290
- z-index: 2;
291
- }
298
+ .sort-caret {
299
+ display: inline-block;
300
+ width: 0;
301
+ height: 0;
302
+ border: 0;
303
+ content: "";
304
+ position: absolute;
305
+ left: 3px;
306
+ z-index: 2;
307
+ }
292
308
 
293
- .descending {
294
- bottom: -30px;
295
- border-top: 5px solid #97a8be;
296
- border-bottom: none;
297
- border-right: 5px solid transparent;
298
- border-left: 5px solid transparent;
299
- }
309
+ .descending {
310
+ bottom: -30px;
311
+ border-top: 5px solid #97a8be;
312
+ border-bottom: none;
313
+ border-right: 5px solid transparent;
314
+ border-left: 5px solid transparent;
315
+ }
300
316
 
301
- .ascending {
302
- border-right: 5px solid transparent;
303
- border-left: 5px solid transparent;
304
- top: 9px;
305
- border-top: none;
306
- border-bottom: 5px solid #97a8be;
307
- }
317
+ .ascending {
318
+ border-right: 5px solid transparent;
319
+ border-left: 5px solid transparent;
320
+ top: 9px;
321
+ border-top: none;
322
+ border-bottom: 5px solid #97a8be;
323
+ }
308
324
 
309
- .ascend .ascending {
310
- border-bottom-color: #48576a;
311
- }
325
+ .ascend .ascending {
326
+ border-bottom-color: #48576a;
327
+ }
312
328
 
313
- .descend .descending {
314
- border-top-color: #48576a;
315
- }
329
+ .descend .descending {
330
+ border-top-color: #48576a;
331
+ }
316
332
  </style>
@@ -1,10 +1,10 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- // 手机特殊目录注册到该文件中
5
- let specialComp = {
6
- 'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
7
- 'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) }
8
- }
9
- exports.specialComp = specialComp
10
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ // 手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
7
+ 'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) }
8
+ }
9
+ exports.specialComp = specialComp
10
+