sale-client 3.6.573 → 3.6.574
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.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/components/charge/business/IOT/IotChangeFill.vue +2 -0
- package/src/filiale/fugu/UserEssentialInfoTest.vue +0 -1
- package/src/filiale/qingjian/SafeCheck.vue +34 -1
- package/src/filiale/rongcheng/business/CardMeterCenter.vue +6 -8
- package/src/filiale/zhongyi/HandplanQuery.vue +7 -7
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -284,6 +284,8 @@
|
|
|
284
284
|
} catch (error) {
|
|
285
285
|
if (error.status === 301) {
|
|
286
286
|
self.$dispatch('refresh')
|
|
287
|
+
} else if (error.status === 505){
|
|
288
|
+
self.$showAlert('改数据失败,数据已在其他地方进行修改,请尝试重新操作','danger',0)
|
|
287
289
|
} else {
|
|
288
290
|
if (error) {
|
|
289
291
|
self.$showAlert(error, 'danger', 0)
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
close-on-select></v-select>
|
|
36
36
|
</div>
|
|
37
37
|
<div style="" class="col-sm-8 form-group"
|
|
38
|
-
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '']"
|
|
39
38
|
v-if="baseinfo.base.f_credentials === '身份证'">
|
|
40
39
|
<label for="f_idnumber" class="font_normal_body">*证件号码</label>
|
|
41
40
|
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
@@ -89,13 +89,29 @@
|
|
|
89
89
|
</thead>
|
|
90
90
|
<tbody>
|
|
91
91
|
<tr v-show="nextCheckDateShow">
|
|
92
|
-
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;"
|
|
92
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">本次安检时间:</td>
|
|
93
93
|
<td colspan="3" :style=style>{{ model.f_next_check_date }}</td>
|
|
94
94
|
</tr>
|
|
95
95
|
<tr>
|
|
96
96
|
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次安检时间:</td>
|
|
97
97
|
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_check_date }}</td>
|
|
98
98
|
</tr>
|
|
99
|
+
<tr>
|
|
100
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次安检结果:</td>
|
|
101
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ lastDefectResult }}</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr>
|
|
104
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次是否有隐患:</td>
|
|
105
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ lastDefectResult === '有隐患' ? '是' : '否' }}</td>
|
|
106
|
+
</tr>
|
|
107
|
+
<tr>
|
|
108
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次隐患名称:</td>
|
|
109
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_defect_text }}</td>
|
|
110
|
+
</tr>
|
|
111
|
+
<tr>
|
|
112
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次处理结果:</td>
|
|
113
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_repaired === '已修' ? '已处理' : '未处理' }}</td>
|
|
114
|
+
</tr>
|
|
99
115
|
<tr>
|
|
100
116
|
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">安检员:</td>
|
|
101
117
|
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{model.f_checker_name}}</td>
|
|
@@ -294,6 +310,23 @@
|
|
|
294
310
|
return '正常';
|
|
295
311
|
}
|
|
296
312
|
return '有隐患';
|
|
313
|
+
},
|
|
314
|
+
lastDefectResult() {
|
|
315
|
+
let content = this.model.f_last_defect_content;
|
|
316
|
+
if (!content) return '';
|
|
317
|
+
|
|
318
|
+
try {
|
|
319
|
+
// 先解析一次
|
|
320
|
+
let parsed = typeof content === 'string' ? JSON.parse(content) : content;
|
|
321
|
+
// 如果 result 还是 undefined,再尝试一次解析
|
|
322
|
+
if (typeof parsed.result === 'undefined' && typeof parsed === 'string') {
|
|
323
|
+
parsed = JSON.parse(parsed);
|
|
324
|
+
}
|
|
325
|
+
return parsed.result || '';
|
|
326
|
+
} catch (e) {
|
|
327
|
+
console.warn('解析 f_last_defect_content 出错', e);
|
|
328
|
+
return '';
|
|
329
|
+
}
|
|
297
330
|
}
|
|
298
331
|
},
|
|
299
332
|
watch: {
|
|
@@ -735,18 +735,16 @@
|
|
|
735
735
|
return this.model.f_balance
|
|
736
736
|
}
|
|
737
737
|
if (this.model.f_preamount) {
|
|
738
|
-
if (this.row.f_collection_type === '按金额') {
|
|
739
|
-
|
|
738
|
+
// if (this.row.f_collection_type === '按金额') {
|
|
739
|
+
// return ((this.model.f_collection - 0) - (this.model.f_totalcost - 0)).toFixed(4)
|
|
740
|
+
// } else {
|
|
741
|
+
if ((this.row.f_balance - 0) > (this.model.f_preamount - 0)) {
|
|
742
|
+
return ((this.row.f_balance - 0) - (this.model.f_preamount - 0) + (this.model.f_collection - 0)).toFixed(4)
|
|
740
743
|
} else {
|
|
741
|
-
// if ((this.row.f_balance - 0) > (this.model.f_preamount - 0)) {
|
|
742
|
-
// return ((this.row.f_balance - 0) - (this.model.f_preamount - 0) + (this.model.f_collection - 0) ).toFixed(4)
|
|
743
|
-
// } else {
|
|
744
|
-
// return ((this.model.f_collection - 0) + (this.row.f_balance - 0) - (this.model.f_totalcost - 0)).toFixed(4)
|
|
745
|
-
// }
|
|
746
744
|
return ((this.model.f_collection - 0) - (this.model.f_totalcost - 0)).toFixed(4)
|
|
747
745
|
}
|
|
748
746
|
} else {
|
|
749
|
-
return
|
|
747
|
+
return this.row.f_balance
|
|
750
748
|
}
|
|
751
749
|
},
|
|
752
750
|
'islegal' () {
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
console.log('开始查询')
|
|
680
680
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
681
681
|
// 抄表员
|
|
682
|
-
if (!this.$login.f.f_role_name.includes("抄表主管")){
|
|
682
|
+
if (!this.$login.f.f_role_name.includes("抄表主管") && !this.$login.f.f_role_name.includes("管理员")) {
|
|
683
683
|
self.$refs.paged.$refs.cri.model.f_inputtor = self.$login.f.name
|
|
684
684
|
}
|
|
685
685
|
}
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
},
|
|
763
763
|
ready() {
|
|
764
764
|
console.log('登录信息---------------->', this.$login.f)
|
|
765
|
-
console.log('登录信息-------111--------->', this.$login.f.f_role_name.includes("抄表主管"))
|
|
765
|
+
console.log('登录信息-------111--------->', this.$login.f.f_role_name.includes("抄表主管") || this.$login.f.f_role_name.includes("管理员"))
|
|
766
766
|
this.getShowInputor()
|
|
767
767
|
this.getaddress()
|
|
768
768
|
readySomething(this).then(() => {
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
},
|
|
775
775
|
methods: {
|
|
776
776
|
getShowInputor(){
|
|
777
|
-
if (this.$login.f.f_role_name.includes("抄表主管")){
|
|
777
|
+
if (this.$login.f.f_role_name.includes("抄表主管") || this.$login.f.f_role_name.includes("管理员")) {
|
|
778
778
|
this.showinputor = true
|
|
779
779
|
}
|
|
780
780
|
},
|
|
@@ -870,7 +870,7 @@
|
|
|
870
870
|
|
|
871
871
|
async getinputtores () {
|
|
872
872
|
// 获取抄表员
|
|
873
|
-
if (this.$login.f.f_role_name.includes("抄表主管")){
|
|
873
|
+
if (this.$login.f.f_role_name.includes("抄表主管") || this.$login.f.f_role_name.includes("管理员")) {
|
|
874
874
|
let rs = []
|
|
875
875
|
if (this.$login.f.f_gasman.length > 0) {
|
|
876
876
|
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
@@ -1006,9 +1006,9 @@
|
|
|
1006
1006
|
async getRes(condition,obj) {
|
|
1007
1007
|
console.log("condition:----------",condition)
|
|
1008
1008
|
console.log("obj:----------",obj)
|
|
1009
|
-
if (!this.$login.f.f_role_name.includes("抄表主管")){
|
|
1009
|
+
if (!this.$login.f.f_role_name.includes("抄表主管") && !this.$login.f.f_role_name.includes("管理员")) {
|
|
1010
1010
|
this.orgCondtionStr = condition + ` and f_inputtor = '${this.$login.f.name}'`
|
|
1011
|
-
}else if (this.$login.f.f_role_name.includes("部门抄表主管")) {
|
|
1011
|
+
}else if (this.$login.f.f_role_name.includes("部门抄表主管") || this.$login.f.f_role_name.includes("部门管理员")) {
|
|
1012
1012
|
this.orgCondtionStr = condition + ` and f_depid = '${this.$login.f.depids}'`
|
|
1013
1013
|
}else {
|
|
1014
1014
|
this.orgCondtionStr = condition
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
// 获取抄表员
|
|
1150
1150
|
console.log('获取抄表员', this.$login.f)
|
|
1151
1151
|
let rs = []
|
|
1152
|
-
if (this.$login.f.f_role_name.includes("抄表主管")){
|
|
1152
|
+
if (this.$login.f.f_role_name.includes("抄表主管") || this.$login.f.f_role_name.includes("管理员")) {
|
|
1153
1153
|
if (this.$login.f.f_gasman.length > 0) {
|
|
1154
1154
|
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
1155
1155
|
let temp = {
|