查封保存
Showing
4 changed files
with
67 additions
and
44 deletions
... | @@ -28,18 +28,18 @@ export function jfInit (data) { | ... | @@ -28,18 +28,18 @@ export function jfInit (data) { |
28 | } | 28 | } |
29 | 29 | ||
30 | // 查封保存 | 30 | // 查封保存 |
31 | export function fristReg (data) { | 31 | export function sealUpReg (data) { |
32 | return request({ | 32 | return request({ |
33 | url: '/ywbl/cfdj/fristReg', | 33 | url: '/ywbl/cfdj/sealUpReg', |
34 | method: 'post', | 34 | method: 'post', |
35 | data | 35 | data |
36 | }) | 36 | }) |
37 | } | 37 | } |
38 | 38 | ||
39 | // 续封保存 | 39 | // 续封保存 |
40 | export function changeReg (data) { | 40 | export function continuedSealReg (data) { |
41 | return request({ | 41 | return request({ |
42 | url: '/ywbl/cfdj/changeReg', | 42 | url: '/ywbl/cfdj/continuedSealReg', |
43 | method: 'post', | 43 | method: 'post', |
44 | data | 44 | data |
45 | }) | 45 | }) |
... | @@ -47,9 +47,9 @@ export function changeReg (data) { | ... | @@ -47,9 +47,9 @@ export function changeReg (data) { |
47 | 47 | ||
48 | 48 | ||
49 | // 解封保存 | 49 | // 解封保存 |
50 | export function logoutReg (data) { | 50 | export function unSealReg (data) { |
51 | return request({ | 51 | return request({ |
52 | url: '/ywbl/cfdj/logoutReg', | 52 | url: '/ywbl/cfdj/unSealReg', |
53 | method: 'post', | 53 | method: 'post', |
54 | data | 54 | data |
55 | }) | 55 | }) | ... | ... |
... | @@ -239,16 +239,20 @@ export default { | ... | @@ -239,16 +239,20 @@ export default { |
239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
241 | clmlInit(formdata).then((res) => { | 241 | clmlInit(formdata).then((res) => { |
242 | resolve(res.code) | 242 | if(res.result.code == 200){ |
243 | if (res.result.result && res.result.result.length > 0) { | 243 | resolve(res.code) |
244 | this.tableData = res.result.result; | 244 | if (res.result.result && res.result.result.length > 0) { |
245 | this.treeCheckId = this.tableData[0].bsmSj; | 245 | this.tableData = res.result.result; |
246 | this.title = this.tableData[0].sjmc; | 246 | this.treeCheckId = this.tableData[0].bsmSj; |
247 | this.titleYs = 1; | 247 | this.title = this.tableData[0].sjmc; |
248 | this.titleNum = this.tableData[0].children.length; | 248 | this.titleYs = 1; |
249 | this.titleNum = this.tableData[0].children.length; | ||
249 | 250 | ||
250 | this.previewImg.imgList = this.tableData[0]?.children; | 251 | this.previewImg.imgList = this.tableData[0]?.children; |
251 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; | 252 | this.previewImg.bsmSj = this.tableData[0]?.bsmSj; |
253 | } | ||
254 | }else{ | ||
255 | this.$message.error(res.result.message) | ||
252 | } | 256 | } |
253 | }) | 257 | }) |
254 | }) | 258 | }) | ... | ... |
... | @@ -35,31 +35,51 @@ export default { | ... | @@ -35,31 +35,51 @@ export default { |
35 | tableDataList: [], | 35 | tableDataList: [], |
36 | InformationTable: [ | 36 | InformationTable: [ |
37 | { | 37 | { |
38 | width: '50', | ||
39 | renderHeader: (h, scope) => { | ||
40 | return <div> { | ||
41 | this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> | ||
42 | } | ||
43 | </div> | ||
44 | }, | ||
45 | render: (h, scope) => { | ||
46 | return ( | ||
47 | <div> | ||
48 | { | ||
49 | this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : | ||
50 | <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> | ||
51 | } | ||
52 | </div> | ||
53 | ) | ||
54 | } | ||
55 | }, | ||
56 | { | ||
38 | prop: "sqrmc", | 57 | prop: "sqrmc", |
39 | label: "姓名" | 58 | label: "姓名/名称" |
40 | }, | 59 | }, |
41 | { | 60 | { |
42 | prop: "dlrzjlx", | 61 | prop: "zjzl", |
43 | label: "证件种类" | 62 | label: "证件种类" |
44 | }, | 63 | }, |
45 | { | 64 | { |
46 | prop: "dlrzjh", | 65 | prop: "zjh", |
47 | label: "证件号" | 66 | label: "证件号" |
48 | }, | 67 | }, |
49 | { | 68 | { |
50 | prop: "fr", | 69 | prop: "dh", |
70 | label: "联系电话" | ||
71 | }, | ||
72 | { | ||
73 | prop: "frmc", | ||
51 | label: "法人" | 74 | label: "法人" |
52 | }, | 75 | }, |
53 | { | 76 | { |
54 | label: '修改', | 77 | label: '操作', |
55 | render: (h, scope) => { | 78 | render: (h, scope) => { |
56 | return ( | 79 | return ( |
57 | <div> | 80 | <div> |
58 | { | 81 | { |
59 | <el-button | 82 | <el-button icon="el-icon-view" type="text" onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> |
60 | icon="el-icon-view" | ||
61 | type="text" | ||
62 | onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> | ||
63 | } | 83 | } |
64 | </div> | 84 | </div> |
65 | ) | 85 | ) | ... | ... |
... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
48 | <el-row :gutter="10"> | 48 | <el-row :gutter="10"> |
49 | <el-col :span="8"> | 49 | <el-col :span="8"> |
50 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh"> | 50 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh"> |
51 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 51 | <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input> |
52 | </el-form-item> | 52 | </el-form-item> |
53 | </el-col> | 53 | </el-col> |
54 | <el-col :span="8"> | 54 | <el-col :span="8"> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | </el-col> | 58 | </el-col> |
59 | <el-col :span="8"> | 59 | <el-col :span="8"> |
60 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> | 60 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> |
61 | <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input> | 61 | <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input> |
62 | </el-form-item> | 62 | </el-form-item> |
63 | </el-col> | 63 | </el-col> |
64 | </el-row> | 64 | </el-row> |
... | @@ -94,12 +94,12 @@ | ... | @@ -94,12 +94,12 @@ |
94 | <el-row :gutter="10"> | 94 | <el-row :gutter="10"> |
95 | <el-col :span="8"> | 95 | <el-col :span="8"> |
96 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> | 96 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> |
97 | <el-input v-model="ruleForm.cfdj.cfjg"></el-input> | 97 | <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input> |
98 | </el-form-item> | 98 | </el-form-item> |
99 | </el-col> | 99 | </el-col> |
100 | <el-col :span="8"> | 100 | <el-col :span="8"> |
101 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> | 101 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> |
102 | <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"> | 102 | <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" :disabled="$route.query.viewtype"> |
103 | <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 103 | <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
104 | </el-option> | 104 | </el-option> |
105 | </el-select> | 105 | </el-select> |
... | @@ -107,56 +107,56 @@ | ... | @@ -107,56 +107,56 @@ |
107 | </el-col> | 107 | </el-col> |
108 | <el-col :span="8"> | 108 | <el-col :span="8"> |
109 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> | 109 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> |
110 | <el-input v-model="ruleForm.cfdj.cfwj"></el-input> | 110 | <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input> |
111 | </el-form-item> | 111 | </el-form-item> |
112 | </el-col> | 112 | </el-col> |
113 | </el-row> | 113 | </el-row> |
114 | <el-row :gutter="10"> | 114 | <el-row :gutter="10"> |
115 | <el-col :span="8"> | 115 | <el-col :span="8"> |
116 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> | 116 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> |
117 | <el-input v-model="ruleForm.cfdj.cfwh"></el-input> | 117 | <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input> |
118 | </el-form-item> | 118 | </el-form-item> |
119 | </el-col> | 119 | </el-col> |
120 | <el-col :span="8"> | 120 | <el-col :span="8"> |
121 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> | 121 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> |
122 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" type="date" placeholder="选择日期"></el-date-picker> | 122 | <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype" |
123 | type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> | ||
123 | </el-form-item> | 124 | </el-form-item> |
124 | </el-col> | 125 | </el-col> |
125 | <el-col :span="8"> | 126 | <el-col :span="8"> |
126 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> | 127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> |
127 | <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" type="date" placeholder="选择日期"></el-date-picker> | 128 | <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype" |
129 | type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> | ||
128 | </el-form-item> | 130 | </el-form-item> |
129 | </el-col> | 131 | </el-col> |
130 | </el-row> | 132 | </el-row> |
131 | <el-row :gutter="10"> | 133 | <el-row :gutter="10"> |
132 | <el-col :span="24"> | 134 | <el-col :span="24"> |
133 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> | 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> |
134 | <el-input v-model="ruleForm.cfdj.cffw"></el-input> | 136 | <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input> |
135 | </el-form-item> | 137 | </el-form-item> |
136 | </el-col> | 138 | </el-col> |
137 | </el-row> | 139 | </el-row> |
138 | <el-row :gutter="10"> | 140 | <el-row :gutter="10"> |
139 | <el-col :span="24"> | 141 | <el-col :span="24"> |
140 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> | 142 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> |
141 | <el-input v-model="ruleForm.cfdj.fj" type="textarea"></el-input> | 143 | <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input> |
142 | </el-form-item> | 144 | </el-form-item> |
143 | </el-col> | 145 | </el-col> |
144 | </el-row> | 146 | </el-row> |
145 | <div class="slxx_title">不动产权利人信息</div> | 147 | <div class="slxx_title">不动产权利人信息</div> |
146 | <sqrViewTable :tableData="ruleForm.qlrxx" /> | 148 | <sqrViewTable :tableData="ruleForm.ywrList" /> |
147 | <InformationTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" | ||
148 | :gyfs="ruleForm.qlxx.gyfs" /> | ||
149 | <div class="slxx_title">登记原因</div> | 149 | <div class="slxx_title">登记原因</div> |
150 | <el-row :gutter="10"> | 150 | <el-row :gutter="10"> |
151 | <el-col> | 151 | <el-col> |
152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> |
153 | <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy"></el-input> | 153 | <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input> |
154 | </el-form-item> | 154 | </el-form-item> |
155 | </el-col> | 155 | </el-col> |
156 | </el-row> | 156 | </el-row> |
157 | </div> | 157 | </div> |
158 | <el-row> | 158 | <el-row> |
159 | <el-form-item :class="flag ? 'marginBot0' : ''" class="btn"> | 159 | <el-form-item :class="flag ? 'marginBot0' : ''" class="btn" v-if="!$route.query.viewtype"> |
160 | <el-button type="primary" @click="onSubmit">保存</el-button> | 160 | <el-button type="primary" @click="onSubmit">保存</el-button> |
161 | </el-form-item> | 161 | </el-form-item> |
162 | </el-row> | 162 | </el-row> |
... | @@ -165,8 +165,7 @@ | ... | @@ -165,8 +165,7 @@ |
165 | </template> | 165 | </template> |
166 | <script> | 166 | <script> |
167 | import sqrViewTable from "@/views/workflow/components/sqrViewTable"; | 167 | import sqrViewTable from "@/views/workflow/components/sqrViewTable"; |
168 | import InformationTable from "@/views/workflow/components/InformationTable"; | 168 | import { cfInit, sealUpReg } from "@/api/cfdjFlow.js"; |
169 | import { cfInit, fristReg } from "@/api/cfdjFlow.js"; | ||
170 | import { mapGetters } from "vuex"; | 169 | import { mapGetters } from "vuex"; |
171 | export default { | 170 | export default { |
172 | data () { | 171 | data () { |
... | @@ -194,7 +193,7 @@ export default { | ... | @@ -194,7 +193,7 @@ export default { |
194 | watch: { | 193 | watch: { |
195 | 194 | ||
196 | }, | 195 | }, |
197 | components: { sqrViewTable,InformationTable }, | 196 | components: { sqrViewTable }, |
198 | props: { | 197 | props: { |
199 | flag: { | 198 | flag: { |
200 | type: Boolean, | 199 | type: Boolean, |
... | @@ -220,9 +219,9 @@ export default { | ... | @@ -220,9 +219,9 @@ export default { |
220 | }); | 219 | }); |
221 | }, | 220 | }, |
222 | onSubmit () { | 221 | onSubmit () { |
223 | fristReg().then((res) => { | 222 | sealUpReg(this.ruleForm).then((res) => { |
224 | if (res.code === 200 && res.result) { | 223 | if (res.code === 200 && res.result) { |
225 | console.log(res); | 224 | this.$message.success('保存成功'); |
226 | } | 225 | } |
227 | }); | 226 | }); |
228 | }, | 227 | }, | ... | ... |
-
Please register or sign in to post a comment