5d257f47 by tianhaohao@pashanhoo.com

修改分类

1 parent 8c8ed53c
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:29
5 -->
6 <template>
7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData">
8 </lb-table>
9 </template>
10 <script>
11 import addQlr from './dialog/addQlr.vue'
12 import { mapGetters } from 'vuex'
13 export default {
14 components: {
15 addQlr
16 },
17 computed: {
18 ...mapGetters(["dictData"]),
19 },
20 props: {
21 tableData: {
22 type: Array,
23 default: function () {
24 return []
25 }
26 },
27 gyfs: {
28 type: String,
29 default: '1'
30 }
31 },
32 data () {
33 return {
34 key: 0,
35 dataIndex: 0,
36 dialog: false,
37 details: {},
38 tableDataList: [],
39 qlrCommonTable: [
40 {
41 label: '序号',
42 type: 'index',
43 width: '50',
44 render: (h, scope) => {
45 return (
46 <div>
47 {scope.$index + 1}
48 </div>
49 )
50 }
51 },
52 {
53 prop: "qllxmc",
54 label: "权利类型"
55 },
56 {
57 prop: "bdcqzh",
58 label: "不动产权证号"
59 },
60 {
61 prop: "qlrmc",
62 label: "权利人"
63 },
64 {
65 prop: "qlrzjhm",
66 label: "证件号码"
67 },
68 {
69 prop: "bdcdyh",
70 label: "不动产单元号"
71 },
72 {
73 prop: "qlxzmc",
74 label: "权利性质"
75 },
76 {
77 prop: "qlytmc",
78 label: "用途"
79 },
80 {
81 prop: "qlmjmc",
82 label: "面积"
83 },
84 {
85 prop: "zl",
86 label: "坐落"
87 },
88 ],
89 column: this.qlrCommonTable
90 }
91 },
92 watch: {
93 tableData: {
94 handler: function (val, oldVal) {
95 let that = this
96 if (val.length == 0 || !val) {
97 that.tableDataList = _.cloneDeep([{
98 sqrmc: '',
99 dlrzjlx: '',
100 dlrzjh: '',
101 fr: ''
102 }])
103 } else {
104 that.tableDataList = _.cloneDeep(val)
105 }
106 },
107 immediate: true,
108 deep: true
109 },
110 gyfs: {
111 handler (newVal, oldValue) {
112 let dataList = _.cloneDeep(this.qlrCommonTable)
113 if (newVal == '1') {
114 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
115 } else if ((newVal == '2')) {
116 this.column = dataList
117 } else {
118 this.column = _.cloneDeep(dataList)
119 this.column.splice(
120 2, 0, {
121 prop: "qlbl",
122 label: "份数"
123 })
124 }
125 },
126 immediate: true
127 }
128 },
129 methods: {
130 }
131 }
132 </script>
133 <style scoped lang='scss'>
134 /deep/.el-table th {
135 height: 30px !important;
136 }
137 /deep/.el-table--small .el-table__cell {
138 padding: 5px;
139 }
140 </style>
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:29
5 -->
6 <template>
7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData">
8 </lb-table>
9 </template>
10 <script>
11 import addQlr from './dialog/addQlr.vue'
12 import { mapGetters } from 'vuex'
13 export default {
14 components: {
15 addQlr
16 },
17 computed: {
18 ...mapGetters(["dictData"]),
19 },
20 props: {
21 tableData: {
22 type: Array,
23 default: function () {
24 return []
25 }
26 },
27 gyfs: {
28 type: String,
29 default: '1'
30 }
31 },
32 data () {
33 return {
34 key: 0,
35 dataIndex: 0,
36 dialog: false,
37 details: {},
38 tableDataList: [],
39 qlrCommonTable: [
40 {
41 label: '序号',
42 type: 'index',
43 width: '50',
44 render: (h, scope) => {
45 return (
46 <div>
47 {scope.$index + 1}
48 </div>
49 )
50 }
51 },
52 {
53 prop: "yg",
54 label: "原告"
55 },
56 {
57 prop: "cfjg",
58 label: "查封机关"
59 },
60 {
61 prop: "cfwh",
62 label: "查封文号"
63 },
64 {
65 prop: "cfqssj",
66 label: "查封开始时间"
67 },
68 {
69 prop: "cfjssj",
70 label: "查封结束时间"
71 },
72 {
73 prop: "cflxmc",
74 label: "查封类型"
75 },
76 {
77 prop: "ywrmc",
78 label: "被执行人"
79 },
80 {
81 prop: "bcfzh",
82 label: "被查封证号"
83 },
84 {
85 prop: "bdcdyh",
86 label: "不动产单元号"
87 },
88 {
89 prop: "zl",
90 label: "坐落"
91 },
92
93
94 ],
95 column: this.qlrCommonTable
96 }
97 },
98 watch: {
99 tableData: {
100 handler: function (val, oldVal) {
101 let that = this
102 if (val.length == 0 || !val) {
103 that.tableDataList = _.cloneDeep([{
104 sqrmc: '',
105 dlrzjlx: '',
106 dlrzjh: '',
107 fr: ''
108 }])
109 } else {
110 that.tableDataList = _.cloneDeep(val)
111 }
112 },
113 immediate: true,
114 deep: true
115 },
116 gyfs: {
117 handler (newVal, oldValue) {
118 let dataList = _.cloneDeep(this.qlrCommonTable)
119 if (newVal == '1') {
120 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
121 } else if ((newVal == '2')) {
122 this.column = dataList
123 } else {
124 this.column = _.cloneDeep(dataList)
125 this.column.splice(
126 2, 0, {
127 prop: "qlbl",
128 label: "份数"
129 })
130 }
131 },
132 immediate: true
133 }
134 },
135 methods: {
136 }
137 }
138 </script>
139 <style scoped lang='scss'>
140 /deep/.el-table th {
141 height: 30px !important;
142 }
143 /deep/.el-table--small .el-table__cell {
144 padding: 5px;
145 }
146 </style>
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:50:53
5 -->
6 <template>
7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData">
8 </lb-table>
9 </template>
10 <script>
11 import addQlr from './dialog/addQlr.vue'
12 import { mapGetters } from 'vuex'
13 export default {
14 components: {
15 addQlr
16 },
17 computed: {
18 ...mapGetters(["dictData"]),
19 },
20 props: {
21 tableData: {
22 type: Array,
23 default: function () {
24 return []
25 }
26 },
27 gyfs: {
28 type: String,
29 default: '1'
30 }
31 },
32 data () {
33 return {
34 key: 0,
35 dataIndex: 0,
36 dialog: false,
37 details: {},
38 tableDataList: [],
39 qlrCommonTable: [
40 {
41 label: '序号',
42 type: 'index',
43 width: '50',
44 render: (h, scope) => {
45 return (
46 <div>
47 {scope.$index + 1}
48 </div>
49 )
50 }
51 },
52 // {
53 // prop: "bdcdyh",
54 // label: "不动产单元号"
55 // },
56 {
57 prop: "zl",
58 label: "坐落"
59 },
60 {
61 prop: "shbw",
62 label: "室号部位"
63 },
64 {
65 prop: "fwxzmc",
66 label: "房屋性质"
67 },
68 {
69 prop: "sjc",
70 label: "层号"
71 },
72 {
73 prop: "jzmj",
74 label: "建筑面积"
75 },
76 {
77 prop: "fwlxmc",
78 label: "房屋类型"
79 },
80 {
81 prop: "showfwyt",
82 label: "房屋用途"
83 },
84 {
85 prop: "showfwjg",
86 label: "房屋结构"
87 },
88 ],
89 column: this.qlrCommonTable
90 }
91 },
92 watch: {
93 tableData: {
94 handler: function (val, oldVal) {
95 let that = this;
96 if (val.length == 0 || !val) {
97 } else {
98 that.tableDataList = _.cloneDeep(val)
99 }
100 },
101 immediate: true,
102 deep: true
103 },
104 gyfs: {
105 handler (newVal, oldValue) {
106 let dataList = _.cloneDeep(this.qlrCommonTable)
107 if (newVal == '1') {
108 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
109 } else if ((newVal == '2')) {
110 this.column = dataList
111 } else {
112 this.column = _.cloneDeep(dataList)
113 this.column.splice(
114 2, 0, {
115 prop: "qlbl",
116 label: "份数"
117 })
118 }
119 },
120 immediate: true
121 }
122 },
123 methods: {
124 }
125 }
126 </script>
127 <style scoped lang="scss">
128 /deep/.el-table th {
129 height: 30px !important;
130 }
131 /deep/.el-table--small .el-table__cell {
132 padding: 5px;
133 }
134 </style>
135
...@@ -162,9 +162,8 @@ ...@@ -162,9 +162,8 @@
162 </div> 162 </div>
163 </template> 163 </template>
164 <script> 164 <script>
165 //import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
166 import qlxxTable from "../commonTable/qlxxTable.vue"; 165 import qlxxTable from "../commonTable/qlxxTable.vue";
167 import cfdjTable from "@/views/workflow/components/cfdjTable"; 166 import cfdjTable from "../commonTable/cfdjTable";
168 import { BatchInit, batchSaveData } from "@/api/workflow/cfdjFlow.js"; 167 import { BatchInit, batchSaveData } from "@/api/workflow/cfdjFlow.js";
169 import { mapGetters } from "vuex"; 168 import { mapGetters } from "vuex";
170 export default { 169 export default {
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
64 v-else> 64 v-else>
65 抵押不动产列表信息({{ ruleForm.ztQlxxList.length }} 个) 65 抵押不动产列表信息({{ ruleForm.ztQlxxList.length }} 个)
66 <div class="triangle"></div> 66 <div class="triangle"></div>
67 <cfBdcdyTable :tableData="ruleForm.ztQlxxList" /> 67 <qlxxTable :tableData="ruleForm.ztQlxxList" />
68 </div> 68 </div>
69 <div class="slxx_title title-block" v-if="!ruleForm.slsq.djywbm.includes('400')"> 69 <div class="slxx_title title-block" v-if="!ruleForm.slsq.djywbm.includes('400')">
70 抵押信息 70 抵押信息
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
303 </div> 303 </div>
304 </template> 304 </template>
305 <script> 305 <script>
306 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 306 import qlxxTable from "../commonTable/qlxxTable.vue";
307 import dyaqTable from "@/views/workflow/components/dyaqTable"; 307 import dyaqTable from "@/views/workflow/components/dyaqTable";
308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import { batchInit, saveBatchData } from "@/api/workflow/diyaqFlow.js"; 309 import { batchInit, saveBatchData } from "@/api/workflow/diyaqFlow.js";
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
345 this.loading = false 345 this.loading = false
346 }) 346 })
347 }, 347 },
348 components: { qlrCommonTable, cfBdcdyTable,dyaqTable }, 348 components: { qlrCommonTable, qlxxTable,dyaqTable },
349 computed: { 349 computed: {
350 ...mapGetters(["dictData", "flag"]), 350 ...mapGetters(["dictData", "flag"]),
351 }, 351 },
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
73 </el-row> 73 </el-row>
74 </div> 74 </div>
75 <qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/> 75 <qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/>
76 <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/> 76 <qlxxTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/>
77 <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> 77 <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')">
78 权利人信息 78 权利人信息
79 <div class="triangle"></div> 79 <div class="triangle"></div>
...@@ -157,8 +157,8 @@ ...@@ -157,8 +157,8 @@
157 </template> 157 </template>
158 <script> 158 <script>
159 import ywmix from "@/views/ywbl/mixin/index"; 159 import ywmix from "@/views/ywbl/mixin/index";
160 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 160 import qlxxTable from "../commonTable/qlxxTable.vue";
161 import qjhTable from "@/views/workflow/components/qjhTable"; 161 import qjhTable from "../commonTable/qjhTable.vue";
162 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 162 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
163 import { 163 import {
164 BatchInit, 164 BatchInit,
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
172 computed: { 172 computed: {
173 ...mapGetters(["dictData", "flag"]) 173 ...mapGetters(["dictData", "flag"])
174 }, 174 },
175 components: { qlrCommonTable, cfBdcdyTable,qjhTable}, 175 components: { qlrCommonTable, qlxxTable,qjhTable},
176 data () { 176 data () {
177 return { 177 return {
178 isSave: true, 178 isSave: true,
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
64 抵押户信息列表信息({{ ruleForm.hlist.length }} 户) 64 抵押户信息列表信息({{ ruleForm.hlist.length }} 户)
65 <div class="triangle"></div> 65 <div class="triangle"></div>
66 </div> 66 </div>
67 <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')" /> 67 <qlxxTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')" />
68 <qjhTable v-else :tableData="ruleForm.hlist" /> 68 <qjhTable v-else :tableData="ruleForm.hlist" />
69 <div class="slxx_title title-block"> 69 <div class="slxx_title title-block">
70 抵押信息 70 抵押信息
...@@ -304,8 +304,8 @@ ...@@ -304,8 +304,8 @@
304 </div> 304 </div>
305 </template> 305 </template>
306 <script> 306 <script>
307 import qjhTable from "@/views/workflow/components/qjhTable"; 307 import qjhTable from "../commonTable/qjhTable";
308 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 308 import qlxxTable from "../commonTable/qlxxTable.vue";
309 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 309 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
310 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 310 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
311 import { mapGetters } from "vuex"; 311 import { mapGetters } from "vuex";
...@@ -346,7 +346,7 @@ ...@@ -346,7 +346,7 @@
346 this.loading = false 346 this.loading = false
347 }) 347 })
348 }, 348 },
349 components: { qlrCommonTable, qjhTable, cfBdcdyTable }, 349 components: { qlrCommonTable, qjhTable, qlxxTable },
350 computed: { 350 computed: {
351 ...mapGetters(["dictData", "flag"]), 351 ...mapGetters(["dictData", "flag"]),
352 }, 352 },
......