完善证书管理
Showing
6 changed files
with
67 additions
and
22 deletions
| ... | @@ -6,17 +6,17 @@ | ... | @@ -6,17 +6,17 @@ |
| 6 | <el-row :gutter="20"> | 6 | <el-row :gutter="20"> |
| 7 | <el-col :span="6"> | 7 | <el-col :span="6"> |
| 8 | <el-form-item label="印刷序列号"> | 8 | <el-form-item label="印刷序列号"> |
| 9 | <el-input v-model="ruleForm.ysxlh" placeholder="请输入印刷序列号"></el-input> | 9 | <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> |
| 10 | </el-form-item> | 10 | </el-form-item> |
| 11 | </el-col> | 11 | </el-col> |
| 12 | <el-col :span="6"> | 12 | <el-col :span="6"> |
| 13 | <el-form-item label="证书号"> | 13 | <el-form-item label="证书号"> |
| 14 | <el-input v-model="ruleForm.zsh" placeholder="请输入证书号"></el-input> | 14 | <el-input v-model="ruleForm.zsh" clearable placeholder="请输入证书号"></el-input> |
| 15 | </el-form-item> | 15 | </el-form-item> |
| 16 | </el-col> | 16 | </el-col> |
| 17 | <el-col :span="6"> | 17 | <el-col :span="6"> |
| 18 | <el-form-item label="权利人"> | 18 | <el-form-item label="权利人"> |
| 19 | <el-input v-model="ruleForm.qlr" placeholder="请输入权利人"></el-input> | 19 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> |
| 20 | </el-form-item> | 20 | </el-form-item> |
| 21 | </el-col> | 21 | </el-col> |
| 22 | <el-col :span="6" class="btnCol"> | 22 | <el-col :span="6" class="btnCol"> | ... | ... |
| ... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ |
| 34 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"></el-table-column> | 34 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"></el-table-column> |
| 35 | <el-table-column prop="bs" label="本数"> | 35 | <el-table-column prop="bs" label="本数"> |
| 36 | <template slot-scope="scope"> | 36 | <template slot-scope="scope"> |
| 37 | <el-input v-model="scope.row.bs" @blur="ysxlhDeal(scope.row)"></el-input> | 37 | <el-input v-model="scope.row.bs" @blur="ysxlhDeal(scope.row)" oninput="value=value.replace(/[^\d.]/g,'')" ></el-input> |
| 38 | </template> | 38 | </template> |
| 39 | </el-table-column> | 39 | </el-table-column> |
| 40 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> | 40 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> | ... | ... |
| ... | @@ -5,14 +5,14 @@ | ... | @@ -5,14 +5,14 @@ |
| 5 | <el-form :model="ruleForm" label-width="70px"> | 5 | <el-form :model="ruleForm" label-width="70px"> |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 8 | <el-form-item label="入库编号"> | 8 | <el-form-item label="分发编号"> |
| 9 | <el-input v-model="ruleForm.rkbh" placeholder="入库编号"></el-input> | 9 | <el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input> |
| 10 | </el-form-item> | 10 | </el-form-item> |
| 11 | </el-col> | 11 | </el-col> |
| 12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
| 13 | <el-form-item label="人库时间"> | 13 | <el-form-item label="领取时间"> |
| 14 | <el-date-picker v-model="value" type="daterange" range-separator="至" start-placeholder="开始日期" | 14 | <el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期" |
| 15 | end-placeholder="结束日期"> | 15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable > |
| 16 | </el-date-picker> | 16 | </el-date-picker> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | </el-col> | 18 | </el-col> |
| ... | @@ -52,8 +52,13 @@ export default { | ... | @@ -52,8 +52,13 @@ export default { |
| 52 | isDialog: false, | 52 | isDialog: false, |
| 53 | value: '', | 53 | value: '', |
| 54 | ruleForm: { | 54 | ruleForm: { |
| 55 | rkbh: "", | 55 | batchno: "", |
| 56 | rksj: "" | 56 | ffsj: "" |
| 57 | }, | ||
| 58 | approveForm: { | ||
| 59 | batchno: '', | ||
| 60 | ffkssj: '', | ||
| 61 | ffjssj: '' | ||
| 57 | }, | 62 | }, |
| 58 | tableData: { | 63 | tableData: { |
| 59 | total: 0, | 64 | total: 0, |
| ... | @@ -68,7 +73,7 @@ export default { | ... | @@ -68,7 +73,7 @@ export default { |
| 68 | }, | 73 | }, |
| 69 | // 列表渲染接口 | 74 | // 列表渲染接口 |
| 70 | fetchData () { | 75 | fetchData () { |
| 71 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { | 76 | getZsglffList({ ...this.approveForm, ...this.pageData }).then(res => { |
| 72 | if (res.code === 200) { | 77 | if (res.code === 200) { |
| 73 | let { total, records } = res.result | 78 | let { total, records } = res.result |
| 74 | this.tableData.total = total; | 79 | this.tableData.total = total; |
| ... | @@ -83,6 +88,19 @@ export default { | ... | @@ -83,6 +88,19 @@ export default { |
| 83 | this.$refs.addDialog.initStartNo(); | 88 | this.$refs.addDialog.initStartNo(); |
| 84 | }) | 89 | }) |
| 85 | }, | 90 | }, |
| 91 | queryClick () { | ||
| 92 | this.fetchData() | ||
| 93 | }, | ||
| 94 | //修改筛选时间 | ||
| 95 | timeChange() { | ||
| 96 | if (this.ruleForm.ffsj != null) { | ||
| 97 | this.approveForm.ffkssj = this.ruleForm.ffsj[0]; | ||
| 98 | this.approveForm.ffjssj = this.ruleForm.ffsj[1]; | ||
| 99 | } else { | ||
| 100 | this.approveForm.ffkssj = '' | ||
| 101 | this.approveForm.ffjssj = '' | ||
| 102 | } | ||
| 103 | }, | ||
| 86 | //确定证书分发 | 104 | //确定证书分发 |
| 87 | confrimVerify(item){ | 105 | confrimVerify(item){ |
| 88 | this.$confirm('是否确定分发', '提示', { | 106 | this.$confirm('是否确定分发', '提示', { | ... | ... |
| ... | @@ -33,12 +33,14 @@ | ... | @@ -33,12 +33,14 @@ |
| 33 | <el-table-column prop="name" label="纸质证书类型" width="200"></el-table-column> | 33 | <el-table-column prop="name" label="纸质证书类型" width="200"></el-table-column> |
| 34 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"> | 34 | <el-table-column prop="ksysxlh" label="开始印刷序列号" width="200"> |
| 35 | <template slot-scope="scope"> | 35 | <template slot-scope="scope"> |
| 36 | <el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"></el-input> | 36 | <el-input v-model="scope.row.ksysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" |
| 37 | oninput="value=value.replace(/[^\d.]/g,'')" ></el-input> | ||
| 37 | </template> | 38 | </template> |
| 38 | </el-table-column> | 39 | </el-table-column> |
| 39 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> | 40 | <el-table-column prop="jsysxlh" label="结束印刷序列号" width="200"> |
| 40 | <template slot-scope="scope"> | 41 | <template slot-scope="scope"> |
| 41 | <el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11"></el-input> | 42 | <el-input v-model="scope.row.jsysxlh" @blur="ysxlhDeal(scope.row)" maxlength="11" |
| 43 | oninput="value=value.replace(/[^\d.]/g,'')" ></el-input> | ||
| 42 | </template> | 44 | </template> |
| 43 | </el-table-column> | 45 | </el-table-column> |
| 44 | <el-table-column prop="bs" label="本数"> | 46 | <el-table-column prop="bs" label="本数"> | ... | ... |
| ... | @@ -6,13 +6,13 @@ | ... | @@ -6,13 +6,13 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 8 | <el-form-item label="入库编号"> | 8 | <el-form-item label="入库编号"> |
| 9 | <el-input v-model="ruleForm.rkbh" placeholder="入库编号"></el-input> | 9 | <el-input v-model="approveForm.batchno" clearable placeholder="入库编号"></el-input> |
| 10 | </el-form-item> | 10 | </el-form-item> |
| 11 | </el-col> | 11 | </el-col> |
| 12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
| 13 | <el-form-item label="人库时间"> | 13 | <el-form-item label="人库时间"> |
| 14 | <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" | 14 | <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" |
| 15 | end-placeholder="结束日期"> | 15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable > |
| 16 | </el-date-picker> | 16 | </el-date-picker> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | </el-col> | 18 | </el-col> |
| ... | @@ -51,8 +51,12 @@ export default { | ... | @@ -51,8 +51,12 @@ export default { |
| 51 | return { | 51 | return { |
| 52 | isDialog: false, | 52 | isDialog: false, |
| 53 | ruleForm: { | 53 | ruleForm: { |
| 54 | rkbh: "", | 54 | rksj: '' |
| 55 | rksj: "" | 55 | }, |
| 56 | approveForm: { | ||
| 57 | batchno: '', | ||
| 58 | rkkssj: '', | ||
| 59 | rkjssj: '' | ||
| 56 | }, | 60 | }, |
| 57 | tableData: { | 61 | tableData: { |
| 58 | total: 0, | 62 | total: 0, |
| ... | @@ -67,7 +71,7 @@ export default { | ... | @@ -67,7 +71,7 @@ export default { |
| 67 | }, | 71 | }, |
| 68 | // 列表渲染接口 | 72 | // 列表渲染接口 |
| 69 | fetchData () { | 73 | fetchData () { |
| 70 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 74 | getZsglrkList({ ...this.approveForm, ...this.pageData }).then(res => { |
| 71 | if (res.code === 200) { | 75 | if (res.code === 200) { |
| 72 | let { total, records } = res.result | 76 | let { total, records } = res.result |
| 73 | this.tableData.total = total; | 77 | this.tableData.total = total; |
| ... | @@ -84,6 +88,16 @@ export default { | ... | @@ -84,6 +88,16 @@ export default { |
| 84 | queryClick () { | 88 | queryClick () { |
| 85 | this.fetchData() | 89 | this.fetchData() |
| 86 | }, | 90 | }, |
| 91 | //修改筛选时间 | ||
| 92 | timeChange() { | ||
| 93 | if (this.ruleForm.rksj != null) { | ||
| 94 | this.approveForm.rkkssj = this.ruleForm.rksj[0]; | ||
| 95 | this.approveForm.rkjssj = this.ruleForm.rksj[1]; | ||
| 96 | } else { | ||
| 97 | this.approveForm.rkkssj = '' | ||
| 98 | this.approveForm.rkjssj = '' | ||
| 99 | } | ||
| 100 | }, | ||
| 87 | //删除证书入库数据 | 101 | //删除证书入库数据 |
| 88 | delZsrk(item){ | 102 | delZsrk(item){ |
| 89 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 103 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | ... | ... |
| ... | @@ -6,17 +6,24 @@ | ... | @@ -6,17 +6,24 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 8 | <el-form-item label="印刷序列号" prop="ysxlh"> | 8 | <el-form-item label="印刷序列号" prop="ysxlh"> |
| 9 | <el-input v-model="ruleForm.ysxlh" placeholder="请输入印刷序列号"></el-input> | 9 | <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> |
| 10 | </el-form-item> | 10 | </el-form-item> |
| 11 | </el-col> | 11 | </el-col> |
| 12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
| 13 | <el-form-item label="证书类型" prop="zslx"> | 13 | <el-form-item label="证书类型" prop="zslx"> |
| 14 | <el-input v-model="ruleForm.zslx" placeholder="请输入证书类型"></el-input> | 14 | <el-select v-model="ruleForm.zslx" placeholder="请选择证书类型" clearable > |
| 15 | <el-option | ||
| 16 | v-for="item in zslxArr" | ||
| 17 | :key="item.value" | ||
| 18 | :label="item.label" | ||
| 19 | :value="item.value"> | ||
| 20 | </el-option> | ||
| 21 | </el-select> | ||
| 15 | </el-form-item> | 22 | </el-form-item> |
| 16 | </el-col> | 23 | </el-col> |
| 17 | <el-col :span="5"> | 24 | <el-col :span="5"> |
| 18 | <el-form-item label="业务号" prop="ywh"> | 25 | <el-form-item label="业务号" prop="ywh"> |
| 19 | <el-input v-model="ruleForm.ywh" placeholder="请输入业务号"></el-input> | 26 | <el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input> |
| 20 | </el-form-item> | 27 | </el-form-item> |
| 21 | </el-col> | 28 | </el-col> |
| 22 | <el-col :span="6"> | 29 | <el-col :span="6"> |
| ... | @@ -70,6 +77,10 @@ export default { | ... | @@ -70,6 +77,10 @@ export default { |
| 70 | columns: datas.columns(), | 77 | columns: datas.columns(), |
| 71 | data: [], | 78 | data: [], |
| 72 | }, | 79 | }, |
| 80 | zslxArr: [ | ||
| 81 | {label: '不动产权证书',value: 'zs'}, | ||
| 82 | {label: '不动产登记证明', value: 'zm'} | ||
| 83 | ] | ||
| 73 | }; | 84 | }; |
| 74 | }, | 85 | }, |
| 75 | methods: { | 86 | methods: { | ... | ... |
-
Please register or sign in to post a comment