sale-client 3.6.596 → 3.6.598
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/{8.5 → 8.10}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{8.5 → 8.10}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/package.json +1 -1
- package/src/components/revenue/base/leftview/SafeCheck.vue +11 -8
- package/src/filiale/shanxian/components/charge/SafeCheck.vue +2 -2
- package/src/filiale/shimen/ChargeManage.vue +49 -9
- package/src/filiale/shimen/ChargeOper.vue +11 -1
- package/src/filiale/shimen/GiftFee/iotTable.vue +1 -1
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- /package/.gradle/{8.5 → 8.10}/dependencies-accessors/gc.properties +0 -0
- /package/.gradle/{8.5 → 8.10}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.5 → 8.10}/gc.properties +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Sat Sep 13 14:19:54 CST 2025
|
|
2
2
|
gradle.version=5.2.1
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
let getSafeCheck = await http.load('POST', 'rs/logic/getSafecheck', param, {resolveMsg: null, rejectMsg: null})
|
|
241
241
|
if (!(JSON.stringify(getSafeCheck.data) == '{}')) {
|
|
242
242
|
self.model = {}
|
|
243
|
-
self.model = Object.assign({},
|
|
243
|
+
self.model = Object.assign({}, getSafeCheck.data)
|
|
244
244
|
self.hasCheck = 1
|
|
245
245
|
} else {
|
|
246
246
|
self.hasCheck = 0
|
|
@@ -286,13 +286,16 @@
|
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
watch: {
|
|
289
|
-
'data'
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
289
|
+
'data': {
|
|
290
|
+
handler (newVal, oldVal) {
|
|
291
|
+
if (newVal == null) {
|
|
292
|
+
this.hasCheck = 0
|
|
293
|
+
this.model = {}
|
|
294
|
+
} else {
|
|
295
|
+
getSafeCheckGen(this)
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
deep: true
|
|
296
299
|
}
|
|
297
300
|
}
|
|
298
301
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<td colspan="1" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;color:red;">{{ model.ajresult }}</td>
|
|
126
126
|
</tr>
|
|
127
127
|
<tr>
|
|
128
|
-
<td colspan="1" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;color:red;"
|
|
128
|
+
<td colspan="1" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;color:red;">安检内容:</td>
|
|
129
129
|
<td colspan="3" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%;color:red;">
|
|
130
130
|
<span v-for="deviceCollect in model.deviceCollects">
|
|
131
131
|
<span class="li-font">
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<br>
|
|
135
135
|
</span>
|
|
136
136
|
</td>
|
|
137
|
-
<td colspan="1" v-if="!(model.ajresult && (model.ajresult.indexOf('有隐患') >=0))" style="text-align: center;border: #E9E9E9 solid 1px;"
|
|
137
|
+
<td colspan="1" v-if="!(model.ajresult && (model.ajresult.indexOf('有隐患') >=0))" style="text-align: center;border: #E9E9E9 solid 1px;">安检内容:</td>
|
|
138
138
|
<td colspan="3" v-if="!(model.ajresult && (model.ajresult.indexOf('有隐患') >=0))" style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
|
|
139
139
|
<span v-for="deviceCollect in model.deviceCollects">
|
|
140
140
|
<span class="li-font">
|
|
@@ -64,6 +64,8 @@ export default {
|
|
|
64
64
|
clear_state: this.$appdata.getSingleValue('业务完成是否自动清条件') ? this.$appdata.getSingleValue('业务完成是否自动清条件') : '是',
|
|
65
65
|
reSearchShowMsy: !!this.$appdata.getSingleValue('收费后验证'),
|
|
66
66
|
reSearchShowBusiness: !!this.$appdata.getSingleValue('业务完成重新加载'),
|
|
67
|
+
shouldNavigateToEvaluation: false, // 标记是否应该导航到评价页面
|
|
68
|
+
activeBusiness: null, // 当前激活的业务
|
|
67
69
|
show: [true],
|
|
68
70
|
selectFiled: '其他信息',
|
|
69
71
|
worktype: '其他信息',
|
|
@@ -135,6 +137,7 @@ export default {
|
|
|
135
137
|
if (!(obj instanceof Event)) {
|
|
136
138
|
// 对此数据进行验证
|
|
137
139
|
if (await this.validateRow(obj)) {
|
|
140
|
+
this.shouldNavigateToEvaluation = false
|
|
138
141
|
// 获取未写卡或者写卡失败记录
|
|
139
142
|
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and (f_write_card = '未写卡' or (f_write_card = '写卡失败' and f_operate_date >= DATEADD(HOUR, -3, GETDATE()))) and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
140
143
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
@@ -142,6 +145,7 @@ export default {
|
|
|
142
145
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
143
146
|
} else {
|
|
144
147
|
this.row = obj
|
|
148
|
+
this.shouldNavigateToEvaluation = false
|
|
145
149
|
this.row.unWriteSell = getUnWriteSell.data
|
|
146
150
|
this.cardInfo = this.$refs.list.cardInfo
|
|
147
151
|
this.$refs.list.criteriaShow = false
|
|
@@ -217,16 +221,39 @@ export default {
|
|
|
217
221
|
this.cardInfo = this.$refs.list.cardInfo
|
|
218
222
|
this.$refs.list.criteriaShow = false
|
|
219
223
|
// 将列表只显示该条数据
|
|
220
|
-
this.$refs.list.refreshRow(obj)
|
|
224
|
+
await this.$refs.list.refreshRow(obj)
|
|
225
|
+
// 如果应该导航到评价页面,则执行评价业务
|
|
226
|
+
if (this.shouldNavigateToEvaluation && this.$refs.oper) {
|
|
227
|
+
this.activeBusiness = '评价'
|
|
228
|
+
this.$nextTick(() => {
|
|
229
|
+
this.$refs.oper.business({name: '评价', value: {routeName: 'service-evaluation'}})
|
|
230
|
+
// 执行完后清除标志
|
|
231
|
+
this.shouldNavigateToEvaluation = false;
|
|
232
|
+
}, 100)
|
|
233
|
+
} else {
|
|
234
|
+
// 清除标志(普通业务场景)
|
|
235
|
+
this.shouldNavigateToEvaluation = false;
|
|
236
|
+
}
|
|
237
|
+
console.log('this.row', this.row)
|
|
221
238
|
}
|
|
222
239
|
},
|
|
223
|
-
|
|
240
|
+
// 监听业务切换
|
|
241
|
+
onBusinessChange(businessName) {
|
|
242
|
+
this.activeBusiness = businessName
|
|
243
|
+
},
|
|
244
|
+
async serRow (obj, evaluationFlag = false) {
|
|
245
|
+
// 设置标志
|
|
246
|
+
this.shouldNavigateToEvaluation = evaluationFlag;
|
|
247
|
+
|
|
224
248
|
let newdata = await this.$resetpost('rs/sql/sale_getUser', {
|
|
225
249
|
data: {condition: `i.f_userinfo_code='${obj.f_userinfo_code}' and u.f_filialeid = '${obj.f_filialeid}'`, orderitem: `f_userinfo_id Desc`}
|
|
226
250
|
}, {resolveMsg: null, rejectMsg: '获取用户信息失败'})
|
|
227
|
-
this.toBusiness(newdata.data[0])
|
|
251
|
+
await this.toBusiness(newdata.data[0])
|
|
228
252
|
// this.$refs.list.search()
|
|
229
|
-
|
|
253
|
+
if(evaluationFlag){
|
|
254
|
+
this.$refs.oper.business({name: '评价', value: {routeName: 'service-evaluation'}})
|
|
255
|
+
}
|
|
256
|
+
},
|
|
230
257
|
},
|
|
231
258
|
events: {
|
|
232
259
|
'error' (name, row, res) {
|
|
@@ -254,11 +281,24 @@ export default {
|
|
|
254
281
|
}
|
|
255
282
|
if (name !== '评价' && this.reSearchShowBusiness) {
|
|
256
283
|
console.log('row', row)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
284
|
+
this.$refs.oper.noButton = false
|
|
285
|
+
this.$showMessage('要进行业务评价吗?', ['confirm', 'cancel']).then((res) => {
|
|
286
|
+
if(res !== 'confirm') {
|
|
287
|
+
if (row) {
|
|
288
|
+
this.serRow(row)
|
|
289
|
+
this.activeBusiness = null
|
|
290
|
+
} else {
|
|
291
|
+
this.serRow(this.row)
|
|
292
|
+
}
|
|
293
|
+
return
|
|
294
|
+
} else {
|
|
295
|
+
if (row) {
|
|
296
|
+
this.serRow(row,true)
|
|
297
|
+
} else {
|
|
298
|
+
this.serRow(this.row,true)
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
})
|
|
262
302
|
return
|
|
263
303
|
}
|
|
264
304
|
console.log('成功事件')
|
|
@@ -207,6 +207,7 @@ export default {
|
|
|
207
207
|
},
|
|
208
208
|
methods: {
|
|
209
209
|
business (btn) {
|
|
210
|
+
this.$dispatch('business-changed', btn.name)
|
|
210
211
|
// // 处理按钮样式
|
|
211
212
|
// this.styleChange(btn.name)
|
|
212
213
|
// this.isBusiness = true
|
|
@@ -250,7 +251,16 @@ export default {
|
|
|
250
251
|
},
|
|
251
252
|
watch: {
|
|
252
253
|
'data' () {
|
|
253
|
-
getBtnsGen(this)
|
|
254
|
+
getBtnsGen(this).then(() => {
|
|
255
|
+
if (this.$parent.activeBusiness) {
|
|
256
|
+
const targetBtn = this.operBtns.find(btn => btn.name === this.$parent.activeBusiness)
|
|
257
|
+
if (targetBtn) {
|
|
258
|
+
this.$nextTick(() => {
|
|
259
|
+
this.business(targetBtn)
|
|
260
|
+
})
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
})
|
|
254
264
|
}
|
|
255
265
|
},
|
|
256
266
|
events: {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|