Blame view

src/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue 21.9 KB
xiaomiao committed
1 2 3
<!--
 * @Description:
 * @Autor: renchao
xiaomiao committed
4
 :show-message="false"
5
 * @LastEditTime: 2023-08-04 16:33:14
xiaomiao committed
6 7 8 9 10 11 12 13 14 15
-->
<template>
  <!-- 受理信息 -->
  <div class="slxx">
    <el-form
      :model="ruleForm"
      :rules="rules"
      ref="ruleForm"
      :label-position="flag ? 'top' : ''"
      :inline="flag"
xiaomiao committed
16
      label-width="145px"
xiaomiao committed
17
      inline-message
xiaomiao committed
18
      :show-message="false"
xiaomiao committed
19
      :class="{ readonly: editDisabled }"
20
      class="loadingtext">
xiaomiao committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
      <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
        <div class="slxx_title title-block">
          补录信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="补录编号:">
              <el-input disabled v-model="ruleForm.repair.ywh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="补录人员:">
              <el-input disabled v-model="ruleForm.repair.slry"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="补录时间:">
              <el-input disabled v-model="ruleForm.repair.slsj"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <div class="slxx_title title-block">
xiaomiao committed
44
          查封登记不动产情况
xiaomiao committed
45
          <div class="triangle"></div>
tianhaohao@pashanhoo.com committed
46
        </div>
xiaomiao committed
47 48
        <el-row :gutter="10">
          <el-col :span="8">
xiaomiao committed
49 50 51
            <el-form-item
              label="查封不动产权信息:"
              prop="ztQlxx.bdcqzh"
52
              :rules="rules.ztQlxxrules">
xiaomiao committed
53 54 55 56 57
              <select-table
                v-model="ruleForm.ztQlxx"
                :table-width="550"
                :tableData="ztQlxxList"
                :props="props"
58
                @change="ztQlxxchange">
xiaomiao committed
59 60 61
                <el-table-column
                  prop="qllxmc"
                  width="130"
62
                  label="权利类型"></el-table-column>
xiaomiao committed
63 64 65
                <el-table-column
                  prop="bdcqzh"
                  width="160"
66
                  label="不动产权证书"></el-table-column>
xiaomiao committed
67 68
                <el-table-column
                  prop="qlrmc"
69
                  label="被执行人"></el-table-column>
xiaomiao committed
70 71 72 73 74 75
                <el-table-column prop="mjmc" label="面积"></el-table-column>
                <el-table-column prop="ytmc" label="用途"></el-table-column>
                <el-table-column prop="zl" label="坐落"></el-table-column>
              </select-table>
            </el-form-item>
          </el-col>
xiaomiao committed
76

xiaomiao committed
77
          <el-col :span="8" v-if="ruleForm.cfdj.sfbxf == '1'">
xiaomiao committed
78 79 80
            <el-form-item
              label="上手权利信息:"
              prop="ssQlxx.bdcqzh"
81
              :rules="rules.ssQlxxrules">
xiaomiao committed
82 83 84 85 86
              <select-table
                v-model="ruleForm.ssQlxx"
                :table-width="550"
                :tableData="ssQlxxList"
                :props="props"
87
                @change="ssQlxxchange">
xiaomiao committed
88 89 90
                <el-table-column
                  prop="qllxmc"
                  width="130"
91
                  label="权利类型"></el-table-column>
xiaomiao committed
92 93 94
                <el-table-column
                  prop="bdcqzh"
                  width="160"
95
                  label="不动产权证书"></el-table-column>
xiaomiao committed
96 97 98 99 100 101 102 103
                <el-table-column prop="qlrmc" label="权利人"></el-table-column>
                <el-table-column prop="mjmc" label="面积"></el-table-column>
                <el-table-column prop="ytmc" label="用途"></el-table-column>
                <el-table-column prop="zl" label="坐落"></el-table-column>
              </select-table>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
104
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
          <el-col :span="8">
            <el-form-item label="权利人:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="证件种类:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="证件号:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
121
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
122 123 124 125 126 127
          <el-col :span="8">
            <el-form-item label="权利类型:">
              <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
128
            <el-form-item label="不动产权证号:">
tianhaohao@pashanhoo.com committed
129 130 131 132 133
              <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="坐落:">
134
              <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
tianhaohao@pashanhoo.com committed
135 136 137
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
138
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
139 140 141 142 143 144 145
          <el-col :span="8">
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="面积:">
xiaomiao committed
146
              <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
tianhaohao@pashanhoo.com committed
147 148 149 150 151 152 153 154 155
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="用途:">
              <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <div class="slxx_title title-block">
xiaomiao committed
156
          查封登记信息
xiaomiao committed
157 158 159 160 161 162 163 164 165
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
166 167 168
            <el-form-item
              label="业务号:"
              prop="qlxx.ywh"
