Blame view

src/views/business-info/Cfdj/index.vue 4.66 KB
任超 committed
1
<template>
1  
jiaozeping@pashanhoo.com committed
2
  <div class="Cfdj from-clues">
任超 committed
3
    <div class="from-clues-header">
任超 committed
4
      <el-form ref="form" :model="form" label-width="130px">
任超 committed
5 6
        <el-row>
          <el-col :span="5">
任超 committed
7 8 9 10 11
            <el-form-item label="行政区" label-width="80px">
              <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
                <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
                </el-option>
              </el-select>
任超 committed
12 13 14
            </el-form-item>
          </el-col>
          <el-col :span="5">
任超 committed
15 16 17 18 19
            <el-form-item label="权属状态">
              <el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
                <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
                </el-option>
              </el-select>
任超 committed
20 21 22
            </el-form-item>
          </el-col>
          <el-col :span="5">
任超 committed
23 24 25 26 27 28 29
            <el-form-item label="坐落">
              <el-input v-model="form.zl" placeholder="坐落"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="不动产权证号">
              <el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
任超 committed
30 31
            </el-form-item>
          </el-col>
任超 committed
32 33
        </el-row>
        <el-row class="mt-10">
任超 committed
34
          <el-col :span="5">
任超 committed
35 36
            <el-form-item label="权利人" label-width="80px">
              <el-input v-model="form.qlr" placeholder="权利人"></el-input>
任超 committed
37 38
            </el-form-item>
          </el-col>
任超 committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
          <el-col :span="5">
            <el-form-item label="不动产单元号">
              <el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="查封(解封)机关">
              <el-input v-model="form.xxx" placeholder="查封(解封)机关"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="查封(解封)文号">
              <el-input v-model="form.xxx1" placeholder="查封(解封)文号"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="4" class="btnColRight">
            <btn nativeType="cx" @click="handleSubmit">查询</btn>
任超 committed
56 57 58 59 60
          </el-col>
        </el-row>
      </el-form>
    </div>
    <div class="from-clues-content">
任超 committed
61 62 63
      <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total"
        @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
        :data="tableData.data">
任超 committed
64 65
      </lb-table>
    </div>
任超 committed
66 67
    <!-- 编辑 -->
    <dataDetails ref="editLog" :title="title" />
任超 committed
68 69 70 71 72 73 74 75 76
  </div>
</template>
<script>
// 查封登记
import data from "./data"
import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
export default {
1  
jiaozeping@pashanhoo.com committed
77
  name: "Cfdj",
任超 committed
78 79 80 81
  mixins: [tableMixin],
  data () {
    return {
      form: {
任超 committed
82 83 84 85 86 87 88 89
        xzq: '',
        qszt: '',
        zl: '',
        bdcqzh: '',
        qlr: '',
        bdcdyh: '',
        xxx: '',
        xxx1: '',
任超 committed
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
        currentPage: 1
      },
      tableData: {
        columns: [{
          label: '序号',
          type: 'index',
          width: '50',
          index: this.indexMethod,
        }].concat(data.columns()).concat([
          {
            label: "操作",
            width: 170,
            render: (h, scope) => {
              return (
                <div>
                  <el-button
任超 committed
106
                    type="primary"
任超 committed
107
                    size="mini"
任超 committed
108
                    onClick={() => { this.handleEdit(scope.row) }}
任超 committed
109
                  >
任超 committed
110
                    详情
任超 committed
111 112
                  </el-button>
                </div>
任超 committed
113 114 115
              )
            }
          }
任超 committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
        ]),
        data: []
      },
      pageData: {
        total: 0,
        pageSize: 15,
        current: 1,
      },
      diaData: null,
      bsmSjsb: ''
    }
  },
  methods: {
    // 是否显示下拉框
    isShowSelectOptions (e) {
      if (!e) this.$refs.selectseizureReg.blur()
    },
    async featchData () {
      try {
        let { result: { list, total, pages: pageSize, pageNum: current }
1  
jiaozeping@pashanhoo.com committed
136
        } = await business.getQlfQlCfdjList(this.form)
任超 committed
137 138 139 140 141 142 143 144 145
        this.tableData.data = list
        this.pageData = {
          pageSize,
          current,
          total
        }
      } catch (error) {
        this.$refs.msg.messageShow()
      }
任超 committed
146
    }
任超 committed
147 148
  }
}
任超 committed
149 150 151
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
xiaomiao committed
152
</style>