Blame view

src/views/workflow/components/fzxx.vue 2.7 KB
1
<!--
yuanbo committed
2
 * @Description:
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-24 10:15:01
5
-->
蔡俊立 committed
6 7
<template>
  <div class="from-clues">
任超 committed
8
    <!-- 发证信息 -->
蔡俊立 committed
9 10 11 12 13
    <div class="from-clues-header">
      <el-form :model="ruleForm">
        <el-row :gutter="20">
          <el-col :span="6">
            <el-form-item label="印刷序列号">
任超 committed
14
              <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
蔡俊立 committed
15 16 17 18
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="证书号">
任超 committed
19
              <el-input v-model="ruleForm.zsh" clearable placeholder="请输入证书号"></el-input>
蔡俊立 committed
20 21 22 23
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="权利人">
任超 committed
24
              <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input>
蔡俊立 committed
25 26
            </el-form-item>
          </el-col>
27
          <el-col :span="6" class="btnColRight" v-if="ableOperation">
蔡俊立 committed
28
            <el-form-item>
yangwei committed
29
              <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button>
30
              <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button>
蔡俊立 committed
31
            </el-form-item>
32
          </el-col>
蔡俊立 committed
33 34 35 36
        </el-row>
      </el-form>
    </div>
    <div class="from-clues-content">
任超 committed
37
      <lb-table border :column="tableData.columns" :heightNum="210" :data="tableData.data" :pagination="false">
蔡俊立 committed
38 39 40 41 42
      </lb-table>
    </div>
  </div>
</template>
<script>
43 44 45 46 47 48 49
  import table from "@/utils/mixin/table";
  import { getCertificateList } from "@/api/bdcqz.js";
  import { datas } from "../javascript/fzxxdata";
  export default {
    mixins: [table],
    data () {
      return {
50 51
        //表单是否可操作
        ableOperation: true,
52 53 54 55
        ruleForm: {
          ysxlh: '',
          zsh: '',
          qlr: '',
56
          bsmSldy: ''
57 58 59 60
        },
        tableData: {
          total: 0,
          columns: datas.columns().fzgrid,
61
          data: []
62 63 64
        },
        dialogVisible: false
      }
田浩浩 committed
65
    },
66 67 68
    created () {
      this.ableOperation = this.$parent.currentSelectTab.ableOperation
    },
69
    methods: {
yuanbo committed
70 71 72 73
      /**
       * @description: queryClick
       * @author: renchao
       */
74 75 76 77
      queryClick () {
        this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
        getCertificateList(this.ruleForm).then(res => {
          if (res.code === 200) {
78
            this.tableData.data = res.result ? res.result : []
79 80 81 82
          }
        })
      },
      zslqClick () {
83
        this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true)
84
      }
任超 committed
85
    }
蔡俊立 committed
86 87 88
  }
</script>
<style scoped lang='scss'>
89
  @import "~@/styles/public.scss";
yuanbo committed
90
</style>