27b7b15f by 田浩浩
2 parents 2f6c5f7e 2dbde617
...@@ -3,14 +3,14 @@ import request from '@/utils/request' ...@@ -3,14 +3,14 @@ import request from '@/utils/request'
3 // 初始化内容 3 // 初始化内容
4 export function Init(data) { 4 export function Init(data) {
5 let apiUrl = ""; 5 let apiUrl = "";
6 switch (data.get("sqywbm")) { 6 switch (data.get("djlx")) {
7 case "B39300": 7 case "300":
8 apiUrl = "/ywbl/cfdj/xfInit"; 8 apiUrl = "/ywbl/cfdj/xfInit";
9 break; 9 break;
10 case "B39400": 10 case "400":
11 apiUrl = "/ywbl/cfdj/jfInit"; 11 apiUrl = "/ywbl/cfdj/jfInit";
12 break; 12 break;
13 case "B39800": 13 case "800":
14 apiUrl = "/ywbl/cfdj/cfInit"; 14 apiUrl = "/ywbl/cfdj/cfInit";
15 break; 15 break;
16 } 16 }
...@@ -20,11 +20,22 @@ export function Init(data) { ...@@ -20,11 +20,22 @@ export function Init(data) {
20 data 20 data
21 }) 21 })
22 } 22 }
23 23 //批量初始化
24 //批量查封 24 export function BatchInit(data) {
25 export function cfBatchInit (data) { 25 let apiUrl = "";
26 switch (data.get("djlx")) {
27 case "300":
28 apiUrl = "/ywbl/cfdj/xfBatchInit";
29 break;
30 case "400":
31 apiUrl = "/ywbl/cfdj/jfBatchInit";
32 break;
33 case "800":
34 apiUrl = "/ywbl/cfdj/cfBatchInit";
35 break;
36 }
26 return request({ 37 return request({
27 url: '/ywbl/cfdj/cfBatchInit', 38 url: apiUrl,
28 method: 'post', 39 method: 'post',
29 data 40 data
30 }) 41 })
......
1 <template> 1 <template>
2 <div> 2 <div>
3 <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList"> 3 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
4 </lb-table> 4 </lb-table>
5 <addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" /> 5 <addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" />
6 </div> 6 </div>
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
39 width: '50', 39 width: '50',
40 renderHeader: (h, scope) => { 40 renderHeader: (h, scope) => {
41 return <div> { 41 return <div> {
42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
43 } 43 }
44 </div> 44 </div>
45 }, 45 },
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
48 <div> 48 <div>
49 { 49 {
50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
51 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 51 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
52 } 52 }
53 </div> 53 </div>
54 ) 54 )
...@@ -86,10 +86,10 @@ export default { ...@@ -86,10 +86,10 @@ export default {
86 this.$route.query.viewtype == 1 ? <el-button 86 this.$route.query.viewtype == 1 ? <el-button
87 icon="el-icon-view" 87 icon="el-icon-view"
88 type="text" 88 type="text"
89 onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> : <el-button 89 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
90 icon="el-icon-edit-outline" 90 icon="el-icon-edit-outline"
91 type="text" 91 type="text"
92 onClick={() => { this.handleEdit(scope.$index, scope.row) }}>编辑</el-button> 92 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
93 } 93 }
94 </div> 94 </div>
95 ) 95 )
...@@ -142,24 +142,29 @@ export default { ...@@ -142,24 +142,29 @@ export default {
142 this.key++ 142 this.key++
143 this.$emit('upDateQlrxxList', this.tableDataList) 143 this.$emit('upDateQlrxxList', this.tableDataList)
144 }, 144 },
145 // 添加 145
146 handleAdd () { 146 // 新增
147 addClick () {
147 this.dialog = true 148 this.dialog = true
148 }, 149 },
149 // 减 150
150 handleMinus (index, row) { 151 // 删除
152 deleClick (index, row) {
151 this.tableData.splice(index, 1) 153 this.tableData.splice(index, 1)
152 }, 154 },
155
153 // 身份证读取 156 // 身份证读取
154 readClick () { }, 157 readClick () { },
158
155 // 修改 159 // 修改
156 handleEdit (index, row) { 160 editClick (index, row) {
157 console.log(row, 'rowrowrowrowrow'); 161 console.log(row, 'rowrowrowrowrow');
158 this.dataIndex = index 162 this.dataIndex = index
159 this.dialog = true 163 this.dialog = true
160 this.details = row 164 this.details = row
161 }, 165 },
162 handleView () { 166
167 queryViewClick () {
163 this.dialog = true 168 this.dialog = true
164 } 169 }
165 } 170 }
......
...@@ -20,6 +20,9 @@ export function getForm(tabName, djywbm) { ...@@ -20,6 +20,9 @@ export function getForm(tabName, djywbm) {
20 case "fwsyqslxx300": 20 case "fwsyqslxx300":
21 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 21 form = require("@/views/ywbl/fdcq2/slxx300.vue");
22 break; 22 break;
23 // case "fwsyqslxx400":
24 // form = require("@/views/ywbl/fdcq2/slxx400.vue");
25 // break;
23 case "tdslxxCfdj": 26 case "tdslxxCfdj":
24 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 27 form = require("@/views/ywbl/cfdj/tdslxx.vue");
25 break; 28 break;
...@@ -29,6 +32,12 @@ export function getForm(tabName, djywbm) { ...@@ -29,6 +32,12 @@ export function getForm(tabName, djywbm) {
29 case "plslxxCfdj": 32 case "plslxxCfdj":
30 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 33 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
31 break; 34 break;
35 case "plslxxjfdj":
36 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
37 break;
38 case "jfslxxCfdj":
39 form = require("@/views/ywbl/cfdj/jfslxx.vue");
40 break;
32 case "clxx": 41 case "clxx":
33 form = require("@/views/workflow/components/clxx.vue"); 42 form = require("@/views/workflow/components/clxx.vue");
34 break; 43 break;
......
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 { Init, 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("djlx", this.propsParam.djlx);
219 Init(formdata).then((res) => {
220 if (res.code === 200 && res.result) {
221 this.ruleForm = res.result
222 }
223 });
224 },
225 watch: {
226
227 },
228 components: { sqrViewTable },
229 props: {
230 flag: {
231 type: Boolean,
232 default: false,
233 },
234 fetch: {
235 type: Boolean,
236 default: false,
237 },
238 },
239 computed: {
240 ...mapGetters(["dictData"]),
241 },
242
243 methods: {
244 onSubmit () {
245 saveData(this.ruleForm).then((res) => {
246 if (res.code === 200) {
247 this.$message.success('保存成功');
248 }
249 });
250 },
251 changeCflx(e){
252 let cflxItem = {}
253 cflxItem = this.dictData['A32'].find((item) => {
254 return item.dcode == e
255 })
256 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
257 }
258 },
259 };
260 </script>
261 <style scoped lang='scss'>
262 @import "~@/styles/public.scss";
263 @import "~@/styles/slxx/slxx.scss";
264 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -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">
...@@ -132,7 +128,7 @@ ...@@ -132,7 +128,7 @@
132 </template> 128 </template>
133 <script> 129 <script>
134 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 130 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
135 import { cfBatchInit, batchSaveData } from "@/api/cfdjFlow.js"; 131 import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
136 import { mapGetters } from "vuex"; 132 import { mapGetters } from "vuex";
137 export default { 133 export default {
138 data () { 134 data () {
...@@ -148,7 +144,15 @@ export default { ...@@ -148,7 +144,15 @@ export default {
148 }; 144 };
149 }, 145 },
150 created () { 146 created () {
151 this.list(); 147 this.propsParam = this.$attrs;
148 var formdata = new FormData();
149 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
150 formdata.append("djlx", this.propsParam.djlx);
151 BatchInit(formdata).then((res) => {
152 if (res.code === 200 && res.result) {
153 this.ruleForm = res.result
154 }
155 });
152 }, 156 },
153 watch: { 157 watch: {
154 158
...@@ -169,15 +173,6 @@ export default { ...@@ -169,15 +173,6 @@ export default {
169 }, 173 },
170 174
171 methods: { 175 methods: {
172 list () {
173 var formdata = new FormData();
174 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
175 cfBatchInit(formdata).then((res) => {
176 if (res.code === 200 && res.result) {
177 this.ruleForm = res.result
178 }
179 });
180 },
181 onSubmit () { 176 onSubmit () {
182 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 177 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
183 batchSaveData(this.ruleForm).then((res) => { 178 batchSaveData(this.ruleForm).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.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
...@@ -83,17 +83,17 @@ ...@@ -83,17 +83,17 @@
83 <el-row :gutter="10"> 83 <el-row :gutter="10">
84 <el-col :span="8"> 84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
86 <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input> 86 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 <el-col :span="8"> 89 <el-col :span="8">
90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:"> 90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
91 <el-input disabled v-model="ruleForm.qlxx.ywrzjhm"></el-input> 91 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:"> 95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
96 <el-input disabled v-model="ruleForm.qlxx.ywrzjzl"></el-input> 96 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 </el-row> 99 </el-row>
...@@ -189,10 +189,17 @@ export default { ...@@ -189,10 +189,17 @@ export default {
189 ableEdit: false 189 ableEdit: false
190 }; 190 };
191 }, 191 },
192 created () { 192 async created () {
193 this.propsParam = this.$attrs; 193 this.propsParam = this.$attrs;
194 this.ableEdit = this.$parent.showBatch; 194 this.ableEdit = this.$parent.showBatch;
195 this.list(this.propsParam.bsmSldy); 195 var formdata = new FormData();
196 formdata.append("bsmSldy", this.propsParam.bsmSldy);
197 formdata.append("djlx", this.propsParam.djlx);
198 Init(formdata).then((res) => {
199 if (res.code === 200 && res.result) {
200 this.ruleForm = res.result
201 }
202 });
196 }, 203 },
197 watch: { 204 watch: {
198 205
...@@ -213,16 +220,6 @@ export default { ...@@ -213,16 +220,6 @@ export default {
213 }, 220 },
214 221
215 methods: { 222 methods: {
216 list (bsmSldy) {
217 var formdata = new FormData();
218 formdata.append("bsmSldy", bsmSldy);
219 formdata.append("sqywbm", this.$route.query.sqywbm);
220 Init(formdata).then((res) => {
221 if (res.code === 200 && res.result) {
222 this.ruleForm = res.result
223 }
224 });
225 },
226 onSubmit () { 223 onSubmit () {
227 saveData(this.ruleForm).then((res) => { 224 saveData(this.ruleForm).then((res) => {
228 if (res.code === 200) { 225 if (res.code === 200) {
......
...@@ -50,7 +50,7 @@ class data extends filter { ...@@ -50,7 +50,7 @@ class data extends filter {
50 { 50 {
51 prop: "zbhj", 51 prop: "zbhj",
52 label: "在办环节", 52 label: "在办环节",
53 width: '70' 53 width: '80'
54 }, 54 },
55 { 55 {
56 label: '业务号', 56 label: '业务号',
......
...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js"; ...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
60 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
61 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js";
62 export default { 62 export default {
63 props: { 63 props: {
64 isJump: { type: Boolean, default: false }, 64 isJump: { type: Boolean, default: false },
...@@ -102,6 +102,7 @@ export default { ...@@ -102,6 +102,7 @@ export default {
102 return; 102 return;
103 } 103 }
104 this.saveloding = true; 104 this.saveloding = true;
105 if (!this.isJump) {
105 startBusinessFlow({ 106 startBusinessFlow({
106 bsmSqyw: Cookies.get("bsmSqyw"), 107 bsmSqyw: Cookies.get("bsmSqyw"),
107 bdcdysz: this.bdcdysz, 108 bdcdysz: this.bdcdysz,
...@@ -115,15 +116,29 @@ export default { ...@@ -115,15 +116,29 @@ export default {
115 message: '发起申请成功', 116 message: '发起申请成功',
116 type: 'success' 117 type: 'success'
117 }) 118 })
118 if (!this.isJump) {
119 this.jump(res.result, this.djywbm) 119 this.jump(res.result, this.djywbm)
120 } else { 120 } else {
121 this.$emit('updateDialog', true) 121 this.$message.error(res.message);
122 } 122 }
123 })
124 } else {
125 choiceBdcdy({
126 bsmSlsq: this.$route.query.bsmSlsq,
127 bdcdysz: this.bdcdysz
128 }).then(res => {
129 this.saveloding = false;
130 if (res.code == 200) {
131 this.$message({
132 showClose: true,
133 message: '发起申请成功',
134 type: 'success'
135 })
136 this.$emit('updateDialog', true)
123 } else { 137 } else {
124 this.$message.error(res.message); 138 this.$message.error(res.message);
125 } 139 }
126 }); 140 })
141 }
127 }, 142 },
128 handleSelectionChange (val) { 143 handleSelectionChange (val) {
129 val.forEach((item, index) => { 144 val.forEach((item, index) => {
......
...@@ -100,6 +100,7 @@ export default { ...@@ -100,6 +100,7 @@ export default {
100 if (!this.isJump) { 100 if (!this.isJump) {
101 startBusinessFlow({ 101 startBusinessFlow({
102 bsmSqyw: Cookies.get("bsmSqyw"), 102 bsmSqyw: Cookies.get("bsmSqyw"),
103 fwlx: this.activeName,
103 bdcdysz: this.bdcdysz, 104 bdcdysz: this.bdcdysz,
104 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 105 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
105 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 106 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
......
...@@ -2,17 +2,23 @@ ...@@ -2,17 +2,23 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="不动产权证号"> 8 <el-form-item label="不动产权证号">
9 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh"> 9 <el-input
10 placeholder="请输入不动产权证号"
11 v-model="queryForm.bdcqzh"
12 >
10 </el-input> 13 </el-input>
11 </el-form-item> 14 </el-form-item>
12 </el-col> 15 </el-col>
13 <el-col :span="5"> 16 <el-col :span="5">
14 <el-form-item label="印刷序列号"> 17 <el-form-item label="印刷序列号">
15 <el-input placeholder="请输入印刷序列号" v-model="queryForm.ysxlh"> 18 <el-input
19 placeholder="请输入印刷序列号"
20 v-model="queryForm.ysxlh"
21 >
16 </el-input> 22 </el-input>
17 </el-form-item> 23 </el-form-item>
18 </el-col> 24 </el-col>
...@@ -31,7 +37,11 @@ ...@@ -31,7 +37,11 @@
31 37
32 <el-col :span="4" class="btnColRight"> 38 <el-col :span="4" class="btnColRight">
33 <el-form-item> 39 <el-form-item>
34 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 40 <el-button
41 type="primary"
42 @click="queryClick()"
43 >查询</el-button
44 >
35 <el-button @click="moreQueryClick()">高级查询</el-button> 45 <el-button @click="moreQueryClick()">高级查询</el-button>
36 </el-form-item> 46 </el-form-item>
37 </el-col> 47 </el-col>
...@@ -40,9 +50,15 @@ ...@@ -40,9 +50,15 @@
40 </div> 50 </div>
41 <!-- 表格 --> 51 <!-- 表格 -->
42 <div class="from-clues-content"> 52 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 53 <lb-table
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 54 :page-size="pageData.size"
45 :data="tableData.data"> 55 :current-page.sync="pageData.current"
56 :total="tableData.total"
57 @size-change="handleSizeChange"
58 @p-current-change="handleCurrentChange"
59 :column="tableData.columns"
60 :data="tableData.data"
61 >
46 </lb-table> 62 </lb-table>
47 </div> 63 </div>
48 </div> 64 </div>
...@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx"; ...@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx";
53 export default { 69 export default {
54 components: {}, 70 components: {},
55 mixins: [table], 71 mixins: [table],
56 mounted () { 72 mounted() {
57 sendThis(this); 73 sendThis(this);
58 }, 74 },
59 data () { 75 data() {
60 return { 76 return {
61 queryForm: { 77 queryForm: {
62 bdcqzh: '', 78 bdcqzh: "",
63 ysxlh: '', 79 ysxlh: "",
64 ywh: '', 80 ywh: "",
65 lqr: '' 81 lqr: "",
66 }, 82 },
67 tableData: { 83 tableData: {
68 columns: datas.columns(), 84 columns: datas.columns(),
69 data: [ 85 data: [],
70 { 86 },
71 qllx: 'A01' 87 };
72 }
73 ]
74 }
75 }
76 }, 88 },
77 methods: { 89 methods: {
90 // 查询
91 queryClick() {
92 this.fetchData();
93 },
94
78 // 初始化数据 95 // 初始化数据
79 fetchData () { }, 96 fetchData() {
80 } 97 },
81 } 98 },
99 };
82 </script> 100 </script>
83 <style scoped lang="scss"> 101 <style scoped lang="scss">
84 @import "~@/styles/public.scss"; 102 @import "~@/styles/public.scss";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" ref="queryForm" label-width="80px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="项目名称"> 8 <el-form-item label="项目名称">
...@@ -31,7 +31,11 @@ ...@@ -31,7 +31,11 @@
31 31
32 <el-col :span="4" class="btnColRight"> 32 <el-col :span="4" class="btnColRight">
33 <el-form-item> 33 <el-form-item>
34 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 34 <el-button
35 type="primary"
36 @click="queryClick()"
37 >查询</el-button
38 >
35 <el-button @click="moreQueryClick()">高级查询</el-button> 39 <el-button @click="moreQueryClick()">高级查询</el-button>
36 </el-form-item> 40 </el-form-item>
37 </el-col> 41 </el-col>
...@@ -40,9 +44,15 @@ ...@@ -40,9 +44,15 @@
40 </div> 44 </div>
41 <!-- 表格 --> 45 <!-- 表格 -->
42 <div class="from-clues-content"> 46 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 47 <lb-table
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 48 :page-size="pageData.size"
45 :data="tableData.data"> 49 :current-page.sync="pageData.current"
50 :total="tableData.total"
51 @size-change="handleSizeChange"
52 @p-current-change="handleCurrentChange"
53 :column="tableData.columns"
54 :data="tableData.data"
55 >
46 </lb-table> 56 </lb-table>
47 </div> 57 </div>
48 </div> 58 </div>
...@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx"; ...@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx";
53 export default { 63 export default {
54 components: {}, 64 components: {},
55 mixins: [table], 65 mixins: [table],
56 mounted () { 66 mounted() {
57 sendThis(this); 67 sendThis(this);
58 }, 68 },
59 data () { 69 data() {
60 return { 70 return {
61 queryForm: { 71 queryForm: {
62 xmmc: '', 72 xmmc: "",
63 xmbh: '', 73 xmbh: "",
64 zrzh: '', 74 zrzh: "",
65 zddm: '' 75 zddm: "",
66 }, 76 },
67 tableData: { 77 tableData: {
68 columns: datas.columns(), 78 columns: datas.columns(),
69 data: [ 79 data: [],
70 ] 80 },
71 } 81 };
72 }
73 }, 82 },
74 methods: { 83 methods: {
84 // 查询
85 queryClick() {
86 this.fetchData();
87 },
88
75 // 初始化数据 89 // 初始化数据
76 fetchData () { }, 90 fetchData() {},
77 } 91 },
78 } 92 };
79 </script> 93 </script>
80 <style scoped lang="scss"> 94 <style scoped lang="scss">
81 @import "~@/styles/public.scss"; 95 @import "~@/styles/public.scss";
......