Commit 60bfa587 authored by 李苏's avatar 李苏 💬

首页带参跳转

parent 9f47fa96
......@@ -26,13 +26,32 @@
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">证书状态:</span>
<RelSelect src='aqgl/rcgl/uaqglry/init/zt' clearable :match="{value:'id',label:'name'}" v-model='queryParams.zt' ></RelSelect>
<RelSelect src='aqgl/rcgl/uaqglry/init/zt' clearable :match="{value:'id',label:'name'}"
v-model='queryParams.zt'></RelSelect>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">适用范围:</span>
<RelSelect src='aqgl/rcgl/uaqglry/init/syfw' clearable :match="{value:'id',label:'name'}" v-model='queryParams.syfw' ></RelSelect>
<RelSelect src='aqgl/rcgl/uaqglry/init/syfw' clearable :match="{value:'id',label:'name'}"
v-model='queryParams.syfw'></RelSelect>
</div>
</el-col>
</el-row>
<el-row :gutter="30" class="search-row-1">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">超期情况:</span>
<RelSelect :optionsData="[{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'></RelSelect>
</div>
</el-col>
</el-row>
......@@ -44,7 +63,7 @@
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app' ></AttachFileButton>
<AttachFileButton :app='app'></AttachFileButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
......@@ -65,7 +84,7 @@
<script>
/* 引入需要的接口*/
import {
import {
doQuery,
doAdd,
doUpdate,
......@@ -83,6 +102,7 @@ import {
/* 初始额外赋值*/
async mounted() {
this.queryParams.homeCzyjType = this.$route.query.homeCzyjType || ''
this.$refs['TablePager'].pageQuery()
},
data() {
......@@ -97,24 +117,63 @@ import {
baseUrl: '/aqgl/rcgl/uaqglry',
/* 查询参数*/
queryParams: {
gsid:'',
code:'',
user:'',
syfw:'',
zt:''
gsid: '',
code: '',
user: '',
syfw: '',
zt: '',
homeCzyjType: ''
},
/* 表格标题对应参数*/
tableTitle: [
// {label: "公司", prop: "gsName", fieldType: "ftString",width:100},
{label: "状态", prop: "ztName", fieldType: "ftString",width:60},
{label: "职工工号", prop: "usercode", fieldType: "ftString",width:140},
{label: "职工姓名", prop: "username", fieldType: "ftString",width:160},
{label: "证书编号", prop: "code", fieldType: "ftString",width:160},
{label: "证书名称", prop: "name", fieldType: "ftString",width:180},
{label: "作业类别", prop: "zsflName", fieldType: "ftString", width: 100},
{label: "发证日期", prop: "fzrq", fieldType: "ftDateTime"},
{label: "有效期", prop: "yxq", fieldType: "float"},
{
label: "状态",
prop: "ztName",
fieldType: "ftString",
width: 60
},
{
label: "职工工号",
prop: "usercode",
fieldType: "ftString",
width: 140
},
{
label: "职工姓名",
prop: "username",
fieldType: "ftString",
width: 160
},
{
label: "证书编号",
prop: "code",
fieldType: "ftString",
width: 160
},
{
label: "证书名称",
prop: "name",
fieldType: "ftString",
width: 180
},
{
label: "作业类别",
prop: "zsflName",
fieldType: "ftString",
width: 100
},
{
label: "发证日期",
prop: "fzrq",
fieldType: "ftDateTime"
},
{
label: "有效期",
prop: "yxq",
fieldType: "float"
},
{
label: "提醒周期(天)",
prop: "txzq"
......@@ -124,19 +183,72 @@ import {
prop: "txrq",
fieldType: "ftDateTime"
},
{label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
{label: "复审日期1", prop: "fsrq1", fieldType: "ftDateTime"},
{label: "复审日期2", prop: "fsrq2", fieldType: "ftDateTime"},
{label: "实际复审日期1", prop: "sjfsrq1", fieldType: "ftDateTime"},
{label: "实际复审日期2", prop: "sjfsrq2", fieldType: "ftDateTime"},
{label: "发证单位", prop: "fzdw", fieldType: "ftString",width:300},
{
label: "截止日期",
prop: "jzrq",
fieldType: "ftDateTime"
},
{
label: "复审日期1",
prop: "fsrq1",
fieldType: "ftDateTime"
},
{
label: "复审日期2",
prop: "fsrq2",
fieldType: "ftDateTime"
},
{
label: "实际复审日期1",
prop: "sjfsrq1",
fieldType: "ftDateTime"
},
{
label: "实际复审日期2",
prop: "sjfsrq2",
fieldType: "ftDateTime"
},
{
label: "发证单位",
prop: "fzdw",
fieldType: "ftString",
width: 300
},
// {label: "适用范围", prop: "syfw", fieldType: "ftString",width:60},
{label: "适用范围", prop: "syfwName", fieldType: "ftString",width:160},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString", show: false},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime", show: false}
{
label: "适用范围",
prop: "syfwName",
fieldType: "ftString",
width: 160
},
{
label: "备注",
prop: "bz",
fieldType: "ftString",
width: 300
},
{
label: "维护人",
prop: "whr",
fieldType: "ftString"
},
{
label: "维护时间",
prop: "whsj",
fieldType: "ftDateTime"
},
{
label: "创建人",
prop: "cjr",
fieldType: "ftString",
show: false
},
{
label: "创建时间",
prop: "cjsj",
fieldType: "ftDateTime",
show: false
}
]
}
......
......@@ -38,6 +38,23 @@
</div>
</el-col>
</el-row>
<el-row :gutter="30" class="search-row-1">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">超期情况:</span>
<RelSelect :optionsData="[{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'></RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
......@@ -85,6 +102,7 @@
/* 初始额外赋值*/
async mounted() {
this.queryParams.homeCzyjType=this.$route.query.homeCzyjType||''
this.$refs['TablePager'].pageQuery()
},
data() {
......@@ -103,7 +121,8 @@
code: '',
user: '',
syfw: '',
zt: ''
zt: '',
homeCzyjType:''
},
/* 表格标题对应参数*/
......
......@@ -35,6 +35,23 @@
<RelSelect src='aqgl/rcgl/utzzyry/init/syfw' clearable :match="{value:'id',label:'name'}" v-model='queryParams.syfw' ></RelSelect>
</div>
</el-col>
</el-row>
<el-row :gutter="30" class="search-row-1">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">超期情况:</span>
<RelSelect :optionsData="[{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'></RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
......@@ -83,6 +100,7 @@ import {
/* 初始额外赋值*/
async mounted() {
this.queryParams.homeCzyjType=this.$route.query.homeCzyjType||''
this.$refs['TablePager'].pageQuery()
},
data() {
......@@ -101,7 +119,8 @@ import {
code:'',
user:'',
syfw:'',
zt:''
zt:'',
homeCzyjType:''
},
/* 表格标题对应参数*/
......
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