sale-client 3.6.507 → 3.6.508
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 +1 -1
- package/src/components/revenue/cardHandManage/cardsHand.vue +18 -0
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +5 -1
- package/src/filiale/bayan/SafeCheck.vue +128 -126
- package/src/filiale/jingyang/ChargeQueryUser.vue +563 -0
- package/src/filiale/jingyang/ChargeRecordQuery.vue +104 -0
- package/src/filiale/jingyang/EticketV4/EticketOpenCard.vue +4 -4
- package/src/filiale/jingyang/EticketV4/EticketOpenPage.vue +2 -2
- package/src/filiale/jingyang/EticketV4/EticketRecordList.vue +6 -6
- package/src/filiale/jingyang/IOTRefund.vue +290 -0
- package/src/filiale/jingyang/PriceChangeCompensation/IotCompensation.vue +4 -4
- package/src/filiale/jingyang/PriceChangeCompensation/JbCompensation.vue +4 -4
- package/src/filiale/jingyang/UserInfoDetailManageNew.vue +233 -0
- package/src/filiale/jingyang/sale.js +4 -0
- package/src/filiale/rongchuang/ChangeMeter.vue +1162 -0
- package/src/filiale/rongchuang/sale.js +3 -1
package/package.json
CHANGED
|
@@ -185,6 +185,17 @@
|
|
|
185
185
|
condition="f_meter_brand = '{}'"
|
|
186
186
|
></v-select>
|
|
187
187
|
</div>
|
|
188
|
+
<div class="col-sm-2 form-group">
|
|
189
|
+
<label class="font_normal_body">使用类型</label>
|
|
190
|
+
<v-select :value.sync="model.f_use_type"
|
|
191
|
+
v-model="model.f_use_type"
|
|
192
|
+
:options='usetypes'
|
|
193
|
+
placeholder='请选择'
|
|
194
|
+
v-model="model.f_use_type"
|
|
195
|
+
condition="f_usetype = '{}'"
|
|
196
|
+
>
|
|
197
|
+
</v-select>
|
|
198
|
+
</div>
|
|
188
199
|
<res-select-group :show-component="['company','department','operator']" :initres="$parent.$parent.initres"
|
|
189
200
|
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
190
201
|
<hl-downdata class="col-sm-1 form-group" :info="model"></hl-downdata>
|
|
@@ -275,6 +286,9 @@
|
|
|
275
286
|
<th>
|
|
276
287
|
<nobr>状态</nobr>
|
|
277
288
|
</th>
|
|
289
|
+
<th>
|
|
290
|
+
<nobr>使用类型</nobr>
|
|
291
|
+
</th>
|
|
278
292
|
<th>
|
|
279
293
|
<nobr>操作</nobr>
|
|
280
294
|
</th>
|
|
@@ -373,6 +387,7 @@
|
|
|
373
387
|
</div>
|
|
374
388
|
</td>
|
|
375
389
|
<td style="text-align: center;">{{ row.f_meter_state }}</td>
|
|
390
|
+
<td style="text-align: center;">{{ row.f_usetype }}</td>
|
|
376
391
|
<td style="text-align: center;">
|
|
377
392
|
|
|
378
393
|
<!-- <button type="button" name="button" class="btn btn-link"-->
|
|
@@ -798,6 +813,9 @@ export default {
|
|
|
798
813
|
usertypes () {
|
|
799
814
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
800
815
|
},
|
|
816
|
+
usetypes (){
|
|
817
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
818
|
+
},
|
|
801
819
|
userlevels () {
|
|
802
820
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
803
821
|
},
|
|
@@ -197,6 +197,9 @@
|
|
|
197
197
|
insuranceType: '燃气险',
|
|
198
198
|
insurancestate: '有效'
|
|
199
199
|
},
|
|
200
|
+
model: {
|
|
201
|
+
f_ins_start_date: ''
|
|
202
|
+
},
|
|
200
203
|
paytype: [],
|
|
201
204
|
insurancetype: this.$appdata.getParam('险种'),
|
|
202
205
|
insurancestate: this.$appdata.getParam('保险状态'),
|
|
@@ -251,6 +254,7 @@
|
|
|
251
254
|
}
|
|
252
255
|
}
|
|
253
256
|
this.model.f_buy_date = this.$login.toStandardTimeString()
|
|
257
|
+
this.$set('model.f_ins_start_date', Util.toStandardDateString())
|
|
254
258
|
this.model.f_ins_start_date = Util.toStandardDateString()
|
|
255
259
|
this.model.f_salecount = 1
|
|
256
260
|
this.model.f_money = 0
|
|
@@ -318,7 +322,7 @@
|
|
|
318
322
|
if(val&& this.model.f_userinfo_id){
|
|
319
323
|
this.model.f_insurance_type = this.model.f_insurance_type == null ? this.config.insuranceType : this.model.f_insurance_type
|
|
320
324
|
this.model.f_state = this.model.f_state == null ? this.config.insurancestate : this.model.f_state
|
|
321
|
-
this.model.f_ins_start_date = Util.
|
|
325
|
+
this.model.f_ins_start_date = Util.toStandardDateString()
|
|
322
326
|
console.log('cs===================cs',this.model.f_userinfo_id,this.model.f_ins_start_date)
|
|
323
327
|
}
|
|
324
328
|
}
|
|
@@ -153,153 +153,155 @@
|
|
|
153
153
|
</modal>
|
|
154
154
|
</template>
|
|
155
155
|
<script>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
/**
|
|
157
|
+
*用户信息
|
|
158
|
+
*安检信息
|
|
159
|
+
*/
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
import {HttpResetClass} from 'vue-client'
|
|
162
|
+
import Vue from 'vue'
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
164
|
+
let asyncReady = async function (self) {
|
|
165
|
+
// 获取配置信息
|
|
166
|
+
try {
|
|
167
|
+
let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
|
168
|
+
Vue.config = res.data
|
|
169
|
+
} catch (error) {
|
|
170
|
+
// 忽略704,文件找不到异常R
|
|
171
|
+
if (error.status !== 704) {
|
|
172
|
+
throw error
|
|
174
173
|
}
|
|
175
174
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
if (self.data.f_olduserinfo_code) {
|
|
185
|
-
param.f_olduserinfo_code = self.data.f_olduserinfo_code
|
|
186
|
-
}
|
|
187
|
-
let getSafeCheck = await http.load('POST', 'rs/logic/getSafecheck', param, {resolveMsg: null, rejectMsg: null})
|
|
188
|
-
if (!(JSON.stringify(getSafeCheck.data) == '{}')) {
|
|
189
|
-
self.model = {}
|
|
190
|
-
self.model = Object.assign({}, self.model, getSafeCheck.data)
|
|
191
|
-
self.hasCheck = 1
|
|
192
|
-
} else {
|
|
193
|
-
self.hasCheck = 0
|
|
194
|
-
}
|
|
195
|
-
} catch (error) {
|
|
196
|
-
self.hasCheck = 0
|
|
175
|
+
}
|
|
176
|
+
let getSafeCheckGen = async function (self) {
|
|
177
|
+
// 获取安检信息
|
|
178
|
+
try {
|
|
179
|
+
let http = new HttpResetClass()
|
|
180
|
+
let param = {
|
|
181
|
+
f_userfiles_id: self.data.f_userfiles_id,
|
|
182
|
+
f_userinfo_id: self.data.f_userinfo_id
|
|
197
183
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
184
|
+
if (self.data.f_olduserinfo_code) {
|
|
185
|
+
param.f_olduserinfo_code = self.data.f_olduserinfo_code
|
|
186
|
+
}
|
|
187
|
+
let getSafeCheck = await http.load('POST', 'rs/logic/getSafecheck', param, {resolveMsg: null, rejectMsg: null})
|
|
188
|
+
if (!(JSON.stringify(getSafeCheck.data) == '{}')) {
|
|
189
|
+
self.model = {}
|
|
190
|
+
self.model = Object.assign({}, self.model, getSafeCheck.data)
|
|
191
|
+
self.hasCheck = 1
|
|
201
192
|
} else {
|
|
202
|
-
self.
|
|
193
|
+
self.hasCheck = 0
|
|
203
194
|
}
|
|
195
|
+
} catch (error) {
|
|
196
|
+
self.hasCheck = 0
|
|
204
197
|
}
|
|
205
198
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
this.
|
|
243
|
-
}
|
|
199
|
+
if (new Date(self.model.f_next_check_date) < new Date(self.nowdate)) {
|
|
200
|
+
self.style = 'text-align: center;border: #E9E9E9 solid 1px;color:red'
|
|
201
|
+
} else {
|
|
202
|
+
self.style = 'text-align: center;border: #E9E9E9 solid 1px;'
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export default {
|
|
207
|
+
title: '安检信息',
|
|
208
|
+
data () {
|
|
209
|
+
return {
|
|
210
|
+
model: {},
|
|
211
|
+
style: 'text-align: center;border: #E9E9E9 solid 1px;',
|
|
212
|
+
nowdate: this.$login.toStandardTimeString(),
|
|
213
|
+
hasCheck: -1,
|
|
214
|
+
imgshow: false,
|
|
215
|
+
imgshow2: false,
|
|
216
|
+
showimg1: '',
|
|
217
|
+
showimg2: '',
|
|
218
|
+
showimg3: '',
|
|
219
|
+
nextCheckDateShow: true,
|
|
220
|
+
showimg4: ''
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
props: ['data'],
|
|
224
|
+
ready () {
|
|
225
|
+
getSafeCheckGen(this)
|
|
226
|
+
if (this.$appdata.getSingleValue('是否显示下次安检时间') == '否') {
|
|
227
|
+
this.nextCheckDateShow = false
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
methods: {
|
|
231
|
+
change (row) {
|
|
232
|
+
asyncReady(this).then(() => {
|
|
233
|
+
console.log('1234658', row)
|
|
234
|
+
row.f_upload_state = '已传'
|
|
235
|
+
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
|
236
|
+
}).catch(() => {
|
|
237
|
+
this.$showAlert('获取配置文件失败')
|
|
238
|
+
})
|
|
244
239
|
},
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
showpicture2 () {
|
|
241
|
+
this.imgshow2 = true
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
watch: {
|
|
245
|
+
'data': {
|
|
246
|
+
handler (newVal, oldVal) {
|
|
247
|
+
if (newVal == null) {
|
|
248
248
|
this.hasCheck = 0
|
|
249
249
|
this.model = {}
|
|
250
250
|
} else {
|
|
251
251
|
getSafeCheckGen(this)
|
|
252
252
|
}
|
|
253
|
-
}
|
|
253
|
+
},
|
|
254
|
+
deep: true
|
|
254
255
|
}
|
|
255
256
|
}
|
|
257
|
+
}
|
|
256
258
|
</script>
|
|
257
259
|
<style scoped>
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
260
|
+
.img {
|
|
261
|
+
border: 1px solid #9773ed;
|
|
262
|
+
width: auto;
|
|
263
|
+
height: auto;
|
|
264
|
+
float: left;
|
|
265
|
+
text-align: center;
|
|
266
|
+
margin: 6px;
|
|
267
|
+
}
|
|
266
268
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
img {
|
|
270
|
+
margin: 6px;
|
|
271
|
+
}
|
|
270
272
|
|
|
271
273
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
274
|
+
.container{
|
|
275
|
+
margin: 10px auto;
|
|
276
|
+
width: 80%;
|
|
277
|
+
height: auto;
|
|
278
|
+
}
|
|
279
|
+
div::-webkit-scrollbar {
|
|
280
|
+
width: 0 !important;
|
|
281
|
+
height: 0 !important;
|
|
282
|
+
}
|
|
281
283
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
284
|
+
div{
|
|
285
|
+
-ms-overflow-style: none;
|
|
286
|
+
overflow: -moz-scrollbars-none;
|
|
287
|
+
}
|
|
288
|
+
.divmask {
|
|
289
|
+
pointer-events: none;
|
|
290
|
+
}
|
|
291
|
+
.app-header {
|
|
292
|
+
border-radius: 50%;
|
|
293
|
+
background: rgba(73, 158, 223, 0.4);
|
|
294
|
+
color: #FFF;
|
|
295
|
+
padding: 20px;
|
|
296
|
+
text-align: center;
|
|
297
|
+
font-size: 1.2em;
|
|
298
|
+
z-index: 10;
|
|
299
|
+
opacity:0.5;
|
|
300
|
+
bottom: 50px;
|
|
301
|
+
margin-top: -20px;
|
|
302
|
+
position: absolute;
|
|
303
|
+
top: 10%;
|
|
304
|
+
right: 2%;
|
|
305
|
+
height: 8%;
|
|
306
|
+
}
|
|
305
307
|
</style>
|