Commit 460d7def authored by 李苏's avatar 李苏 💬

value-format="timestamp" 赋值

parent 4ada2a86
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="公告日期" ref="ggrq" prop="ggrq"> <el-form-item label="公告日期" ref="ggrq" prop="ggrq">
<el-date-picker <el-date-picker
value-format="timestamp"
style="width: 100%;" style="width: 100%;"
:readonly="readonly" :readonly="readonly"
type="date" type="date"
...@@ -31,6 +32,7 @@ ...@@ -31,6 +32,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="有效日期" ref="yxrq" prop="yxrq"> <el-form-item label="有效日期" ref="yxrq" prop="yxrq">
<el-date-picker <el-date-picker
value-format="timestamp"
style="width: 100%;" style="width: 100%;"
:readonly="readonly" :readonly="readonly"
type="date" type="date"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker <el-date-picker
value-format="timestamp"
v-model="queryParams.ksrq" v-model="queryParams.ksrq"
type="date" type="date"
placeholder="选择日期"> placeholder="选择日期">
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker <el-date-picker
value-format="timestamp"
v-model="queryParams.jsrq" v-model="queryParams.jsrq"
type="date" type="date"
placeholder="选择日期"> placeholder="选择日期">
...@@ -86,8 +88,8 @@ ...@@ -86,8 +88,8 @@
baseUrl: 'aqgl/jcsj/aqgg', baseUrl: 'aqgl/jcsj/aqgg',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq: '' jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -17,14 +17,14 @@ ...@@ -17,14 +17,14 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布日期" ref="fbrq" prop="fbrq"> <el-form-item label="发布日期" ref="fbrq" prop="fbrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fbrq" placeholder="选择日期"> v-model="form.fbrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实施日期" ref="ssrq" prop="ssrq"> <el-form-item label="实施日期" ref="ssrq" prop="ssrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ssrq" placeholder="选择日期"> v-model="form.ssrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="24">
<el-form-item label="备注" ref="bz" prop="bz"> <el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input> <el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item> </el-form-item>
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发布日期" ref="fbrq" prop="fbrq"> <el-form-item label="发布日期" ref="fbrq" prop="fbrq">
<el-date-picker <el-date-picker
value-format="timestamp"
style="width: 100%;" style="width: 100%;"
:readonly="readonly" :readonly="readonly"
type="date" type="date"
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="实施日期" ref="ssrq" prop="ssrq"> <el-form-item label="实施日期" ref="ssrq" prop="ssrq">
<el-date-picker <el-date-picker
value-format="timestamp"
style="width: 100%;" style="width: 100%;"
:readonly="readonly" :readonly="readonly"
type="date" type="date"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="活动日期" ref="hdrq" prop="hdrq"> <el-form-item label="活动日期" ref="hdrq" prop="hdrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.hdrq" placeholder="选择日期"> v-model="form.hdrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
baseUrl: '/aqgl/rcgl/aqhd', baseUrl: '/aqgl/rcgl/aqhd',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: '', jsrq: new Date().getTime(),
bmid: '' bmid: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
......
...@@ -7,19 +7,19 @@ ...@@ -7,19 +7,19 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">分类:</span> <span class="search-span">分类:</span>
<el-input></el-input> <el-input v-model='queryParams.lzfl' ></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.ksrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.jsrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -82,7 +82,9 @@ ...@@ -82,7 +82,9 @@
baseUrl: '/aqgl/rcgl/lzrw', baseUrl: '/aqgl/rcgl/lzrw',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
info: '' lzfl: '',
ksrq:new Date().getTime() - 1000*60*60*24*30,
jsrq:new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
...@@ -122,4 +124,3 @@ ...@@ -122,4 +124,3 @@
<style scoped> <style scoped>
</style> </style>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发证日期" ref="fzsq" prop="fzsq"> <el-form-item label="发证日期" ref="fzsq" prop="fzsq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.fzsq" placeholder="选择日期"> v-model="form.fzsq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="截止日期" ref="jzrq" prop="jzrq"> <el-form-item label="截止日期" ref="jzrq" prop="jzrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.jzrq" placeholder="选择日期"> v-model="form.jzrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -47,14 +47,14 @@ ...@@ -47,14 +47,14 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="复审日期1" ref="fsrq1" prop="fsrq1"> <el-form-item label="复审日期1" ref="fsrq1" prop="fsrq1">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.fsrq1" placeholder="选择日期"> v-model="form.fsrq1" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="复审日期2" ref="fsrq2" prop="fsrq2"> <el-form-item label="复审日期2" ref="fsrq2" prop="fsrq2">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.fsrq2" placeholder="选择日期"> v-model="form.fsrq2" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -63,14 +63,14 @@ ...@@ -63,14 +63,14 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实际复审日期1" ref="sjfsrq1" prop="sjfsrq1"> <el-form-item label="实际复审日期1" ref="sjfsrq1" prop="sjfsrq1">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.sjfsrq1" placeholder="选择日期"> v-model="form.sjfsrq1" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实际复审日期2" ref="sjfsrq2" prop="sjfsrq2"> <el-form-item label="实际复审日期2" ref="sjfsrq2" prop="sjfsrq2">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.sjfsrq2" placeholder="选择日期"> v-model="form.sjfsrq2" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -130,8 +130,8 @@ ...@@ -130,8 +130,8 @@
baseUrl: '/aqgl/rcgl/fcgzy', baseUrl: '/aqgl/rcgl/fcgzy',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: '', jsrq: new Date().getTime(),
flid: '', flid: '',
fxjb:'' fxjb:''
}, },
......
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.ksrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.jsrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
...@@ -99,7 +99,9 @@ ...@@ -99,7 +99,9 @@
baseUrl: '/aqgl/rcgl/lzrw', baseUrl: '/aqgl/rcgl/lzrw',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
info: '' info: '',
ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq:new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="履职日期" ref="lzrq" prop="lzrq"> <el-form-item label="履职日期" ref="lzrq" prop="lzrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.lzrq" placeholder="选择日期"> v-model="form.lzrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</el-col> --> </el-col> -->
<el-col :span="24"> <el-col :span="24">
<el-form-item label="业务日期" ref="ywrq" prop="ywrq"> <el-form-item label="业务日期" ref="ywrq" prop="ywrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ywrq" placeholder="选择日期"> v-model="form.ywrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.ksrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.jsrq' ></el-date-picker>
</div> </div>
</el-col> </el-col>
...@@ -98,8 +98,8 @@ ...@@ -98,8 +98,8 @@
baseUrl: '/aqgl/rcgl/wxzy', baseUrl: '/aqgl/rcgl/wxzy',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: '' jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发现日期" ref="fxrq" prop="fxrq"> <el-form-item label="发现日期" ref="fxrq" prop="fxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fxrq" placeholder="选择日期"> v-model="form.fxrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq:'', ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq:'', jsrq:new Date().getTime(),
zrdw:'', zrdw:'',
flid:'' flid:''
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发现日期" ref="fxrq" prop="fxrq"> <el-form-item label="发现日期" ref="fxrq" prop="fxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fxrq" placeholder="选择日期"> v-model="form.fxrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -92,8 +92,8 @@ ...@@ -92,8 +92,8 @@
baseUrl: 'kzzx/role', baseUrl: 'kzzx/role',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: '', jsrq: new Date().getTime(),
zrdw:'', zrdw:'',
sbr:'' sbr:''
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发现日期" ref="fxrq" prop="fxrq"> <el-form-item label="发现日期" ref="fxrq" prop="fxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fxrq" placeholder="选择日期"> v-model="form.fxrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq:'', ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq:'' jsrq:new Date().getTime()
}, },
/* 树的标题 */ /* 树的标题 */
treeTitle: '隐患分类', treeTitle: '隐患分类',
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发现日期" ref="fxrq" prop="fxrq"> <el-form-item label="发现日期" ref="fxrq" prop="fxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fxrq" placeholder="选择日期"> v-model="form.fxrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="处理时间" ref="clsj" prop="clsj"> <el-form-item label="处理时间" ref="clsj" prop="clsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.clsj" placeholder="选择日期"> v-model="form.clsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -92,21 +92,21 @@ ...@@ -92,21 +92,21 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="复查时间" ref="fcsj" prop="fcsj"> <el-form-item label="复查时间" ref="fcsj" prop="fcsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fcsj" placeholder="选择日期"> v-model="form.fcsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="要求整改日期" ref="yqzgsj" prop="yqzgsj"> <el-form-item label="要求整改日期" ref="yqzgsj" prop="yqzgsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.yqzgsj" placeholder="选择日期"> v-model="form.yqzgsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="处置时间" ref="czsj" prop="czsj"> <el-form-item label="处置时间" ref="czsj" prop="czsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.czsj" placeholder="选择日期"> v-model="form.czsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -98,8 +98,8 @@ ...@@ -98,8 +98,8 @@
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq:'', ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq:'', jsrq:new Date().getTime(),
zrdw:'', zrdw:'',
zt:'' zt:''
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发现日期" ref="fxrq" prop="fxrq"> <el-form-item label="发现日期" ref="fxrq" prop="fxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fxrq" placeholder="选择日期"> v-model="form.fxrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="复查时间" ref="fcsj" prop="fcsj"> <el-form-item label="复查时间" ref="fcsj" prop="fcsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.fcsj" placeholder="选择日期"> v-model="form.fcsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -88,8 +88,8 @@ ...@@ -88,8 +88,8 @@
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq:'', ksrq:new Date().getTime()-60*1000*60*24*30,
jsrq:'', jsrq:new Date().getTime(),
zrdw:'', zrdw:'',
flid:'' flid:''
}, },
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="启用日期" ref="qyrq" prop="qyrq"> <el-form-item label="启用日期" ref="qyrq" prop="qyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.qyrq" placeholder="选择日期"> v-model="form.qyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="启用日期" ref="qyrq" prop="qyrq"> <el-form-item label="启用日期" ref="qyrq" prop="qyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.qyrq" placeholder="选择日期"> v-model="form.qyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<div class="search-item"> <div class="search-item">
<span class="search-span">启用日期:</span> <span class="search-span">启用日期:</span>
<el-date-picker <el-date-picker
value-format="timestamp"
v-model="queryParams.ksrq" v-model="queryParams.ksrq"
type="date" type="date"
placeholder="选择日期"> placeholder="选择日期">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="巡检日期" ref="xjrq" prop="xjrq"> <el-form-item label="巡检日期" ref="xjrq" prop="xjrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.xjrq" placeholder="选择日期"> v-model="form.xjrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="检查时间" ref="jcsj" prop="jcsj"> <el-form-item label="检查时间" ref="jcsj" prop="jcsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.jcsj" placeholder="选择日期"> v-model="form.jcsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq"> <el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.xcjyrq" placeholder="选择日期"> v-model="form.xcjyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -68,14 +68,14 @@ ...@@ -68,14 +68,14 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="启用日期" ref="qyrq" prop="qyrq"> <el-form-item label="启用日期" ref="qyrq" prop="qyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.qyrq" placeholder="选择日期"> v-model="form.qyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="停用日期" ref="tyrq" prop="tyrq"> <el-form-item label="停用日期" ref="tyrq" prop="tyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.tyrq" placeholder="选择日期"> v-model="form.tyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -50,14 +50,14 @@ ...@@ -50,14 +50,14 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="启用日期" ref="qyrq" prop="qyrq"> <el-form-item label="启用日期" ref="qyrq" prop="qyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.qyrq" placeholder="选择日期"> v-model="form.qyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="停用日期" ref="tyrq" prop="tyrq"> <el-form-item label="停用日期" ref="tyrq" prop="tyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.tyrq" placeholder="选择日期"> v-model="form.tyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -130,14 +130,14 @@ ...@@ -130,14 +130,14 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="上次检验日期" ref="scjyrq" prop="scjyrq"> <el-form-item label="上次检验日期" ref="scjyrq" prop="scjyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.scjyrq" placeholder="选择日期"> v-model="form.scjyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq"> <el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.xcjyrq" placeholder="选择日期"> v-model="form.xcjyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实际检验日期" ref="sjjyrq" prop="sjjyrq"> <el-form-item label="实际检验日期" ref="sjjyrq" prop="sjjyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.sjjyrq" placeholder="选择日期"> v-model="form.sjjyrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="出厂日期" ref="ccrq" prop="ccrq"> <el-form-item label="出厂日期" ref="ccrq" prop="ccrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.ccrq" placeholder="选择日期"> v-model="form.ccrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<div class="search-item"> <div class="search-item">
<span class="search-span">检验日期:</span> <span class="search-span">检验日期:</span>
<el-date-picker <el-date-picker
value-format="timestamp"
v-model="queryParams.jyrq" v-model="queryParams.jyrq"
type="date" type="date"
placeholder="选择日期"> placeholder="选择日期">
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24" class="padding-right"> <el-col :span="24" class="padding-right">
<el-form-item label="申报日期" ref="sbrq" prop="sbrq"> <el-form-item label="申报日期" value-format="timestamp" ref="sbrq" prop="sbrq">
<el-date-picker <el-date-picker
v-model="form.sbrq" v-model="form.sbrq"
type="date" type="date"
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24" class="padding-right"> <el-col :span="24" class="padding-right">
<el-form-item label="申报日期" ref="sbrq" prop="sbrq"> <el-form-item label="申报日期" value-format="timestamp" ref="sbrq" prop="sbrq">
<el-date-picker <el-date-picker
v-model="form.sbrq" v-model="form.sbrq"
type="date" type="date"
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<el-col :span="24" class="padding-right"> <el-col :span="24" class="padding-right">
<el-form-item label="申报日期" ref="sbrq" prop="sbrq"> <el-form-item label="申报日期" ref="sbrq" prop="sbrq">
<el-date-picker <el-date-picker value-format="timestamp"
v-model="form.sbrq" v-model="form.sbrq"
type="date" type="date"
placeholder="选择日期"> placeholder="选择日期">
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="事故日期" ref="sgrq" prop="sgrq"> <el-form-item label="事故日期" ref="sgrq" prop="sgrq">
<el-date-picker style="width: 100%;" :readonly="readonly" v-model="form.sgrq" ></el-date-picker> <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" v-model="form.sgrq" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq" ></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
baseUrl: '/aqgl/fxsj', baseUrl: '/aqgl/fxsj',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: new Date().getTime(), ksrq: new Date().getTime() - 1000*60*60*24*30,
jsrq: new Date().getTime() + 1000*60*60*24*30 jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -5,21 +5,21 @@ ...@@ -5,21 +5,21 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="下达时间" ref="xdrq" prop="xdrq"> <el-form-item label="下达时间" ref="xdrq" prop="xdrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.xdrq" placeholder="选择日期"> v-model="form.xdrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="截止日期" ref="jzrq" prop="jzrq"> <el-form-item label="截止日期" ref="jzrq" prop="jzrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.jzrq" placeholder="选择日期"> v-model="form.jzrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="检查时间" ref="sjjcsj" prop="sjjcsj"> <el-form-item label="检查时间" ref="sjjcsj" prop="sjjcsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.sjjcsj" placeholder="选择日期"> v-model="form.sjjcsj" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq" ></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="事故日期" ref="sgrq" prop="sgrq"> <el-form-item label="事故日期" ref="sgrq" prop="sgrq">
<el-date-picker style="width: 100%;" :readonly="readonly" v-model="form.sgrq" ></el-date-picker> <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" v-model="form.sgrq" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.ksrq"></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.jsrq" ></el-date-picker> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
baseUrl: '/aqgl/fxsj', baseUrl: '/aqgl/fxsj',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: '' jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="验证时间"> <el-form-item label="验证时间">
<el-date-picker style='width:100%' v-model='vMain.rowItem.jzyzsj' :readonly="readonly" ></el-date-picker> <el-date-picker value-format="timestamp" style='width:100%' v-model='vMain.rowItem.jzyzsj' :readonly="readonly" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="违章日期" ref="wzrq" prop="wzrq"> <el-form-item label="违章日期" ref="wzrq" prop="wzrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker value-format="timestamp" style="width: 100%;" :readonly="readonly" type="date"
v-model="form.wzrq" placeholder="选择日期"> v-model="form.wzrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item style="width: 100%;" label="教育时间"> <el-form-item style="width: 100%;" label="教育时间">
<el-date-picker type="datetime" v-model="vMain.rowItem.jsjysj" :readonly="readonly" ></el-date-picker> <el-date-picker value-format="timestamp" type="datetime" v-model="vMain.rowItem.jsjysj" :readonly="readonly" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
...@@ -10,25 +10,25 @@ ...@@ -10,25 +10,25 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">事务类型:</span> <span class="search-span">事务类型:</span>
<el-input style="width:60% ;"></el-input> <el-input v-model='queryParams.swlx' style="width:60% ;"></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">人员工号:</span> <span class="search-span">人员工号:</span>
<el-input></el-input> <el-input v-model='queryParams.rygh' ></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始时间:</span> <span class="search-span">开始时间:</span>
<el-input></el-input> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束时间:</span> <span class="search-span">结束时间:</span>
<el-input></el-input> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
...@@ -122,8 +122,10 @@ ...@@ -122,8 +122,10 @@
baseUrl: '/aqgl/swgl/swjl', baseUrl: '/aqgl/swgl/swjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', swlx:'',
jsrq: '' rygh:'',
ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="教育时间"> <el-form-item label="教育时间">
<el-date-picker type="datetime" :readonly="readonly" v-model="vMain.rowItem.ldjysj" style="width: 100%;"></el-date-picker> <el-date-picker value-format="timestamp" type="datetime" :readonly="readonly" v-model="vMain.rowItem.ldjysj" style="width: 100%;"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="教育时间"> <el-form-item label="教育时间">
<el-date-picker type="datetime" v-model="vMain.rowItem.fsjysj" :readonly="readonly" ></el-date-picker> <el-date-picker value-format="timestamp" type="datetime" v-model="vMain.rowItem.fsjysj" :readonly="readonly" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="教育时间"> <el-form-item label="教育时间">
<el-date-picker type="datetime" v-model="vMain.rowItem.aqjysj" :readonly="readonly" ></el-date-picker> <el-date-picker value-format="timestamp" type="datetime" v-model="vMain.rowItem.aqjysj" :readonly="readonly" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment