Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
12 changed files
with
433 additions
and
25 deletions
src/api/workflow/zjgcdyFlow.js
0 → 100644
1 | import request from '@/utils/request' | ||
2 | import SERVER from '../config' | ||
3 | |||
4 | // 初始化内容 | ||
5 | export function Init (data) { | ||
6 | let apiUrl = ""; | ||
7 | switch (data.get("djlx")) { | ||
8 | case "100": | ||
9 | apiUrl = "/rest/ywbl/zjgcdy/fristInit"; | ||
10 | break; | ||
11 | case "200": | ||
12 | apiUrl = "/rest/ywbl/zjgcdy/transferInit"; | ||
13 | break; | ||
14 | case "300": | ||
15 | apiUrl = "/rest/ywbl/zjgcdy/changeInit"; | ||
16 | break; | ||
17 | case "400": | ||
18 | apiUrl = "/rest/ywbl/zjgcdy/logoutInit"; | ||
19 | break; | ||
20 | case "500": | ||
21 | apiUrl = "/rest/ywbl/zjgcdy/riviseInit"; | ||
22 | break; | ||
23 | case "901": | ||
24 | apiUrl = "/rest/ywbl/zjgcdy/renewalInit"; | ||
25 | break; | ||
26 | case "902": | ||
27 | apiUrl = "/rest/ywbl/zjgcdy/replaceInit"; | ||
28 | break; | ||
29 | } | ||
30 | return request({ | ||
31 | url: SERVER.SERVERAPI + apiUrl, | ||
32 | method: 'post', | ||
33 | data | ||
34 | }) | ||
35 | } | ||
36 | // 受理信息保存 | ||
37 | export function saveData (data,djlx) { | ||
38 | let apiUrl = "/rest/ywbl/zjgcdy/saveData"; | ||
39 | if(djlx=="400"){ | ||
40 | apiUrl = "/rest/ywbl/zjgcdy/saveLogoutData"; | ||
41 | } | ||
42 | return request({ | ||
43 | url: SERVER.SERVERAPI + apiUrl, | ||
44 | method: 'post', | ||
45 | data | ||
46 | }) | ||
47 | } | ||
48 | |||
49 | // 流程图 | ||
50 | export function getWorkFlowImage (bsmSlsq, bestepid) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage', | ||
53 | method: 'get', | ||
54 | params: { | ||
55 | bsmSlsq: bsmSlsq, | ||
56 | bestepid: bestepid | ||
57 | } | ||
58 | }) | ||
59 | } | ||
60 | // 上传单个文件 | ||
61 | export function sjClmxUpload (data) { | ||
62 | return request({ | ||
63 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | ||
64 | method: 'post', | ||
65 | data | ||
66 | }) | ||
67 | } | ||
68 | // 删除上传文件 | ||
69 | export function sjClmxDelete (bsmClmx) { | ||
70 | return request({ | ||
71 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ||
72 | method: 'delete' | ||
73 | }) | ||
74 | } |
... | @@ -279,3 +279,15 @@ export function selectYgdy (data) { | ... | @@ -279,3 +279,15 @@ export function selectYgdy (data) { |
279 | data | 279 | data |
280 | }) | 280 | }) |
281 | } | 281 | } |
282 | /** | ||
283 | * 根据自然幢查询房屋信息 | ||
284 | * @param data | ||
285 | * @returns {*} | ||
286 | */ | ||
287 | export function selectAllHInfo (data) { | ||
288 | return request({ | ||
289 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectAllHInfo', | ||
290 | method: 'post', | ||
291 | data | ||
292 | }) | ||
293 | } | ... | ... |
1 | //==本JS是加载Lodop插件及CLodop服务的综合示例,可直接使用,建议看懂后融进自己页面程序== | 1 | //==本JS是加载Lodop插件及CLodop服务的综合示例,可直接使用,建议看懂后融进自己页面程序== |
2 | 2 | import { MessageBox } from 'element-ui'; | |
3 | var CreatedOKLodopObject, CLodopIsLocal, CLodopJsState; | 3 | var CreatedOKLodopObject, CLodopIsLocal, CLodopJsState; |
4 | 4 | ||
5 | //==判断是否需要CLodop(那些不支持插件的浏览器):== | 5 | //==判断是否需要CLodop(那些不支持插件的浏览器):== |
... | @@ -88,11 +88,29 @@ export function getLodop (oOBJECT, oEMBED) { | ... | @@ -88,11 +88,29 @@ export function getLodop (oOBJECT, oEMBED) { |
88 | return; | 88 | return; |
89 | } | 89 | } |
90 | if (!LODOP) { | 90 | if (!LODOP) { |
91 | document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : "") + strCLodopInstall_3 + document.body.innerHTML; | 91 | MessageBox.confirm('打印控件未安装,点击下载执行安装,安装后请刷新页面或重新进入', '系统提示', { |
92 | confirmButtonText: '下载', | ||
93 | cancelButtonText: '取消', | ||
94 | type: 'warning' | ||
95 | }).then(() => { | ||
96 | window.open('http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip') | ||
97 | }).catch(() => { | ||
98 | |||
99 | }); | ||
100 | //document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : "") + strCLodopInstall_3 + document.body.innerHTML; | ||
92 | return; | 101 | return; |
93 | } else { | 102 | } else { |
94 | if (CLODOP.CVERSION < "4.0.9.9") { | 103 | if (CLODOP.CVERSION < "4.0.9.9") { |
95 | document.body.innerHTML = strCLodopUpdate + document.body.innerHTML; | 104 | MessageBox.confirm('打印控件需要升级,点击下载执行安装,安装后请刷新页面或重新进入', '系统提示', { |
105 | confirmButtonText: '下载', | ||
106 | cancelButtonText: '取消', | ||
107 | type: 'warning' | ||
108 | }).then(() => { | ||
109 | window.open('http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip') | ||
110 | }).catch(() => { | ||
111 | |||
112 | }); | ||
113 | //document.body.innerHTML = strCLodopUpdate + document.body.innerHTML; | ||
96 | } | 114 | } |
97 | if (oEMBED && oEMBED.parentNode) | 115 | if (oEMBED && oEMBED.parentNode) |
98 | oEMBED.parentNode.removeChild(oEMBED); | 116 | oEMBED.parentNode.removeChild(oEMBED); |
... | @@ -122,17 +140,35 @@ export function getLodop (oOBJECT, oEMBED) { | ... | @@ -122,17 +140,35 @@ export function getLodop (oOBJECT, oEMBED) { |
122 | LODOP = CreatedOKLodopObject; | 140 | LODOP = CreatedOKLodopObject; |
123 | //==Lodop插件未安装时提示下载地址:== | 141 | //==Lodop插件未安装时提示下载地址:== |
124 | if ((!LODOP) || (!LODOP.VERSION)) { | 142 | if ((!LODOP) || (!LODOP.VERSION)) { |
125 | if (ua.indexOf('Chrome') >= 0) | 143 | MessageBox.confirm('打印控件未安装,点击下载执行安装,安装后请刷新页面或重新进入', '系统提示', { |
126 | document.body.innerHTML = strHtmChrome + document.body.innerHTML; | 144 | confirmButtonText: '下载', |
127 | if (ua.indexOf('Firefox') >= 0) | 145 | cancelButtonText: '取消', |
128 | document.body.innerHTML = strHtmFireFox + document.body.innerHTML; | 146 | type: 'warning' |
129 | document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML; | 147 | }).then(() => { |
148 | window.open('http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip') | ||
149 | }).catch(() => { | ||
150 | |||
151 | }); | ||
152 | // if (ua.indexOf('Chrome') >= 0) | ||
153 | // document.body.innerHTML = strHtmChrome + document.body.innerHTML; | ||
154 | // if (ua.indexOf('Firefox') >= 0) | ||
155 | // document.body.innerHTML = strHtmFireFox + document.body.innerHTML; | ||
156 | // document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML; | ||
130 | return LODOP; | 157 | return LODOP; |
131 | } | 158 | } |
132 | } | 159 | } |
133 | if (LODOP.VERSION < "6.2.2.6") { | 160 | if (LODOP.VERSION < "6.2.2.6") { |
134 | if (!needCLodop()) | 161 | if (!needCLodop()) |
135 | document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML; | 162 | MessageBox.confirm('打印控件需要升级,点击下载执行安装,安装后请刷新页面或重新进入', '系统提示', { |
163 | confirmButtonText: '下载', | ||
164 | cancelButtonText: '取消', | ||
165 | type: 'warning' | ||
166 | }).then(() => { | ||
167 | window.open('http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip') | ||
168 | }).catch(() => { | ||
169 | |||
170 | }); | ||
171 | //document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML; | ||
136 | } | 172 | } |
137 | //===如下空白位置适合调用统一功能(如注册语句、语言选择等):== | 173 | //===如下空白位置适合调用统一功能(如注册语句、语言选择等):== |
138 | LODOP.SET_LICENSES("", "13528A153BAEE3A0254B9507DCDE2839", "EDE92F75B6A3D917F65910", ""); | 174 | LODOP.SET_LICENSES("", "13528A153BAEE3A0254B9507DCDE2839", "EDE92F75B6A3D917F65910", ""); | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="edit"> | 2 | <div class="edit"> |
3 | <el-tabs type="card" v-model="activeName" v-if="!isJump"> | ||
4 | <el-tab-pane label="楼盘页面" name="first"></el-tab-pane> | ||
5 | <el-tab-pane label="单元列表页面" name="second"></el-tab-pane> | ||
6 | </el-tabs> | ||
3 | <!-- <div class="tab-header"> | 7 | <!-- <div class="tab-header"> |
4 | <el-row class="searchContent"> | 8 | <el-row class="searchContent"> |
5 | <el-col :span="24" style="margin:0 0 10px 18px;"> | 9 | <el-col :span="24" style="margin:0 0 10px 18px;"> |
... | @@ -13,7 +17,7 @@ | ... | @@ -13,7 +17,7 @@ |
13 | </el-col> | 17 | </el-col> |
14 | </el-row> | 18 | </el-row> |
15 | </div> --> | 19 | </div> --> |
16 | <div class="tab-content" ref="tabContent" :style="{ height: lpbContentHight + 'px' }" v-show="bjztFlag"> | 20 | <div class="tab-content" v-if="activeName=='first'" ref="tabContent" :style="{ height: lpbContentHight + 'px' }" v-show="bjztFlag"> |
17 | <!-- 楼盘表主体 --> | 21 | <!-- 楼盘表主体 --> |
18 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> | 22 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> |
19 | <lpbContent ref="lpbContent" :zrzbsm="formData.bsm" :key="time"></lpbContent> | 23 | <lpbContent ref="lpbContent" :zrzbsm="formData.bsm" :key="time"></lpbContent> |
... | @@ -113,11 +117,14 @@ | ... | @@ -113,11 +117,14 @@ |
113 | </div> | 117 | </div> |
114 | </div> | 118 | </div> |
115 | </div> | 119 | </div> |
120 | <!-- 单元列表页面--> | ||
121 | <selectAllHInfo v-else :sqywInfo="formData" /> | ||
116 | </div> | 122 | </div> |
117 | </template> | 123 | </template> |
118 | 124 | ||
119 | <script> | 125 | <script> |
120 | import lpbContent from "./lpbContent/index"; | 126 | import lpbContent from "./lpbContent/index"; |
127 | import selectAllHInfo from "../ywbl/ywsq/components/selectAllHInfo" | ||
121 | export default { | 128 | export default { |
122 | name: "lpb", | 129 | name: "lpb", |
123 | props: { | 130 | props: { |
... | @@ -127,10 +134,12 @@ export default { | ... | @@ -127,10 +134,12 @@ export default { |
127 | } | 134 | } |
128 | }, | 135 | }, |
129 | components: { | 136 | components: { |
130 | lpbContent | 137 | lpbContent, |
138 | selectAllHInfo | ||
131 | }, | 139 | }, |
132 | data () { | 140 | data () { |
133 | return { | 141 | return { |
142 | activeName:"first", | ||
134 | bsms: [], | 143 | bsms: [], |
135 | dialogVisible: false, | 144 | dialogVisible: false, |
136 | scyclx: "0", //1是实测 0是预测 | 145 | scyclx: "0", //1是实测 0是预测 |
... | @@ -206,6 +215,7 @@ export default { | ... | @@ -206,6 +215,7 @@ export default { |
206 | }, | 215 | }, |
207 | created () { | 216 | created () { |
208 | window.addEventListener("resize", this.getHeight); | 217 | window.addEventListener("resize", this.getHeight); |
218 | console.log(this.formData); | ||
209 | this.getHeight(); | 219 | this.getHeight(); |
210 | }, | 220 | }, |
211 | mounted () { | 221 | mounted () { |
... | @@ -219,7 +229,17 @@ export default { | ... | @@ -219,7 +229,17 @@ export default { |
219 | }, 100); | 229 | }, 100); |
220 | }, | 230 | }, |
221 | methods: { | 231 | methods: { |
222 | 232 | /* handleTabClick(event){ | |
233 | if(event.name=="first"){ | ||
234 | this.$router.push({ | ||
235 | path:"/lpb/index", | ||
236 | }) | ||
237 | }else if(event.name=="second"){ | ||
238 | this.$router.push({ | ||
239 | path:"/ywbl/ywsq/components/selectAllHInfo", | ||
240 | }) | ||
241 | } | ||
242 | },*/ | ||
223 | loading () { | 243 | loading () { |
224 | this.getLpbMenuTree(this.$store.state.zrzbsm); | 244 | this.getLpbMenuTree(this.$store.state.zrzbsm); |
225 | }, | 245 | }, | ... | ... |
... | @@ -30,14 +30,14 @@ class data extends filter { | ... | @@ -30,14 +30,14 @@ class data extends filter { |
30 | prop: "tmpname", | 30 | prop: "tmpname", |
31 | label: "模板名称", | 31 | label: "模板名称", |
32 | }, | 32 | }, |
33 | { | 33 | // { |
34 | prop: "tmpfont", | 34 | // prop: "tmpfont", |
35 | label: "模板字体", | 35 | // label: "模板字体", |
36 | }, | 36 | // }, |
37 | { | 37 | // { |
38 | prop: "tmpfontsize", | 38 | // prop: "tmpfontsize", |
39 | label: "模板字体大小", | 39 | // label: "模板字体大小", |
40 | }, | 40 | // }, |
41 | { | 41 | { |
42 | prop: "updatetime", | 42 | prop: "updatetime", |
43 | label: "最近操作时间", | 43 | label: "最近操作时间", | ... | ... |
... | @@ -35,7 +35,6 @@ export function getForm (tabName, djywbm) { | ... | @@ -35,7 +35,6 @@ export function getForm (tabName, djywbm) { |
35 | case "diyaqSlxx300": | 35 | case "diyaqSlxx300": |
36 | form = require("@/views/ywbl/diyaq/slxx200.vue"); | 36 | form = require("@/views/ywbl/diyaq/slxx200.vue"); |
37 | break; | 37 | break; |
38 | |||
39 | case "clxx": | 38 | case "clxx": |
40 | form = require("@/views/workflow/components/clxxUnify.vue"); | 39 | form = require("@/views/workflow/components/clxxUnify.vue"); |
41 | break; | 40 | break; |
... | @@ -55,6 +54,9 @@ export function getForm (tabName, djywbm) { | ... | @@ -55,6 +54,9 @@ export function getForm (tabName, djywbm) { |
55 | case "ygdy300": | 54 | case "ygdy300": |
56 | form = require("@/views/ywbl/ygdy/slxx.vue"); | 55 | form = require("@/views/ywbl/ygdy/slxx.vue"); |
57 | break; | 56 | break; |
57 | case "zjgcdyqSlxx": | ||
58 | form = require("@/views/ywbl/zjgcdy/slxx.vue"); | ||
59 | break; | ||
58 | case "cfdjxx": | 60 | case "cfdjxx": |
59 | form = require("@/views/registerBook/cfdj.vue"); | 61 | form = require("@/views/registerBook/cfdj.vue"); |
60 | break; | 62 | break; | ... | ... |
1 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; | 1 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; |
2 | import { popupDialog } from "@/utils/popup.js"; | 2 | import { popupDialog } from "@/utils/popup.js"; |
3 | import { getPrintTemplateByCode } from "@/api/system"; | 3 | import { getPrintTemplateByCode } from "@/api/system"; |
4 | import { getPrintApplicationInfo } from "@/api/fqsq"; | ||
4 | import { getLodop } from "@/utils/LodopFuncs" | 5 | import { getLodop } from "@/utils/LodopFuncs" |
5 | import { | 6 | import { |
6 | leftMenu, | 7 | leftMenu, |
... | @@ -137,15 +138,21 @@ export default { | ... | @@ -137,15 +138,21 @@ export default { |
137 | //根据编号获取对应信息 | 138 | //根据编号获取对应信息 |
138 | getPrintTemplateByCode({tmpno: 'dysqs'}).then(res => { | 139 | getPrintTemplateByCode({tmpno: 'dysqs'}).then(res => { |
139 | if(res.code == 200){ | 140 | if(res.code == 200){ |
141 | getPrintApplicationInfo(this.currentSelectProps).then(infoRes => { | ||
142 | if(infoRes.code == 200){ | ||
140 | //打开模板设计 | 143 | //打开模板设计 |
141 | let LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM')); | 144 | let LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM')); |
142 | LODOP.ADD_PRINT_DATA("ProgramData",res.result.tmpcontent); //装载模板 | 145 | LODOP.ADD_PRINT_DATA("ProgramData",res.result.tmpcontent); //装载模板 |
143 | |||
144 | //todo 调取后端接口获取数据 循环set | 146 | //todo 调取后端接口获取数据 循环set |
145 | 147 | for(let key in infoRes.result){ | |
146 | LODOP.SET_PRINT_STYLEA("qlrmc","CONTENT","计划大河风流看"); | 148 | LODOP.SET_PRINT_STYLEA(key,"CONTENT",infoRes.result[key]); |
149 | } | ||
147 | LODOP.PREVIEW(); | 150 | LODOP.PREVIEW(); |
148 | }else{ | 151 | }else{ |
152 | this.$message.error(infoRes.message) | ||
153 | } | ||
154 | }) | ||
155 | }else{ | ||
149 | this.$message.error(res.message) | 156 | this.$message.error(res.message) |
150 | } | 157 | } |
151 | }) | 158 | }) | ... | ... |
... | @@ -157,6 +157,7 @@ export default { | ... | @@ -157,6 +157,7 @@ export default { |
157 | return; | 157 | return; |
158 | } | 158 | } |
159 | if (!this.isJump) { | 159 | if (!this.isJump) { |
160 | |||
160 | startBusinessFlow({ | 161 | startBusinessFlow({ |
161 | bsmSqyw: this.bsmSqyw, | 162 | bsmSqyw: this.bsmSqyw, |
162 | fwlx: this.activeName, | 163 | fwlx: this.activeName, |
... | @@ -194,13 +195,19 @@ export default { | ... | @@ -194,13 +195,19 @@ export default { |
194 | } | 195 | } |
195 | }, | 196 | }, |
196 | handleSelectionChange (val) { | 197 | handleSelectionChange (val) { |
198 | val.forEach((item, index) => { | ||
199 | item.bsmSsql = item.zdbsm | ||
200 | }) | ||
197 | this.bdcdysz = val | 201 | this.bdcdysz = val |
198 | }, | 202 | }, |
199 | handleLpbClick (item) { | 203 | handleLpbClick (item) { |
200 | this.$popup('楼盘表', 'lpb/index', { | 204 | this.$popup('楼盘表', 'lpb/index', { |
201 | width: '85%', | 205 | width: '85%', |
202 | formData: { | 206 | formData: { |
203 | bsm: item.bsm | 207 | bsm: item.bsm, |
208 | bsmSqyw: this.bsmSqyw, | ||
209 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
210 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
204 | } | 211 | } |
205 | }) | 212 | }) |
206 | } | 213 | } | ... | ... |
1 | <template> | ||
2 | <!-- 主体权利信息查询 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="8"> | ||
9 | <el-form-item label="自然幢号"> | ||
10 | <el-input | ||
11 | placeholder="请输入自然幢号" | ||
12 | v-model="queryForm.zrzh" | ||
13 | clearable | ||
14 | class="width200px" | ||
15 | > | ||
16 | </el-input> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="8"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input | ||
22 | placeholder="请输入不动产单元号" | ||
23 | v-model="queryForm.bdcdyh" | ||
24 | clearable | ||
25 | class="width200px" | ||
26 | > | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="项目名称"> | ||
32 | <el-input | ||
33 | placeholder="" | ||
34 | v-model="queryForm.xmmc" | ||
35 | clearable | ||
36 | class="width200px" | ||
37 | > | ||
38 | </el-input> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="2" class="btnColRight"> | ||
42 | <el-form-item> | ||
43 | <el-button type="primary" @click="queryClick">查询</el-button> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | </el-form> | ||
48 | </div> | ||
49 | <!-- 表格 --> | ||
50 | <div class="from-clues-content"> | ||
51 | <lb-table | ||
52 | ref="table" | ||
53 | @row-click="handleRowClick" | ||
54 | :page-size="pageData.pageSize" | ||
55 | :heightNum="400" | ||
56 | :current-page.sync="pageData.currentPage" | ||
57 | :total="tableData.total" | ||
58 | @size-change="handleSizeChange" | ||
59 | @p-current-change="handleCurrentChange" | ||
60 | @selection-change="handleSelectionChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
64 | </lb-table> | ||
65 | </div> | ||
66 | <div class="submit_button"> | ||
67 | <el-button @click="closeDialog">取消</el-button> | ||
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
69 | </div> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { datas, sendThis } from "../javascript/selectAllHInfo.js"; | ||
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
75 | import table from "@/utils/mixin/table"; | ||
76 | import jump from "./mixin/jump"; | ||
77 | import { selectAllHInfo, startBusinessFlow } from "@/api/ywbl.js"; | ||
78 | export default { | ||
79 | mixins: [table, jump], | ||
80 | props: { | ||
81 | isJump: { type: Boolean, default: false }, | ||
82 | sqywInfo: { type: Object, default: () => {} }, | ||
83 | |||
84 | }, | ||
85 | data() { | ||
86 | return { | ||
87 | queryForm: defaultParameters.defaultParameters(), | ||
88 | tableData: { | ||
89 | total: 0, | ||
90 | columns: datas.columns(), | ||
91 | data: [], | ||
92 | }, | ||
93 | bdcdysz: [], | ||
94 | }; | ||
95 | }, | ||
96 | mounted() { | ||
97 | sendThis(this); | ||
98 | }, | ||
99 | methods: { | ||
100 | //点击行选中或取消复选框 | ||
101 | handleRowClick(row, column, event) { | ||
102 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
103 | this.$refs.table.toggleRowSelection(row); | ||
104 | }, | ||
105 | closeDialog() { | ||
106 | this.$emit("closeDialog"); | ||
107 | }, | ||
108 | queryClick() { | ||
109 | selectAllHInfo({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result; | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records; | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | submitForm() { | ||
118 | if (this.bdcdysz.length == 0) { | ||
119 | this.$message.error("请至少选择一条数据"); | ||
120 | return; | ||
121 | } | ||
122 | startBusinessFlow({ | ||
123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
124 | bdcdysz: this.bdcdysz, | ||
125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
127 | }).then((res) => { | ||
128 | if (res.code == 200) { | ||
129 | this.$message({ | ||
130 | showClose: true, | ||
131 | message: '发起申请成功', | ||
132 | type: 'success' | ||
133 | }) | ||
134 | if (!this.isJump) { | ||
135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
136 | } else { | ||
137 | this.$emit('updateDialog', true) | ||
138 | } | ||
139 | } else { | ||
140 | this.$message.error(res.message); | ||
141 | } | ||
142 | }); | ||
143 | }, | ||
144 | handleSelectionChange(val) { | ||
145 | val.forEach((item, index) => { | ||
146 | item.bsmSsql = item.bsmQlxx; | ||
147 | item.ybdcqzsh = item.bdcqzh; | ||
148 | }); | ||
149 | this.bdcdysz = val; | ||
150 | }, | ||
151 | }, | ||
152 | }; | ||
153 | </script> | ||
154 | <style scoped lang="scss"> | ||
155 | @import "~@/styles/mixin.scss"; | ||
156 | @import "~@/styles/public.scss"; | ||
157 | </style> |
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 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
50 | }, | ||
51 | { | ||
52 | prop: "xmmc", | ||
53 | label: "项目名称", | ||
54 | }, | ||
55 | { | ||
56 | prop: "zrzh", | ||
57 | label: "自然幢号", | ||
58 | }, | ||
59 | { | ||
60 | prop: "bdcdyh", | ||
61 | label: "不动产单元号", | ||
62 | }, | ||
63 | { | ||
64 | prop: "fwxz", | ||
65 | label: "房屋性质", | ||
66 | }, | ||
67 | { | ||
68 | prop: "fwjgmc", | ||
69 | label: "房屋结构", | ||
70 | }, | ||
71 | { | ||
72 | prop: "mj", | ||
73 | label: "面积", | ||
74 | }, | ||
75 | { | ||
76 | prop: "showTdyt", | ||
77 | label: "用途", | ||
78 | }, | ||
79 | { | ||
80 | prop: "zl", | ||
81 | label: "坐落", | ||
82 | } | ||
83 | ] | ||
84 | } | ||
85 | |||
86 | |||
87 | } | ||
88 | let datas = new data() | ||
89 | export { | ||
90 | datas, | ||
91 | sendThis | ||
92 | } |
... | @@ -20,6 +20,7 @@ export function queueDjywmc(djywbm) { | ... | @@ -20,6 +20,7 @@ export function queueDjywmc(djywbm) { |
20 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | 20 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) |
21 | case "A06100": | 21 | case "A06100": |
22 | case "A08100": | 22 | case "A08100": |
23 | case "B37100": | ||
23 | vm = "fwsyq"; | 24 | vm = "fwsyq"; |
24 | break; | 25 | break; |
25 | case "A04200": | 26 | case "A04200": | ... | ... |
src/views/ywbl/zjgcdy/slxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment