0e919932 by 蔡俊立

解封

1 parent 40d52200
...@@ -32,6 +32,9 @@ export function getForm(tabName, djywbm) { ...@@ -32,6 +32,9 @@ export function getForm(tabName, djywbm) {
32 case "plslxxCfdj": 32 case "plslxxCfdj":
33 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 33 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
34 break; 34 break;
35 case "plslxxjfdj":
36 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
37 break;
35 case "jfslxxCfdj": 38 case "jfslxxCfdj":
36 form = require("@/views/ywbl/cfdj/jfslxx.vue"); 39 form = require("@/views/ywbl/cfdj/jfslxx.vue");
37 break; 40 break;
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 </el-col> 48 </el-col>
49 </el-row> 49 </el-row>
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 <el-row :gutter="10"> 54 <el-row :gutter="10">
...@@ -104,13 +104,13 @@ ...@@ -104,13 +104,13 @@
104 <el-row :gutter="10"> 104 <el-row :gutter="10">
105 <el-col :span="8"> 105 <el-col :span="8">
106 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 106 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
107 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype || ableEdit"></el-input> 107 <el-input v-model="ruleForm.cfdj.cfjg" disabled></el-input>
108 </el-form-item> 108 </el-form-item>
109 </el-col> 109 </el-col>
110 <el-col :span="8"> 110 <el-col :span="8">
111 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> 111 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" 112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
113 :disabled="$route.query.viewtype || ableEdit" @change="changeCflx"> 113 disabled @change="changeCflx">
114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
115 </el-option> 115 </el-option>
116 </el-select> 116 </el-select>
...@@ -118,25 +118,25 @@ ...@@ -118,25 +118,25 @@
118 </el-col> 118 </el-col>
119 <el-col :span="8"> 119 <el-col :span="8">
120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
121 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit"></el-input> 121 <el-input v-model="ruleForm.cfdj.cfwj" disabled></el-input>
122 </el-form-item> 122 </el-form-item>
123 </el-col> 123 </el-col>
124 </el-row> 124 </el-row>
125 <el-row :gutter="10"> 125 <el-row :gutter="10">
126 <el-col :span="8"> 126 <el-col :span="8">
127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
128 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit"></el-input> 128 <el-input v-model="ruleForm.cfdj.cfwh" disabled></el-input>
129 </el-form-item> 129 </el-form-item>
130 </el-col> 130 </el-col>
131 <el-col :span="8"> 131 <el-col :span="8">
132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
133 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype || ableEdit" 133 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
135 </el-form-item> 135 </el-form-item>
136 </el-col> 136 </el-col>
137 <el-col :span="8"> 137 <el-col :span="8">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
139 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || ableEdit" 139 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" disabled
140 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 140 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
...@@ -144,24 +144,45 @@ ...@@ -144,24 +144,45 @@
144 <el-row :gutter="10"> 144 <el-row :gutter="10">
145 <el-col :span="24"> 145 <el-col :span="24">
146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
147 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || ableEdit"></el-input> 147 <el-input v-model="ruleForm.cfdj.cffw" disabled></el-input>
148 </el-form-item> 148 </el-form-item>
149 </el-col> 149 </el-col>
150 </el-row> 150 </el-row>
151 <el-row :gutter="10"> 151 <el-row :gutter="10">
152 <el-col :span="24"> 152 <el-col :span="24">
153 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 153 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
154 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit"></el-input> 154 <el-input v-model="ruleForm.cfdj.fj" type="textarea" disabled></el-input>
155 </el-form-item> 155 </el-form-item>
156 </el-col> 156 </el-col>
157 </el-row> 157 </el-row>
158 <el-row :gutter="10"> 158 <el-row :gutter="10">
159 <el-col> 159 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
161 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || ableEdit"></el-input> 161 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" disabled></el-input>
162 </el-form-item> 162 </el-form-item>
163 </el-col> 163 </el-col>
164 </el-row> 164 </el-row>
165 <div class="slxx_title title-block">
166 解封信息
167 <div class="triangle"></div>
168 </div>
169 <el-row :gutter="10">
170 <el-col :span="8">
171 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
172 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
173 </el-form-item>
174 </el-col>
175 <el-col :span="8">
176 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
177 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
178 </el-form-item>
179 </el-col>
180 <el-col :span="8">
181 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
182 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
183 </el-form-item>
184 </el-col>
185 </el-row>
165 </div> 186 </div>
166 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit"> 187 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit">
167 <el-form-item :class="flag ? 'marginBot0' : ''"> 188 <el-form-item :class="flag ? 'marginBot0' : ''">
......
...@@ -110,10 +110,6 @@ ...@@ -110,10 +110,6 @@
110 </el-form-item> 110 </el-form-item>
111 </el-col> 111 </el-col>
112 </el-row> 112 </el-row>
113 <div class="slxx_title title-block">
114 登记原因
115 <div class="triangle"></div>
116 </div>
117 <el-row :gutter="10"> 113 <el-row :gutter="10">
118 <el-col> 114 <el-col>
119 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 115 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
......
1 <template>
2 <div class="slxx">
3 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
4 label-width="120px">
5 <div class="slxx_con">
6 <div class="slxx_title title-block">
7 受理信息
8 <div class="triangle"></div>
9 </div>
10 <el-row :gutter="10">
11 <el-col :span="8">
12 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slywxx.ywh">
13 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
14 </el-form-item>
15 </el-col>
16 <el-col :span="8">
17 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slywxx.slry">
18 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="8">
22 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slywxx.slsj">
23 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
24 </el-form-item>
25 </el-col>
26 </el-row>
27 <el-row :gutter="10">
28 <el-col :span="8">
29 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slywxx.qllx">
30 <el-select disabled v-model="ruleForm.slywxx.qllx" filterable clearable placeholder="请选择权利类型">
31 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
32 </el-option>
33 </el-select>
34 </el-form-item>
35 </el-col>
36 <el-col :span="8">
37 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slywxx.djlx">
38 <el-select disabled v-model="ruleForm.slywxx.djlx" filterable clearable placeholder="请选择登记类型">
39 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
40 </el-option>
41 </el-select>
42 </el-form-item>
43 </el-col>
44 <el-col :span="8">
45 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slywxx.djqx">
46 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
47 </el-form-item>
48 </el-col>
49 </el-row>
50 <div class="slxx_title title-block">
51 解封不动产列表
52 <div class="triangle"></div>
53 </div>
54 <cfBdcdyTable :tableData="ruleForm.qlxx" />
55 <div class="slxx_title title-block">
56 批量查封信息
57 <div class="triangle"></div>
58 </div>
59 <el-row :gutter="10">
60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
62 <el-input v-model="ruleForm.cfdj.cfjg" disabled></el-input>
63 </el-form-item>
64 </el-col>
65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
67 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
68 disabled @change="changeCflx">
69 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
70 </el-option>
71 </el-select>
72 </el-form-item>
73 </el-col>
74 <el-col :span="8">
75 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
76 <el-input v-model="ruleForm.cfdj.cfwj" disabled></el-input>
77 </el-form-item>
78 </el-col>
79 </el-row>
80 <el-row :gutter="10">
81 <el-col :span="8">
82 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
83 <el-input v-model="ruleForm.cfdj.cfwh" disabled></el-input>
84 </el-form-item>
85 </el-col>
86 <el-col :span="8">
87 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
88 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
89 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
90 </el-form-item>
91 </el-col>
92 <el-col :span="8">
93 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
94 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" disabled
95 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
96 </el-form-item>
97 </el-col>
98 </el-row>
99 <el-row :gutter="10">
100 <el-col :span="24">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
102 <el-input v-model="ruleForm.cfdj.cffw" disabled></el-input>
103 </el-form-item>
104 </el-col>
105 </el-row>
106 <el-row :gutter="10">
107 <el-col :span="24">
108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
109 <el-input v-model="ruleForm.cfdj.fj" type="textarea" disabled></el-input>
110 </el-form-item>
111 </el-col>
112 </el-row>
113 <el-row :gutter="10">
114 <el-col>
115 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
116 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" disabled></el-input>
117 </el-form-item>
118 </el-col>
119 </el-row>
120 <div class="slxx_title title-block">
121 批量解封信息
122 <div class="triangle"></div>
123 </div>
124 <el-row :gutter="10">
125 <el-col :span="8">
126 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
127 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
128 </el-form-item>
129 </el-col>
130 <el-col :span="8">
131 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
132 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
133 </el-form-item>
134 </el-col>
135 <el-col :span="8">
136 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
137 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
138 </el-form-item>
139 </el-col>
140 </el-row>
141 </div>
142 <el-row class="btn" v-if="!$route.query.viewtype">
143 <el-form-item :class="flag ? 'marginBot0' : ''">
144 <el-button type="primary" @click="onSubmit">保存</el-button>
145 </el-form-item>
146 </el-row>
147 </el-form>
148 </div>
149 </template>
150 <script>
151 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
152 import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
153 import { mapGetters } from "vuex";
154 export default {
155 data () {
156 return {
157 disabled: true,
158 flagTop: this.flag ? "top" : "",
159 rules: {},
160 //传递参数
161 propsParam: {},
162 //页面数据
163 ruleForm: {},
164 tableData: []
165 };
166 },
167 created () {
168 this.propsParam = this.$attrs;
169 var formdata = new FormData();
170 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
171 formdata.append("djlx", this.propsParam.djlx);
172 BatchInit(formdata).then((res) => {
173 if (res.code === 200 && res.result) {
174 this.ruleForm = res.result
175 }
176 });
177 },
178 watch: {
179
180 },
181 components: { cfBdcdyTable },
182 props: {
183 flag: {
184 type: Boolean,
185 default: false,
186 },
187 fetch: {
188 type: Boolean,
189 default: false,
190 },
191 },
192 computed: {
193 ...mapGetters(["dictData"]),
194 },
195
196 methods: {
197 onSubmit () {
198 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
199 batchSaveData(this.ruleForm).then((res) => {
200 if (res.code === 200) {
201 this.$message.success('保存成功');
202 }
203 });
204 },
205 changeCflx(e){
206 let cflxItem = {}
207 cflxItem = this.dictData['A32'].find((item) => {
208 return item.dcode == e
209 })
210 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
211 }
212 },
213 };
214 </script>
215 <style scoped lang='scss'>
216 @import "~@/styles/public.scss";
217 @import "~@/styles/slxx/slxx.scss";
218
219 </style>
...\ No newline at end of file ...\ No newline at end of file