f56b9e97 by 蔡俊立

功能完善

1 parent 469fe58c
...@@ -91,6 +91,13 @@ export default { ...@@ -91,6 +91,13 @@ export default {
91 }).then((res) => { 91 }).then((res) => {
92 if (res.code === 200) { 92 if (res.code === 200) {
93 this.tableData = res.result; 93 this.tableData = res.result;
94 this.tableData.forEach((item,index) => {
95 if(item.sfbxf == '1'){
96 item.zxywh = '';
97 item.zxdbr = '';
98 item.zxsj = '';
99 }
100 })
94 if (this.tableData.length < datas.columns().emptycolNum) { 101 if (this.tableData.length < datas.columns().emptycolNum) {
95 this.emptycolNum = 102 this.emptycolNum =
96 datas.columns().emptycolNum - this.tableData.length; 103 datas.columns().emptycolNum - this.tableData.length;
......
...@@ -29,12 +29,6 @@ export function getForm(tabName, djywbm) { ...@@ -29,12 +29,6 @@ export function getForm(tabName, djywbm) {
29 case "plslxxCfdj": 29 case "plslxxCfdj":
30 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 30 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
31 break; 31 break;
32 case "plslxxjfdj":
33 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
34 break;
35 case "jfslxxCfdj":
36 form = require("@/views/ywbl/cfdj/jfslxx.vue");
37 break;
38 case "clxx": 32 case "clxx":
39 form = require("@/views/workflow/components/clxx.vue"); 33 form = require("@/views/workflow/components/clxx.vue");
40 break; 34 break;
......
...@@ -516,6 +516,10 @@ export default { ...@@ -516,6 +516,10 @@ export default {
516 window.close(); 516 window.close();
517 this.$emit("input", false); 517 this.$emit("input", false);
518 }, 1000); 518 }, 1000);
519 }else{
520 instance.confirmButtonLoading = false;
521 instance.confirmButtonText = "确定";
522 this.$message.error(res.message);
519 } 523 }
520 }); 524 });
521 } else { 525 } else {
......
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 <el-row :gutter="10">
55 <el-col :span="8">
56 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
57 <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
58 </el-form-item>
59 </el-col>
60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
62 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
63 </el-form-item>
64 </el-col>
65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:">
67 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
68 </el-form-item>
69 </el-col>
70 </el-row>
71 <el-row :gutter="10">
72 <el-col :span="8">
73 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:">
74 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
75 </el-form-item>
76 </el-col>
77 <el-col :span="16">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
79 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
80 </el-form-item>
81 </el-col>
82 </el-row>
83 <el-row :gutter="10">
84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
86 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
87 </el-form-item>
88 </el-col>
89 <el-col :span="8">
90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
91 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
92 </el-form-item>
93 </el-col>
94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
96 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
97 </el-form-item>
98 </el-col>
99 </el-row>
100 <div class="slxx_title title-block">
101 查封信息
102 <div class="triangle"></div>
103 </div>
104 <el-row :gutter="10">
105 <el-col :span="8">
106 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
107 <el-input v-model="ruleForm.cfdj.cfjg" disabled></el-input>
108 </el-form-item>
109 </el-col>
110 <el-col :span="8">
111 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
113 disabled @change="changeCflx">
114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
115 </el-option>
116 </el-select>
117 </el-form-item>
118 </el-col>
119 <el-col :span="8">
120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
121 <el-input v-model="ruleForm.cfdj.cfwj" disabled></el-input>
122 </el-form-item>
123 </el-col>
124 </el-row>
125 <el-row :gutter="10">
126 <el-col :span="8">
127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
128 <el-input v-model="ruleForm.cfdj.cfwh" disabled></el-input>
129 </el-form-item>
130 </el-col>
131 <el-col :span="8">
132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
133 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
135 </el-form-item>
136 </el-col>
137 <el-col :span="8">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
139 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" disabled
140 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
141 </el-form-item>
142 </el-col>
143 </el-row>
144 <el-row :gutter="10">
145 <el-col :span="24">
146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
147 <el-input v-model="ruleForm.cfdj.cffw" disabled></el-input>
148 </el-form-item>
149 </el-col>
150 </el-row>
151 <el-row :gutter="10">
152 <el-col :span="24">
153 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
154 <el-input v-model="ruleForm.cfdj.fj" type="textarea" disabled></el-input>
155 </el-form-item>
156 </el-col>
157 </el-row>
158 <el-row :gutter="10">
159 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
161 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" disabled></el-input>
162 </el-form-item>
163 </el-col>
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>
186 </div>
187 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit">
188 <el-form-item :class="flag ? 'marginBot0' : ''">
189 <el-button type="primary" @click="onSubmit">保存</el-button>
190 </el-form-item>
191 </el-row>
192 </el-form>
193 </div>
194 </template>
195 <script>
196 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
197 import { BatchInit, saveData } from "@/api/cfdjFlow.js";
198 import { mapGetters } from "vuex";
199 export default {
200 data () {
201 return {
202 disabled: true,
203 flagTop: this.flag ? "top" : "",
204 rules: {},
205 //传递参数
206 propsParam: {},
207 //页面数据
208 ruleForm: {},
209 //是否可编辑
210 ableEdit: false
211 };
212 },
213 async created () {
214 this.propsParam = this.$attrs;
215 this.ableEdit = this.$parent.showBatch;
216 var formdata = new FormData();
217 formdata.append("bsmSldy", this.propsParam.bsmSldy);
218 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
219 formdata.append("djlx", this.propsParam.djlx);
220 BatchInit(formdata).then((res) => {
221 if (res.code === 200 && res.result) {
222 this.ruleForm = res.result
223 }
224 });
225 },
226 watch: {
227
228 },
229 components: { sqrViewTable },
230 props: {
231 flag: {
232 type: Boolean,
233 default: false,
234 },
235 fetch: {
236 type: Boolean,
237 default: false,
238 },
239 },
240 computed: {
241 ...mapGetters(["dictData"]),
242 },
243
244 methods: {
245 onSubmit () {
246 saveData(this.ruleForm).then((res) => {
247 if (res.code === 200) {
248 this.$message.success('保存成功');
249 }
250 });
251 },
252 changeCflx(e){
253 let cflxItem = {}
254 cflxItem = this.dictData['A32'].find((item) => {
255 return item.dcode == e
256 })
257 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
258 }
259 },
260 };
261 </script>
262 <style scoped lang='scss'>
263 @import "~@/styles/public.scss";
264 @import "~@/styles/slxx/slxx.scss";
265 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -59,65 +59,89 @@ ...@@ -59,65 +59,89 @@
59 <el-row :gutter="10"> 59 <el-row :gutter="10">
60 <el-col :span="8"> 60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 61 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
62 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input> 62 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype || isJfOperation"></el-input>
63 </el-form-item> 63 </el-form-item>
64 </el-col> 64 </el-col>
65 <el-col :span="8"> 65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
67 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" 67 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || isJfOperation"></el-input>
68 :disabled="$route.query.viewtype" @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> 68 </el-form-item>
73 </el-col> 69 </el-col>
74 <el-col :span="8"> 70 <el-col :span="8">
75 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc">
76 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input> 72 <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input>
77 </el-form-item> 73 </el-form-item>
78 </el-col> 74 </el-col>
79 </el-row> 75 </el-row>
80 <el-row :gutter="10"> 76 <el-row :gutter="10">
81 <el-col :span="8"> 77 <el-col :span="8">
82 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
83 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input> 79 <el-input v-model="ruleForm.cfdj.cfqx" :disabled="$route.query.viewtype || isJfOperation"></el-input>
84 </el-form-item> 80 </el-form-item>
85 </el-col> 81 </el-col>
86 <el-col :span="8"> 82 <el-col :span="8">
87 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 83 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
88 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype" 84 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
89 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 85 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
90 </el-form-item> 86 </el-form-item>
91 </el-col> 87 </el-col>
92 <el-col :span="8"> 88 <el-col :span="8">
93 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
94 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype" 90 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || isJfOperation"
95 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 91 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
96 </el-form-item> 92 </el-form-item>
97 </el-col> 93 </el-col>
98 </el-row> 94 </el-row>
99 <el-row :gutter="10"> 95 <el-row :gutter="10">
100 <el-col :span="24"> 96 <el-col :span="8">
97 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
98 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || isJfOperation"></el-input>
99 </el-form-item>
100 </el-col>
101 <el-col :span="16">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 102 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
102 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input> 103 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || isJfOperation"></el-input>
103 </el-form-item> 104 </el-form-item>
104 </el-col> 105 </el-col>
105 </el-row> 106 </el-row>
106 <el-row :gutter="10"> 107 <el-row :gutter="10">
107 <el-col :span="24"> 108 <el-col :span="24">
108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 109 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
109 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input> 110 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || isJfOperation"></el-input>
110 </el-form-item> 111 </el-form-item>
111 </el-col> 112 </el-col>
112 </el-row> 113 </el-row>
113 <el-row :gutter="10"> 114 <el-row :gutter="10">
114 <el-col> 115 <el-col>
115 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
116 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input> 117 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || isJfOperation"></el-input>
118 </el-form-item>
119 </el-col>
120 </el-row>
121 <div v-if="propsParam.djlx == '400'">
122 <div class="slxx_title title-block">
123 解封信息
124 <div class="triangle"></div>
125 </div>
126 <el-row :gutter="10">
127 <el-col :span="8">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
129 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
130 </el-form-item>
131 </el-col>
132 <el-col :span="8">
133 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
134 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
135 </el-form-item>
136 </el-col>
137 <el-col :span="8">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
139 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
117 </el-form-item> 140 </el-form-item>
118 </el-col> 141 </el-col>
119 </el-row> 142 </el-row>
120 </div> 143 </div>
144 </div>
121 <el-row class="btn" v-if="!$route.query.viewtype"> 145 <el-row class="btn" v-if="!$route.query.viewtype">
122 <el-form-item :class="flag ? 'marginBot0' : ''"> 146 <el-form-item :class="flag ? 'marginBot0' : ''">
123 <el-button type="primary" @click="onSubmit">保存</el-button> 147 <el-button type="primary" @click="onSubmit">保存</el-button>
...@@ -140,12 +164,16 @@ export default { ...@@ -140,12 +164,16 @@ export default {
140 propsParam: {}, 164 propsParam: {},
141 //页面数据 165 //页面数据
142 ruleForm: {}, 166 ruleForm: {},
167 isJfOperation: false,
143 tableData: [] 168 tableData: []
144 }; 169 };
145 }, 170 },
146 created () { 171 created () {
147 this.propsParam = this.$attrs; 172 this.propsParam = this.$attrs;
148 var formdata = new FormData(); 173 var formdata = new FormData();
174 if(this.propsParam.djlx == '400'){
175 this.isJfOperation = true;
176 }
149 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 177 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
150 formdata.append("djlx", this.propsParam.djlx); 178 formdata.append("djlx", this.propsParam.djlx);
151 BatchInit(formdata).then((res) => { 179 BatchInit(formdata).then((res) => {
......
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.yqlxxList" />
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
...@@ -53,11 +53,6 @@ ...@@ -53,11 +53,6 @@
53 </div> 53 </div>
54 <el-row :gutter="10"> 54 <el-row :gutter="10">
55 <el-col :span="8"> 55 <el-col :span="8">
56 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
57 <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
58 </el-form-item>
59 </el-col>
60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> 56 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
62 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input> 57 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
63 </el-form-item> 58 </el-form-item>
...@@ -67,21 +62,21 @@ ...@@ -67,21 +62,21 @@
67 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input> 62 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
68 </el-form-item> 63 </el-form-item>
69 </el-col> 64 </el-col>
70 </el-row>
71 <el-row :gutter="10">
72 <el-col :span="8"> 65 <el-col :span="8">
73 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
74 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input> 67 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
75 </el-form-item> 68 </el-form-item>
76 </el-col> 69 </el-col>
70 </el-row>
71 <el-row :gutter="10">
77 <el-col :span="8"> 72 <el-col :span="8">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh"> 73 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
79 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 74 <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
80 </el-form-item> 75 </el-form-item>
81 </el-col> 76 </el-col>
82 <el-col :span="8"> 77 <el-col :span="16">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
84 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input> 79 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
85 </el-form-item> 80 </el-form-item>
86 </el-col> 81 </el-col>
87 </el-row> 82 </el-row>
...@@ -91,9 +86,14 @@ ...@@ -91,9 +86,14 @@
91 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input> 86 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
92 </el-form-item> 87 </el-form-item>
93 </el-col> 88 </el-col>
94 <el-col :span="16"> 89 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> 90 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
96 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 91 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
92 </el-form-item>
93 </el-col>
94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:">
96 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 </el-row> 99 </el-row>
...@@ -108,29 +108,25 @@ ...@@ -108,29 +108,25 @@
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.cfwh">
112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" 112 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
113 :disabled="$route.query.viewtype || ableEdit" @change="changeCflx">
114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
115 </el-option>
116 </el-select>
117 </el-form-item> 113 </el-form-item>
118 </el-col> 114 </el-col>
119 <el-col :span="8"> 115 <el-col :span="8">
120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc">
121 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit"></el-input> 117 <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input>
122 </el-form-item> 118 </el-form-item>
123 </el-col> 119 </el-col>
124 </el-row> 120 </el-row>
125 <el-row :gutter="10"> 121 <el-row :gutter="10">
126 <el-col :span="8"> 122 <el-col :span="8">
127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 123 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
128 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit"></el-input> 124 <el-input v-model="ruleForm.cfdj.cfqx" :disabled="$route.query.viewtype || ableEdit"></el-input>
129 </el-form-item> 125 </el-form-item>
130 </el-col> 126 </el-col>
131 <el-col :span="8"> 127 <el-col :span="8">
132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 128 <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" 129 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 130 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
135 </el-form-item> 131 </el-form-item>
136 </el-col> 132 </el-col>
...@@ -142,7 +138,12 @@ ...@@ -142,7 +138,12 @@
142 </el-col> 138 </el-col>
143 </el-row> 139 </el-row>
144 <el-row :gutter="10"> 140 <el-row :gutter="10">
145 <el-col :span="24"> 141 <el-col :span="8">
142 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
143 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
144 </el-form-item>
145 </el-col>
146 <el-col :span="16">
146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 147 <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> 148 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || ableEdit"></el-input>
148 </el-form-item> 149 </el-form-item>
...@@ -162,6 +163,29 @@ ...@@ -162,6 +163,29 @@
162 </el-form-item> 163 </el-form-item>
163 </el-col> 164 </el-col>
164 </el-row> 165 </el-row>
166 <div v-if="propsParam.djlx == '400'">
167 <div class="slxx_title title-block">
168 解封信息
169 <div class="triangle"></div>
170 </div>
171 <el-row :gutter="10">
172 <el-col :span="8">
173 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
174 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
175 </el-form-item>
176 </el-col>
177 <el-col :span="8">
178 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
179 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
180 </el-form-item>
181 </el-col>
182 <el-col :span="8">
183 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
184 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
185 </el-form-item>
186 </el-col>
187 </el-row>
188 </div>
165 </div> 189 </div>
166 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit"> 190 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit">
167 <el-form-item :class="flag ? 'marginBot0' : ''"> 191 <el-form-item :class="flag ? 'marginBot0' : ''">
......