169
              :rules="rules.ywhrules">
xiaomiao committed
170 171 172
              <el-input v-model="ruleForm.qlxx.ywh"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
173
          <el-col :span="8">
xiaomiao committed
174
            <el-form-item label="上手业务号:">
xiaomiao committed
175
              <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
xiaomiao committed
176 177 178 179
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
xiaomiao committed
180
          <el-col :span="8">
xiaomiao committed
181 182 183 184 185
            <el-form-item label="权利类型:">
              <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
186 187
            <el-form-item
              label="是否被续封:"
xiaomiao committed
188
              prop="cfdj.sfbxf"
189
              :rules="rules.sfbxfrules">
xiaomiao committed
190
              <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
tianhaohao@pashanhoo.com committed
191
                <el-option
xiaomiao committed
192
                  v-for="item in sfbxflist"
tianhaohao@pashanhoo.com committed
193 194
                  :key="item.dcode"
                  :label="item.dname"
195
                  :value="item.dcode"></el-option>
xiaomiao committed
196
              </el-select>
xiaomiao committed
197 198 199
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
200
            <el-form-item label="不动产坐落:">
xiaomiao committed
201 202 203 204
              <el-input v-model="ruleForm.qlxx.zl"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
205 206 207 208 209 210
            <el-form-item label="权属状态:">
              <el-select v-model="ruleForm.qlxx.qszt">
                <el-option
                  v-for="item in qsztlist"
                  :key="item.dcode"
                  :label="item.dname"
211
                  :value="item.dcode"></el-option>
xiaomiao committed
212
              </el-select>
xiaomiao committed
213
            </el-form-item>
xiaomiao committed
214
          </el-col>
xiaomiao committed
215
          <!-- <el-col :span="8">
xiaomiao committed
216 217 218 219 220
            <el-form-item
              label="不动产权证号:"
              prop="qlxx.bdcqzh"
              :rules="rules.bdcqzhrules"
            >
xiaomiao committed
221
              <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
xiaomiao committed
222
            </el-form-item>
xiaomiao committed
223
          </el-col> -->
xiaomiao committed
224
          <el-col :span="8">
xiaomiao committed
225
            <el-form-item label="查封机关:">
xiaomiao committed
226 227 228 229
              <el-input v-model="ruleForm.cfdj.cfjg"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
230
            <el-form-item label="查封类型:">
xiaomiao committed
231 232 233 234 235
              <el-select v-model="ruleForm.cfdj.cflx">
                <el-option
                  v-for="item in dictData['A32']"
                  :key="item.dcode"
                  :label="item.dname"
236
                  :value="item.dcode"></el-option>
xiaomiao committed
237 238 239 240
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
241
            <el-form-item label="查封文号:">
xiaomiao committed
242 243 244 245
              <el-input v-model="ruleForm.cfdj.cfwh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
246
            <el-form-item label="查封起始时间:">
xiaomiao committed
247 248 249 250 251 252
              <el-date-picker
                v-model="ruleForm.cfdj.cfqssj"
                class="width100"
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
253
                format="yyyy-MM-dd"></el-date-picker>
xiaomiao committed
254 255 256
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
257
            <el-form-item label="查封结束时间:">
xiaomiao committed
258 259 260 261 262 263
              <el-date-picker
                v-model="ruleForm.cfdj.cfjssj"
                class="width100"
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
264
                format="yyyy-MM-dd"></el-date-picker>
xiaomiao committed
265 266 267
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
268
            <el-form-item label="查封期限:">
xiaomiao committed
269 270 271 272
              <el-input v-model="ruleForm.cfdj.cfqx"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
273
            <el-form-item label="查封范围:">
xiaomiao committed
274 275
              <el-input v-model="ruleForm.cfdj.cffw"></el-input>
            </el-form-item>
xiaomiao committed
276
          </el-col>
xiaomiao committed
277
          <!-- <el-col :span="8">
xiaomiao committed
278 279 280 281 282
            <el-form-item
              label="区县代码:"
              prop="qlxx.qxdm"
              :rules="rules.qxdmrules"
            >
xiaomiao committed
283 284
              <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
            </el-form-item>
xiaomiao committed
285
          </el-col> -->
xiaomiao committed
286
          <el-col :span="8">
xiaomiao committed
287 288 289
            <el-form-item
              label="登记机构:"
              prop="qlxx.djjg"
290
              :rules="rules.djjgrules">
xiaomiao committed
291 292 293
              <el-input v-model="ruleForm.qlxx.djjg"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
294

xiaomiao committed
295
          <el-col :span="8">
xiaomiao committed
296 297 298
            <el-form-item
              label="登簿人:"
              prop="qlxx.dbr"
299
              :rules="rules.dbrrules">
