Blame view

src/views/sjgx/gbmhlgxsjgx/components/dyxxcx.vue 5.33 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
<!--
 * @Author: yangwei
 * @Date: 2023-09-06 09:00:34
 * @LastEditors: yangwei
 * @LastEditTime: 2023-09-06 17:09:26
 * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\dyxxcx.vue
 * @Description: 
 * 
 * Copyright (c) 2023 by yangwei, All Rights Reserved. 
-->
<template>
    <div class="check-result">
      <div class="from-clues">
        <div class="from-clues-header">
          <el-form
            :model="queryForm"
            ref="queryForm"
            @submit.native.prevent
            label-width="90px"
          >
            <el-row>
              <el-col :span="7">
                <el-form-item label="业务号">
                  <el-input
                    placeholder="业务号"
                    v-model="queryForm.businessNumber"
                    clearable
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
              <el-col :span="7">
                <el-form-item label="6位区划代码">
                  <el-input
                    placeholder="6位区划代码"
                    v-model="queryForm.placeCode"
                    clearable
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
              <el-col :span="7">
                <el-form-item label="地名">
                  <el-input
                    placeholder="地名"
                    v-model="queryForm.standardName"
                    clearable
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
              <el-col :span="3" class="btnColRight">
                <el-button
                  type="primary"
                  native-type="submit"
                  @click="handleSearch"
                  >查询</el-button
                >
              </el-col>
            </el-row>
          </el-form>
        </div>
        <div class="from-clues-content">
          <el-form
            :model="checkResult"
            ref="checkResult"
            @submit.native.prevent
            label-width="110px"
          >
            <el-row>
              <el-col :span="12">
                <el-form-item label="区划代码 :">
                  <el-input
                    v-model="checkResult.uniscid"
                    disabled
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="地名 :">
                  <el-input
                    v-model="checkResult.place_code"
                    disabled
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="罗马字母拼音 :">
                  <el-input
                    v-model="checkResult.roman_alphabet_spelling"
                    disabled
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="地名类别 :">
                  <el-input
                    v-model="checkResult.place_type"
                    disabled
                    class="width100"
                  >
                  </el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="地名含义 :">
                  <el-input
                    type="textarea"
                    class="width100"
                    disabled
                    v-model="checkResult.place_meaning"
                  ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="地名来历 :">
                  <el-input
                    type="textarea"
                    class="width100"
                    disabled
                    v-model="checkResult.place_origin"
                  ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="历史沿革 :">
                  <el-input
                    type="textarea"
                    class="width100"
                    disabled
                    v-model="checkResult.place_history"
                  ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  import { dm } from "@/api/v1.js";
  export default {
    name: "BdcdjWebSfhc",
    data() {
      return {
        queryForm: {},
        checkResult: {},
      };
    },
    mounted() {},
    methods: {
      handleSearch() {
        dm(this.queryForm).then((res) => {
          if (res.status == "OK") {
            this.checkResult = res.data.rows[0];
          }
        });
      },
    },
  };
  </script>
  
  <style lang="scss" scoped>
  </style>