10 files modified
1 files added
| | |
| | | params: params |
| | | }) |
| | | } |
| | | |
| | | |
| | | // 获取住户列表 |
| | | export const getHouseholdLists = (params) => { |
| | | return http.request({ |
| | | url: 'blade-household/household/list', |
| | | method: 'GET', |
| | | params: params |
| | | }) |
| | | } |
| | |
| | | // 开发环境接口Url |
| | | // devUrl: 'http://z4042833u6.wicp.vip', |
| | | // devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | devUrl: 'http://192.168.2.140:9528', |
| | | devUrl: 'http://192.168.2.111:9528', |
| | | // devUrl: 'https://kt39592615.goho.co', |
| | | minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | | // minioBaseUrl: "http://192.168.0.101:9528/", |
| | |
| | | url: String, //点击后跳转的URL地址 |
| | | fontSize: { |
| | | type: String, |
| | | value: '32rpx' |
| | | default: '32rpx' |
| | | }, |
| | | bgColor: { |
| | | type: String, |
| | | value: '#017BFC' |
| | | default: '#017BFC' |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | "es6" : true |
| | | }, |
| | | "usingComponents" : true, |
| | | "plugins": { |
| | | "ocr-plugin": { |
| | | "version": "3.1.3", |
| | | "provider": "wx4418e3e031e551be" |
| | | } |
| | | }, |
| | | "optimization" : { |
| | | "subPackages" : true |
| | | }, |
| | |
| | | "navigationBarTitleText": "租户详情", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | padding: 10rpx 0; |
| | | margin-bottom: 20rpx; |
| | | border-radius: 0 0 10rpx 10rpx; |
| | | margin:30rpx 0 20rpx 0; |
| | | |
| | | .nav-item { |
| | | padding: 10rpx 0; |
| | |
| | | |
| | | |
| | | .section { |
| | | margin-bottom: 30rpx; |
| | | .section-item { |
| | | width: 216rpx; |
| | | height: 120rpx; |
| | |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(107,134,159,0.2); |
| | | margin-bottom:30rpx; |
| | | } |
| | | .nav,.notice{ |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(107,134,159,0.2); |
| | | border-radius:10rpx; |
| | | |
| | | } |
| | | .notice{ |
| | | padding:0 20rpx; |
| | | } |
| | | .menu-tabs { |
| | | padding: 20rpx 0; |
| | | } |
| | | |
| | | .menu { |
| | | border-radius: 0 0 10rpx 10rpx; |
| | | border-radius: 10rpx; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(107,134,159,0.2); |
| | | } |
| | | |
| | |
| | | </view>
|
| | | </u-navbar>
|
| | | <view class="swiper" :style="{background:background.banner}">
|
| | | <u-swiper :list="bannerList" height="320rpx" radius="10"></u-swiper>
|
| | | <u-swiper :list="bannerList" height="320rpx" radius="10" @click="navToArticle"></u-swiper>
|
| | | </view>
|
| | | <view class="content bgc-ff">
|
| | | <view class="">
|
| | | <view class="section flex j-c-s-a a-i-c mb-20" v-if="isShowContact && curSelectSite.addressType == 1">
|
| | | <view class="section flex j-c-s-a a-i-c" v-if="isShowContact && curSelectSite.addressType == 1">
|
| | | <view class="section-item" v-for="(i,k) in contactList" :key="k" v-if="i.name"
|
| | | @click="navigatorPage(`${i.path}?id=${i.id}`)">
|
| | | <image class="section-item-bg" :src="i.bgImg" mode="aspectFill"></image>
|
| | |
| | | </u-grid>
|
| | | </view> -->
|
| | |
|
| | | <view class="p-20 bgc-ff mb-20" v-if="isShowNotice">
|
| | | <caption-row title="通知公告" font="34rpx" :is-link="true" url="/subPackage/article/list" />
|
| | | <view class="bgc-ff mb-20 notice" v-if="isShowNotice">
|
| | | <caption-row title="通知公告" font-size="34rpx" :is-link="true" url="/subPackage/article/list" />
|
| | | <view class="mt-20">
|
| | | <notice-list :data="notice" />
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | <u-picker :title="roleTypeName" :defaultIndex="selectSiteIndex" :closeOnClickOverlay="true"
|
| | |
| | |
|
| | | isBailer(newVal, oldVal) {
|
| | |
|
| | | if (newVal) {
|
| | | if (newVal == true) {
|
| | | this.tabs.splice(1, 0, {
|
| | | name: '警务服务',
|
| | | list: [{
|
| | |
| | | if (arr.length) {
|
| | |
|
| | | let index3 = arr.findIndex(item => item.name.trim() == "取保候审")
|
| | | if (index != -1) {
|
| | | if (index3 != -1) {
|
| | | this.isBailer = true;
|
| | |
|
| | | // this.tabs.splice(1, 0, {
|
| | |
| | | })
|
| | | console.log('********************location****************************************', location)
|
| | | },
|
| | |
|
| | |
|
| | | navToArticle(index) {
|
| | | if (index == 0 && this.roleType == 2) {
|
| | | uni.navigateTo({
|
| | | url: `/subPackage/article/detail?id=4293&type=4`
|
| | | })
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
| | | <view class="rent-info">
|
| | | <view v-for="(item, index) in rentFormNum" :key="item" class="rent-box">
|
| | | <view class="box-title">
|
| | | <view class="flex a-i-c" style="width:100%;">
|
| | | <view class="l">
|
| | | <view class="line"></view>
|
| | | <view class="title">{{ '租客信息-#' + (index + 1) }}</view>
|
| | | </view>
|
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,index)" certificateType="idCard"
|
| | | :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | | <u-icon name="scan" color="#fff" size="24"></u-icon>
|
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | </view>
|
| | | <view class="r" v-if="(index+1) > 1">
|
| | | <u-icon name="trash-fill" color="#ff0000" size="20" @click="decRentForm(index)"></u-icon>
|
| | |
| | | import {
|
| | | minioBaseUrl
|
| | | } from '@/common/setting'
|
| | | import {
|
| | | bizDictionary
|
| | | } from '@/api/system/dict.js'
|
| | | export default {
|
| | | mixins: [uploadMixin],
|
| | | components: {
|
| | |
| | | rentalUse: 0,
|
| | | relation: 0,
|
| | | houseType: 0
|
| | | },
|
| | |
|
| | | genderList: [{ //性别
|
| | | value: 1,
|
| | | name: '男',
|
| | | },
|
| | | {
|
| | | value: 0,
|
| | | name: '女',
|
| | | }
|
| | | ],
|
| | |
|
| | | nationList: [] //民族
|
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | |
| | | // 使用id来判断是不是修改
|
| | | if (id !== void 0) {
|
| | | this.rentId = id
|
| | | this.getAllBizDict()
|
| | | this.getCurrentRentInfo()
|
| | | }
|
| | | },
|
| | | methods: {
|
| | |
|
| | | async getAllBizDict() {
|
| | | // 获取民族
|
| | | await this.getBizDict('nationType', this.nationList);
|
| | | },
|
| | |
|
| | | // 获取业务字典
|
| | | async getBizDict(code, list) {
|
| | | const param = {
|
| | | code: code
|
| | | }
|
| | | const res = await bizDictionary(param)
|
| | | res.data.forEach(e => {
|
| | | list.push({
|
| | | name: e.dictValue,
|
| | | value: Number(e.dictKey)
|
| | | })
|
| | | })
|
| | | },
|
| | |
|
| | |
|
| | | showSelectBus(data, title, model, key) {
|
| | | this.selectBusList = data
|
| | | this.selectBusTitle = title
|
| | |
| | | }
|
| | | })
|
| | | },
|
| | |
|
| | | //识别成功
|
| | | recognizeSuccess(e, index) {
|
| | | console.log("e==>", e);
|
| | | let {
|
| | | detail: {
|
| | | name,
|
| | | id,
|
| | | address,
|
| | | gender,
|
| | | nationality
|
| | | }
|
| | | } = e;
|
| | |
|
| | | this.$refs.rentform[index].form.name = name.text; //姓名
|
| | | this.$refs.rentform[index].form.hukouRegistration = address.text; //地址
|
| | | this.$refs.rentform[index].form.idCard = id.text; //身份证号
|
| | | this.$refs.rentform[index].genderValue = gender.text; //性别
|
| | | this.$refs.rentform[index].nationValue = nationality.text; //民族
|
| | | this.$refs.rentform[index].form.gender = this.getValue(this.genderList, gender.text).value;
|
| | | this.$refs.rentform[index].form.ethnicity = this.getValue(this.nationList, nationality.text).value;
|
| | | this.$refs.rentform[index].gender = [this.getValue(genderList, gender.text).index];
|
| | | this.$refs.rentform[index].nationTypeIndex = [this.getValue(this.nationList, nationality.text).index];
|
| | | },
|
| | |
|
| | | getValue(arr, name) {
|
| | | for (let i = 0, ii = arr.length; i < ii; i++) {
|
| | | if (arr[i].name == name) {
|
| | | return {
|
| | | index: i,
|
| | | value: arr[i].value
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
| | |
|
| | | .line {
|
| | | width: 6rpx;
|
| | | height: 60%;
|
| | | // height: 60%;
|
| | | height: 28rpx;
|
| | | margin-right: 10rpx;
|
| | | background-color: #017BFC;
|
| | | }
|
| | |
| | | padding: 5rpx 20rpx;
|
| | | border-bottom: 1px solid #eff1f3;
|
| | | }
|
| | |
|
| | | .recognize-btn {
|
| | | padding: 12rpx;
|
| | | border-radius: 6rpx;
|
| | | background-color: #3c9cff;
|
| | | margin-left: 30rpx;
|
| | | }
|
| | | </style> |
| | |
| | | getResideApplyDetail, |
| | | updateResideApply |
| | | } from "@/api/reside/reside.js" |
| | | |
| | | import { |
| | | getHouseholdDetail, |
| | | getHouseholdLists |
| | | } from "@/api/house/household.js" |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } else { |
| | | this.$set(this.info, "houseCode", uni.getStorageSync("siteInfo").houseCode) |
| | | } |
| | | this.getHouseholdList(); |
| | | this.getHouseholdInfo() |
| | | |
| | | |
| | | }, |
| | | |
| | | onReady() { |
| | |
| | | }) |
| | | }, |
| | | |
| | | getHouseholdList() { |
| | | getHouseholdLists({ |
| | | houseCode: this.info.houseCode, |
| | | relationship: 1 |
| | | }).then(res => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | //获取业主信息 |
| | | getHouseholdInfo() { |
| | | getHouseholdDetail({ |
| | | houseCode: this.info.houseCode, |
| | | associatedUserId: uni.getStorageSync("userInfo").user_id |
| | | }).then(res => { |
| | | console.log(res) |
| | | }) |
| | | |
| | | |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | sumitInfo() { |
| | | this.$refs.form.validate().then(valid => { |
| | | if (this.id) { |
| | | if (this.isEdit) { |
| | | this.updateInfoRequest(); |
| | | } else { |
| | | this.addInfoRequst(); |
| | |
| | | </view>
|
| | |
|
| | |
|
| | | <view class="item">
|
| | | <view class="item" v-if="isLegalSame != 1 && !currentId">
|
| | | <view class="box-title">
|
| | | <box-title title="法人信息"></box-title>
|
| | | </view>
|
| | |
| | | </u-form-item>
|
| | | </view>
|
| | |
|
| | | <view class="item" v-if="isLegalSame != 1 && !currentId">
|
| | | <view class="item">
|
| | | <view class="box-title">
|
| | | <box-title title="负责人信息"></box-title>
|
| | | </view>
|
| | |
| | | }
|
| | |
|
| | | if (this.isLegalSame == 1) {
|
| | | this.form.principal = this.form.placeExtEntity.legalPerson;
|
| | | this.form.principalPhone = this.form.placeExtEntity.legalTel;
|
| | | this.form.principalIdCard = this.form.placeExtEntity.legalIdCard;
|
| | | this.form.placeExtEntity.legalPerson = this.form.principal;
|
| | | this.form.placeExtEntity.legalTel = this.form.principalPhone;
|
| | | this.form.placeExtEntity.legalIdCard = this.form.principalIdCard;
|
| | | }
|
| | |
|
| | | add(this.form).then(res => {
|
| New file |
| | |
| | | <template> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | obj: { |
| | | "type": 0, |
| | | "name": { |
| | | "text": "张三", |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 98.7780914307, |
| | | "y": 40.9823074341 |
| | | }, |
| | | "right_top": { |
| | | "x": 172.311325073, |
| | | "y": 41.2864379883 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 172.190856934, |
| | | "y": 64.9047088623 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 98.6072158813, |
| | | "y": 64.5630187988 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "gender": { |
| | | "text": "男", |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 101.035919189, |
| | | "y": 80.7537384033 |
| | | }, |
| | | "right_top": { |
| | | "x": 121.421043396, |
| | | "y": 80.7818603516 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 121.264938354, |
| | | "y": 101.272567749 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 100.882026672, |
| | | "y": 101.244766235 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "nationality": { |
| | | "text": "汉", |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 201.881393433, |
| | | "y": 81.7225189209 |
| | | }, |
| | | "right_top": { |
| | | "x": 222.004470825, |
| | | "y": 81.6959762573 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 221.899169922, |
| | | "y": 101.255821228 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 201.765304565, |
| | | "y": 101.291915894 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "address": { |
| | | "text": "广州市天河区五山路483号xxxxxxxxx", |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 95.5787811279, |
| | | "y": 150.794250488 |
| | | }, |
| | | "right_top": { |
| | | "x": 310.358947754, |
| | | "y": 151.617507935 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 310.004699707, |
| | | "y": 220.222885132 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 95.1295013428, |
| | | "y": 219.552230835 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "id": { |
| | | "text": "4452xxxxxxxxxxxx", |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 176.158676147, |
| | | "y": 244.072860718 |
| | | }, |
| | | "right_top": { |
| | | "x": 453.888336182, |
| | | "y": 244.978515625 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 453.874603271, |
| | | "y": 266.313659668 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 176.066543579, |
| | | "y": 265.342407227 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "card_position": { |
| | | "pos": { |
| | | "left_top": { |
| | | "x": 1085.625, |
| | | "y": 621.75 |
| | | }, |
| | | "right_top": { |
| | | "x": 338.125, |
| | | "y": 594.75 |
| | | }, |
| | | "right_bottom": { |
| | | "x": 303.625, |
| | | "y": 99.75 |
| | | }, |
| | | "left_bottom": { |
| | | "x": 1189.125, |
| | | "y": 126.75 |
| | | } |
| | | }, |
| | | "label": [] |
| | | }, |
| | | "image_width": 1280, |
| | | "image_height": 960, |
| | | "image_path": "http://tmp/wx4418e3e031e551be.o6zAJs-yC5ByIjnyyy09jKDZquXk.dlrc7P7WlhnGb4aca86b078fc2acb5b08e7a0f438943.jpg" |
| | | } |
| | | |
| | | |
| | | } |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |