safecheck-client 3.0.33-91 → 3.0.33-93
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/package.json +2 -1
- package/src/android-bootstrap/less/dropdowns.less +216 -216
- package/src/android-bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/tables.less +262 -262
- package/src/components/AloneLoadParams.vue +25 -25
- package/src/components/Main.vue +393 -393
- package/src/components/android/DevicesNoncivil.vue +214 -214
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/defects/DefectSeting.vue +98 -98
- package/src/components/equipment/BoilerUsage.vue +105 -105
- package/src/components/equipment/CookerUsage.vue +105 -105
- package/src/components/equipment/DeviceUsage.vue +105 -105
- package/src/components/equipment/FurnaceUsage.vue +105 -105
- package/src/components/equipment/GasMeterUsage.vue +109 -109
- package/src/components/equipment/HeaterUsage.vue +105 -105
- package/src/components/gasusage/GasUsage.vue +126 -126
- package/src/components/paper/RepairVerify.vue +139 -139
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/planmanage/PlanManage.vue +834 -834
- package/src/expandcss.less +571 -571
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +468 -468
- package/src/filiale/tianke/pc/checkScreen.vue +5 -0
- package/src/stores/AppData.js +46 -46
@@ -1,98 +1,98 @@
|
|
1
|
-
<template>
|
2
|
-
<criteria-paged :model="model" v-ref:paged>
|
3
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
4
|
-
<validator name='v' partial>
|
5
|
-
<div class="form-inline auto" >
|
6
|
-
<div class="form-group">
|
7
|
-
<v-select id="f_user_type"
|
8
|
-
placeholder='请选择用户类型'
|
9
|
-
:value.sync="$parent.$parent.model.f_user_type"
|
10
|
-
:options='$parent.$parent.user_types'
|
11
|
-
close-on-select clear-button></v-select>
|
12
|
-
</div>
|
13
|
-
<div class="form-group">
|
14
|
-
<v-select id="f_check_type"
|
15
|
-
placeholder='请选择设备类型'
|
16
|
-
:value.sync="$parent.$parent.model.f_device_type"
|
17
|
-
:options='$parent.$parent.devices_option'
|
18
|
-
close-on-select clear-button> </v-select>
|
19
|
-
</div>
|
20
|
-
<div class="form-group">
|
21
|
-
<button class="btn btn-success width-80" @click="search()">查询</button>
|
22
|
-
<button class="btn btn-default width-80" @click="$parent.$parent.showMo()">新增</button>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</validator>
|
26
|
-
</criteria>
|
27
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
28
|
-
<template partial='head'>
|
29
|
-
<tr>
|
30
|
-
<th>设备类型</th>
|
31
|
-
<th>隐患级别</th>
|
32
|
-
<th>隐患名称</th>
|
33
|
-
<th>隐患字段</th>
|
34
|
-
<th>隐患图片字段</th>
|
35
|
-
<th>操作</th>
|
36
|
-
</tr>
|
37
|
-
</template>
|
38
|
-
<template partial='body'>
|
39
|
-
<td>{{row.f_device_type}}</td>
|
40
|
-
<td>{{row.f_defect_level}}</td>
|
41
|
-
<td>{{row.f_defect}}</td>
|
42
|
-
<td>{{row.f_defect_field}}</td>
|
43
|
-
<td>{{row.f_defect_path}}</td>
|
44
|
-
<td><span class="glyphicon glyphicon-trash" @click="$parent.$parent.$parent.delete(row)"></span></td>
|
45
|
-
</template>
|
46
|
-
</data-grid>
|
47
|
-
</criteria-paged>
|
48
|
-
<adddefect-modal v-show="showModal"></adddefect-modal>
|
49
|
-
</template>
|
50
|
-
|
51
|
-
<script>
|
52
|
-
import { PagedList } from 'vue-client'
|
53
|
-
import co from 'co'
|
54
|
-
import Vue from 'vue'
|
55
|
-
import * as Util from '../Util'
|
56
|
-
import AppData from '../../stores/AppData'
|
57
|
-
|
58
|
-
let syncDelete = function * (self,row) {
|
59
|
-
yield self.$remove('rs/entity/t_defect_info/', {id: row.id})
|
60
|
-
self.$refs.paged.$refs.criteria.search()
|
61
|
-
}
|
62
|
-
export default {
|
63
|
-
title: '隐患设置',
|
64
|
-
data () {
|
65
|
-
let model = new PagedList('rs/sql/getDefect', 20,)
|
66
|
-
|
67
|
-
return {
|
68
|
-
fun:this.$login.f,
|
69
|
-
defect:{},
|
70
|
-
devices_option:[],
|
71
|
-
model: model,
|
72
|
-
user_types: this.$appdata.getParam('用户类型'),
|
73
|
-
showModal: false,
|
74
|
-
defects_option: this.$appdata.getParam('隐患级别')
|
75
|
-
}
|
76
|
-
},
|
77
|
-
|
78
|
-
methods: {
|
79
|
-
showMo () {
|
80
|
-
this.showModal = true
|
81
|
-
},
|
82
|
-
delete(row){
|
83
|
-
let gen = syncDelete(this,row)
|
84
|
-
return co(gen)
|
85
|
-
},
|
86
|
-
undo(){
|
87
|
-
this.showModal = false
|
88
|
-
},
|
89
|
-
},
|
90
|
-
ready(){
|
91
|
-
this.$resetpost("rs/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
92
|
-
respanse.data.data.forEach((item)=>{
|
93
|
-
this.devices_option.push({label:item.f_device_name,value:item.f_device_name})
|
94
|
-
})
|
95
|
-
})
|
96
|
-
}
|
97
|
-
}
|
98
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<criteria-paged :model="model" v-ref:paged>
|
3
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
4
|
+
<validator name='v' partial>
|
5
|
+
<div class="form-inline auto" >
|
6
|
+
<div class="form-group">
|
7
|
+
<v-select id="f_user_type"
|
8
|
+
placeholder='请选择用户类型'
|
9
|
+
:value.sync="$parent.$parent.model.f_user_type"
|
10
|
+
:options='$parent.$parent.user_types'
|
11
|
+
close-on-select clear-button></v-select>
|
12
|
+
</div>
|
13
|
+
<div class="form-group">
|
14
|
+
<v-select id="f_check_type"
|
15
|
+
placeholder='请选择设备类型'
|
16
|
+
:value.sync="$parent.$parent.model.f_device_type"
|
17
|
+
:options='$parent.$parent.devices_option'
|
18
|
+
close-on-select clear-button> </v-select>
|
19
|
+
</div>
|
20
|
+
<div class="form-group">
|
21
|
+
<button class="btn btn-success width-80" @click="search()">查询</button>
|
22
|
+
<button class="btn btn-default width-80" @click="$parent.$parent.showMo()">新增</button>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</validator>
|
26
|
+
</criteria>
|
27
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
28
|
+
<template partial='head'>
|
29
|
+
<tr>
|
30
|
+
<th>设备类型</th>
|
31
|
+
<th>隐患级别</th>
|
32
|
+
<th>隐患名称</th>
|
33
|
+
<th>隐患字段</th>
|
34
|
+
<th>隐患图片字段</th>
|
35
|
+
<th>操作</th>
|
36
|
+
</tr>
|
37
|
+
</template>
|
38
|
+
<template partial='body'>
|
39
|
+
<td>{{row.f_device_type}}</td>
|
40
|
+
<td>{{row.f_defect_level}}</td>
|
41
|
+
<td>{{row.f_defect}}</td>
|
42
|
+
<td>{{row.f_defect_field}}</td>
|
43
|
+
<td>{{row.f_defect_path}}</td>
|
44
|
+
<td><span class="glyphicon glyphicon-trash" @click="$parent.$parent.$parent.delete(row)"></span></td>
|
45
|
+
</template>
|
46
|
+
</data-grid>
|
47
|
+
</criteria-paged>
|
48
|
+
<adddefect-modal v-show="showModal"></adddefect-modal>
|
49
|
+
</template>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
import { PagedList } from 'vue-client'
|
53
|
+
import co from 'co'
|
54
|
+
import Vue from 'vue'
|
55
|
+
import * as Util from '../Util'
|
56
|
+
import AppData from '../../stores/AppData'
|
57
|
+
|
58
|
+
let syncDelete = function * (self,row) {
|
59
|
+
yield self.$remove('rs/entity/t_defect_info/', {id: row.id})
|
60
|
+
self.$refs.paged.$refs.criteria.search()
|
61
|
+
}
|
62
|
+
export default {
|
63
|
+
title: '隐患设置',
|
64
|
+
data () {
|
65
|
+
let model = new PagedList('rs/sql/getDefect', 20,)
|
66
|
+
|
67
|
+
return {
|
68
|
+
fun:this.$login.f,
|
69
|
+
defect:{},
|
70
|
+
devices_option:[],
|
71
|
+
model: model,
|
72
|
+
user_types: this.$appdata.getParam('用户类型'),
|
73
|
+
showModal: false,
|
74
|
+
defects_option: this.$appdata.getParam('隐患级别')
|
75
|
+
}
|
76
|
+
},
|
77
|
+
|
78
|
+
methods: {
|
79
|
+
showMo () {
|
80
|
+
this.showModal = true
|
81
|
+
},
|
82
|
+
delete(row){
|
83
|
+
let gen = syncDelete(this,row)
|
84
|
+
return co(gen)
|
85
|
+
},
|
86
|
+
undo(){
|
87
|
+
this.showModal = false
|
88
|
+
},
|
89
|
+
},
|
90
|
+
ready(){
|
91
|
+
this.$resetpost("rs/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
92
|
+
respanse.data.data.forEach((item)=>{
|
93
|
+
this.devices_option.push({label:item.f_device_name,value:item.f_device_name})
|
94
|
+
})
|
95
|
+
})
|
96
|
+
}
|
97
|
+
}
|
98
|
+
</script>
|
@@ -1,105 +1,105 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
-
<validator name='v' partial>
|
6
|
-
<div class="form-inline auto" >
|
7
|
-
<div class="form-group" >
|
8
|
-
<v-select id="f_subcompany"
|
9
|
-
placeholder='请选择分公司'
|
10
|
-
:value.sync="$parent.$parent.model.f_subcompany"
|
11
|
-
:options='$parent.$parent.f_divisions'
|
12
|
-
close-on-select clear-button></v-select>
|
13
|
-
</div>
|
14
|
-
<div class="form-group">
|
15
|
-
<v-select id="f_check_type"
|
16
|
-
placeholder='请选择用户类型'
|
17
|
-
:value.sync="$parent.$parent.model.f_check_type"
|
18
|
-
:options='$parent.$parent.user_types'
|
19
|
-
close-on-select clear-button></v-select>
|
20
|
-
</div>
|
21
|
-
<div class="form-group">
|
22
|
-
<datepicker id="startdate"
|
23
|
-
v-model='model.date1'
|
24
|
-
:value.sync="model.date1"
|
25
|
-
:disabled-days-of-Week="[]"
|
26
|
-
placeholder="开始时间"
|
27
|
-
:format="'yyyy-MM-dd'"
|
28
|
-
:show-reset-button="reset">
|
29
|
-
</datepicker>
|
30
|
-
</div>
|
31
|
-
<div class="form-group">
|
32
|
-
<datepicker id="startdate"
|
33
|
-
v-model='model.date2'
|
34
|
-
:value.sync="model.date2"
|
35
|
-
:disabled-days-of-Week="[]"
|
36
|
-
:format="'yyyy-MM-dd'"
|
37
|
-
placeholder="结束时间"
|
38
|
-
:show-reset-button="reset">
|
39
|
-
</datepicker>
|
40
|
-
</div>
|
41
|
-
<div class="form-group">
|
42
|
-
<input type="number" class="form-control"
|
43
|
-
placeholder='年限超过'
|
44
|
-
v-model="$parent.$parent.model.year">
|
45
|
-
</div>
|
46
|
-
<!--<div class="form-group">-->
|
47
|
-
<!--<v-select id="f_maker"-->
|
48
|
-
<!--placeholder='请选择壁挂炉品牌'-->
|
49
|
-
<!--:value.sync="$parent.$parent.model.f_maker"-->
|
50
|
-
<!--:options='$parent.$parent.brands'-->
|
51
|
-
<!--close-on-select clear-button> </v-select>-->
|
52
|
-
<!--</div>-->
|
53
|
-
<div class="form-group">
|
54
|
-
<button class="btn btn-success width-80" @click="search()">查询</button>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
</validator>
|
58
|
-
</criteria>
|
59
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
60
|
-
<template partial='head'>
|
61
|
-
<tr>
|
62
|
-
<th>用户姓名</th>
|
63
|
-
<th>用户ID</th>
|
64
|
-
<th>灶具品牌</th>
|
65
|
-
<th>出厂日期</th>
|
66
|
-
</tr>
|
67
|
-
</template>
|
68
|
-
<template partial='body'>
|
69
|
-
<td>{{row.f_user_name}}</td>
|
70
|
-
<td>{{row.f_userinfoid}}</td>
|
71
|
-
<td>{{row.f_brand }}</td>
|
72
|
-
<td>{{row.f_making_date}}</td>
|
73
|
-
</template>
|
74
|
-
</data-grid>
|
75
|
-
</criteria-paged>
|
76
|
-
</div>
|
77
|
-
</template>
|
78
|
-
|
79
|
-
<script>
|
80
|
-
import { PagedList } from 'vue-client'
|
81
|
-
import Vue from 'vue'
|
82
|
-
import AppData from '../../stores/AppData'
|
83
|
-
|
84
|
-
export default {
|
85
|
-
title: '居民壁挂炉使用情况',
|
86
|
-
data () {
|
87
|
-
let model = new PagedList('rs/sql/壁挂炉使用情况', 20,
|
88
|
-
{date1: 'this.model.date1', date2: 'this.model.date2',
|
89
|
-
year: 'this.year', f_subcompany: 'this.f_subcompany[0]',
|
90
|
-
f_check_type: 'this.f_check_type[0]', f_brand: 'this.f_maker[0]'})
|
91
|
-
model.f_subcompany = [this.$login.f.f_fengongsi]
|
92
|
-
model.f_check_type = ['居民']
|
93
|
-
model.f_maker = ['']
|
94
|
-
model.date1 = ''
|
95
|
-
model.date2 = ''
|
96
|
-
model.year = 6
|
97
|
-
return {
|
98
|
-
model: model,
|
99
|
-
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.getParam('安检系统用子公司'),
|
100
|
-
user_types: this.$appdata.getParam('用户类型'),
|
101
|
-
brands: this.$appdata.getParam('壁挂炉品牌')
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
+
<validator name='v' partial>
|
6
|
+
<div class="form-inline auto" >
|
7
|
+
<div class="form-group" >
|
8
|
+
<v-select id="f_subcompany"
|
9
|
+
placeholder='请选择分公司'
|
10
|
+
:value.sync="$parent.$parent.model.f_subcompany"
|
11
|
+
:options='$parent.$parent.f_divisions'
|
12
|
+
close-on-select clear-button></v-select>
|
13
|
+
</div>
|
14
|
+
<div class="form-group">
|
15
|
+
<v-select id="f_check_type"
|
16
|
+
placeholder='请选择用户类型'
|
17
|
+
:value.sync="$parent.$parent.model.f_check_type"
|
18
|
+
:options='$parent.$parent.user_types'
|
19
|
+
close-on-select clear-button></v-select>
|
20
|
+
</div>
|
21
|
+
<div class="form-group">
|
22
|
+
<datepicker id="startdate"
|
23
|
+
v-model='model.date1'
|
24
|
+
:value.sync="model.date1"
|
25
|
+
:disabled-days-of-Week="[]"
|
26
|
+
placeholder="开始时间"
|
27
|
+
:format="'yyyy-MM-dd'"
|
28
|
+
:show-reset-button="reset">
|
29
|
+
</datepicker>
|
30
|
+
</div>
|
31
|
+
<div class="form-group">
|
32
|
+
<datepicker id="startdate"
|
33
|
+
v-model='model.date2'
|
34
|
+
:value.sync="model.date2"
|
35
|
+
:disabled-days-of-Week="[]"
|
36
|
+
:format="'yyyy-MM-dd'"
|
37
|
+
placeholder="结束时间"
|
38
|
+
:show-reset-button="reset">
|
39
|
+
</datepicker>
|
40
|
+
</div>
|
41
|
+
<div class="form-group">
|
42
|
+
<input type="number" class="form-control"
|
43
|
+
placeholder='年限超过'
|
44
|
+
v-model="$parent.$parent.model.year">
|
45
|
+
</div>
|
46
|
+
<!--<div class="form-group">-->
|
47
|
+
<!--<v-select id="f_maker"-->
|
48
|
+
<!--placeholder='请选择壁挂炉品牌'-->
|
49
|
+
<!--:value.sync="$parent.$parent.model.f_maker"-->
|
50
|
+
<!--:options='$parent.$parent.brands'-->
|
51
|
+
<!--close-on-select clear-button> </v-select>-->
|
52
|
+
<!--</div>-->
|
53
|
+
<div class="form-group">
|
54
|
+
<button class="btn btn-success width-80" @click="search()">查询</button>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</validator>
|
58
|
+
</criteria>
|
59
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
60
|
+
<template partial='head'>
|
61
|
+
<tr>
|
62
|
+
<th>用户姓名</th>
|
63
|
+
<th>用户ID</th>
|
64
|
+
<th>灶具品牌</th>
|
65
|
+
<th>出厂日期</th>
|
66
|
+
</tr>
|
67
|
+
</template>
|
68
|
+
<template partial='body'>
|
69
|
+
<td>{{row.f_user_name}}</td>
|
70
|
+
<td>{{row.f_userinfoid}}</td>
|
71
|
+
<td>{{row.f_brand }}</td>
|
72
|
+
<td>{{row.f_making_date}}</td>
|
73
|
+
</template>
|
74
|
+
</data-grid>
|
75
|
+
</criteria-paged>
|
76
|
+
</div>
|
77
|
+
</template>
|
78
|
+
|
79
|
+
<script>
|
80
|
+
import { PagedList } from 'vue-client'
|
81
|
+
import Vue from 'vue'
|
82
|
+
import AppData from '../../stores/AppData'
|
83
|
+
|
84
|
+
export default {
|
85
|
+
title: '居民壁挂炉使用情况',
|
86
|
+
data () {
|
87
|
+
let model = new PagedList('rs/sql/壁挂炉使用情况', 20,
|
88
|
+
{date1: 'this.model.date1', date2: 'this.model.date2',
|
89
|
+
year: 'this.year', f_subcompany: 'this.f_subcompany[0]',
|
90
|
+
f_check_type: 'this.f_check_type[0]', f_brand: 'this.f_maker[0]'})
|
91
|
+
model.f_subcompany = [this.$login.f.f_fengongsi]
|
92
|
+
model.f_check_type = ['居民']
|
93
|
+
model.f_maker = ['']
|
94
|
+
model.date1 = ''
|
95
|
+
model.date2 = ''
|
96
|
+
model.year = 6
|
97
|
+
return {
|
98
|
+
model: model,
|
99
|
+
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.getParam('安检系统用子公司'),
|
100
|
+
user_types: this.$appdata.getParam('用户类型'),
|
101
|
+
brands: this.$appdata.getParam('壁挂炉品牌')
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
</script>
|
@@ -1,105 +1,105 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
-
<validator name='v' partial>
|
6
|
-
<div class="form-inline auto" >
|
7
|
-
<div class="form-group" >
|
8
|
-
<v-select id="f_subcompany"
|
9
|
-
placeholder='请选择分公司'
|
10
|
-
:value.sync="$parent.$parent.model.f_subcompany"
|
11
|
-
:options='$parent.$parent.f_divisions'
|
12
|
-
close-on-select clear-button></v-select>
|
13
|
-
</div>
|
14
|
-
<div class="form-group">
|
15
|
-
<v-select id="f_check_type"
|
16
|
-
placeholder='请选择用户类型'
|
17
|
-
:value.sync="$parent.$parent.model.f_check_type"
|
18
|
-
:options='$parent.$parent.user_types'
|
19
|
-
close-on-select clear-button></v-select>
|
20
|
-
</div>
|
21
|
-
<div class="form-group">
|
22
|
-
<datepicker id="startdate"
|
23
|
-
v-model='model.date1'
|
24
|
-
:value.sync="model.date1"
|
25
|
-
:disabled-days-of-Week="[]"
|
26
|
-
placeholder="开始时间"
|
27
|
-
:format="'yyyy-MM-dd'"
|
28
|
-
:show-reset-button="reset">
|
29
|
-
</datepicker>
|
30
|
-
</div>
|
31
|
-
<div class="form-group">
|
32
|
-
<datepicker id="startdate"
|
33
|
-
v-model='model.date2'
|
34
|
-
:value.sync="model.date2"
|
35
|
-
:disabled-days-of-Week="[]"
|
36
|
-
:format="'yyyy-MM-dd'"
|
37
|
-
placeholder="结束时间"
|
38
|
-
:show-reset-button="reset">
|
39
|
-
</datepicker>
|
40
|
-
</div>
|
41
|
-
<div class="form-group">
|
42
|
-
<input type="number" class="form-control"
|
43
|
-
placeholder='年限超过' defaultValue="8"
|
44
|
-
v-model="$parent.$parent.model.year">
|
45
|
-
</div>
|
46
|
-
<!--<div class="form-group">-->
|
47
|
-
<!--<v-select id="f_maker"-->
|
48
|
-
<!--placeholder='请选择灶具品牌'-->
|
49
|
-
<!--:value.sync="$parent.$parent.model.f_maker"-->
|
50
|
-
<!--:options='$parent.$parent.brands'-->
|
51
|
-
<!--close-on-select clear-button></v-select>-->
|
52
|
-
<!--</div>-->
|
53
|
-
<div class="form-group">
|
54
|
-
<button class="btn btn-success width-80" @click="search()">查询</button>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
</validator>
|
58
|
-
</criteria>
|
59
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
60
|
-
<template partial='head'>
|
61
|
-
<tr>
|
62
|
-
<th>用户姓名</th>
|
63
|
-
<th>用户ID</th>
|
64
|
-
<th>灶具品牌</th>
|
65
|
-
<th>出厂日期</th>
|
66
|
-
</tr>
|
67
|
-
</template>
|
68
|
-
<template partial='body'>
|
69
|
-
<td>{{row.f_user_name}}</td>
|
70
|
-
<td>{{row.f_userinfoid}}</td>
|
71
|
-
<td>{{row.f_brand }}</td>
|
72
|
-
<td>{{row.f_making_date}}</td>
|
73
|
-
</template>
|
74
|
-
</data-grid>
|
75
|
-
</criteria-paged>
|
76
|
-
</div>
|
77
|
-
</template>
|
78
|
-
|
79
|
-
<script>
|
80
|
-
import { PagedList } from 'vue-client'
|
81
|
-
import Vue from 'vue'
|
82
|
-
import AppData from '../../stores/AppData'
|
83
|
-
|
84
|
-
export default {
|
85
|
-
title: '灶具使用情况',
|
86
|
-
data () {
|
87
|
-
let model = new PagedList('rs/sql/灶具使用情况', 20,
|
88
|
-
{date1: 'this.model.date1', date2: 'this.model.date2',
|
89
|
-
year: 'this.year', f_subcompany: 'this.f_subcompany[0]',
|
90
|
-
f_check_type: 'this.f_check_type[0]', f_brand: 'this.f_maker[0]'})
|
91
|
-
model.f_subcompany = [this.$login.f.f_fengongsi]
|
92
|
-
model.f_check_type = ['民用']
|
93
|
-
model.f_maker = ['']
|
94
|
-
model.date1 = ''
|
95
|
-
model.date2 = ''
|
96
|
-
model.year = 6
|
97
|
-
return {
|
98
|
-
model: model,
|
99
|
-
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.$appdata.getParam('安检系统用子公司'),
|
100
|
-
user_types: this.$appdata.getParam('用户类型'),
|
101
|
-
brands: this.$appdata.getParam('灶具品牌')
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
+
<validator name='v' partial>
|
6
|
+
<div class="form-inline auto" >
|
7
|
+
<div class="form-group" >
|
8
|
+
<v-select id="f_subcompany"
|
9
|
+
placeholder='请选择分公司'
|
10
|
+
:value.sync="$parent.$parent.model.f_subcompany"
|
11
|
+
:options='$parent.$parent.f_divisions'
|
12
|
+
close-on-select clear-button></v-select>
|
13
|
+
</div>
|
14
|
+
<div class="form-group">
|
15
|
+
<v-select id="f_check_type"
|
16
|
+
placeholder='请选择用户类型'
|
17
|
+
:value.sync="$parent.$parent.model.f_check_type"
|
18
|
+
:options='$parent.$parent.user_types'
|
19
|
+
close-on-select clear-button></v-select>
|
20
|
+
</div>
|
21
|
+
<div class="form-group">
|
22
|
+
<datepicker id="startdate"
|
23
|
+
v-model='model.date1'
|
24
|
+
:value.sync="model.date1"
|
25
|
+
:disabled-days-of-Week="[]"
|
26
|
+
placeholder="开始时间"
|
27
|
+
:format="'yyyy-MM-dd'"
|
28
|
+
:show-reset-button="reset">
|
29
|
+
</datepicker>
|
30
|
+
</div>
|
31
|
+
<div class="form-group">
|
32
|
+
<datepicker id="startdate"
|
33
|
+
v-model='model.date2'
|
34
|
+
:value.sync="model.date2"
|
35
|
+
:disabled-days-of-Week="[]"
|
36
|
+
:format="'yyyy-MM-dd'"
|
37
|
+
placeholder="结束时间"
|
38
|
+
:show-reset-button="reset">
|
39
|
+
</datepicker>
|
40
|
+
</div>
|
41
|
+
<div class="form-group">
|
42
|
+
<input type="number" class="form-control"
|
43
|
+
placeholder='年限超过' defaultValue="8"
|
44
|
+
v-model="$parent.$parent.model.year">
|
45
|
+
</div>
|
46
|
+
<!--<div class="form-group">-->
|
47
|
+
<!--<v-select id="f_maker"-->
|
48
|
+
<!--placeholder='请选择灶具品牌'-->
|
49
|
+
<!--:value.sync="$parent.$parent.model.f_maker"-->
|
50
|
+
<!--:options='$parent.$parent.brands'-->
|
51
|
+
<!--close-on-select clear-button></v-select>-->
|
52
|
+
<!--</div>-->
|
53
|
+
<div class="form-group">
|
54
|
+
<button class="btn btn-success width-80" @click="search()">查询</button>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</validator>
|
58
|
+
</criteria>
|
59
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
60
|
+
<template partial='head'>
|
61
|
+
<tr>
|
62
|
+
<th>用户姓名</th>
|
63
|
+
<th>用户ID</th>
|
64
|
+
<th>灶具品牌</th>
|
65
|
+
<th>出厂日期</th>
|
66
|
+
</tr>
|
67
|
+
</template>
|
68
|
+
<template partial='body'>
|
69
|
+
<td>{{row.f_user_name}}</td>
|
70
|
+
<td>{{row.f_userinfoid}}</td>
|
71
|
+
<td>{{row.f_brand }}</td>
|
72
|
+
<td>{{row.f_making_date}}</td>
|
73
|
+
</template>
|
74
|
+
</data-grid>
|
75
|
+
</criteria-paged>
|
76
|
+
</div>
|
77
|
+
</template>
|
78
|
+
|
79
|
+
<script>
|
80
|
+
import { PagedList } from 'vue-client'
|
81
|
+
import Vue from 'vue'
|
82
|
+
import AppData from '../../stores/AppData'
|
83
|
+
|
84
|
+
export default {
|
85
|
+
title: '灶具使用情况',
|
86
|
+
data () {
|
87
|
+
let model = new PagedList('rs/sql/灶具使用情况', 20,
|
88
|
+
{date1: 'this.model.date1', date2: 'this.model.date2',
|
89
|
+
year: 'this.year', f_subcompany: 'this.f_subcompany[0]',
|
90
|
+
f_check_type: 'this.f_check_type[0]', f_brand: 'this.f_maker[0]'})
|
91
|
+
model.f_subcompany = [this.$login.f.f_fengongsi]
|
92
|
+
model.f_check_type = ['民用']
|
93
|
+
model.f_maker = ['']
|
94
|
+
model.date1 = ''
|
95
|
+
model.date2 = ''
|
96
|
+
model.year = 6
|
97
|
+
return {
|
98
|
+
model: model,
|
99
|
+
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.$appdata.getParam('安检系统用子公司'),
|
100
|
+
user_types: this.$appdata.getParam('用户类型'),
|
101
|
+
brands: this.$appdata.getParam('灶具品牌')
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
</script>
|