Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
11 changed files
with
347 additions
and
135 deletions
src/api/jtfc.js
0 → 100644
1 | import request from '@/utils/request' | ||
2 | // 根据条件进行列表查询 | ||
3 | export function getJtfcPage (data) { | ||
4 | return request({ | ||
5 | url: '/sqcx/jtfc/getJtfcPage', | ||
6 | method: 'post', | ||
7 | data | ||
8 | }) | ||
9 | } | ||
10 | // 新增申请查询家庭房产信息 | ||
11 | export function addJtfcCxjgXx (data) { | ||
12 | return request({ | ||
13 | url: '/sqcx/jtfc/addJtfcCxjgXx', | ||
14 | method: 'post', | ||
15 | data, | ||
16 | showLoading: true, | ||
17 | loadingTarget: '正在查询中...' | ||
18 | }) | ||
19 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | import request from '@/utils/request' | ||
2 | // 根据条件进行列表查询 | ||
3 | export function getJtfcPage (data) { | ||
4 | return request({ | ||
5 | url: '/sqcx/getJtfcPage', | ||
6 | method: 'post', | ||
7 | data | ||
8 | }) | ||
9 | } | ||
10 | // 新增申请查询家庭房产信息 | ||
11 | export function addJtfcCxjgXx (data) { | ||
12 | return request({ | ||
13 | url: '/sqcx/addJtfcCxjgXx', | ||
14 | method: 'post', | ||
15 | data, | ||
16 | showLoading: true, | ||
17 | loadingTarget: '正在查询中...' | ||
18 | }) | ||
19 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | // import request from '@/utils/request' | ||
2 | // // 根据条件进行列表查询 | ||
3 | // export function getJtfcPage (data) { | ||
4 | // return request({ | ||
5 | // url: '/sqcx/getJtfcPage', | ||
6 | // method: 'post', | ||
7 | // data | ||
8 | // }) | ||
9 | // } | ||
10 | // // 新增申请查询家庭房产信息 | ||
11 | // export function addJtfcCxjgXx (data) { | ||
12 | // return request({ | ||
13 | // url: '/sqcx/addJtfcCxjgXx', | ||
14 | // method: 'post', | ||
15 | // data, | ||
16 | // showLoading: true, | ||
17 | // loadingTarget: '正在查询中...' | ||
18 | // }) | ||
19 | // } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | 46 | ||
47 | <script> | 47 | <script> |
48 | import personInfoTable from '@/views/components/personInfoTable' | 48 | import personInfoTable from '@/views/components/personInfoTable' |
49 | import { addJtfcCxjgXx } from '@/api/sqcx' | 49 | import { addJtfcCxjgXx } from '@/api/jtfc' |
50 | export default { | 50 | export default { |
51 | components: { | 51 | components: { |
52 | personInfoTable | 52 | personInfoTable | ... | ... |
1 | <template> | 1 | <template> |
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 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> | 5 | <el-form :model="queryForm" ref="queryForm" 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 placeholder="请输入编号" v-model="queryForm.cxbh" clearable> | 9 | <el-input |
10 | placeholder="请输入查询编号" | ||
11 | v-model="queryForm.cxbh" | ||
12 | clearable | ||
13 | class="width200px" | ||
14 | > | ||
10 | </el-input> | 15 | </el-input> |
11 | </el-form-item> | 16 | </el-form-item> |
12 | </el-col> | 17 | </el-col> |
13 | <el-col :span="5"> | 18 | <el-col :span="5"> |
14 | <el-form-item label="申请人"> | 19 | <el-form-item label="申请人"> |
15 | <el-input placeholder="请输入申请人" v-model="queryForm.sqr" clearable> | 20 | <el-input |
21 | placeholder="请输入申请人" | ||
22 | v-model="queryForm.sqr" | ||
23 | clearable | ||
24 | class="width200px" | ||
25 | > | ||
16 | </el-input> | 26 | </el-input> |
17 | </el-form-item> | 27 | </el-form-item> |
18 | </el-col> | 28 | </el-col> |
19 | <el-col :span="14" class="btnCol"> | 29 | <el-col :span="14" class="btnCol"> |
20 | <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> | 30 | <el-button type="primary" @click="queryClick()" |
21 | <el-button type="primary" @click="handleAdd" icon="el-icon-plus">新增</el-button> | 31 | >查询</el-button |
32 | > | ||
33 | <el-button type="primary" @click="handleAdd" | ||
34 | >新增</el-button | ||
35 | > | ||
22 | </el-col> | 36 | </el-col> |
23 | </el-row> | 37 | </el-row> |
24 | </el-form> | 38 | </el-form> |
25 | </div> | 39 | </div> |
26 | <!-- 表格 --> | 40 | <!-- 表格 --> |
27 | <div class="from-clues-content"> | 41 | <div class="from-clues-content"> |
28 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" | 42 | <lb-table |
29 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 43 | :page-size="pageData.size" |
30 | :data="tableData.data"> | 44 | border |
45 | :current-page.sync="pageData.current" | ||
46 | :total="tableData.total" | ||
47 | @size-change="handleSizeChange" | ||
48 | @p-current-change="handleCurrentChange" | ||
49 | :column="tableData.columns" | ||
50 | :data="tableData.data" | ||
51 | > | ||
31 | </lb-table> | 52 | </lb-table> |
32 | </div> | 53 | </div> |
33 | <editDialog v-model="isDialog" /> | 54 | <editDialog v-model="isDialog" /> |
... | @@ -36,59 +57,54 @@ | ... | @@ -36,59 +57,54 @@ |
36 | <script> | 57 | <script> |
37 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
38 | import { datas, sendThis } from "./jtfcdata"; | 59 | import { datas, sendThis } from "./jtfcdata"; |
39 | import { getJtfcPage } from "@/api/sqcx"; | 60 | import { getJtfcPage } from "@/api/jtfc"; |
40 | import editDialog from "../components/editDialog.vue" | 61 | import editDialog from "../components/editDialog.vue"; |
41 | export default { | 62 | export default { |
42 | name: "jtfc", | 63 | name: "jtfc", |
43 | components: { editDialog }, | 64 | components: { editDialog }, |
44 | mixins: [table], | 65 | mixins: [table], |
45 | mounted () { | 66 | mounted() { |
46 | sendThis(this); | 67 | sendThis(this); |
47 | }, | 68 | }, |
48 | data () { | 69 | data() { |
49 | return { | 70 | return { |
50 | isDialog: false, | 71 | isDialog: false, |
51 | sqrOption: [], | 72 | sqrOption: [], |
52 | cxytOption: [], | 73 | cxytOption: [], |
53 | queryForm: { | 74 | queryForm: { |
54 | cxbh: "", | 75 | cxbh: "", |
55 | sqr: "" | 76 | sqr: "", |
56 | }, | 77 | }, |
78 | |||
79 | |||
57 | tableData: { | 80 | tableData: { |
58 | total: 0, | ||
59 | columns: datas.columns(), | 81 | columns: datas.columns(), |
60 | data: [ | 82 | data: [], |
61 | { | ||
62 | cxlx: "家庭房产", | ||
63 | cxbh: "20200409146", | ||
64 | cxsj: "2016-10-12 10:00:00", | ||
65 | slry: "查询窗口", | ||
66 | sqr: "张三", | ||
67 | yqlrgx: "不动产权利人", | ||
68 | qlr: "张三", | ||
69 | cxyt: "预告买卖记录||首次登记", | ||
70 | }, | ||
71 | ], | ||
72 | }, | 83 | }, |
84 | |||
73 | }; | 85 | }; |
74 | }, | 86 | }, |
75 | methods: { | 87 | methods: { |
88 | queryClick(){ | ||
89 | this.fetchData(); | ||
90 | }, | ||
91 | |||
76 | // 初始化数据 | 92 | // 初始化数据 |
77 | fetchData () { | 93 | fetchData() { |
78 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 94 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
79 | let { records, total } = res.result; | 95 | let { records, total } = res.result; |
80 | this.tableData.data = records | 96 | this.tableData.data = records; |
81 | this.tableData.total = total; | 97 | this.tableData.total = total; |
82 | }); | 98 | }); |
83 | }, | 99 | }, |
84 | handleSort (name, sort) { | 100 | handleSort(name, sort) { |
85 | console.log(name, sort); | 101 | console.log(name, sort); |
86 | }, | 102 | }, |
87 | handleAdd () { | 103 | handleAdd() { |
88 | this.isDialog = true | 104 | this.isDialog = true; |
89 | } | 105 | }, |
90 | } | 106 | }, |
91 | } | 107 | }; |
92 | </script> | 108 | </script> |
93 | <style scoped lang="scss"> | 109 | <style scoped lang="scss"> |
94 | @import "~@/styles/public.scss"; | 110 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -73,15 +73,6 @@ class data extends filter { | ... | @@ -73,15 +73,6 @@ class data extends filter { |
73 | ] | 73 | ] |
74 | } | 74 | } |
75 | 75 | ||
76 | ywlys () { | ||
77 | return [ | ||
78 | { value: 1, label: "办事大厅" }, | ||
79 | { value: 2, label: "微信小程序" }, | ||
80 | { value: 3, label: "法院端" }, | ||
81 | { value: 4, label: "银行端" }, | ||
82 | ] | ||
83 | } | ||
84 | |||
85 | } | 76 | } |
86 | let datas = new data() | 77 | let datas = new data() |
87 | export { | 78 | export { | ... | ... |
... | @@ -38,10 +38,10 @@ | ... | @@ -38,10 +38,10 @@ |
38 | <div class="top_line middle_margin"></div> | 38 | <div class="top_line middle_margin"></div> |
39 | <div class="text" v-if="item.bsmSz"> | 39 | <div class="text" v-if="item.bsmSz"> |
40 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,1)">证书预览</el-button> | 40 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,1)">证书预览</el-button> |
41 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印(1)</el-button> | 41 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{item.szcs}})</el-button> |
42 | </div> | 42 | </div> |
43 | <div class="text" v-else> | 43 | <div class="text" v-else> |
44 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,2)">证书打印(0)</el-button> | 44 | <el-button class="operation_button" type="text" @click="openZsylDialog(item,2)">证书打印({{item.szcs}})</el-button> |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | </el-card> | 47 | </el-card> |
... | @@ -97,32 +97,46 @@ export default { | ... | @@ -97,32 +97,46 @@ export default { |
97 | }, | 97 | }, |
98 | //打开证书预览弹窗 | 98 | //打开证书预览弹窗 |
99 | openZsylDialog (item, type) { | 99 | openZsylDialog (item, type) { |
100 | var heightSet = "650px"; | ||
101 | var showButton = false; | ||
102 | if(type == 2){ | ||
103 | heightSet = "700px"; | ||
104 | showButton = true; | ||
105 | } | ||
106 | let that = this; | 100 | let that = this; |
101 | if(type == 1){ | ||
102 | //证书预览 | ||
107 | this.$popup({ | 103 | this.$popup({ |
108 | title: "证书预览", | 104 | title: "证书预览", |
109 | editItem: "workflow/components/zsyl", | 105 | editItem: "workflow/components/zsyl", |
110 | height: heightSet, | 106 | height: '650px', |
107 | width: "800px", | ||
108 | formData: { | ||
109 | bdcqz: item | ||
110 | }, | ||
111 | btnShow: false, | ||
112 | cancel: () => { | ||
113 | console.log("取消回调"); | ||
114 | }, | ||
115 | confirm: () => { | ||
116 | console.log("取消回调"); | ||
117 | }, | ||
118 | }) | ||
119 | }else{ | ||
120 | //证书打印 | ||
121 | this.$popup({ | ||
122 | title: "证书打印", | ||
123 | editItem: "workflow/components/zsdy", | ||
124 | height: '700px', | ||
111 | width: "800px", | 125 | width: "800px", |
112 | formData: { | 126 | formData: { |
113 | bsmSlsq: this.bsmSlsq, | 127 | bsmSlsq: this.bsmSlsq, |
114 | entryType: type, | ||
115 | bdcqz: item | 128 | bdcqz: item |
116 | }, | 129 | }, |
117 | btnShow: showButton, | 130 | btnShow: true, |
118 | confirmText: '打印证书', | 131 | confirmText: '打印证书', |
119 | cancel: () => { | 132 | cancel: () => { |
120 | console.log("取消回调"); | 133 | console.log("取消回调"); |
121 | }, | 134 | }, |
122 | confirm: () => { | 135 | confirm: () => { |
123 | this.list(); | 136 | that.list(); |
124 | }, | 137 | }, |
125 | }) | 138 | }) |
139 | } | ||
126 | }, | 140 | }, |
127 | //再次打印 | 141 | //再次打印 |
128 | openInvalidDiglog (item) { | 142 | openInvalidDiglog (item) { | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | <ul style="margin-bottom:15px"> | 6 | <ul style="margin-bottom:15px"> |
7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> | 7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> |
8 | <p class="icon"> | 8 | <p class="icon"> |
9 | <el-radio v-model="radio"></el-radio> | 9 | <el-radio v-model="selectActivity" :label="item.activityId" @change="changeSelectItem(item)"></el-radio> |
10 | </p> | 10 | </p> |
11 | <p>{{item.activityName}}</p> | 11 | <p>{{item.activityName}}</p> |
12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> | 12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> |
... | @@ -31,8 +31,10 @@ export default { | ... | @@ -31,8 +31,10 @@ export default { |
31 | }, | 31 | }, |
32 | data () { | 32 | data () { |
33 | return { | 33 | return { |
34 | selectActivity: '', | ||
34 | dataList: [], | 35 | dataList: [], |
35 | outstepopinion: '' | 36 | outstepopinion: '', |
37 | selectItem: {} | ||
36 | } | 38 | } |
37 | }, | 39 | }, |
38 | created () { | 40 | created () { |
... | @@ -40,12 +42,31 @@ export default { | ... | @@ -40,12 +42,31 @@ export default { |
40 | }, | 42 | }, |
41 | methods: { | 43 | methods: { |
42 | childFn () { | 44 | childFn () { |
43 | console.log(1111); | 45 | this.selectItem.outstepopinion = this.outstepopinion; |
46 | sendBackTask({ | ||
47 | bsmSlsq: this.formData.bsmSlsq, | ||
48 | backNodeList: [this.selectItem] | ||
49 | }).then(res => { | ||
50 | this.$message.success('退回成功') | ||
51 | setTimeout(() => { | ||
52 | window.opener = null; | ||
53 | window.open("about:blank", "_self"); | ||
54 | window.close(); | ||
55 | this.$emit('input', false) | ||
56 | }, 1000); | ||
57 | }) | ||
58 | }, | ||
59 | changeSelectItem(item){ | ||
60 | this.selectItem = item | ||
44 | }, | 61 | }, |
45 | getBackNode () { | 62 | getBackNode () { |
46 | getTaskBackNode(this.formData).then(res => { | 63 | getTaskBackNode(this.formData).then(res => { |
47 | if (res.code == 200) { | 64 | if (res.code == 200) { |
48 | this.dataList = res.result | 65 | this.dataList = res.result |
66 | if(res.result){ | ||
67 | this.selectActivity = res.result[0].activityId | ||
68 | this.selectItem = res.result[0] | ||
69 | } | ||
49 | } | 70 | } |
50 | }) | 71 | }) |
51 | } | 72 | } |
... | @@ -81,4 +102,7 @@ export default { | ... | @@ -81,4 +102,7 @@ export default { |
81 | min-height: 90px !important; | 102 | min-height: 90px !important; |
82 | } | 103 | } |
83 | } | 104 | } |
105 | /deep/.el-radio .el-radio__label { | ||
106 | display: none; | ||
107 | } | ||
84 | </style> | 108 | </style> | ... | ... |
src/views/workflow/components/zsdy.vue
0 → 100644
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <div class="middle_padding"> | ||
4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | ||
5 | <el-form-item label="印刷序列号:" prop="ysxlh"> | ||
6 | <el-select v-model="ruleForm.ysxlh" placeholder="请选择"> | ||
7 | <el-option | ||
8 | v-for="item in ysxlh" | ||
9 | :key="item.ysxlh" | ||
10 | :label="item.ysxlh" | ||
11 | :value="item.ysxlh"> | ||
12 | </el-option> | ||
13 | </el-select> | ||
14 | </el-form-item> | ||
15 | </el-form> | ||
16 | </div> | ||
17 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> | ||
18 | <div class="zsyl-box"> | ||
19 | <div class="zsyl-left"> | ||
20 | <div class="zsyl-title"> | ||
21 | <span v-if="bdcqz.bdcqzh">{{bdcqz.bdcqzh}}</span> | ||
22 | <span v-else>____( )________不动产权第 号</span> | ||
23 | </div> | ||
24 | <table class="table-column"> | ||
25 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
26 | <td> | ||
27 | <span>{{ item.label }}</span> | ||
28 | </td> | ||
29 | <td> | ||
30 | <span> | ||
31 | {{ getRowValue(item.prop) }} | ||
32 | </span> | ||
33 | </td> | ||
34 | </tr> | ||
35 | </table> | ||
36 | </div> | ||
37 | <div class="zsyl-right"> | ||
38 | <div class="zsyl-title">附记</div> | ||
39 | <div class="zsyl-text"></div> | ||
40 | </div> | ||
41 | </div> | ||
42 | </div> | ||
43 | </template> | ||
44 | |||
45 | <script> | ||
46 | import { datas } from "../javascript/zsyl.js"; | ||
47 | import { readYsxlh,certificate,getSlsqBdcqzList} from "@/api/fqsq.js" | ||
48 | export default { | ||
49 | components: { | ||
50 | }, | ||
51 | props: { | ||
52 | formData: { | ||
53 | type: Object, | ||
54 | default: {} | ||
55 | } | ||
56 | }, | ||
57 | data () { | ||
58 | return { | ||
59 | //印刷序列号集合 | ||
60 | ysxlh: [], | ||
61 | //列名称对象 | ||
62 | columns: [], | ||
63 | //选择的不动产权证文件 | ||
64 | bdcqz: '', | ||
65 | ruleForm: { | ||
66 | bsmBdcqz: '', | ||
67 | szmc: '不动产权证书', | ||
68 | bdcqzlx: '', | ||
69 | szzh: '', | ||
70 | ysxlh: '', | ||
71 | }, | ||
72 | rules: { | ||
73 | ysxlh: [ | ||
74 | { required: true, message: '请选择印刷序列号', trigger: 'change' } | ||
75 | ], | ||
76 | }, | ||
77 | } | ||
78 | }, | ||
79 | mounted(){ | ||
80 | }, | ||
81 | created() { | ||
82 | this.columns = datas.columns(); | ||
83 | this.bdcqz = this.formData.bdcqz | ||
84 | this.ysxlhList(); | ||
85 | }, | ||
86 | methods: { | ||
87 | //获取印刷序列号列表 | ||
88 | ysxlhList() { | ||
89 | readYsxlh({zslx:this.bdcqz.bdcqzlx}).then(res => { | ||
90 | if (res.code === 200) { | ||
91 | this.ysxlh = res.result | ||
92 | } | ||
93 | }) | ||
94 | }, | ||
95 | //获取证书内容 | ||
96 | getRowValue(code){ | ||
97 | var value = this.bdcqz[code] | ||
98 | if(code == 'gyqk'){ | ||
99 | switch(value){ | ||
100 | case '1': | ||
101 | return '单独所有'; | ||
102 | case '2': | ||
103 | return '共同共有'; | ||
104 | case '3': | ||
105 | return '按份所有'; | ||
106 | } | ||
107 | } | ||
108 | return value; | ||
109 | }, | ||
110 | //打印证书 | ||
111 | childFn() { | ||
112 | this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz | ||
113 | this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx | ||
114 | this.ruleForm.szzh = this.bdcqz.bdcqzh | ||
115 | certificate(this.ruleForm).then(res => { | ||
116 | if (res.code === 200) { | ||
117 | this.$message.success('打印成功'); | ||
118 | }else{ | ||
119 | this.$message.error(res.message); | ||
120 | } | ||
121 | }) | ||
122 | }, | ||
123 | } | ||
124 | } | ||
125 | </script> | ||
126 | <style scoped lang="scss"> | ||
127 | @import "~@/styles/mixin.scss"; | ||
128 | .zsyl-box{ | ||
129 | display: flex; | ||
130 | justify-content: space-between; | ||
131 | padding: 20px; | ||
132 | background: #FAFBE5; | ||
133 | .zsyl-left{ | ||
134 | width: 330px; | ||
135 | .zsyl-title{ | ||
136 | font-size: 18px; | ||
137 | text-align: center; | ||
138 | } | ||
139 | } | ||
140 | .zsyl-right{ | ||
141 | width: 330px; | ||
142 | .zsyl-title{ | ||
143 | letter-spacing: 50px; | ||
144 | text-align: center; | ||
145 | text-indent: 50px; | ||
146 | } | ||
147 | .zsyl-text{ | ||
148 | border: 1px solid #ccc; | ||
149 | height: 90%; | ||
150 | } | ||
151 | } | ||
152 | .zsyl-title{ | ||
153 | margin-bottom: 12px; | ||
154 | } | ||
155 | /deep/.el-table__row{ | ||
156 | background: #FAFBE5!important; | ||
157 | } | ||
158 | } | ||
159 | .middle_padding { | ||
160 | padding-bottom: 10px; | ||
161 | } | ||
162 | .zsyl-button{ | ||
163 | text-align: center; | ||
164 | margin-top: 20px; | ||
165 | .operation_button{ | ||
166 | width: 100px; | ||
167 | border: 1px solid rgb(0,121,254); | ||
168 | } | ||
169 | .dy-button { | ||
170 | color: white; | ||
171 | background-color: rgb(0,121,254); | ||
172 | } | ||
173 | } | ||
174 | .table-column { | ||
175 | border-spacing: 1px; | ||
176 | width: 100%; | ||
177 | tr td { | ||
178 | border: 1px solid #ccc; | ||
179 | text-align: center; | ||
180 | height: 40px; | ||
181 | padding: 4px; | ||
182 | font-size: 13px; | ||
183 | background: rgb(251,249,229); | ||
184 | } | ||
185 | } | ||
186 | .aaaa{ | ||
187 | background: #FAFBE5; | ||
188 | text-align: center; | ||
189 | padding-top: 10px; | ||
190 | font-size: 20px; | ||
191 | } | ||
192 | </style> |
... | @@ -4,20 +4,6 @@ | ... | @@ -4,20 +4,6 @@ |
4 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> | 4 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> |
5 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" v-for="(item,index) in headTabBdcqz" :key="index"></el-tab-pane> | 5 | <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" v-for="(item,index) in headTabBdcqz" :key="index"></el-tab-pane> |
6 | </el-tabs> | 6 | </el-tabs> |
7 | <div class="middle_padding" v-if="isToPrint"> | ||
8 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | ||
9 | <el-form-item label="印刷序列号:" prop="ysxlh"> | ||
10 | <el-select v-model="ruleForm.ysxlh" placeholder="请选择"> | ||
11 | <el-option | ||
12 | v-for="item in ysxlh" | ||
13 | :key="item.ysxlh" | ||
14 | :label="item.ysxlh" | ||
15 | :value="item.ysxlh"> | ||
16 | </el-option> | ||
17 | </el-select> | ||
18 | </el-form-item> | ||
19 | </el-form> | ||
20 | </div> | ||
21 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> | 7 | <div class="aaaa">{{bdcqz.bdcqzlx == '1' ? '不动产权证书' : '不动产权证明'}}</div> |
22 | <div class="zsyl-box"> | 8 | <div class="zsyl-box"> |
23 | <div class="zsyl-left"> | 9 | <div class="zsyl-left"> |
... | @@ -79,11 +65,6 @@ export default { | ... | @@ -79,11 +65,6 @@ export default { |
79 | szzh: '', | 65 | szzh: '', |
80 | ysxlh: '', | 66 | ysxlh: '', |
81 | }, | 67 | }, |
82 | rules: { | ||
83 | ysxlh: [ | ||
84 | { required: true, message: '请选择印刷序列号', trigger: 'change' } | ||
85 | ], | ||
86 | }, | ||
87 | } | 68 | } |
88 | }, | 69 | }, |
89 | mounted(){ | 70 | mounted(){ |
... | @@ -93,24 +74,12 @@ export default { | ... | @@ -93,24 +74,12 @@ export default { |
93 | if(this.formData.bdcqz){ | 74 | if(this.formData.bdcqz){ |
94 | //从缮证进入 | 75 | //从缮证进入 |
95 | this.bdcqz = this.formData.bdcqz | 76 | this.bdcqz = this.formData.bdcqz |
96 | if(this.formData.entryType == 2){ | ||
97 | this.ysxlhList(); | ||
98 | } | ||
99 | }else{ | 77 | }else{ |
100 | //从按钮进入 | 78 | //从按钮进入 |
101 | this.getHeadTabBdcqz(); | 79 | this.getHeadTabBdcqz(); |
102 | } | 80 | } |
103 | }, | 81 | }, |
104 | methods: { | 82 | methods: { |
105 | //获取印刷序列号列表 | ||
106 | ysxlhList() { | ||
107 | this.isToPrint = true; | ||
108 | readYsxlh({zslx:this.bdcqz.bdcqzlx}).then(res => { | ||
109 | if (res.code === 200) { | ||
110 | this.ysxlh = res.result | ||
111 | } | ||
112 | }) | ||
113 | }, | ||
114 | //获取证书内容 | 83 | //获取证书内容 |
115 | getRowValue(code){ | 84 | getRowValue(code){ |
116 | var value = this.bdcqz[code] | 85 | var value = this.bdcqz[code] |
... | @@ -143,20 +112,7 @@ export default { | ... | @@ -143,20 +112,7 @@ export default { |
143 | handleClick(e){ | 112 | handleClick(e){ |
144 | this.bdcqz = this.headTabBdcqz[e.index - 0] | 113 | this.bdcqz = this.headTabBdcqz[e.index - 0] |
145 | this.activeName = this.headTabBdcqz.bsmBdcqz | 114 | this.activeName = this.headTabBdcqz.bsmBdcqz |
146 | }, | ||
147 | //打印证书 | ||
148 | printCertificate() { | ||
149 | this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz | ||
150 | this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx | ||
151 | this.ruleForm.szzh = this.bdcqz.bdcqzh | ||
152 | certificate(this.ruleForm).then(res => { | ||
153 | if (res.code === 200) { | ||
154 | this.$message.success('打印成功'); | ||
155 | }else{ | ||
156 | this.$message.error(res.message); | ||
157 | } | 115 | } |
158 | }) | ||
159 | }, | ||
160 | } | 116 | } |
161 | } | 117 | } |
162 | </script> | 118 | </script> | ... | ... |
... | @@ -319,7 +319,7 @@ export default { | ... | @@ -319,7 +319,7 @@ export default { |
319 | this.$popup({ | 319 | this.$popup({ |
320 | title: "退回", | 320 | title: "退回", |
321 | editItem: "workflow/components/th", | 321 | editItem: "workflow/components/th", |
322 | height: "330px", | 322 | height: "400px", |
323 | width: '30%', | 323 | width: '30%', |
324 | formData: { | 324 | formData: { |
325 | bsmSlsq: this.bsmSlsq, | 325 | bsmSlsq: this.bsmSlsq, | ... | ... |
1 | <template> | 1 | <template> |
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 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> |
6 | <el-row> | 6 | <el-row> |
... | @@ -136,7 +136,7 @@ export default { | ... | @@ -136,7 +136,7 @@ export default { |
136 | width: "50%", | 136 | width: "50%", |
137 | btnShow: true, | 137 | btnShow: true, |
138 | editItem: "xxxxxxxxxx", | 138 | editItem: "xxxxxxxxxx", |
139 | height: "800px", | 139 | height: "600px", |
140 | formData: { | 140 | formData: { |
141 | bsmSlsq: this.bsmSlsq, | 141 | bsmSlsq: this.bsmSlsq, |
142 | dataList: this.unitData, | 142 | dataList: this.unitData, |
... | @@ -148,15 +148,15 @@ export default { | ... | @@ -148,15 +148,15 @@ export default { |
148 | }); | 148 | }); |
149 | 149 | ||
150 | 150 | ||
151 | // getLpb({ zrzbsm: zrzbsm }) | 151 | getLpb({ zrzbsm: zrzbsm }) |
152 | // .then((res) => { | 152 | .then((res) => { |
153 | // if (res.code == 200) { | 153 | if (res.code == 200) { |
154 | // var lpbdata = res.result; | 154 | var lpbdata = res.result; |
155 | // } | 155 | } |
156 | // }) | 156 | }) |
157 | // .catch((error) => { | 157 | .catch((error) => { |
158 | // console.log(error); | 158 | console.log(error); |
159 | // }); | 159 | }); |
160 | }, | 160 | }, |
161 | }, | 161 | }, |
162 | }; | 162 | }; | ... | ... |
-
Please register or sign in to post a comment