safecheck-client 3.0.33-115 → 3.0.33-119
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.
@@ -725,8 +725,8 @@ export default {
|
|
725
725
|
args.condition += " and f_last_check_date <= '" + args.model.f_check_end + "'"
|
726
726
|
}
|
727
727
|
}*/
|
728
|
-
args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.orgid})`)
|
729
|
-
let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.orgid})`)
|
728
|
+
args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `('${this.$login.f.orgid}')`)
|
729
|
+
let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `('${this.$login.f.orgid}')`)
|
730
730
|
con += args.model.f_userinfo_code ? ` and f_userinfo_code like '%${args.model.f_userinfo_code}%'` : ''
|
731
731
|
/*con += args.model.f_user_name ? ` and f_user_name like '%${args.model.f_user_name}%'` : ''
|
732
732
|
con += args.model.f_residential_area ? ` and f_residential_area like '%${args.model.f_residential_area}%'` : ''
|
@@ -43,9 +43,9 @@
|
|
43
43
|
</tr>
|
44
44
|
<tr class="safe-bodyfont">
|
45
45
|
<td colspan="2">安检率 :</td>
|
46
|
-
<td colspan="2">{{(row.checked*100/row.plan_count).toFixed(2)}}%</td>
|
46
|
+
<td colspan="2">{{row.plan_count === 0? 0 : (row.checked*100/row.plan_count).toFixed(2)}}%</td>
|
47
47
|
<td colspan="2">入户率 :</td>
|
48
|
-
<td colspan="2">{{(row.ruhu_count*100/row.plan_count).toFixed(2)}}%</td>
|
48
|
+
<td colspan="2">{{row.plan_count === 0? 0 : (row.ruhu_count*100/row.plan_count).toFixed(2)}}%</td>
|
49
49
|
</tr>
|
50
50
|
<tr class="safe-bodyfont" v-if="row.f_create_time">
|
51
51
|
<td colspan="3">创建时间 :</td>
|
@@ -394,6 +394,7 @@
|
|
394
394
|
<script>
|
395
395
|
import {SearchList,HttpResetClass, PagedList} from "vue-client";
|
396
396
|
import Vue from "vue";
|
397
|
+
import * as Util from "../../../components/Util";
|
397
398
|
import AppData from "../../../stores/AppData";
|
398
399
|
|
399
400
|
export default {
|