style:家庭房产
Showing
7 changed files
with
5 additions
and
297 deletions
public/InvsWeb.exe.lnk
deleted
100644 → 0
No preview for this file type
| 1 | { | 1 | { |
| 2 | "TITLE": "不动产登记系统", | 2 | "TITLE": "不动产登记系统", |
| 3 | "SERVERAPI": "/bdcdj", | 3 | "SERVERAPI": "/bdcdj", |
| 4 | "ip": "http://192.168.2.38" | 4 | "ip": "http://192.168.2.38", |
| 5 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0" | ||
| 5 | } | 6 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
public/configBase.json
deleted
100644 → 0
public/configT.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
| 1 | import filter from '@/utils/filter.js' | 1 | import filter from '@/utils/filter.js' |
| 2 | let vm = null | ||
| 3 | |||
| 4 | const sendThis = (_this) => { | ||
| 5 | vm = _this | ||
| 6 | } | ||
| 7 | class data extends filter { | 2 | class data extends filter { |
| 8 | constructor() { | 3 | constructor() { |
| 9 | super() | 4 | super() |
| ... | @@ -77,284 +72,8 @@ class data extends filter { | ... | @@ -77,284 +72,8 @@ class data extends filter { |
| 77 | } | 72 | } |
| 78 | ] | 73 | ] |
| 79 | } | 74 | } |
| 80 | sqrCol () { | ||
| 81 | return [ | ||
| 82 | { | ||
| 83 | width: "60", | ||
| 84 | renderHeader: (h, scope) => { | ||
| 85 | return ( | ||
| 86 | <i | ||
| 87 | class="el-icon-plus pointer" | ||
| 88 | onClick={() => { | ||
| 89 | vm.add("sqr"); | ||
| 90 | }} | ||
| 91 | style="color:#409EFF" | ||
| 92 | ></i> | ||
| 93 | ); | ||
| 94 | }, | ||
| 95 | render: (h, scope) => { | ||
| 96 | return ( | ||
| 97 | <i | ||
| 98 | class="el-icon-minus pointer" | ||
| 99 | onClick={() => { | ||
| 100 | vm.remove(scope.$index, scope.row, "sqr"); | ||
| 101 | }} | ||
| 102 | ></i> | ||
| 103 | ); | ||
| 104 | }, | ||
| 105 | }, | ||
| 106 | { | ||
| 107 | width: "150", | ||
| 108 | label: "身份证读卡器", | ||
| 109 | render: (h, scope) => { | ||
| 110 | return ( | ||
| 111 | <div> | ||
| 112 | <el-button | ||
| 113 | type="text" | ||
| 114 | icon="el-icon-edit-outline" | ||
| 115 | onClick={() => { | ||
| 116 | vm.handleRead(scope); | ||
| 117 | }} | ||
| 118 | > | ||
| 119 | 读取 | ||
| 120 | </el-button> | ||
| 121 | </div> | ||
| 122 | ); | ||
| 123 | }, | ||
| 124 | }, | ||
| 125 | { | ||
| 126 | width: "150", | ||
| 127 | prop: "sqrxm", | ||
| 128 | label: "姓名/名称", | ||
| 129 | render: (h, scope) => { | ||
| 130 | return ( | ||
| 131 | <el-input | ||
| 132 | placeholder="姓名/名称" | ||
| 133 | value={scope.row[scope.column.property]} | ||
| 134 | onInput={(val) => { | ||
| 135 | scope.row[scope.column.property] = val; | ||
| 136 | }} | ||
| 137 | ></el-input> | ||
| 138 | ); | ||
| 139 | }, | ||
| 140 | }, | ||
| 141 | { | ||
| 142 | prop: "sqrzjlxbm", | ||
| 143 | label: "证件种类", | ||
| 144 | render: (h, scope) => { | ||
| 145 | return ( | ||
| 146 | <el-select | ||
| 147 | class="width100" | ||
| 148 | clearable | ||
| 149 | value={scope.row[scope.column.property]} | ||
| 150 | onChange={(val) => { | ||
| 151 | scope.row[scope.column.property] = val; | ||
| 152 | }} | ||
| 153 | > | ||
| 154 | {this.getDictData('A30').map((option) => { | ||
| 155 | return ( | ||
| 156 | <el-option | ||
| 157 | label={option.dname} | ||
| 158 | value={option.dcode} | ||
| 159 | ></el-option> | ||
| 160 | ); | ||
| 161 | })} | ||
| 162 | </el-select> | ||
| 163 | ); | ||
| 164 | }, | ||
| 165 | }, | ||
| 166 | { | ||
| 167 | prop: "sqrzjhm", | ||
| 168 | label: "证件号", | ||
| 169 | render: (h, scope) => { | ||
| 170 | return ( | ||
| 171 | <el-input | ||
| 172 | placeholder="证件号" | ||
| 173 | value={scope.row[scope.column.property]} | ||
| 174 | onInput={(val) => { | ||
| 175 | scope.row[scope.column.property] = val; | ||
| 176 | }} | ||
| 177 | maxlength="21" | ||
| 178 | ></el-input> | ||
| 179 | ); | ||
| 180 | }, | ||
| 181 | }, | ||
| 182 | { | ||
| 183 | prop: "lxdh", | ||
| 184 | label: "联系电话", | ||
| 185 | render: (h, scope) => { | ||
| 186 | return ( | ||
| 187 | <div class="typePhone"> | ||
| 188 | <el-input | ||
| 189 | placeholder="联系电话" | ||
| 190 | value={scope.row[scope.column.property]} | ||
| 191 | onInput={(val) => { | ||
| 192 | scope.row[scope.column.property] = val; | ||
| 193 | }} | ||
| 194 | onBlur={(val) => { | ||
| 195 | vm.teltest(scope.row); | ||
| 196 | }} | ||
| 197 | type="tel" | ||
| 198 | maxlength="11" | ||
| 199 | ></el-input> | ||
| 200 | <span | ||
| 201 | v-show={scope.row.inputErr} | ||
| 202 | style={{ | ||
| 203 | fontSize: "12px", | ||
| 204 | color: "red", | ||
| 205 | position: "absolute", | ||
| 206 | bottom: "-2px", | ||
| 207 | left: "0", | ||
| 208 | }} | ||
| 209 | > | ||
| 210 | 请输入正确手机号 | ||
| 211 | </span> | ||
| 212 | </div> | ||
| 213 | ); | ||
| 214 | }, | ||
| 215 | }, | ||
| 216 | ] | ||
| 217 | } | ||
| 218 | qlrCol () { | ||
| 219 | return [ | ||
| 220 | { | ||
| 221 | width: "60", | ||
| 222 | renderHeader: (h, scope) => { | ||
| 223 | return ( | ||
| 224 | <i | ||
| 225 | class="el-icon-plus pointer" | ||
| 226 | onClick={() => { | ||
| 227 | vm.add("qlr"); | ||
| 228 | }} | ||
| 229 | style="color:#409EFF" | ||
| 230 | ></i> | ||
| 231 | ); | ||
| 232 | }, | ||
| 233 | render: (h, scope) => { | ||
| 234 | return ( | ||
| 235 | <i | ||
| 236 | class="el-icon-minus pointer" | ||
| 237 | onClick={() => { | ||
| 238 | vm.remove(scope.$index, scope.row, "qlr"); | ||
| 239 | }} | ||
| 240 | ></i> | ||
| 241 | ); | ||
| 242 | }, | ||
| 243 | }, | ||
| 244 | { | ||
| 245 | width: "150", | ||
| 246 | label: "身份证读卡器", | ||
| 247 | render: (h, scope) => { | ||
| 248 | return ( | ||
| 249 | <div> | ||
| 250 | <el-button | ||
| 251 | type="text" | ||
| 252 | icon="el-icon-edit-outline" | ||
| 253 | onClick={() => { | ||
| 254 | vm.handleRead(scope); | ||
| 255 | }} | ||
| 256 | > | ||
| 257 | 读取 | ||
| 258 | </el-button> | ||
| 259 | </div> | ||
| 260 | ); | ||
| 261 | }, | ||
| 262 | }, | ||
| 263 | { | ||
| 264 | width: "150", | ||
| 265 | prop: "sqrxm", | ||
| 266 | label: "姓名/名称", | ||
| 267 | render: (h, scope) => { | ||
| 268 | return ( | ||
| 269 | <el-input | ||
| 270 | placeholder="姓名/名称" | ||
| 271 | value={scope.row[scope.column.property]} | ||
| 272 | onInput={(val) => { | ||
| 273 | scope.row[scope.column.property] = val; | ||
| 274 | }} | ||
| 275 | ></el-input> | ||
| 276 | ); | ||
| 277 | }, | ||
| 278 | }, | ||
| 279 | { | ||
| 280 | prop: "sqrzjlxbm", | ||
| 281 | label: "证件种类", | ||
| 282 | render: (h, scope) => { | ||
| 283 | return ( | ||
| 284 | <el-select | ||
| 285 | class="width100" | ||
| 286 | value={scope.row[scope.column.property]} | ||
| 287 | onChange={(val) => { | ||
| 288 | scope.row[scope.column.property] = val; | ||
| 289 | }} | ||
| 290 | > | ||
| 291 | {this.getDictData('A30').map((option) => { | ||
| 292 | return ( | ||
| 293 | <el-option | ||
| 294 | label={option.dname} | ||
| 295 | value={option.dcode} | ||
| 296 | ></el-option> | ||
| 297 | ); | ||
| 298 | })} | ||
| 299 | </el-select> | ||
| 300 | ); | ||
| 301 | }, | ||
| 302 | }, | ||
| 303 | { | ||
| 304 | prop: "sqrzjhm", | ||
| 305 | label: "证件号", | ||
| 306 | render: (h, scope) => { | ||
| 307 | return ( | ||
| 308 | <el-input | ||
| 309 | placeholder="证件号" | ||
| 310 | value={scope.row[scope.column.property]} | ||
| 311 | onInput={(val) => { | ||
| 312 | scope.row[scope.column.property] = val; | ||
| 313 | }} | ||
| 314 | maxlength="21" | ||
| 315 | ></el-input> | ||
| 316 | ); | ||
| 317 | }, | ||
| 318 | }, | ||
| 319 | { | ||
| 320 | prop: "lxdh", | ||
| 321 | label: "联系电话", | ||
| 322 | render: (h, scope) => { | ||
| 323 | return ( | ||
| 324 | <div class="typePhone"> | ||
| 325 | <el-input | ||
| 326 | placeholder="联系电话" | ||
| 327 | value={scope.row[scope.column.property]} | ||
| 328 | onInput={(val) => { | ||
| 329 | scope.row[scope.column.property] = val; | ||
| 330 | }} | ||
| 331 | onBlur={(val) => { | ||
| 332 | vm.teltest(scope.row); | ||
| 333 | }} | ||
| 334 | type="tel" | ||
| 335 | maxlength="11" | ||
| 336 | ></el-input> | ||
| 337 | <span | ||
| 338 | v-show={scope.row.inputErr} | ||
| 339 | style={{ | ||
| 340 | fontSize: "12px", | ||
| 341 | color: "red", | ||
| 342 | position: "absolute", | ||
| 343 | bottom: "-2px", | ||
| 344 | left: "0", | ||
| 345 | }} | ||
| 346 | > | ||
| 347 | 请输入正确手机号 | ||
| 348 | </span> | ||
| 349 | </div> | ||
| 350 | ); | ||
| 351 | }, | ||
| 352 | }, | ||
| 353 | ] | ||
| 354 | } | ||
| 355 | } | 75 | } |
| 356 | let datas = new data() | 76 | let datas = new data() |
| 357 | export { | 77 | export { |
| 358 | datas, | 78 | datas |
| 359 | sendThis | ||
| 360 | } | 79 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-14 09:47:38 | 4 | * @LastEditTime: 2023-06-14 13:14:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -195,9 +195,7 @@ | ... | @@ -195,9 +195,7 @@ |
| 195 | 195 | ||
| 196 | // 身份证读取 | 196 | // 身份证读取 |
| 197 | readClick (row) { | 197 | readClick (row) { |
| 198 | var httpurl = "http://127.0.0.1:33088/"; | 198 | axios.post(this.BASE_API.IDCARDURL).then(res => { |
| 199 | var url = httpurl + "function=get_idcard&readnew=0" | ||
| 200 | axios.post(url).then(res => { | ||
| 201 | if (res.data.code == 0) { | 199 | if (res.data.code == 0) { |
| 202 | let data = res.data.IDCardInfo | 200 | let data = res.data.IDCardInfo |
| 203 | row.sqrmc = data.name | 201 | row.sqrmc = data.name | ... | ... |
-
Please register or sign in to post a comment