xiaomiao committed
300 301 302 303
              <el-input v-model="ruleForm.qlxx.dbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
304 305 306
            <el-form-item
              label="登记时间:"
              prop="qlxx.djsj"
307
              :rules="rules.djsjrules">
xiaomiao committed
308 309 310 311
              <el-date-picker
                v-model="ruleForm.qlxx.djsj"
                type="date"
                placeholder="选择日期"
xiaomiao committed
312
                class="width100"
xiaomiao committed
313
                value-format="yyyy-MM-dd HH:mm:ss"
314
                format="yyyy-MM-dd">
xiaomiao committed
315
              </el-date-picker>
xiaomiao committed
316 317
            </el-form-item>
          </el-col>
xiaomiao committed
318 319 320
          <el-col :span="24">
            <el-form-item label="附记:">
              <el-input v-model="ruleForm.cfdj.fj"></el-input>
xiaomiao committed
321 322 323
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
324
        <el-row :gutter="10">
xiaomiao committed
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封业务号:">
              <el-input v-model="ruleForm.cfdj.jfywh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封机关:">
              <el-input v-model="ruleForm.cfdj.jfjg"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封文件:">
              <el-input v-model="ruleForm.cfdj.jfwj"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封文号:">
              <el-input v-model="ruleForm.cfdj.jfwh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封登簿人:">
              <el-input v-model="ruleForm.cfdj.jfdbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="解封登记时间:">
xiaomiao committed
352
              <el-date-picker
xiaomiao committed
353
                v-model="ruleForm.cfdj.jfdjsj"
xiaomiao committed
354
                class="width100"
xiaomiao committed
355 356 357
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
358
                format="yyyy-MM-dd">
xiaomiao committed
359 360 361
              </el-date-picker>
            </el-form-item>
          </el-col>
xiaomiao committed
362
        </el-row>
xiaomiao committed
363
      </div>
xiaomiao committed
364
      <el-row class="btn" v-if="ableOperation">
