safecheck-client 3.0.33-115 → 3.0.33-118

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.
@@ -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 {
package/src/main.js CHANGED
@@ -1,33 +1,33 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- safecheck()
15
- // safecheck('rizhao')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ safecheck('siyang')
15
+ // safecheck('rizhao')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+
19
+ Vue.prototype.$echarts = echarts
20
+ Vue.android = false
21
+
22
+ Vue.url = '/SafeCheck/rs/'
23
+ if(Vue.android)
24
+ Vue.url = Vue.staticUrl
25
+ Vue.interval = 1*60*1000
26
+ Vue.nopic = 'file:///android_asset/nopic.png'
27
+ Vue.mapSetup = false
28
+
29
+ /* eslint-disable no-new */
30
+ new Vue({
31
+ el: 'body',
32
+ components: { App }
33
+ })