4307ad37 by 田浩浩

修改相关逻辑代码

1 parent 3b713b21
...@@ -799,6 +799,25 @@ class business { ...@@ -799,6 +799,25 @@ class business {
799 }) 799 })
800 } 800 }
801 801
802 // 更正登记信息
803 async getQlfQlGzdjById(bsmSjsb) {
804 return request({
805 url: SERVER.SERVERAPI + '/rest/reg/QlfQlGzdj/detail',
806 method: 'get',
807 params: {
808 bsmSjsb: bsmSjsb
809 }
810 })
811 }
812 // 更正登记信息-修改
813 async updateQlfQlGzdj(data) {
814 return request({
815 url: SERVER.SERVERAPI + '/rest/reg/QlfQlGzdj/edit',
816 method: 'post',
817 data
818 })
819 }
820
802 // 地役权信息 821 // 地役权信息
803 async getQlfQlDyiqById(bsmSjsb) { 822 async getQlfQlDyiqById(bsmSjsb) {
804 return request({ 823 return request({
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
76 文件件数: <br /> 76 文件件数: <br />
77 <p class="label-detail">(WJJS)</p> 77 <p class="label-detail">(WJJS)</p>
78 </span> 78 </span>
79 <el-input-number controls-position="right":disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" type="number" 79 <el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" type="number"
80 v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="文件件数"></el-input-number> 80 v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="文件件数"></el-input-number>
81 </el-form-item> 81 </el-form-item>
82 </el-col> 82 </el-col>
......
...@@ -8,10 +8,9 @@ ...@@ -8,10 +8,9 @@
8 要素代码: <br /> 8 要素代码: <br />
9 <p class="label-detail">(YSDM)</p> 9 <p class="label-detail">(YSDM)</p>
10 </span> 10 </span>
11 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input> 11 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
12 </el-form-item> 12 </el-form-item>
13 </el-col> 13 </el-col>
14
15 <el-col :span="8"> 14 <el-col :span="8">
16 <el-form-item prop="YWH"> 15 <el-form-item prop="YWH">
17 <span slot="label"> 16 <span slot="label">
...@@ -21,119 +20,151 @@ ...@@ -21,119 +20,151 @@
21 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input> 20 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input>
22 </el-form-item> 21 </el-form-item>
23 </el-col> 22 </el-col>
24
25 <el-col :span="8"> 23 <el-col :span="8">
26 <el-form-item prop="DJDL"> 24 <el-form-item prop="DJDL">
27 <span slot="label"> 25 <span slot="label">
28 登记大类<br /> 26 不动产单元号<br />
29 <p class="label-detail">(DJDL)</p> 27 <p class="label-detail">(DJDL)</p>
30 </span> 28 </span>
31 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL" placeholder="登记大类"> 29 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" placeholder="不动产单元号"></el-input>
32 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
33 </el-option>
34 </el-select>
35 </el-form-item> 30 </el-form-item>
36 </el-col> 31 </el-col>
37 </el-row> 32 </el-row>
38
39 <el-row> 33 <el-row>
40 <el-col :span="8"> 34 <el-col :span="8">
41 <el-form-item prop="DJXL"> 35 <el-form-item prop="DJXL">
42 <span slot="label"> 36 <span slot="label">
43 登记小类<br /> 37 上手业务号<br />
44 <p class="label-detail">DJXL</p> 38 <p class="label-detail">SSYWH</p>
45 </span> 39 </span>
46 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJXL" placeholder="登记小类"></el-input> 40 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ssywh" placeholder="上手业务号"></el-input>
47 </el-form-item> 41 </el-form-item>
48 </el-col> 42 </el-col>
49
50 <el-col :span="8"> 43 <el-col :span="8">
51 <el-form-item prop="ZL"> 44 <el-form-item prop="ZL">
52 <span slot="label"> 45 <span slot="label">
53 坐落<br /> 46 不动产权证号<br />
54 <p class="label-detail">ZL</p> 47 <p class="label-detail">BDCQZH</p>
55 </span> 48 </span>
56 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input> 49 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcqzh" placeholder="不动产权证号"></el-input>
57 </el-form-item> 50 </el-form-item>
58 </el-col> 51 </el-col>
59
60 <el-col :span="8"> 52 <el-col :span="8">
61 <el-form-item prop="QZHM"> 53 <el-form-item prop="QZHM">
62 <span slot="label"> 54 <span slot="label">
63 权证号码<br /> 55 不动产登记证明号<br />
64 <p class="label-detail">QZHM</p> 56 <p class="label-detail">BDCZMH</p>
65 </span> 57 </span>
66 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QZHM" placeholder="权证号码"></el-input> 58 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdczmh" placeholder="不动产登记证明号">
59 </el-input>
67 </el-form-item> 60 </el-form-item>
68 </el-col> 61 </el-col>
69 </el-row> 62 </el-row>
70
71 <el-row> 63 <el-row>
72 <el-col :span="8"> 64 <el-col :span="8">
73 <el-form-item prop="WJJS"> 65 <el-form-item prop="WJJS">
74 <span slot="label"> 66 <span slot="label">
75 文件件数<br /> 67 更正登记类型<br />
76 <p class="label-detail">WJJS</p> 68 <p class="label-detail">GZDJLX</p>
77 </span> 69 </span>
78 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.WJJS" 70 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.gzdjlx" placeholder="更正登记类型">
79 v-only-number="{ max: 99999, min: 1, precision: 0 }" placeholder="文件件数"></el-input> 71 <el-option v-for="item in dicData['A54']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
72 </el-option>
73 </el-select>
80 </el-form-item> 74 </el-form-item>
81 </el-col> 75 </el-col>
82
83 <el-col :span="8"> 76 <el-col :span="8">
84 <el-form-item prop="ZYS"> 77 <el-form-item prop="ZYS">
85 <span slot="label"> 78 <span slot="label">
86 总页数 <br /> 79 更正依据: <br />
87 <p class="label-detail">ZYS</p> 80 <p class="label-detail">GZYJ</p>
88 </span> 81 </span>
89 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZYS" 82 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzyj" placeholder="更正依据"></el-input>
90 v-only-number="{ max: 99999, min: 1, precision: 0 }" placeholder="总页数"></el-input>
91 </el-form-item> 83 </el-form-item>
92 </el-col> 84 </el-col>
93
94 <el-col :span="8"> 85 <el-col :span="8">
95 <el-form-item prop="GDRY"> 86 <el-form-item prop="GDRY">
96 <span slot="label"> 87 <span slot="label">
97 归档人员<br /> 88 申请主体<br />
98 <p class="label-detail">(GDRY</p> 89 <p class="label-detail">(GZGT</p>
99 </span> 90 </span>
100 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GDRY" placeholder="归档人员"></el-input> 91 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzgt" placeholder="申请主体"></el-input>
101 </el-form-item> 92 </el-form-item>
102 </el-col> 93 </el-col>
103 </el-row> 94 </el-row>
104
105 <el-row> 95 <el-row>
106 <el-col :span="8"> 96 <el-col :span="8">
107 <el-form-item prop="GDSJ"> 97 <el-form-item prop="GDSJ">
108 <span slot="label"> 98 <span slot="label">
109 归档时间<br /> 99 更正内容<br />
110 <p class="label-detail">(GDSJ</p> 100 <p class="label-detail">(GZNR</p>
111 </span> 101 </span>
112 <el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="归档时间" clearable 102 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gznr" placeholder="更正内容"></el-input>
113 v-model="ruleForm.GDSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
114 </el-form-item> 103 </el-form-item>
115 </el-col> 104 </el-col>
116
117 <el-col :span="8"> 105 <el-col :span="8">
118 <el-form-item prop="BZ"> 106 <el-form-item prop="QXDM">
119 <span slot="label"> 107 <span slot="label">
120 备注<br /> 108 区县代码<br />
121 <p class="label-detail">BZ</p> 109 <p class="label-detail">QXDM</p>
122 </span> 110 </span>
123 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input> 111 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
124 </el-form-item> 112 </el-form-item>
125 </el-col> 113 </el-col>
126
127 <el-col :span="8"> 114 <el-col :span="8">
128 <el-form-item prop="QXDM"> 115 <el-form-item prop="QSZT">
129 <span slot="label"> 116 <span slot="label">
130 区县代码<br /> 117 权属状态<br />
131 <p class="label-detail">(QXDM</p> 118 <p class="label-detail">(QSZT</p>
132 </span> 119 </span>
133 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input> 120 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
121 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
122 </el-option>
123 </el-select>
124 </el-form-item>
125 </el-col>
126 </el-row>
127 <el-row>
128 <el-col :span="8">
129 <el-form-item prop="DBR">
130 <span slot="label">
131 登簿人: <br />
132 <p class="label-detail">(DBR)</p>
133 </span>
134 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
135 </el-form-item>
136 </el-col>
137 <el-col :span="8">
138 <el-form-item prop="DJSJ">
139 <span slot="label">
140 登记时间: <br />
141 <p class="label-detail">(DJSJ)</p>
142 </span>
143 <el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="登记时间" clearable
144 v-model="ruleForm.djsj" value-format="yyyy-MM-dd HH:mm:ss">
145 </el-date-picker>
146 </el-form-item>
147 </el-col>
148 <el-col :span="8">
149 <el-form-item prop="DJJG">
150 <span slot="label">
151 登记机构: <br />
152 <p class="label-detail">(DJJG)</p>
153 </span>
154 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
155 </el-form-item>
156 </el-col>
157 </el-row>
158 <el-row>
159 <el-col :span="24">
160 <el-form-item prop="FJ">
161 <span slot="label">
162 附记: <br />
163 <p class="label-detail">(FJ)</p>
164 </span>
165 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
134 </el-form-item> 166 </el-form-item>
135 </el-col> 167 </el-col>
136
137 </el-row> 168 </el-row>
138 </el-form> 169 </el-form>
139 <message-tips ref="msg" /> 170 <message-tips ref="msg" />
...@@ -141,61 +172,61 @@ ...@@ -141,61 +172,61 @@
141 </template> 172 </template>
142 <script> 173 <script>
143 // 归档信息 174 // 归档信息
144 import business from '@/api/business' 175 import business from "@/api/business";
145 import ruleMixin from '@/mixins/ruleMixin.js' 176 import ruleMixin from "@/mixins/ruleMixin.js";
146 export default { 177 export default {
147 mixins: [ruleMixin], 178 mixins: [ruleMixin],
148 props: { 179 props: {
149 bsmSjsb: { 180 bsmSjsb: {
150 type: String, 181 type: String,
151 default: '' 182 default: "",
152 }, 183 },
153 bsmYwsjb: { 184 bsmYwsjb: {
154 type: String, 185 type: String,
155 default: '' 186 default: "",
156 } 187 },
157 }, 188 },
158 data () { 189 data() {
159 return { 190 return {
160 ruleForm: { 191 ruleForm: {
161 YSDM: '', 192 YSDM: "",
162 YWH: '', 193 YWH: "",
163 DJDL: '', 194 DJDL: "",
164 DJXL: '', 195 DJXL: "",
165 ZL: '', 196 ZL: "",
166 QZHM: '', 197 QZHM: "",
167 WJJS: '', 198 WJJS: "",
168 ZYS: '', 199 ZYS: "",
169 GDRY: '', 200 GDRY: "",
170 GDSJ: '', 201 GDSJ: "",
171 BZ: '', 202 BZ: "",
172 QXDM: '' 203 QXDM: "",
173 } 204 },
174 } 205 };
175 }, 206 },
176 methods: { 207 methods: {
177 async featchData () { 208 async featchData() {
178 try { 209 try {
179 let { result: res } = await business.getDjfDjGdById(this.bsmSjsb) 210 let { result: res } = await business.getQlfQlGzdjById(this.bsmSjsb);
180 this.ruleForm = res 211 this.ruleForm = res;
181 //this.featchRule() 212 //this.featchRule()
182 } catch (error) { 213 } catch (error) {
183 this.$refs.msg.messageShow() 214 this.$refs.msg.messageShow();
184 } 215 }
185 }, 216 },
186 handleUpdateForm () { 217 handleUpdateForm() {
187 return new Promise(async (resolve) => { 218 return new Promise(async (resolve) => {
188 try { 219 try {
189 let res = await business.updateDjfDjGd(this.ruleForm) 220 let res = await business.updateQlfQlGzdj(this.ruleForm);
190 // this.$refs['formList'].resetFields(); 221 // this.$refs['formList'].resetFields();
191 resolve(res.code) 222 resolve(res.code);
192 } catch (error) { 223 } catch (error) {
193 this.$refs.msg.messageShow() 224 this.$refs.msg.messageShow();
194 } 225 }
195 }) 226 });
196 } 227 },
197 } 228 },
198 } 229 };
199 </script> 230 </script>
200 <style scoped lang="scss"> 231 <style scoped lang="scss">
201 @import "./css/itemForm.scss"; 232 @import "./css/itemForm.scss";
......