xiaomiao committed
365 366 367 368 369 370 371 372
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<script>
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
  import { mapGetters } from "vuex";
  import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
  import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
  import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
  import tdytTable from "@/views/workflow/components/tdytTable";
  import selectTable from "@/components/selectTable/index.vue";
  export default {
    components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
    computed: {
      ...mapGetters(["dictData", "flag"]),
      // 根据流程判断表单是否为只读
      editDisabled () {
        if (!this.ableOperation) {
          //只读状态
          return true;
        }
        return false;
xiaomiao committed
390
      },
391 392 393 394 395 396 397
    },
    data () {
      return {
        //表单是否可操作
        props: {
          label: "bdcqzh",
          value: "bdcdyid",
xiaomiao committed
398
        },
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
        propsParam: this.$attrs,
        key: 0,
        isShow: false,
        ssqlxxshow: true,
        disabled: true,
        czrOptions: [],
        ruleForm: {},
        rules: {},
        // 登记类型
        djlxlist: [
          {
            dcode: "100",
            dname: "首次登记",
          },
          {
            dcode: "200",
            dname: "转移登记",
          },
          {
            dcode: "300",
            dname: "变更登记",
          },
          {
            dcode: "500",
            dname: "更正登记",
          },
425

426 427 428 429 430 431 432 433
          {
            dcode: "901",
            dname: "补证",
          },
          {
            dcode: "902",
            dname: "换证",
          },
xiaomiao committed
434
        ],
435 436 437 438 439 440 441 442 443 444 445

        // 权属状态
        qsztlist: [
          {
            dcode: "1",
            dname: "现势",
          },
          {
            dcode: "2",
            dname: "历史",
          },
xiaomiao committed
446
        ],
447 448 449 450 451 452 453 454 455 456
        // 是否被续封
        sfbxflist: [
          {
            dcode: "0",
            dname: "否",
          },
          {
            dcode: "1",
            dname: "是",
          },
xiaomiao committed
457
        ],
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
        ableOperation: false,
        //传递参数\

        ssQlxxList: [],
        ztQlxxList: [],
        rules: {
          ztQlxxrules: [
            { required: true, message: "抵押不动产信息", trigger: "blur" },
          ],
          ssQlxxrules: [
            { required: true, message: "上手权利信息", trigger: "blur" },
          ],
          bdcqzhrules: [
            { required: true, message: "不动产登记证明号", trigger: "blur" },
          ],
          djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
          dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
          djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
          ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
          sfbxfrules: [
            { required: true, message: "是否被续封", trigger: "change" },
          ],
        },
      };
xiaomiao committed
482
    },
483 484
    created () {
      this.loadData();
xiaomiao committed
485
    },
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529
    mounted () {
      this.ableOperation = this.$parent.ableOperation;
    },
    methods: {
      /**
       * @description: ztQlxxchange
       * @param {*} val
       * @author: renchao
       */
      ztQlxxchange (val) {
        this.ruleForm.ztQlxx = val;
      },
      /**
       * @description: ssQlxxchange
       * @param {*} val
       * @author: renchao
       */
      ssQlxxchange (val) {
        this.ruleForm.ssQlxx = val;
        this.ruleForm.qlxx.ssywh = val.ywh;
        this.ssQlxxchangediolog(val);
      },
      // 弹框事件
      ssQlxxchangediolog (val) {
        console.log("确定了", this.ruleForm);
        this.$confirm("是否将上手权利信息同步到表单", "提示", {
          iconClass: "el-icon-question", //自定义图标样式
          confirmButtonText: "确认", //确认按钮文字更换
          cancelButtonText: "取消", //取消按钮文字更换
          showClose: true, //是否显示右上角关闭按钮
          type: "warning",
        }).then(() => {
          getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
            if (res.code == 200) {
              this.nowlist = res.result;
              console.log("his.nowlist", this.nowlist);
              console.log("this.ruleForm", this.ruleForm);
              for (var key in this.ruleForm.cfdj) {
                if (
                  this.ruleForm.cfdj[key] == "" ||
                  this.ruleForm.cfdj[key] == null
                ) {
                  this.ruleForm.cfdj[key] = this.nowlist.cfdj[key];
                }
xiaomiao committed
530
              }
531 532 533 534 535 536 537 538 539
              for (var key in this.ruleForm.qlxx) {
                if (
                  (this.ruleForm.qlxx[key] == null && key != "ywh") ||
                  this.ruleForm.qlxx[key] == null
                ) {
                  console.log("this.ruleForm.qlxx[key]", key);
                  if (key != "ywh") {
                    this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
                  }
xiaomiao committed
540
                }
541
              }
542
              console.log("this.ruleForm", this.ruleForm);
xiaomiao committed
543 544
              this.$message({
                type: "success",
545
                message: "同步成功!",
xiaomiao committed
546 547 548
              });
            }
          });
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563
        }).catch(() => {
          this.$message({
            type: "info",
            message: "已取消同步",
          });
        })
      },
      /**
       * @description: djlxchange
       * @param {*} val
       * @author: renchao
       */
      djlxchange (val) {
        if (val == null || val == 100) {
          this.ssqlxxshow = false;
xiaomiao committed
564
        } else {
565
          this.ssqlxxshow = true;
xiaomiao committed
566
        }
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
      },
      /**
       * @description: loadData
       * @author: renchao
       */
      loadData () {
        this.$startLoading();
        this.propsParam.isEdit = this.$parent.isEdit;
        init(this.propsParam).then((res) => {
          if (res.code == 200) {
            this.ruleForm = res.result;
            this.isShow = true;
            let djlx = this.ruleForm.qlxx.djlx;
            this.$endLoading();
            if (djlx == null || djlx == 100) {
              this.ssqlxxshow = false;
            }

            //获取主体信息
            getSsQlxx({
              bdcdyid: this.propsParam.bdcdyid,
              qllx: this.propsParam.qllx,
              bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
            }).then((res) => {
              if (res.code == 200) {
                this.ssQlxxList = res.result;
              }
            });
            //获取上手信息
            getZtQlxx({
              bdcdyid: this.propsParam.bdcdyid,
              bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
            }).then((res) => {
              if (res.code == 200) {
                this.ztQlxxList = res.result;
              }
            });
          }
        });
      },
      // // 更新土地用途信息
      // upDateTdytxxList(val) {
      //   this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
      //   this.key++;
      // },
      // // 更新权利人信息
      // upDateQlrxxList(val) {
      //   this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
      //   this.czrOptions = this.ruleForm.qlrData;
      //   this.key++;
      // },
      // // 更新义务人信息
      // upDateYwrxxList(val) {
      //   this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
      //   this.key++;
      // },
      /**
       * @description: onSubmit
       * @author: renchao
       */
      onSubmit () {
        this.$refs.ruleForm.validate((valid) => {
          console.log("valid", valid);
          if (valid) {
            save(this.ruleForm).then((res) => {
              if (res.code === 200) {
                this.$message({
                  showClose: true,
                  message: "保存成功!",
                  type: "success",
                });
                this.$parent.changeywh();
                this.$store.dispatch("user/refreshPage", true);
              } else {
                this.$message({
                  showClose: true,
                  message: res.message,
                  type: "error",
                });
              }
            });
          } else {
            return false;
          }
        });
      },
xiaomiao committed
653
    },
654
  };
xiaomiao committed
655 656
</script>
<style scoped lang="scss">
657 658
  @import "~@/styles/public.scss";
  @import "~@/styles/slxx/slxx.scss";
xiaomiao committed
659
</style>