缮证代码 证书预览
Showing
10 changed files
with
202 additions
and
17 deletions
... | @@ -33,7 +33,7 @@ export function invalidCertificate (data) { | ... | @@ -33,7 +33,7 @@ export function invalidCertificate (data) { |
33 | data | 33 | data |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | // 缮证列表 | 36 | //根据受理申请标识码获取所有缮证列表 |
37 | export function getCertificateList (data) { | 37 | export function getCertificateList (data) { |
38 | return request({ | 38 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', | 39 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', |
... | @@ -42,6 +42,15 @@ export function getCertificateList (data) { | ... | @@ -42,6 +42,15 @@ export function getCertificateList (data) { |
42 | }) | 42 | }) |
43 | } | 43 | } |
44 | 44 | ||
45 | //获取不动产权证对应缮证列表 | ||
46 | export function getSzRecordList (params) { | ||
47 | return request({ | ||
48 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList', | ||
49 | method: 'get', | ||
50 | params | ||
51 | }) | ||
52 | } | ||
53 | |||
45 | //获取未领取的证书信息 | 54 | //获取未领取的证书信息 |
46 | export function getUnclaimedBdcqz (data) { | 55 | export function getUnclaimedBdcqz (data) { |
47 | return request({ | 56 | return request({ | ... | ... |
... | @@ -122,9 +122,23 @@ export default { | ... | @@ -122,9 +122,23 @@ export default { |
122 | }, | 122 | }, |
123 | }, | 123 | }, |
124 | { | 124 | { |
125 | prop: "ys", | ||
126 | label: "扫描页数", | 125 | label: "扫描页数", |
127 | width: "50" | 126 | width: "50", |
127 | render: (h, scope) => { | ||
128 | if (scope.row.children && scope.row.children.length > 0) { | ||
129 | return ( | ||
130 | <div> | ||
131 | <span>{scope.row.children.length}</span> | ||
132 | </div> | ||
133 | ); | ||
134 | } else { | ||
135 | return ( | ||
136 | <div> | ||
137 | <span>0</span> | ||
138 | </div> | ||
139 | ); | ||
140 | } | ||
141 | }, | ||
128 | }, | 142 | }, |
129 | { | 143 | { |
130 | label: "操作", | 144 | label: "操作", | ... | ... |
src/views/workflow/components/szRecord.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | <lb-table :column="tableData.columns" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData.data"> | ||
4 | </lb-table> | ||
5 | </div> | ||
6 | </template> | ||
7 | <script> | ||
8 | import { mapGetters } from 'vuex' | ||
9 | import { getSzRecordList } from "@/api/bdcqz.js"; | ||
10 | import table from "@/utils/mixin/table"; | ||
11 | import { datas } from "../javascript/szxxdata"; | ||
12 | export default { | ||
13 | components: { | ||
14 | |||
15 | }, | ||
16 | mixins: [table], | ||
17 | computed: { | ||
18 | ...mapGetters(["dictData"]), | ||
19 | }, | ||
20 | props: { | ||
21 | formData: { | ||
22 | type: Object, | ||
23 | default: {} | ||
24 | }, | ||
25 | }, | ||
26 | data () { | ||
27 | return { | ||
28 | key: 0, | ||
29 | dataIndex: 0, | ||
30 | dialog: false, | ||
31 | details: {}, | ||
32 | tableData: { | ||
33 | total: 0, | ||
34 | columns: datas.columns(), | ||
35 | data: [], | ||
36 | }, | ||
37 | } | ||
38 | }, | ||
39 | mounted() { | ||
40 | this.query() | ||
41 | }, | ||
42 | methods: { | ||
43 | query(){ | ||
44 | getSzRecordList({bsmBdcqz: this.formData.bsmBdcqz}).then(res => { | ||
45 | if(res.code == 200){ | ||
46 | this.tableData.data = res.result; | ||
47 | } | ||
48 | }) | ||
49 | } | ||
50 | } | ||
51 | } | ||
52 | </script> | ||
53 | <style scoped lang='scss'> | ||
54 | |||
55 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
49 | <el-button | 49 | <el-button |
50 | class="operation_button" | 50 | class="operation_button" |
51 | type="text" | 51 | type="text" |
52 | @click="openZsylDialog(item, 1)" | 52 | @click="openRecordPop(item)" |
53 | >缮证记录</el-button | 53 | >缮证记录</el-button |
54 | > | 54 | > |
55 | </div> | 55 | </div> |
... | @@ -57,14 +57,20 @@ | ... | @@ -57,14 +57,20 @@ |
57 | <el-button | 57 | <el-button |
58 | class="operation_button" | 58 | class="operation_button" |
59 | type="text" | 59 | type="text" |
60 | @click="openZsylDialog(item, 2)" | 60 | @click="openZsylDialog(item,2)" |
61 | >证书打印({{ item.szcs }})</el-button | 61 | >证书打印({{ item.szcs }})</el-button |
62 | > | 62 | > |
63 | <el-button | ||
64 | class="operation_button" | ||
65 | type="text" | ||
66 | @click="openRecordPop(item)" | ||
67 | >缮证记录</el-button | ||
68 | > | ||
63 | </div> | 69 | </div> |
64 | </div> | 70 | </div> |
65 | </el-card> | 71 | </el-card> |
66 | <el-dialog | 72 | <el-dialog |
67 | title="证书打印" | 73 | title="证书作废" |
68 | :visible.sync="invalidDiglog" | 74 | :visible.sync="invalidDiglog" |
69 | width="30%" | 75 | width="30%" |
70 | :modal-append-to-body="false" | 76 | :modal-append-to-body="false" |
... | @@ -93,8 +99,9 @@ | ... | @@ -93,8 +99,9 @@ |
93 | </div> | 99 | </div> |
94 | </template> | 100 | </template> |
95 | <script> | 101 | <script> |
96 | import { getSlsqBdcqzList, invalidCertificate } from "@/api/bdcqz.js"; | 102 | import { getSlsqBdcqzList, invalidCertificate,getSzRecordList } from "@/api/bdcqz.js"; |
97 | import bdcqzPrint from "./zsdy.vue"; | 103 | import bdcqzPrint from "./zsdy.vue"; |
104 | import { popupDialog } from "@/utils/popup.js"; | ||
98 | export default { | 105 | export default { |
99 | components: { bdcqzPrint }, | 106 | components: { bdcqzPrint }, |
100 | props: {}, | 107 | props: {}, |
... | @@ -172,6 +179,8 @@ export default { | ... | @@ -172,6 +179,8 @@ export default { |
172 | //再次打印 | 179 | //再次打印 |
173 | openInvalidDiglog(item) { | 180 | openInvalidDiglog(item) { |
174 | this.bsmSz = item.bsmSz; | 181 | this.bsmSz = item.bsmSz; |
182 | console.log(item); | ||
183 | |||
175 | this.invalidDiglog = true; | 184 | this.invalidDiglog = true; |
176 | }, | 185 | }, |
177 | closeInvalidDiglog() { | 186 | closeInvalidDiglog() { |
... | @@ -192,6 +201,9 @@ export default { | ... | @@ -192,6 +201,9 @@ export default { |
192 | } | 201 | } |
193 | }); | 202 | }); |
194 | }, | 203 | }, |
204 | openRecordPop(item) { | ||
205 | popupDialog("缮证记录", "workflow/components/szRecord", {bsmBdcqz: item.bsmBdcqz}, '50%') | ||
206 | } | ||
195 | }, | 207 | }, |
196 | }; | 208 | }; |
197 | </script> | 209 | </script> | ... | ... |
... | @@ -2,9 +2,10 @@ | ... | @@ -2,9 +2,10 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <div class="title">请选择要退回到的环节:</div> | ||
5 | <el-form ref="queryForm" label-width="90px"> | 6 | <el-form ref="queryForm" label-width="90px"> |
6 | <ul style="margin-bottom:15px"> | 7 | <ul style="margin-bottom:15px"> |
7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> | 8 | <li v-for="(item,index) in dataList" class="listDetail" :key="index" @click="changeSelectItem(item)"> |
8 | <p class="icon"> | 9 | <p class="icon"> |
9 | <el-radio v-model="selectActivity" :label="item.activityId" @change="changeSelectItem(item)"></el-radio> | 10 | <el-radio v-model="selectActivity" :label="item.activityId" @change="changeSelectItem(item)"></el-radio> |
10 | </p> | 11 | </p> |
... | @@ -12,11 +13,12 @@ | ... | @@ -12,11 +13,12 @@ |
12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> | 13 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> |
13 | </li> | 14 | </li> |
14 | </ul> | 15 | </ul> |
15 | <el-form-item label="退回意见:"> | 16 | <div class="title">退回意见:</div> |
16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> | 17 | <el-form-item> |
18 | <el-input class="textArea" type="textarea" v-model="outstepopinion" placeholder="请输入退回意见"></el-input> | ||
17 | </el-form-item> | 19 | </el-form-item> |
18 | <el-form-item> | 20 | <el-form-item> |
19 | <el-button style="float:right">取消</el-button> | 21 | <!-- <el-button style="float:right">取消</el-button> --> |
20 | <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button> | 22 | <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button> |
21 | </el-form-item> | 23 | </el-form-item> |
22 | </el-form> | 24 | </el-form> |
... | @@ -61,7 +63,9 @@ export default { | ... | @@ -61,7 +63,9 @@ export default { |
61 | }, | 63 | }, |
62 | changeSelectItem(item){ | 64 | changeSelectItem(item){ |
63 | this.selectItem = item | 65 | this.selectItem = item |
66 | this.selectActivity = item.activityId | ||
64 | }, | 67 | }, |
68 | //获取可回退环节信息 | ||
65 | getBackNode () { | 69 | getBackNode () { |
66 | getTaskBackNode(this.formData).then(res => { | 70 | getTaskBackNode(this.formData).then(res => { |
67 | if (res.code == 200) { | 71 | if (res.code == 200) { |
... | @@ -72,7 +76,7 @@ export default { | ... | @@ -72,7 +76,7 @@ export default { |
72 | } | 76 | } |
73 | } | 77 | } |
74 | }) | 78 | }) |
75 | } | 79 | }, |
76 | } | 80 | } |
77 | } | 81 | } |
78 | </script> | 82 | </script> |
... | @@ -100,6 +104,10 @@ export default { | ... | @@ -100,6 +104,10 @@ export default { |
100 | } | 104 | } |
101 | } | 105 | } |
102 | 106 | ||
107 | .title{ | ||
108 | margin-bottom: 10px; | ||
109 | } | ||
110 | |||
103 | .textArea { | 111 | .textArea { |
104 | /deep/.el-textarea__inner { | 112 | /deep/.el-textarea__inner { |
105 | min-height: 90px !important; | 113 | min-height: 90px !important; | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | @submitForm="handleSubmit" | 7 | @submitForm="handleSubmit" |
8 | > | 8 | > |
9 | <div> | 9 | <div> |
10 | <div class="middle_padding"> | 10 | <div> |
11 | <el-form | 11 | <el-form |
12 | :model="ruleForm" | 12 | :model="ruleForm" |
13 | :rules="rules" | 13 | :rules="rules" |
... | @@ -27,7 +27,8 @@ | ... | @@ -27,7 +27,8 @@ |
27 | </el-form-item> | 27 | </el-form-item> |
28 | </el-form> | 28 | </el-form> |
29 | </div> | 29 | </div> |
30 | <div | 30 | <img :src="previewImage"> |
31 | <!-- <div | ||
31 | class="aaaa" | 32 | class="aaaa" |
32 | v-if="bdcqz.bdcqzlx == 1" | 33 | v-if="bdcqz.bdcqzlx == 1" |
33 | :style="{ | 34 | :style="{ |
... | @@ -120,7 +121,7 @@ | ... | @@ -120,7 +121,7 @@ |
120 | </div> | 121 | </div> |
121 | <div class="fj">{{ bdcqz.fj }}</div> | 122 | <div class="fj">{{ bdcqz.fj }}</div> |
122 | </div> | 123 | </div> |
123 | </div> | 124 | </div> --> |
124 | </div> | 125 | </div> |
125 | </dialogBox> | 126 | </dialogBox> |
126 | </template> | 127 | </template> |
... | @@ -139,6 +140,8 @@ export default { | ... | @@ -139,6 +140,8 @@ export default { |
139 | myValue: this.value, | 140 | myValue: this.value, |
140 | //印刷序列号集合 | 141 | //印刷序列号集合 |
141 | ysxlh: [], | 142 | ysxlh: [], |
143 | //证书预览图片 | ||
144 | previewImage: '', | ||
142 | //列名称对象 | 145 | //列名称对象 |
143 | columns: [], | 146 | columns: [], |
144 | ruleForm: { | 147 | ruleForm: { |
... | @@ -185,7 +188,13 @@ export default { | ... | @@ -185,7 +188,13 @@ export default { |
185 | return value; | 188 | return value; |
186 | }, | 189 | }, |
187 | getBdcqzPreview() { | 190 | getBdcqzPreview() { |
188 | bdcqzPreview(this.bdcqz).then((res) => {}); | 191 | this.$startLoading() |
192 | bdcqzPreview(this.bdcqz).then(res => { | ||
193 | this.$endLoading() | ||
194 | let blob = new Blob([res]); | ||
195 | let url = window.URL.createObjectURL(blob); | ||
196 | this.previewImage = url; | ||
197 | }) | ||
189 | }, | 198 | }, |
190 | //保存打印记录 | 199 | //保存打印记录 |
191 | savePrintRecord() { | 200 | savePrintRecord() { |
... | @@ -195,6 +204,9 @@ export default { | ... | @@ -195,6 +204,9 @@ export default { |
195 | certificate(this.ruleForm).then((res) => { | 204 | certificate(this.ruleForm).then((res) => { |
196 | if (res.code === 200) { | 205 | if (res.code === 200) { |
197 | this.$emit("input", false); | 206 | this.$emit("input", false); |
207 | this.$message.success("提交成功"); | ||
208 | //刷新列表 | ||
209 | this.$parent.list(); | ||
198 | } else { | 210 | } else { |
199 | this.$message.error(res.message); | 211 | this.$message.error(res.message); |
200 | } | 212 | } | ... | ... |
src/views/workflow/javascript/szxxdata.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | label: '序号', | ||
15 | type: 'index', | ||
16 | render: (h, scope) => { | ||
17 | return ( | ||
18 | <div> | ||
19 | {scope.$index + 1} | ||
20 | </div> | ||
21 | ) | ||
22 | } | ||
23 | }, | ||
24 | { | ||
25 | prop: "szzh", | ||
26 | label: "缮证证号", | ||
27 | }, | ||
28 | { | ||
29 | prop: "ysxlh", | ||
30 | label: "印刷序列号", | ||
31 | }, | ||
32 | { | ||
33 | prop: "szry", | ||
34 | label: "缮证人员", | ||
35 | }, | ||
36 | { | ||
37 | prop: "szsj", | ||
38 | label: "缮证时间", | ||
39 | }, | ||
40 | { | ||
41 | label: "是否作废", | ||
42 | render: (h, scope) => { | ||
43 | if(scope.row.sfzf == '0'){ | ||
44 | return <div>否</div> | ||
45 | }else{ | ||
46 | return <div>已作废</div> | ||
47 | } | ||
48 | } | ||
49 | }, | ||
50 | { | ||
51 | prop: "bz", | ||
52 | label: "备注信息", | ||
53 | }, | ||
54 | ] | ||
55 | } | ||
56 | } | ||
57 | let datas = new data() | ||
58 | export { | ||
59 | datas, | ||
60 | sendThis | ||
61 | } |
... | @@ -43,6 +43,14 @@ | ... | @@ -43,6 +43,14 @@ |
43 | width: 100%; | 43 | width: 100%; |
44 | } | 44 | } |
45 | 45 | ||
46 | .title-batch { | ||
47 | height: 70px; | ||
48 | |||
49 | .menus { | ||
50 | justify-content: center | ||
51 | } | ||
52 | } | ||
53 | |||
46 | ul { | 54 | ul { |
47 | position: relative; | 55 | position: relative; |
48 | height: calc(100vh - 120px); | 56 | height: calc(100vh - 120px); | ... | ... |
... | @@ -22,7 +22,11 @@ | ... | @@ -22,7 +22,11 @@ |
22 | <div class="containerFrame"> | 22 | <div class="containerFrame"> |
23 | <!-- 左侧菜单栏 --> | 23 | <!-- 左侧菜单栏 --> |
24 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 24 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
25 | <div class="title" @click="batchUnitClick" v-if="showBatch">{{ batchButtonName }}</div> | 25 | <el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch"> |
26 | <el-menu-item index="-1" key="-1" class="menus"> | ||
27 | <div>{{ batchButtonName }}</div> | ||
28 | </el-menu-item> | ||
29 | </el-menu> | ||
26 | <div v-if="this.isShowdrawer"> | 30 | <div v-if="this.isShowdrawer"> |
27 | <div class="title"> | 31 | <div class="title"> |
28 | 申请单元列表({{ unitData.length }}) | 32 | 申请单元列表({{ unitData.length }}) |
... | @@ -208,11 +212,13 @@ export default { | ... | @@ -208,11 +212,13 @@ export default { |
208 | unitClick (index) { | 212 | unitClick (index) { |
209 | this.currentSelectProps = this.unitData[index]; | 213 | this.currentSelectProps = this.unitData[index]; |
210 | this.currentSelectProps.batchOperation = false; | 214 | this.currentSelectProps.batchOperation = false; |
215 | this.activeIndex = index.toString(); | ||
211 | this.stepForm(index); | 216 | this.stepForm(index); |
212 | }, | 217 | }, |
213 | //批量按钮点击事件 | 218 | //批量按钮点击事件 |
214 | batchUnitClick(){ | 219 | batchUnitClick(){ |
215 | this.currentSelectProps.batchOperation = true; | 220 | this.currentSelectProps.batchOperation = true; |
221 | this.activeIndex = "-1"; | ||
216 | this.stepForm(); | 222 | this.stepForm(); |
217 | } | 223 | } |
218 | } | 224 | } | ... | ... |
-
Please register or sign in to post a comment