01233e7b by 蔡俊立

完善证书管理

1 parent 88e5492d
......@@ -6,17 +6,17 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="印刷序列号">
<el-input v-model="ruleForm.ysxlh" placeholder="请输入印刷序列号"></el-input>
<el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="证书号">
<el-input v-model="ruleForm.zsh" placeholder="请输入证书号"></el-input>
<el-input v-model="ruleForm.zsh" clearable placeholder="请输入证书号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="权利人">
<el-input v-model="ruleForm.qlr" placeholder="请输入权利人"></el-input>
<el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" class="btnCol">
......
......@@ -34,7 +34,7 @@
<el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"></el-table-column>
<el-table-column prop="bs" label="本数">
<template slot-scope="scope">
<el-input v-model="scope.row.bs" @blur="ysxlhDeal(scope.row)"></el-input>
<el-input v-model="scope.row.bs" @blur="ysxlhDeal(scope.row)" oninput="value=value.replace(/[^\d.]/g,'')" ></el-input>
</template>
</el-table-column>
<el-table-column prop="jsysxlh" label="结束印刷序列号" width="200">
......
......@@ -5,14 +5,14 @@
<el-form :model="ruleForm" label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="入库编号">
<el-input v-model="ruleForm.rkbh" placeholder="入库编号"></el-input>
<el-form-item label="分发编号">
<el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人库时间">
<el-date-picker v-model="value" type="daterange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期">
<el-form-item label="领取时间">
<el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable >
</el-date-picker>
</el-form-item>
</el-col>
......@@ -52,8 +52,13 @@ export default {
isDialog: false,
value: '',
ruleForm: {
rkbh: "",
rksj: ""
batchno: "",
ffsj: ""
},
approveForm: {
batchno: '',
ffkssj: '',
ffjssj: ''
},
tableData: {
total: 0,
......@@ -68,7 +73,7 @@ export default {
},
// 列表渲染接口
fetchData () {
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
getZsglffList({ ...this.approveForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
......@@ -83,6 +88,19 @@ export default {
this.$refs.addDialog.initStartNo();
})
},
queryClick () {
this.fetchData()
},
//修改筛选时间
timeChange() {
if (this.ruleForm.ffsj != null) {
this.approveForm.ffkssj = this.ruleForm.ffsj[0];
this.approveForm.ffjssj = this.ruleForm.ffsj[1];
} else {
this.approveForm.ffkssj = ''
this.approveForm.ffjssj = ''
}
},
//确定证书分发
confrimVerify(item){
this.$confirm('是否确定分发', '提示', {
......
......@@ -33,12 +33,14 @@
<el-table-column prop="name" label="纸质证书类型" width="200"></el-table-column>
<el-table-column prop="ksysxlh" label="开始印刷序列号" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"></el-input>
<el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"
oninput="value=value.replace(/[^\d.]/g,'')" ></el-input>
</template>
</el-table-column>
<el-table-column prop="jsysxlh" label="结束印刷序列号" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"></el-input>
<el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"
oninput="value=value.replace(/[^\d.]/g,'')" ></el-input>
</template>
</el-table-column>
<el-table-column prop="bs" label="本数">
......
......@@ -6,13 +6,13 @@
<el-row>
<el-col :span="5">
<el-form-item label="入库编号">
<el-input v-model="ruleForm.rkbh" placeholder="入库编号"></el-input>
<el-input v-model="approveForm.batchno" clearable placeholder="入库编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人库时间">
<el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期">
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable >
</el-date-picker>
</el-form-item>
</el-col>
......@@ -51,8 +51,12 @@ export default {
return {
isDialog: false,
ruleForm: {
rkbh: "",
rksj: ""
rksj: ''
},
approveForm: {
batchno: '',
rkkssj: '',
rkjssj: ''
},
tableData: {
total: 0,
......@@ -67,7 +71,7 @@ export default {
},
// 列表渲染接口
fetchData () {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
getZsglrkList({ ...this.approveForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
......@@ -84,6 +88,16 @@ export default {
queryClick () {
this.fetchData()
},
//修改筛选时间
timeChange() {
if (this.ruleForm.rksj != null) {
this.approveForm.rkkssj = this.ruleForm.rksj[0];
this.approveForm.rkjssj = this.ruleForm.rksj[1];
} else {
this.approveForm.rkkssj = ''
this.approveForm.rkjssj = ''
}
},
//删除证书入库数据
delZsrk(item){
this.$confirm('确定要删除吗, 是否继续?', '提示', {
......
......@@ -6,22 +6,29 @@
<el-row>
<el-col :span="5">
<el-form-item label="印刷序列号" prop="ysxlh">
<el-input v-model="ruleForm.ysxlh" placeholder="请输入印刷序列号"></el-input>
<el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="证书类型" prop="zslx">
<el-input v-model="ruleForm.zslx" placeholder="请输入证书类型"></el-input>
<el-select v-model="ruleForm.zslx" placeholder="请选择证书类型" clearable >
<el-option
v-for="item in zslxArr"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号" prop="ywh">
<el-input v-model="ruleForm.ywh" placeholder="请输入业务号"></el-input>
<el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
......@@ -70,6 +77,10 @@ export default {
columns: datas.columns(),
data: [],
},
zslxArr: [
{label: '不动产权证书',value: 'zs'},
{label: '不动产登记证明', value: 'zm'}
]
};
},
methods: {
......