Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
9 changed files
with
245 additions
and
69 deletions
... | @@ -78,3 +78,33 @@ export function getZsEndNo (params) { | ... | @@ -78,3 +78,33 @@ export function getZsEndNo (params) { |
78 | params | 78 | params |
79 | }) | 79 | }) |
80 | } | 80 | } |
81 | /* | ||
82 | 证书管理-新增证书分发 | ||
83 | */ | ||
84 | export function zsff (data) { | ||
85 | return request({ | ||
86 | url: '/sys/zsgl/zsff', | ||
87 | method: 'post', | ||
88 | data | ||
89 | }) | ||
90 | } | ||
91 | /* | ||
92 | 证书管理-确定分发 | ||
93 | */ | ||
94 | export function confirmZsff (params) { | ||
95 | return request({ | ||
96 | url: '/sys/zsgl/confirmZsff', | ||
97 | method: 'get', | ||
98 | params: params | ||
99 | }) | ||
100 | } | ||
101 | /* | ||
102 | 证书管理-证书使用情况 | ||
103 | */ | ||
104 | export function getZssyqkList (data) { | ||
105 | return request({ | ||
106 | url: '/sys/zsgl/getZssyqkList', | ||
107 | method: 'post', | ||
108 | data | ||
109 | }) | ||
110 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -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"> | ... | ... |
... | @@ -21,8 +21,8 @@ | ... | @@ -21,8 +21,8 @@ |
21 | </el-form-item> | 21 | </el-form-item> |
22 | </el-col> | 22 | </el-col> |
23 | <el-col :span="12"> | 23 | <el-col :span="12"> |
24 | <el-form-item label="领取人:" prop="lqr"> | 24 | <el-form-item label="领取人:" prop="receiver"> |
25 | <el-select v-model="ruleForm.lqr" placeholder="请选择"> | 25 | <el-select v-model="ruleForm.receiver" placeholder="请选择"> |
26 | <el-option v-for="item in usernames" :key="item" :label="item" :value="item"></el-option> | 26 | <el-option v-for="item in usernames" :key="item" :label="item" :value="item"></el-option> |
27 | </el-select> | 27 | </el-select> |
28 | </el-form-item> | 28 | </el-form-item> |
... | @@ -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"> |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </template> | 54 | </template> |
55 | 55 | ||
56 | <script> | 56 | <script> |
57 | import { getZsStartNo,getSysSerialSingle, getZsEndNo} from "@/api/zsgl.js" | 57 | import { getZsStartNo,getSysSerialSingle, getZsEndNo,zsff} from "@/api/zsgl.js" |
58 | export default { | 58 | export default { |
59 | components: { | 59 | components: { |
60 | }, | 60 | }, |
... | @@ -65,10 +65,10 @@ export default { | ... | @@ -65,10 +65,10 @@ export default { |
65 | }, | 65 | }, |
66 | data () { | 66 | data () { |
67 | return { | 67 | return { |
68 | tableData: {}, | 68 | //表单提交数据 |
69 | ruleForm: { | 69 | ruleForm: { |
70 | batchno: '', | 70 | batchno: '', |
71 | lqr: '', | 71 | receiver: '', |
72 | rkry: '超级管理员', | 72 | rkry: '超级管理员', |
73 | rksj: '', | 73 | rksj: '', |
74 | bz: '', | 74 | bz: '', |
... | @@ -79,6 +79,7 @@ export default { | ... | @@ -79,6 +79,7 @@ export default { |
79 | zmendno: '', | 79 | zmendno: '', |
80 | zmnum: '' | 80 | zmnum: '' |
81 | }, | 81 | }, |
82 | //表格数据 | ||
82 | tableForm: [ | 83 | tableForm: [ |
83 | { | 84 | { |
84 | name: '不动产权证书', | 85 | name: '不动产权证书', |
... | @@ -95,12 +96,14 @@ export default { | ... | @@ -95,12 +96,14 @@ export default { |
95 | zslx: 'zm' | 96 | zslx: 'zm' |
96 | } | 97 | } |
97 | ], | 98 | ], |
99 | //证书分发业务号固定参数 | ||
98 | ywhQueryForm: { | 100 | ywhQueryForm: { |
99 | serialtype: 'zsffbh', | 101 | serialtype: 'zsffbh', |
100 | serialname: '证书分发编号', | 102 | serialname: '证书分发编号', |
101 | serialcode: 'zsff', | 103 | serialcode: 'zsff', |
102 | digit: '5' | 104 | digit: '5' |
103 | }, | 105 | }, |
106 | //用户列表 | ||
104 | usernames: ['张三','李四'], | 107 | usernames: ['张三','李四'], |
105 | rules: { | 108 | rules: { |
106 | batchNo: [ | 109 | batchNo: [ |
... | @@ -121,15 +124,25 @@ export default { | ... | @@ -121,15 +124,25 @@ export default { |
121 | methods: { | 124 | methods: { |
122 | //表单提交 | 125 | //表单提交 |
123 | submitForm () { | 126 | submitForm () { |
124 | 127 | zsff(this.ruleForm).then(res => { | |
128 | if(res.code == 200){ | ||
129 | this.$message.success('保存成功') | ||
130 | this.$emit("input", false); | ||
131 | this.ruleForm = {}; | ||
132 | this.resetTableFields(); | ||
133 | this.$parent.fetchData(); | ||
134 | }else{ | ||
135 | this.$message.error(res.message) | ||
136 | } | ||
137 | }) | ||
125 | }, | 138 | }, |
126 | //序列号获取 | 139 | //序列号获取 |
127 | ywhSerial(){ | 140 | ywhSerial(){ |
128 | // getSysSerialSingle(this.ywhQueryForm).then(res => { | 141 | getSysSerialSingle(this.ywhQueryForm).then(res => { |
129 | // if(res.code == 200){ | 142 | if(res.code == 200){ |
130 | // this.ruleForm.batchno = res.message; | 143 | this.ruleForm.batchno = res.message; |
131 | // } | 144 | } |
132 | // }) | 145 | }) |
133 | }, | 146 | }, |
134 | initStartNo(){ | 147 | initStartNo(){ |
135 | getZsStartNo().then(res => { | 148 | getZsStartNo().then(res => { |
... | @@ -141,14 +154,35 @@ export default { | ... | @@ -141,14 +154,35 @@ export default { |
141 | }, | 154 | }, |
142 | //印刷序列号处理 | 155 | //印刷序列号处理 |
143 | ysxlhDeal(item){ | 156 | ysxlhDeal(item){ |
157 | if(item.bs){ | ||
158 | //存在本数 | ||
144 | getZsEndNo({"bookNumber": item.bs,"zslx": item.zslx}).then(res => { | 159 | getZsEndNo({"bookNumber": item.bs,"zslx": item.zslx}).then(res => { |
145 | if(res.code == 200){ | 160 | if(res.code == 200){ |
146 | item.jsysxlh = res.result.endno | 161 | item.jsysxlh = res.result.endno |
147 | item.bs = res.result.bookNumber | 162 | item.bs = res.result.bookNumber |
163 | this.updateRuleForm(res.result.endno,res.result.bookNumber,item); | ||
148 | }else{ | 164 | }else{ |
149 | this.$message.error(res.message) | 165 | this.$message.error(res.message) |
150 | } | 166 | } |
151 | }) | 167 | }) |
168 | }else{ | ||
169 | //不存在本数 | ||
170 | item.bs = 0; | ||
171 | item.jsysxlh = ''; | ||
172 | this.updateRuleForm('',0,item); | ||
173 | } | ||
174 | }, | ||
175 | //更新表单数据 | ||
176 | updateRuleForm(endno,bookNumber,item){ | ||
177 | if(item.zslx == 'zs'){ | ||
178 | this.ruleForm.zsstarno = item.ksysxlh; | ||
179 | this.ruleForm.zsendno = endno; | ||
180 | this.ruleForm.zsnum = bookNumber; | ||
181 | }else if(item.zslx == 'zm'){ | ||
182 | this.ruleForm.zmstarno = item.ksysxlh; | ||
183 | this.ruleForm.zmendno = endno; | ||
184 | this.ruleForm.zmnum = bookNumber; | ||
185 | } | ||
152 | }, | 186 | }, |
153 | resetTableFields() { | 187 | resetTableFields() { |
154 | this.tableForm = [ | 188 | this.tableForm = [ |
... | @@ -157,14 +191,14 @@ export default { | ... | @@ -157,14 +191,14 @@ export default { |
157 | ksysxlh: '', | 191 | ksysxlh: '', |
158 | jsysxlh: '', | 192 | jsysxlh: '', |
159 | bs: 0, | 193 | bs: 0, |
160 | zslx:1 | 194 | zslx: 'zs' |
161 | }, | 195 | }, |
162 | { | 196 | { |
163 | name: '不动产权登记证明', | 197 | name: '不动产权登记证明', |
164 | ksysxlh: '', | 198 | ksysxlh: '', |
165 | jsysxlh: '', | 199 | jsysxlh: '', |
166 | bs: 0, | 200 | bs: 0, |
167 | zslx:2 | 201 | zslx: 'zm' |
168 | } | 202 | } |
169 | ] | 203 | ] |
170 | }, | 204 | }, |
... | @@ -176,5 +210,4 @@ export default { | ... | @@ -176,5 +210,4 @@ export default { |
176 | </script> | 210 | </script> |
177 | <style scoped lang="scss"> | 211 | <style scoped lang="scss"> |
178 | @import "~@/styles/mixin.scss"; | 212 | @import "~@/styles/mixin.scss"; |
179 | |||
180 | </style> | 213 | </style> | ... | ... |
... | @@ -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> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | <script> | 38 | <script> |
39 | import table from "@/utils/mixin/table"; | 39 | import table from "@/utils/mixin/table"; |
40 | import { datas, sendThis } from "./zsffdata"; | 40 | import { datas, sendThis } from "./zsffdata"; |
41 | import { getZsglffList} from "@/api/zsgl.js" | 41 | import { getZsglffList,removeZsgl,confirmZsff} from "@/api/zsgl.js" |
42 | import addDialog from "./components/addDialog.vue" | 42 | import addDialog from "./components/addDialog.vue" |
43 | export default { | 43 | export default { |
44 | name: "zsff", | 44 | name: "zsff", |
... | @@ -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,63 @@ export default { | ... | @@ -83,6 +88,63 @@ 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 | }, | ||
104 | //确定证书分发 | ||
105 | confrimVerify(item){ | ||
106 | this.$confirm('是否确定分发', '提示', { | ||
107 | confirmButtonText: '确定', | ||
108 | cancelButtonText: '取消', | ||
109 | type: 'warning' | ||
110 | }).then(() => { | ||
111 | confirmZsff({"bsmBatch":item.bsmBatch}).then(res => { | ||
112 | if(res.code == 200){ | ||
113 | this.$message.success("分发成功") | ||
114 | this.fetchData(); | ||
115 | }else{ | ||
116 | this.$message.error(res.message) | ||
117 | } | ||
118 | }) | ||
119 | }).catch(() => { | ||
120 | this.$message({ | ||
121 | type: 'info', | ||
122 | message: '已取消审核' | ||
123 | }); | ||
124 | }); | ||
125 | }, | ||
126 | //删除证书分发数据 | ||
127 | delZsff(item){ | ||
128 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | ||
129 | confirmButtonText: '确定', | ||
130 | cancelButtonText: '取消', | ||
131 | type: 'warning' | ||
132 | }).then(() => { | ||
133 | removeZsgl({"bsmBatch":item.bsmBatch}).then(res => { | ||
134 | if(res.code == 200){ | ||
135 | this.$message.success("删除成功") | ||
136 | this.fetchData(); | ||
137 | }else{ | ||
138 | this.$message.error(res.message) | ||
139 | } | ||
140 | }) | ||
141 | }).catch(() => { | ||
142 | this.$message({ | ||
143 | type: 'info', | ||
144 | message: '已取消删除' | ||
145 | }); | ||
146 | }); | ||
147 | }, | ||
86 | }, | 148 | }, |
87 | }; | 149 | }; |
88 | </script> | 150 | </script> | ... | ... |
... | @@ -60,7 +60,7 @@ class data extends filter { | ... | @@ -60,7 +60,7 @@ class data extends filter { |
60 | case '0': | 60 | case '0': |
61 | return <div> | 61 | return <div> |
62 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button> | 62 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button> |
63 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsrk(scope.row) }}>删除</el-button> | 63 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsff(scope.row) }}>删除</el-button> |
64 | </div> | 64 | </div> |
65 | case '1': | 65 | case '1': |
66 | return <el-button type="text" onClick={() => { }}>查看</el-button> | 66 | return <el-button type="text" onClick={() => { }}>查看</el-button> | ... | ... |
... | @@ -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="本数"> |
... | @@ -72,7 +74,7 @@ export default { | ... | @@ -72,7 +74,7 @@ export default { |
72 | }, | 74 | }, |
73 | data () { | 75 | data () { |
74 | return { | 76 | return { |
75 | tableData: {}, | 77 | //表单提交数据 |
76 | ruleForm: { | 78 | ruleForm: { |
77 | batchno: '', | 79 | batchno: '', |
78 | djjg: '', | 80 | djjg: '', |
... | @@ -86,6 +88,7 @@ export default { | ... | @@ -86,6 +88,7 @@ export default { |
86 | zmendno: '', | 88 | zmendno: '', |
87 | zmnum: '' | 89 | zmnum: '' |
88 | }, | 90 | }, |
91 | //表格数据 | ||
89 | tableForm: [ | 92 | tableForm: [ |
90 | { | 93 | { |
91 | name: '不动产权证书', | 94 | name: '不动产权证书', |
... | @@ -102,6 +105,7 @@ export default { | ... | @@ -102,6 +105,7 @@ export default { |
102 | zslx:2 | 105 | zslx:2 |
103 | } | 106 | } |
104 | ], | 107 | ], |
108 | //证书入库业务号参数 | ||
105 | ywhQueryForm: { | 109 | ywhQueryForm: { |
106 | serialtype: 'zsrkbh', | 110 | serialtype: 'zsrkbh', |
107 | serialname: '证书入库编号', | 111 | serialname: '证书入库编号', | ... | ... |
... | @@ -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"> |
... | @@ -47,6 +54,7 @@ | ... | @@ -47,6 +54,7 @@ |
47 | <script> | 54 | <script> |
48 | import viewDialog from "./components/viewDialog.vue" | 55 | import viewDialog from "./components/viewDialog.vue" |
49 | import table from "@/utils/mixin/table"; | 56 | import table from "@/utils/mixin/table"; |
57 | import { getZssyqkList} from "@/api/zsgl.js" | ||
50 | import { datas, sendThis } from "./zssyjldata"; | 58 | import { datas, sendThis } from "./zssyjldata"; |
51 | export default { | 59 | export default { |
52 | name: "zssyjl", | 60 | name: "zssyjl", |
... | @@ -67,20 +75,28 @@ export default { | ... | @@ -67,20 +75,28 @@ export default { |
67 | tableData: { | 75 | tableData: { |
68 | total: 0, | 76 | total: 0, |
69 | columns: datas.columns(), | 77 | columns: datas.columns(), |
70 | data: [ | 78 | data: [], |
71 | { | ||
72 | slsj: "2022-5-12", | ||
73 | }, | ||
74 | { | ||
75 | slsj: "2022-5-13", | ||
76 | }, | ||
77 | ], | ||
78 | }, | 79 | }, |
80 | zslxArr: [ | ||
81 | {label: '不动产权证书',value: 'zs'}, | ||
82 | {label: '不动产登记证明', value: 'zm'} | ||
83 | ] | ||
79 | }; | 84 | }; |
80 | }, | 85 | }, |
81 | methods: { | 86 | methods: { |
82 | // 初始化数据 | 87 | init (e) { |
83 | fetchData () { }, | 88 | this.fetchData() |
89 | }, | ||
90 | // 列表渲染接口 | ||
91 | fetchData () { | ||
92 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { | ||
93 | if (res.code === 200) { | ||
94 | let { total, records } = res.result | ||
95 | this.tableData.total = total; | ||
96 | this.tableData.data = records ? records : [] | ||
97 | } | ||
98 | }) | ||
99 | }, | ||
84 | openDialog () { | 100 | openDialog () { |
85 | this.isDialog = true | 101 | this.isDialog = true |
86 | }, | 102 | }, | ... | ... |
... | @@ -16,41 +16,58 @@ class data extends filter { | ... | @@ -16,41 +16,58 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | prop: "ywly", | 19 | label: "状态", |
20 | label: "业务来源", | 20 | render: (h, scope) => { |
21 | switch (scope.row.state) { | ||
22 | case '1': | ||
23 | return <span>已入库未分发</span> | ||
24 | case '2': | ||
25 | return <span>已领取未使用</span> | ||
26 | case '3': | ||
27 | return <span>已制证</span> | ||
28 | case '4': | ||
29 | return <span>已作废</span> | ||
30 | } | ||
31 | } | ||
21 | }, | 32 | }, |
22 | { | 33 | { |
23 | prop: "lczt", | 34 | prop: "djjg", |
24 | label: "流程状态", | 35 | label: "登记机构", |
25 | }, | 36 | }, |
26 | { | 37 | { |
27 | prop: "zbhj", | 38 | prop: "operationtime", |
28 | label: "在办环节", | 39 | label: "入库时间", |
29 | }, | 40 | }, |
30 | { | 41 | { |
31 | prop: "ywh", | 42 | prop: "operator", |
32 | label: "业务号", | 43 | label: "入库人员", |
33 | }, | 44 | }, |
34 | { | 45 | { |
35 | prop: "sqywmc", | 46 | prop: "usedate", |
36 | label: "申请业务名称", | 47 | label: "领取时间", |
37 | }, | 48 | }, |
38 | { | 49 | { |
39 | prop: "ywr", | 50 | prop: "receiver", |
40 | label: "义务人", | 51 | label: "领取人员", |
41 | }, | 52 | }, |
42 | { | 53 | { |
43 | prop: "zl", | 54 | label: "证书类型", |
44 | label: "坐落", | 55 | render: (h, scope) => { |
56 | switch (scope.row.zslx) { | ||
57 | case 'zs': | ||
58 | return <span>不动产权证书</span> | ||
59 | case 'zm': | ||
60 | return <span>不动产登记证明</span> | ||
61 | } | ||
62 | } | ||
45 | }, | 63 | }, |
46 | { | 64 | { |
47 | prop: "slsj", | 65 | prop: "ysxlh", |
48 | label: "受理时间" | 66 | label: "序列号" |
49 | }, | 67 | }, |
50 | { | 68 | { |
51 | prop: "zrsj", | 69 | prop: "bdcqzh", |
52 | label: "转入时间", | 70 | label: "不动产权证号" |
53 | sortable: 'custom' | ||
54 | }, | 71 | }, |
55 | { | 72 | { |
56 | label: '操作', | 73 | label: '操作', |
... | @@ -58,7 +75,7 @@ class data extends filter { | ... | @@ -58,7 +75,7 @@ class data extends filter { |
58 | align: 'center', | 75 | align: 'center', |
59 | fixed: 'right', | 76 | fixed: 'right', |
60 | render: (h, scope) => { | 77 | render: (h, scope) => { |
61 | return <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope) }}>查看</el-button> | 78 | return <el-button type="text" icon="el-icon-view" onClick={() => { }}>查看</el-button> |
62 | } | 79 | } |
63 | } | 80 | } |
64 | ] | 81 | ] | ... | ... |
-
Please register or sign in to post a comment