99094f77 by liangyifan

Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web

# Conflicts:
#	src/views/ywbl/fqsq/fqsq.vue
2 parents 2a81cf91 fc4eaed2
...@@ -168,6 +168,7 @@ export default { ...@@ -168,6 +168,7 @@ export default {
168 this.$router.push('/') 168 this.$router.push('/')
169 } 169 }
170 } 170 }
171 console.log(this.$store.state.tagsView.visitedViews);
171 }, 172 },
172 openMenu (tag, e) { 173 openMenu (tag, e) {
173 const menuMinWidth = 95 174 const menuMinWidth = 95
......
1 const state = { 1 const state = {
2 visitedViews: [] 2 visitedViews: [{
3 'fullPath': "/home",
4 'meta': {
5 affix: true
6 },
7 'name': "Dashboard",
8 'path': "/home",
9 'title': "工作台"
10 }]
3 } 11 }
4 12
5 const mutations = { 13 const mutations = {
......
...@@ -66,8 +66,6 @@ export default { ...@@ -66,8 +66,6 @@ export default {
66 computed: { 66 computed: {
67 ...mapGetters(['dictData']), 67 ...mapGetters(['dictData']),
68 }, 68 },
69
70
71 data () { 69 data () {
72 return { 70 return {
73 queryForm: { 71 queryForm: {
...@@ -90,20 +88,20 @@ export default { ...@@ -90,20 +88,20 @@ export default {
90 mounted () { 88 mounted () {
91 sendThis(this); 89 sendThis(this);
92 let that = this 90 let that = this
93 window.addEventListener('visibilitychange',this.init,true) 91 window.addEventListener('visibilitychange', this.init, true)
94 }, 92 },
95 destroyed(){ 93 destroyed () {
96 window.removeEventListener('visibilitychange',this.init,true) 94 window.removeEventListener('visibilitychange', this.init, true)
97 }, 95 },
98 created () { }, 96 created () { },
99 methods: { 97 methods: {
100 init(e){ 98 init (e) {
101 var isHidden = document.hidden; 99 var isHidden = document.hidden;
102 if (isHidden) {//切离该页面时执行 100 if (isHidden) {//切离该页面时执行
103 //页面切换时,处理逻辑 101 //页面切换时,处理逻辑
104 } else {//切换到该页面时执行 102 } else {//切换到该页面时执行
105 if(window.location.hash=='#/ywbl/dbx'){ 103 if (window.location.hash == '#/ywbl/dbx') {
106 console.log('让我看看',window.location) 104 console.log('让我看看', window.location)
107 that.fetchData() 105 that.fetchData()
108 } 106 }
109 } 107 }
...@@ -128,7 +126,7 @@ export default { ...@@ -128,7 +126,7 @@ export default {
128 console.log(999999999999999); 126 console.log(999999999999999);
129 }, 127 },
130 ywhClick (item) { 128 ywhClick (item) {
131 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid='+item.bestepid) 129 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid)
132 window.open(href, '_blank'); 130 window.open(href, '_blank');
133 }, 131 },
134 }, 132 },
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 </li> 9 </li>
10 </ul> 10 </ul>
11 <ul> 11 <ul>
12 <li @click="operation(index,item)" v-for="(item, index) in headerleftList.slice(-4)" :key="index"> 12 <li @click="operation(index, item)" v-for="(item, index) in headerleftList.slice(-4)" :key="index">
13 <svg-icon class="icon" :icon-class="item.icon" /> 13 <svg-icon class="icon" :icon-class="item.icon" />
14 <span class="iconName">{{ item.name }}</span> 14 <span class="iconName">{{ item.name }}</span>
15 </li> 15 </li>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 @click=" () => { 27 @click=" () => {
28 this.isShowdrawer = !this.isShowdrawer;}"> 28 this.isShowdrawer = !this.isShowdrawer;}">
29 </div> 29 </div>
30 <ul v-if='this.isShowdrawer&&unitData.length>1'> 30 <ul v-if='this.isShowdrawer'>
31 <p>受理单元列表({{unitData.length}})</p> 31 <p>受理单元列表({{unitData.length}})</p>
32 <div v-for='(item,index) in unitData' :key='index'> 32 <div v-for='(item,index) in unitData' :key='index'>
33 <li @click='unitClick(item)'>{{item.bdcdyh}}</li> 33 <li @click='unitClick(item)'>{{item.bdcdyh}}</li>
...@@ -35,30 +35,31 @@ ...@@ -35,30 +35,31 @@
35 </div> 35 </div>
36 </ul> 36 </ul>
37 </div> 37 </div>
38 <div class="tabsList-right" > 38 <div class="tabsList-right">
39 <div class="fenpin" v-show="issplitScreen"> 39 <div class="fenpin" v-show="issplitScreen">
40 <p class="splitScreen tabsList-title">材料信息</p> 40 <p class="splitScreen tabsList-title">材料信息</p>
41 <div class="splitScreen" ></div> 41 <div class="splitScreen"></div>
42 </div> 42 </div>
43 <el-tabs v-model="activeName"> 43 <el-tabs v-model="activeName">
44 <el-tab-pane :label="item.name" :name="index + 1 + ''" v-for="(item, index) in tabList" :key="index"> 44 <el-tab-pane :label="item.name" :name="index + 1 + ''" v-for="(item, index) in tabList" :key="index">
45 <div class="splitScreen-con" v-if='index==0'> 45 <div class="splitScreen-con" v-if='index == 0'>
46 <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> 46 <component ref='slxx' :is="editItem" :flag="flag" :key="key" />
47 </div> 47 </div>
48 </el-tab-pane> 48 </el-tab-pane>
49 </el-tabs></div> 49 </el-tabs>
50 </div>
50 </div> 51 </div>
51 <zc v-model="zcDialog" :queryForm='queryForm' /> 52 <zc v-model="zcDialog" :queryForm='queryForm' />
52 <thDialog ref='thdialogRef' v-model="thflag" :queryForm='queryForm' /> 53 <thDialog ref='thdialogRef' v-model="thflag" :queryForm='queryForm' />
53 </div> 54 </div>
54 </template> 55 </template>
55 <script> 56 <script>
56 import { leftMenu } from "@/api/fqsq.js" 57 import { leftMenu } from "@/api/fqsq.js"
57 import zc from "./components/zc.vue" 58 import zc from "./components/zc.vue"
58 import thDialog from "./components/th.vue" 59 import thDialog from "./components/th.vue"
59 export default { 60 export default {
60 /**注册组件*/ 61 /**注册组件*/
61 components: {zc,thDialog}, 62 components: { zc, thDialog },
62 data () { 63 data () {
63 return { 64 return {
64 zcDialog:false, 65 zcDialog:false,
...@@ -137,7 +138,7 @@ export default { ...@@ -137,7 +138,7 @@ export default {
137 tabList: [], 138 tabList: [],
138 editItem: '', 139 editItem: '',
139 issplitScreen: false, 140 issplitScreen: false,
140 unitData:[], 141 unitData: [],
141 }; 142 };
142 }, 143 },
143 watch: { 144 watch: {
...@@ -154,8 +155,8 @@ export default { ...@@ -154,8 +155,8 @@ export default {
154 this.tabList = [...this.tabList1] 155 this.tabList = [...this.tabList1]
155 156
156 }, 157 },
157 mounted(){ 158 mounted () {
158 if(this.$route.query.bsmSlsq){ 159 if (this.$route.query.bsmSlsq) {
159 this.list(this.$route.query.bsmSlsq) 160 this.list(this.$route.query.bsmSlsq)
160 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq 161 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq
161 this.queryForm.bestepid = this.$route.query.bestepid 162 this.queryForm.bestepid = this.$route.query.bestepid
...@@ -163,10 +164,10 @@ export default { ...@@ -163,10 +164,10 @@ export default {
163 }, 164 },
164 methods: { 165 methods: {
165 // 获取左侧列表 166 // 获取左侧列表
166 list(id){ 167 list (id) {
167 let that = this 168 let that = this
168 var formdata=new FormData(); 169 var formdata = new FormData();
169 formdata.append("bsmSlsq",id); 170 formdata.append("bsmSlsq", id);
170 leftMenu(formdata).then(res => { 171 leftMenu(formdata).then(res => {
171 if (res.code === 200) { 172 if (res.code === 200) {
172 this.unitData = res.result 173 this.unitData = res.result
...@@ -177,9 +178,8 @@ export default { ...@@ -177,9 +178,8 @@ export default {
177 }) 178 })
178 }, 179 },
179 // 左侧列表点击调用接口 180 // 左侧列表点击调用接口
180 unitClick(item){ 181 unitClick (item) {
181 182 this.$nextTick(() => {
182 this.$nextTick(()=>{
183 this.$refs.slxx[0].list(item.bsmSldy) 183 this.$refs.slxx[0].list(item.bsmSldy)
184 }) 184 })
185 }, 185 },
...@@ -193,24 +193,22 @@ export default { ...@@ -193,24 +193,22 @@ export default {
193 } else { 193 } else {
194 this.tabList = [...this.tabList1] 194 this.tabList = [...this.tabList1]
195 } 195 }
196 }else if(item.icon=='fqsq8'){ 196 } else if (item.icon == 'fqsq8') {
197 this.thflag = true 197 this.thflag = true
198 this.$nextTick(()=>{ 198 this.$nextTick(() => {
199 this.$refs.thdialogRef.tablelistFn() 199 this.$refs.thdialogRef.tablelistFn()
200 }) 200 })
201 } 201 }
202 else if(item.icon=='fqsq9'){ 202 else if (item.icon == 'fqsq9') {
203 this.zcDialog = true 203 this.zcDialog = true
204 } 204 }
205 // if (index == 3) { 205 // if (index == 3) {
206 // window.close() 206 // window.close()
207 // } 207 // }
208 }, 208 },
209
210 loadView (view) { 209 loadView (view) {
211 return r => require.ensure([], () => r(require(`./components/${view}.vue`))) 210 return r => require.ensure([], () => r(require(`./components/${view}.vue`)))
212 }, 211 },
213
214 }, 212 },
215 } 213 }
216 </script> 214 </script>
...@@ -285,6 +283,7 @@ export default { ...@@ -285,6 +283,7 @@ export default {
285 } 283 }
286 } 284 }
287 } 285 }
286
288 .map-drawer-expand { 287 .map-drawer-expand {
289 width: 20px; 288 width: 20px;
290 height: 77px; 289 height: 77px;
...@@ -296,6 +295,7 @@ export default { ...@@ -296,6 +295,7 @@ export default {
296 z-index: 999; 295 z-index: 999;
297 cursor: pointer; 296 cursor: pointer;
298 } 297 }
298
299 .map-drawer-click { 299 .map-drawer-click {
300 width: 20px; 300 width: 20px;
301 height: 77px; 301 height: 77px;
...@@ -307,6 +307,7 @@ export default { ...@@ -307,6 +307,7 @@ export default {
307 z-index: 999; 307 z-index: 999;
308 cursor: pointer; 308 cursor: pointer;
309 } 309 }
310
310 .hide { 311 .hide {
311 display: none; 312 display: none;
312 } 313 }
...@@ -318,38 +319,44 @@ export default { ...@@ -318,38 +319,44 @@ export default {
318 background-color: #ffffff; 319 background-color: #ffffff;
319 z-index: 100; 320 z-index: 100;
320 @include flex; 321 @include flex;
321 .tabsList-left{ 322
323 .tabsList-left {
322 border-right: 1px solid #EBEEF5; 324 border-right: 1px solid #EBEEF5;
323 position: relative; 325 position: relative;
324 326
325 ul{ 327 ul {
326 position: relative; 328 position: relative;
327 329
328 .xian{ 330 .xian {
329 background: #F2F2F2; 331 background: #F2F2F2;
330 padding: 2px; 332 padding: 2px;
331 } 333 }
332 p{ 334
335 p {
333 padding: 20px; 336 padding: 20px;
334 text-align: center; 337 text-align: center;
335 } 338 }
336 li{ 339
340 li {
337 padding: 10px; 341 padding: 10px;
338 font-size: 14px; 342 font-size: 14px;
339 color: #606266; 343 color: #606266;
340 344
341 } 345 }
342 li:hover{ 346
347 li:hover {
343 color: #0F93F6; 348 color: #0F93F6;
344 cursor:pointer 349 cursor: pointer
345 } 350 }
346 } 351 }
347 } 352 }
348 .tabsList-right{ 353
349 .fenpin{ 354 .tabsList-right {
355 .fenpin {
350 min-width: 50%; 356 min-width: 50%;
351 border-right: 1px solid #EBEEF5; 357 border-right: 1px solid #EBEEF5;
352 } 358 }
359
353 background-color: #ffffff; 360 background-color: #ffffff;
354 width: 100%; 361 width: 100%;
355 height: 100%; 362 height: 100%;
......
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 },
33 {
34 prop: "qllx",
35 label: "权利类型",
36 },
37 {
38 prop: "bdcdyh",
39 label: "不动产单元号",
40 },
41 {
42 prop: "bdcqzh",
43 label: "不动产权证号",
44 },
45 {
46 prop: "qlr",
47 label: "权利人",
48 },
49 {
50 prop: "zjh",
51 label: "证件号",
52 },
53 {
54 prop: "mj",
55 label: "面积",
56 },
57 {
58 prop: "yt",
59 label: "用途",
60 },
61 {
62 prop: "zl",
63 label: "坐落",
64 }
65 ]
66 }
67
68
69 }
70 let datas = new data()
71 export {
72 datas,
73 sendThis
74 }
1 <template> 1 <template>
2 <div>
3 <dialogBox title="查询权利信息" @submitForm="submitForm" :saveloding="saveloding" saveButton="发起申请" width="85%"
4 @closeDialog="closeDialog" v-model="myValue">
5 <div class="from-clues"> 2 <div class="from-clues">
6 <!-- 表单部分 --> 3 <!-- 表单部分 -->
7 <div class="from-clues-header"> 4 <div class="from-clues-header">
...@@ -45,27 +42,27 @@ ...@@ -45,27 +42,27 @@
45 <div class="from-clues-content"> 42 <div class="from-clues-content">
46 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" 43 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
47 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 44 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
48 @selection-change="handleSelectionChange" 45 @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
49 :column="tableData.columns" :data="tableData.data">
50 </lb-table> 46 </lb-table>
51 </div> 47 </div>
48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
52 </div> 51 </div>
53 </dialogBox>
54 </div> 52 </div>
55 </template> 53 </template>
56 <script> 54 <script>
57 import { datas, sendThis } from "./gyjsydsyqdata.js"; 55 //查封等级
56 import { datas, sendThis } from "./cfdj.js";
58 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
59 import { selectBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 58 import { selectBdcdy, startBusinessFlow } from "@/api/ywbl.js";
60 export default { 59 export default {
61 props: { 60 props: {
62 value: { type: Boolean, default: false },
63 bsmSqyw: { type: String, default: '' }, 61 bsmSqyw: { type: String, default: '' },
64 }, 62 },
65 mixins: [table], 63 mixins: [table],
66 data () { 64 data () {
67 return { 65 return {
68 appliDialog: false,
69 queryForm: { 66 queryForm: {
70 qllx: "", 67 qllx: "",
71 bdcdyh: "", 68 bdcdyh: "",
...@@ -79,23 +76,24 @@ export default { ...@@ -79,23 +76,24 @@ export default {
79 columns: datas.columns(), 76 columns: datas.columns(),
80 data: [], 77 data: [],
81 }, 78 },
82 myValue: this.value, 79 bdcdysz: [],
83 saveloding: false, 80 saveloding: false
84 bdcdysz: []
85 }; 81 };
86 }, 82 },
87 mounted () {
88 sendThis(this);
89 },
90 watch: { 83 watch: {
91 value (val) { 84 bsmSqyw (val) {
92 this.myValue = val
93 this.fetchData() 85 this.fetchData()
94 }, 86 },
95 }, 87 },
88 mounted () {
89 sendThis(this);
90 },
96 methods: { 91 methods: {
92 closeDialog () {
93 this.$emit("closeDialog")
94 },
97 fetchData () { 95 fetchData () {
98 if (this.value) { 96 if (this.bsmSqyw) {
99 selectBdcdy({ ...this.queryForm, ...this.pageData }) 97 selectBdcdy({ ...this.queryForm, ...this.pageData })
100 .then((res) => { 98 .then((res) => {
101 if (res.code === 200) { 99 if (res.code === 200) {
...@@ -117,15 +115,11 @@ export default { ...@@ -117,15 +115,11 @@ export default {
117 bdcdysz: this.bdcdysz 115 bdcdysz: this.bdcdysz
118 }).then(res => { 116 }).then(res => {
119 this.saveloding = false 117 this.saveloding = false
120 this.$emit('input', false) 118 this.$emit("closeDialog")
121 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) 119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
122 window.open(href, '_blank'); 120 window.open(href, '_blank');
123 }) 121 })
124 }, 122 },
125
126 closeDialog () {
127 this.$emit("input", false);
128 },
129 handleSelectionChange (val) { 123 handleSelectionChange (val) {
130 this.bdcdysz = val 124 this.bdcdysz = val
131 } 125 }
......
1 <template>
2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue">
3 <component :is="editItem" @closeDialog="closeDialog" :bsmSqyw="bsmSqyw" />
4 </dialogBox>
5 </template>
6 <script>
7 export default {
8 props: {
9 value: { type: Boolean, default: true },
10 bsmSqyw: { type: String, default: '' },
11 djywbm: { type: String, default: '' },
12 },
13 data () {
14 return {
15 editItem: '',
16 myValue: this.value,
17 };
18 },
19 watch: {
20 value (val) {
21 this.myValue = val
22 },
23 djywbm (val) {
24 let itemObj = { 'A03100': 'scdj', default: 'scdj' }
25 this.editItem = this.loadView(itemObj[val])
26 },
27 },
28 methods: {
29 loadView (view) {
30 return r => require.ensure([], () => r(require(`../${view}/${view}.vue`)))
31 },
32 closeDialog () {
33 this.$emit("input", false);
34 }
35 },
36 };
37 </script>
38 <style scoped lang="scss">
39 @import "~@/styles/mixin.scss";
40 @import "~@/styles/public.scss";
41
42 /deep/.submit_button {
43 text-align: center;
44 padding: 10px;
45 margin: 10px;
46 }
47 </style>
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row>
7 <el-col :span="5">
8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
10 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
11 </el-option>
12 </el-select>
13 </el-form-item>
14 </el-col>
15 <el-col :span="6">
16 <el-form-item label="不动产单元号">
17 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
18 </el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="5">
22 <el-form-item label="业务号">
23 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px">
24 </el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="6">
28 <el-form-item label="不动产权证号">
29 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
30 </el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="2" class="btnCol">
34 <el-form-item>
35 <el-button type="primary" @click="queryClick()">查询</el-button>
36 </el-form-item>
37 </el-col>
38 </el-row>
39 </el-form>
40 </div>
41 <!-- 表格 -->
42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
44 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
45 @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
46 </lb-table>
47 </div>
48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
51 </div>
52 </div>
53 </template>
54 <script>
55 //首次登记
56 import { datas, sendThis } from "./scdj.js";
57 import table from "@/utils/mixin/table";
58 import { selectBdcdy, startBusinessFlow } from "@/api/ywbl.js";
59 export default {
60 props: {
61 bsmSqyw: { type: String, default: '' },
62 },
63 mixins: [table],
64 data () {
65 return {
66 queryForm: {
67 qllx: "",
68 bdcdyh: "",
69 ywh: "",
70 bdcqzh: "",
71 sqywbm: "A03100",
72 },
73 qllxs: [],
74 tableData: {
75 total: 0,
76 columns: datas.columns(),
77 data: [],
78 },
79 bdcdysz: [],
80 saveloding: false
81 };
82 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData()
86 },
87 },
88 mounted () {
89 sendThis(this);
90 },
91 methods: {
92 closeDialog () {
93 this.$emit("closeDialog")
94 },
95 fetchData () {
96 if (this.bsmSqyw) {
97 selectBdcdy({ ...this.queryForm, ...this.pageData })
98 .then((res) => {
99 if (res.code === 200) {
100 let { total, records } = res.result;
101 this.tableData.total = total;
102 this.tableData.data = records;
103 }
104 })
105 }
106 },
107 submitForm () {
108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据');
110 return
111 }
112 this.saveloding = true
113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz
116 }).then(res => {
117 this.saveloding = false
118 this.$emit("closeDialog")
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
120 window.open(href, '_blank');
121 })
122 },
123 handleSelectionChange (val) {
124 this.bdcdysz = val
125 }
126 },
127 };
128 </script>
129 <style scoped lang="scss">
130 @import "~@/styles/mixin.scss";
131 @import "~@/styles/public.scss";
132 </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 },
33 {
34 prop: "ywh",
35 label: "业务号",
36 },
37 {
38 prop: "bdcdyh",
39 label: "不动产单元号",
40 },
41 {
42 prop: "cfjg",
43 label: "查封机关",
44 },
45 {
46 prop: "cfwh",
47 label: "查封文号",
48 },
49 {
50 prop: "bzxqlr",
51 label: "被执行权利人",
52 },
53 {
54 prop: "cfqssj",
55 label: "查封起始时间",
56 },
57 {
58 prop: "cfjssj",
59 label: "查封结束时间",
60 },
61 {
62 prop: "zl",
63 label: "坐落",
64 }
65 ]
66 }
67
68
69 }
70 let datas = new data()
71 export {
72 datas,
73 sendThis
74 }
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row>
7 <el-col :span="5">
8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
10 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
11 </el-option>
12 </el-select>
13 </el-form-item>
14 </el-col>
15 <el-col :span="6">
16 <el-form-item label="不动产单元号">
17 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
18 </el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="5">
22 <el-form-item label="业务号">
23 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px">
24 </el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="6">
28 <el-form-item label="不动产权证号">
29 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
30 </el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="2" class="btnCol">
34 <el-form-item>
35 <el-button type="primary" @click="queryClick()">查询</el-button>
36 </el-form-item>
37 </el-col>
38 </el-row>
39 </el-form>
40 </div>
41 <!-- 表格 -->
42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
44 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
45 @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
46 </lb-table>
47 </div>
48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
51 </div>
52 </div>
53 </template>
54 <script>
55 //续封登记
56 import { datas, sendThis } from "./xfdj.js";
57 import table from "@/utils/mixin/table";
58 import { selectBdcdy, startBusinessFlow } from "@/api/ywbl.js";
59 export default {
60 props: {
61 bsmSqyw: { type: String, default: '' },
62 },
63 mixins: [table],
64 data () {
65 return {
66 queryForm: {
67 qllx: "",
68 bdcdyh: "",
69 ywh: "",
70 bdcqzh: "",
71 sqywbm: "A03100",
72 },
73 qllxs: [],
74 tableData: {
75 total: 0,
76 columns: datas.columns(),
77 data: [],
78 },
79 bdcdysz: [],
80 saveloding: false
81 };
82 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData()
86 },
87 },
88 mounted () {
89 sendThis(this);
90 },
91 methods: {
92 closeDialog () {
93 this.$emit("closeDialog")
94 },
95 fetchData () {
96 if (this.bsmSqyw) {
97 selectBdcdy({ ...this.queryForm, ...this.pageData })
98 .then((res) => {
99 if (res.code === 200) {
100 let { total, records } = res.result;
101 this.tableData.total = total;
102 this.tableData.data = records;
103 }
104 })
105 }
106 },
107 submitForm () {
108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据');
110 return
111 }
112 this.saveloding = true
113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz
116 }).then(res => {
117 this.saveloding = false
118 this.$emit("closeDialog")
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
120 window.open(href, '_blank');
121 })
122 },
123 handleSelectionChange (val) {
124 this.bdcdysz = val
125 }
126 },
127 };
128 </script>
129 <style scoped lang="scss">
130 @import "~@/styles/mixin.scss";
131 @import "~@/styles/public.scss";
132 </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 },
33 {
34 prop: "bdczmh",
35 label: "不动产证明号",
36 },
37 {
38 prop: "bdcdyh",
39 label: "不动产单元号",
40 },
41 {
42 prop: "dyfs",
43 label: "抵押方式",
44 },
45 {
46 prop: "dyqr",
47 label: "抵押权人",
48 },
49 {
50 prop: "dyr",
51 label: "抵押人",
52 },
53 {
54 prop: "dyje",
55 label: "抵押金额(万元)",
56 },
57 {
58 prop: "dymj",
59 label: "抵押面积",
60 },
61 {
62 prop: "zwyxqx",
63 label: "债务履行期限",
64 },
65 {
66 prop: "zl",
67 label: "坐落",
68 }
69 ]
70 }
71
72
73 }
74 let datas = new data()
75 export {
76 datas,
77 sendThis
78 }
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row>
7 <el-col :span="5">
8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
10 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
11 </el-option>
12 </el-select>
13 </el-form-item>
14 </el-col>
15 <el-col :span="6">
16 <el-form-item label="不动产单元号">
17 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
18 </el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="5">
22 <el-form-item label="业务号">
23 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px">
24 </el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="6">
28 <el-form-item label="不动产权证号">
29 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
30 </el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="2" class="btnCol">
34 <el-form-item>
35 <el-button type="primary" @click="queryClick()">查询</el-button>
36 </el-form-item>
37 </el-col>
38 </el-row>
39 </el-form>
40 </div>
41 <!-- 表格 -->
42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
44 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
45 @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
46 </lb-table>
47 </div>
48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
51 </div>
52 </div>
53 </template>
54 <script>
55 //转移登记
56 import { datas, sendThis } from "./zydj.js";
57 import table from "@/utils/mixin/table";
58 import { selectBdcdy, startBusinessFlow } from "@/api/ywbl.js";
59 export default {
60 props: {
61 bsmSqyw: { type: String, default: '' },
62 },
63 mixins: [table],
64 data () {
65 return {
66 queryForm: {
67 qllx: "",
68 bdcdyh: "",
69 ywh: "",
70 bdcqzh: "",
71 sqywbm: "A03100",
72 },
73 qllxs: [],
74 tableData: {
75 total: 0,
76 columns: datas.columns(),
77 data: [],
78 },
79 bdcdysz: [],
80 saveloding: false
81 };
82 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData()
86 },
87 },
88 mounted () {
89 sendThis(this);
90 },
91 methods: {
92 closeDialog () {
93 this.$emit("closeDialog")
94 },
95 fetchData () {
96 if (this.bsmSqyw) {
97 selectBdcdy({ ...this.queryForm, ...this.pageData })
98 .then((res) => {
99 if (res.code === 200) {
100 let { total, records } = res.result;
101 this.tableData.total = total;
102 this.tableData.data = records;
103 }
104 })
105 }
106 },
107 submitForm () {
108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据');
110 return
111 }
112 this.saveloding = true
113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz
116 }).then(res => {
117 this.saveloding = false
118 this.$emit("closeDialog")
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
120 window.open(href, '_blank');
121 })
122 },
123 handleSelectionChange (val) {
124 this.bdcdysz = val
125 }
126 },
127 };
128 </script>
129 <style scoped lang="scss">
130 @import "~@/styles/mixin.scss";
131 @import "~@/styles/public.scss";
132 </style>
...@@ -60,15 +60,15 @@ ...@@ -60,15 +60,15 @@
60 </div> 60 </div>
61 </div> 61 </div>
62 <div class="submit-button"> 62 <div class="submit-button">
63 <el-button type="primary" :disabled="btnDisabled" @click="btnClick()">选择不动产信息</el-button> 63 <el-button type="primary" :disabled="btnDisabled" @click="btnClick">选择不动产信息</el-button>
64 </div> 64 </div>
65 </div> 65 </div>
66 <choiceDialog v-model="isDialog" :bsmSqyw="bsmSqyw" /> 66 <fqsqDialog v-model="isDialog" :bsmSqyw="bsmSqyw" :djywbm="djywbm" />
67 </div> 67 </div>
68 </template> 68 </template>
69 <script> 69 <script>
70 import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl" 70 import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl"
71 import choiceDialog from "./components/gyjsydsyq/gyjsydsyq.vue" 71 import fqsqDialog from "./components/fqsqDialog/fqsqDialog.vue"
72 export default { 72 export default {
73 data () { 73 data () {
74 return { 74 return {
...@@ -89,11 +89,12 @@ export default { ...@@ -89,11 +89,12 @@ export default {
89 djqxList: [], 89 djqxList: [],
90 bsmSqyw: '', 90 bsmSqyw: '',
91 isDialog: false, 91 isDialog: false,
92 btnDisabled: true 92 btnDisabled: true,
93 djywbm: ''
93 } 94 }
94 }, 95 },
95 components: { 96 components: {
96 choiceDialog 97 fqsqDialog
97 }, 98 },
98 created () { 99 created () {
99 this.getDataList() 100 this.getDataList()
...@@ -127,9 +128,11 @@ export default { ...@@ -127,9 +128,11 @@ export default {
127 if (item.sffqlc == '1') { 128 if (item.sffqlc == '1') {
128 this.btnDisabled = false 129 this.btnDisabled = false
129 this.bsmSqyw = item.bsmSqyw 130 this.bsmSqyw = item.bsmSqyw
131 this.djywbm = item.djywbm
130 } 132 }
131 }, 133 },
132 handleList (list, obj) { 134 handleList (list, obj) {
135 this.btnDisabled = true
133 list.forEach(item => { 136 list.forEach(item => {
134 if (item.check) item.check = false 137 if (item.check) item.check = false
135 }) 138 })
...@@ -142,9 +145,8 @@ export default { ...@@ -142,9 +145,8 @@ export default {
142 // 获取下个节点类型 145 // 获取下个节点类型
143 getNextNode (bsmSqyw) { 146 getNextNode (bsmSqyw) {
144 getNextNode(bsmSqyw).then(res => { 147 getNextNode(bsmSqyw).then(res => {
145 let { djqx, djlx } = res.result 148 if (res.result.djqx) this.djqxList = res.result.djqx
146 if (djqx) this.djqxList = djqx 149 if (res.result.djlx) this.djlxList = res.result.djlx
147 if (djlx) this.djlxList = djlx
148 this.djqxList.forEach(item => { 150 this.djqxList.forEach(item => {
149 this.$set(item, 'cselect', false) 151 this.$set(item, 'cselect', false)
150 }) 152 })
...@@ -161,6 +163,8 @@ export default { ...@@ -161,6 +163,8 @@ export default {
161 }, 163 },
162 // 登记类型 164 // 登记类型
163 handleDjlxSelect (item) { 165 handleDjlxSelect (item) {
166 console.log(item, 'itemitem');
167 this.btnDisabled = true
164 this.djlxList.forEach(item => { 168 this.djlxList.forEach(item => {
165 if (item.select) item.select = false 169 if (item.select) item.select = false
166 }) 170 })
...@@ -168,6 +172,7 @@ export default { ...@@ -168,6 +172,7 @@ export default {
168 if (item.sffqlc == '1') { 172 if (item.sffqlc == '1') {
169 this.btnDisabled = false 173 this.btnDisabled = false
170 this.bsmSqyw = item.bsmSqyw 174 this.bsmSqyw = item.bsmSqyw
175 this.djywbm = item.djywbm
171 } else { 176 } else {
172 this.getNextNode(item.bsmSqyw) 177 this.getNextNode(item.bsmSqyw)
173 } 178 }
...@@ -177,6 +182,9 @@ export default { ...@@ -177,6 +182,9 @@ export default {
177 btnClick () { 182 btnClick () {
178 this.isDialog = true 183 this.isDialog = true
179 }, 184 },
185 loadView (view) {
186 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
187 },
180 } 188 }
181 } 189 }
182 </script> 190 </script>
......