safecheck-client 3.0.33-23 → 3.0.33-24

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.
@@ -1,59 +1,59 @@
1
- <template>
2
- <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
- <!-- <section>-->
4
-
5
- <div :class="{'basic-main':!showItem,'binary-left':showItem}" >
6
- <select-check-plan @select-changed="selected" :style="style" :style2="style2" @checkstatus-changed="checkstatusChange" v-ref:check></select-check-plan>
7
- </div>
8
- <div class="binary-right" v-show="showItem">
9
- <div class="flex">
10
- <check-detail v-if='$refs.check && $refs.check.selected' :check='$refs.check.selected' :checkstatus="checkstatus" :checkstart="$refs.check.f_check_start" :checkend="$refs.check.f_check_end"
11
- v-ref:detail></check-detail>
12
- </div>
13
- </div>
14
-
15
- <!-- </section>-->
16
- </div>
17
- </template>
18
-
19
- <script>
20
- import SelectCheckPlan from './SelectCheckPlan'
21
- import CheckDetail from './../../../components/checkplan/CheckDetail'
22
-
23
- export default {
24
- title: '安检员考核',
25
- props: ['f'],
26
- components: {SelectCheckPlan, CheckDetail},
27
- data() {
28
- return {
29
- showItem: false,
30
- checkstatus: null,
31
- style:'col-sm-2 form-group',
32
- style2:'col-sm-4 form-group'
33
- }
34
- },
35
- methods: {
36
- selected(row) {
37
- // //tag
38
- this.showItem = true
39
- },
40
- checkstatusChange(val){
41
- this.checkstatus = val
42
- }
43
- }
44
- }
45
- </script>
46
- <style>
47
- .form-input-group label {
48
- text-align: right;
49
- width: auto;
50
- }
51
-
52
- .datapanel {
53
- color: #333;
54
- background-color: white;
55
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
56
- padding: 5px 7px 5px 7px;
57
- border-radius: 10px;
58
- }
59
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
+ <!-- <section>-->
4
+
5
+ <div :class="{'basic-main':!showItem,'binary-left':showItem}" >
6
+ <select-check-plan @select-changed="selected" :style="style" :style2="style2" @checkstatus-changed="checkstatusChange" v-ref:check></select-check-plan>
7
+ </div>
8
+ <div class="binary-right" v-show="showItem">
9
+ <div class="flex">
10
+ <check-detail v-if='$refs.check && $refs.check.selected' :check='$refs.check.selected' :checkstatus="checkstatus" :checkstart="$refs.check.f_check_start" :checkend="$refs.check.f_check_end"
11
+ v-ref:detail></check-detail>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- </section>-->
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ import SelectCheckPlan from './SelectCheckPlan'
21
+ import CheckDetail from './../../../components/checkplan/CheckDetail'
22
+
23
+ export default {
24
+ title: '安检员考核',
25
+ props: ['f'],
26
+ components: {SelectCheckPlan, CheckDetail},
27
+ data() {
28
+ return {
29
+ showItem: false,
30
+ checkstatus: null,
31
+ style:'col-sm-2 form-group',
32
+ style2:'col-sm-4 form-group'
33
+ }
34
+ },
35
+ methods: {
36
+ selected(row) {
37
+ // //tag
38
+ this.showItem = true
39
+ },
40
+ checkstatusChange(val){
41
+ this.checkstatus = val
42
+ }
43
+ }
44
+ }
45
+ </script>
46
+ <style>
47
+ .form-input-group label {
48
+ text-align: right;
49
+ width: auto;
50
+ }
51
+
52
+ .datapanel {
53
+ color: #333;
54
+ background-color: white;
55
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
56
+ padding: 5px 7px 5px 7px;
57
+ border-radius: 10px;
58
+ }
59
+ </style>