1111
Showing
4 changed files
with
154 additions
and
26 deletions
... | @@ -7,7 +7,6 @@ | ... | @@ -7,7 +7,6 @@ |
7 | export function getForm(tabName) { | 7 | export function getForm(tabName) { |
8 | let form; | 8 | let form; |
9 | switch (tabName) { | 9 | switch (tabName) { |
10 | |||
11 | case "zdjbxx": | 10 | case "zdjbxx": |
12 | form = require("@/views/registerBook/zdjbxx.vue"); | 11 | form = require("@/views/registerBook/zdjbxx.vue"); |
13 | break; | 12 | break; | ... | ... |
src/views/workflow/components/qjhTable.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:40:48 | ||
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: "jzmj", | ||
70 | label: "建筑面积" | ||
71 | }, | ||
72 | { | ||
73 | prop: "showfwyt", | ||
74 | label: "房屋用途" | ||
75 | }, | ||
76 | { | ||
77 | prop: "showfwjg", | ||
78 | label: "房屋结构" | ||
79 | }, | ||
80 | ], | ||
81 | column: this.qlrCommonTable | ||
82 | } | ||
83 | }, | ||
84 | watch: { | ||
85 | tableData: { | ||
86 | handler: function (val, oldVal) { | ||
87 | let that = this; | ||
88 | if (val.length == 0 || !val) { | ||
89 | } else { | ||
90 | that.tableDataList = _.cloneDeep(val) | ||
91 | } | ||
92 | }, | ||
93 | immediate: true, | ||
94 | deep: true | ||
95 | }, | ||
96 | gyfs: { | ||
97 | handler (newVal, oldValue) { | ||
98 | let dataList = _.cloneDeep(this.qlrCommonTable) | ||
99 | if (newVal == '1') { | ||
100 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
101 | } else if ((newVal == '2')) { | ||
102 | this.column = dataList | ||
103 | } else { | ||
104 | this.column = _.cloneDeep(dataList) | ||
105 | this.column.splice( | ||
106 | 2, 0, { | ||
107 | prop: "fs", | ||
108 | label: "份数" | ||
109 | }) | ||
110 | } | ||
111 | }, | ||
112 | immediate: true | ||
113 | } | ||
114 | }, | ||
115 | methods: { | ||
116 | } | ||
117 | } | ||
118 | </script> | ||
119 | <style scoped lang='scss'> | ||
120 | </style> |
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | 受理信息 | 8 | 受理信息 |
9 | <div class="triangle"></div> | 9 | <div class="triangle"></div> |
10 | </div> | 10 | </div> |
11 | <el-row :gutter="10"> | 11 | <el-row :gutter="10" v-if="ruleForm.flow"> |
12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
13 | <el-form-item label="业务号:"> | 13 | <el-form-item label="业务号:"> |
14 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> | 14 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> |
... | @@ -25,9 +25,9 @@ | ... | @@ -25,9 +25,9 @@ |
25 | </el-form-item> | 25 | </el-form-item> |
26 | </el-col> | 26 | </el-col> |
27 | </el-row> | 27 | </el-row> |
28 | <el-row :gutter="10"> | 28 | <el-row :gutter="10" v-if="ruleForm.sldyList"> |
29 | <el-col :span="8"> | 29 | <el-col :span="8"> |
30 | <el-form-item label="权利类型1:"> | 30 | <el-form-item label="权利类型:"> |
31 | <el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input> | 31 | <el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input> |
32 | </el-form-item> | 32 | </el-form-item> |
33 | </el-col> | 33 | </el-col> |
... | @@ -43,15 +43,14 @@ | ... | @@ -43,15 +43,14 @@ |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <div class="slxx_title title-block"> | 45 | <div class="slxx_title title-block"> |
46 | 抵押户信息列表信息 | 46 | 抵押户信息列表信息({{ruleForm.hlist.length}} 户) |
47 | <div class="triangle"></div> | 47 | <div class="triangle"></div> |
48 | </div> | 48 | </div> |
49 | 49 | <qjhTable :tableData="ruleForm.hlist" /> | |
50 | <div class="slxx_title title-block"> | 50 | <div class="slxx_title title-block"> |
51 | 抵押信息 | 51 | 抵押信息 |
52 | <div class="triangle"></div> | 52 | <div class="triangle"></div> |
53 | </div> | 53 | </div> |
54 | |||
55 | <el-row :gutter="10"> | 54 | <el-row :gutter="10"> |
56 | <el-col :span="8"> | 55 | <el-col :span="8"> |
57 | <el-form-item label="抵押方式:"> | 56 | <el-form-item label="抵押方式:"> |
... | @@ -61,8 +60,16 @@ | ... | @@ -61,8 +60,16 @@ |
61 | <el-radio label="2">最高额抵押</el-radio> | 60 | <el-radio label="2">最高额抵押</el-radio> |
62 | </el-radio-group> | 61 | </el-radio-group> |
63 | </el-form-item> | 62 | </el-form-item> |
63 | </el-col> | ||
64 | <el-col :span="8"> | ||
65 | <el-form-item label="抵押金额类型:"> | ||
66 | <el-radio-group v-model="ruleForm.diyaqList[0].dyjelx"> | ||
67 | <el-radio label="0">独立抵押</el-radio> | ||
68 | <el-radio label="1">整体抵押</el-radio> | ||
69 | </el-radio-group> | ||
70 | </el-form-item> | ||
64 | </el-col> | 71 | </el-col> |
65 | <el-col :span="16"> | 72 | <el-col :span="8"> |
66 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 73 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
67 | <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz"> | 74 | <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz"> |
68 | <el-radio label="1">启用</el-radio> | 75 | <el-radio label="1">启用</el-radio> |
... | @@ -76,12 +83,20 @@ | ... | @@ -76,12 +83,20 @@ |
76 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> | 83 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> |
77 | <el-form-item label="被担保主债权数额:"> | 84 | <el-form-item label="被担保主债权数额:"> |
78 | <el-input v-model="ruleForm.diyaqList[0].bdbzzqse"></el-input> | 85 | <el-input v-model="ruleForm.diyaqList[0].bdbzzqse"></el-input> |
86 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1'"> | ||
87 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
88 | </el-option> | ||
89 | </el-select> | ||
79 | </el-form-item> | 90 | </el-form-item> |
80 | </el-col> | 91 | </el-col> |
81 | 92 | ||
82 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> | 93 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> |
83 | <el-form-item label="最高债权额:"> | 94 | <el-form-item label="最高债权额:"> |
84 | <el-input v-model="ruleForm.diyaqList[0].zgzqse"></el-input> | 95 | <el-input v-model="ruleForm.diyaqList[0].zgzqse"></el-input> |
96 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1'"> | ||
97 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
98 | </el-option> | ||
99 | </el-select> | ||
85 | </el-form-item> | 100 | </el-form-item> |
86 | </el-col> | 101 | </el-col> |
87 | 102 | ||
... | @@ -192,6 +207,7 @@ | ... | @@ -192,6 +207,7 @@ |
192 | </div> | 207 | </div> |
193 | </template> | 208 | </template> |
194 | <script> | 209 | <script> |
210 | import qjhTable from "@/views/workflow/components/qjhTable"; | ||
195 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 211 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
196 | import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; | 212 | import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; |
197 | import { mapGetters } from "vuex"; | 213 | import { mapGetters } from "vuex"; |
... | @@ -207,14 +223,12 @@ | ... | @@ -207,14 +223,12 @@ |
207 | formdata.append("isEdit", this.ableOperation); | 223 | formdata.append("isEdit", this.ableOperation); |
208 | bacthInit(formdata).then((res) => { | 224 | bacthInit(formdata).then((res) => { |
209 | if (res.code === 200 && res.result) { | 225 | if (res.code === 200 && res.result) { |
210 | // this.$nextTick(()=>{this.ruleForm = res.result;}) | ||
211 | this.ruleForm = res.result; | 226 | this.ruleForm = res.result; |
212 | console.log(this.ruleForm); | ||
213 | this.$endLoading(); | 227 | this.$endLoading(); |
214 | } | 228 | } |
215 | }) | 229 | }) |
216 | }, | 230 | }, |
217 | components: { qlrCommonTable }, | 231 | components: { qlrCommonTable,qjhTable }, |
218 | computed: { | 232 | computed: { |
219 | ...mapGetters(["dictData", "flag"]), | 233 | ...mapGetters(["dictData", "flag"]), |
220 | }, | 234 | }, |
... | @@ -224,24 +238,11 @@ | ... | @@ -224,24 +238,11 @@ |
224 | ableOperation: true, | 238 | ableOperation: true, |
225 | disabled: true, | 239 | disabled: true, |
226 | czrOptions: [], | 240 | czrOptions: [], |
227 | ruleForm: { | 241 | ruleForm: {}, |
228 | // cfdjList:[]//查封登记 | ||
229 | // ,diyaqList:[]//抵押权 | ||
230 | // ,fdcq2List:[]//房屋信息集合 | ||
231 | // ,qlrList:[]//权利人 | ||
232 | // ,ywrList:[]//义务人 | ||
233 | // ,qlxxList:[]//权利信息集合 | ||
234 | // ,sldyList:[]//受理不动产单元集合 | ||
235 | // ,slsq: {}//受理申请流程明细 | ||
236 | // ,flow: {}//受理申请流程明细 | ||
237 | // ,sqrList:[]//申请人 | ||
238 | // ,ssQlxxList:[]//上手权利信息 | ||
239 | // ,user:{}//用户 | ||
240 | // ,zdjbxx: {}//宗地基本信息 | ||
241 | }, | ||
242 | //传递参数 | 242 | //传递参数 |
243 | propsParam: {}, | 243 | propsParam: {}, |
244 | rules: {}, | 244 | rules: {}, |
245 | tableData: [] | ||
245 | }; | 246 | }; |
246 | }, | 247 | }, |
247 | methods: { | 248 | methods: { | ... | ... |
... | @@ -127,12 +127,20 @@ | ... | @@ -127,12 +127,20 @@ |
127 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 127 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
128 | <el-form-item label="被担保主债权数额:"> | 128 | <el-form-item label="被担保主债权数额:"> |
129 | <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input> | 129 | <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input> |
130 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'"> | ||
131 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
132 | </el-option> | ||
133 | </el-select> | ||
130 | </el-form-item> | 134 | </el-form-item> |
131 | </el-col> | 135 | </el-col> |
132 | 136 | ||
133 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 137 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
134 | <el-form-item label="最高债权额:"> | 138 | <el-form-item label="最高债权额:"> |
135 | <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> | 139 | <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> |
140 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'"> | ||
141 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
142 | </el-option> | ||
143 | </el-select> | ||
136 | </el-form-item> | 144 | </el-form-item> |
137 | </el-col> | 145 | </el-col> |
138 | 146 | ... | ... |
-
Please register or sign in to post a comment