| | |
| | | "usingComponents" : true, |
| | | "plugins" : { |
| | | "ocr-plugin" : { |
| | | // #ifdef MP-WEIXIN |
| | | "version" : "3.1.3", |
| | | "provider" : "wx4418e3e031e551be" |
| | | } |
| | | }, |
| | | // #endif |
| | | "optimization" : { |
| | | "subPackages" : true |
| | | }, |
| | |
| | | } |
| | | }, |
| | | "h5" : { |
| | | "template" : "template.h5.html", |
| | | "template": "", |
| | | "router" : { |
| | | "mode" : "hash", |
| | | "base" : "/app" |
| | | "base": "" |
| | | }, |
| | | "optimization" : { |
| | | "treeShaking" : { |
| | |
| | | } |
| | | }, |
| | | "port" : "", |
| | | "https" : true |
| | | "https": false |
| | | }, |
| | | "uniStatistics" : { |
| | | "enable" : false |
| | |
| | | } |
| | | } |
| | | } |
| | | // #endif |
| | | //必填 |
| | |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black", |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | }, |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | |
| | | } |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false, |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "ocr-navigator": "plugin://ocr-plugin/ocr-navigator" |
| | | // #endif |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | "root": "subPackage/ecall", |
| | | "pages": [{ |
| | | "path": "index", |
| | | "style": { |
| | | "navigationBarTitleText": "E呼即办", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | { |
| | | "path": "detail", |
| | | "style": { |
| | | "navigationBarTitleText": "E呼即办详情", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "globalStyle": { |
| | |
| | | |
| | | |
| | | onShow() { |
| | | // #ifdef APP |
| | | let accountInfo = wx.getAccountInfoSync(); |
| | | this.envVersion = accountInfo.miniProgram.envVersion; |
| | | // #endif |
| | | let role = uni.getStorageSync('activeRole') |
| | | if (role.roleName == "居民") { |
| | | this.tabList = getTabbarList(1); |
| | |
| | | url: `/subPackage/workbench/views/eCallReportDetail?id=${item.eventId}&from=circle` |
| | | }) |
| | | } |
| | | if (item.evenType == 3) { |
| | | uni.navigateTo({ |
| | | url: `/subPackage/ecall/detail?id=${item.eventId}&types=circle` |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | }, |
| | | |
| | | getList() { |
| | | // #ifdef MP-WEIXIN |
| | | this.$refs.uToast.show({ |
| | | type: 'loading', |
| | | message: '正在加载', |
| | | duration: 9999999 |
| | | }) |
| | | // #endif |
| | | |
| | | getFuncList( |
| | | this.roleType, |
| | | this.roleName |
| | |
| | | <view class="line"></view>
|
| | | <view class="title">{{ '租客信息-#' + (index + 1) }}</view>
|
| | | </view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,index)" certificateType="idCard"
|
| | | :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!-- #endif -->
|
| | | </view>
|
| | | <view class="r" v-if="(index+1) > 1">
|
| | | <u-icon name="trash-fill" color="#ff0000" size="20" @click="decRentForm(index)"></u-icon>
|
| | |
| | | |
| | | <view class="form-caption flex j-c-s-b a-i-c"> |
| | | <text class="f-32 fw">当事人1信息</text> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,'one')" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | <u-form-item label="姓名" prop="nameOne" borderBottom required> |
| | | <u-input v-model="info.nameOne" border="none" placeholder="请输入当事人1姓名" |
| | |
| | | <view class=""> |
| | | <view class="form-caption flex j-c-s-b a-i-c"> |
| | | <text class="f-32 fw">当事人2信息</text> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,'two')" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | |
| | | <u-form-item label="姓名" prop="nameTwo" borderBottom required> |
| | |
| | | <view class="flex a-i-c j-c-s-b" style="padding:20rpx;"> |
| | | <view class="flex j-c-s-b a-i-c"> |
| | | <view class="title fw" style="text-align:center; mr-20">人员信息-#{{ index*1 + 1 }}</view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizePersonSuccess($event,index)" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | |
| | | |
| | |
| | | </view> |
| | | <!-- <u-icon name="arrow-right" size="20"></u-icon> --> |
| | | </view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess()" certificateType="idCard" :opposite="false" |
| | | style="width:48%;"> |
| | | <view class="top-item flex j-c-s-b a-i-c bgc-ff" style="width:100%;"> |
| | |
| | | <!-- <u-icon name="arrow-right" size="20"></u-icon> --> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | |
| | | <u-form labelWidth="70" :model="form" :rules="rules" ref="form"> |
| | |
| | | <view class="content"> |
| | | |
| | | <view class="top" v-if="from != 'search'"> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess()" certificateType="idCard" :opposite="false"> |
| | | <view class="top-item flex j-c-s-b a-i-c bgc-ff"> |
| | | <view class="flex a-i-c"> |
| | |
| | | <u-icon name="arrow-right" size="20"></u-icon> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | |
| | | |
| | |
| | | |
| | | <footer-btn v-if="(type == 1 && from == 'family') || !from" :text="addOrUpdateTitle" @click="submit" /> |
| | | </block> |
| | | <!-- <view class="footer flex j-c-s-b a-i-c bgc-ff" v-if="(type == 1 && from == 'family') || !from"> |
| | | <view class="footer flex j-c-s-b a-i-c bgc-ff" v-if="(type == 1 && from == 'family') || !from"> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess()" certificateType="idCard" :opposite="false" |
| | | style="width:48%;"> |
| | | <view class="recognize-btn c-main footer-btn flex j-c-c a-i-c" style="width:100%;"> |
| | |
| | | <text class="f-26 " style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | <button class="save-btn footer-btn c-ff" @click="submit">{{addOrUpdateTitle}}</button> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | |
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="负责人信息"></box-title>
|
| | | </view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator v-if="!currentId" @onSuccess="recognizeSuccess($event,'principal')"
|
| | | certificateType="idCard" :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!-- #endif-->
|
| | | </view>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="场所负责人:" prop="principal">
|
| | |
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="法人信息"></box-title>
|
| | | </view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,'legal')" certificateType="idCard"
|
| | | :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!-- #endif-->
|
| | | </view>
|
| | |
|
| | |
|
| | |
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="房东信息"></box-title>
|
| | | </view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator v-if="!currentId" @onSuccess="recognizeSuccess($event)" certificateType="idCard"
|
| | | :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!--#endif-->
|
| | | </view>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="姓名:" prop="landlordName">
|
| | |
| | | <view class="flex a-i-c j-c-s-b" style="padding:20rpx;">
|
| | | <view class="flex j-c-s-b a-i-c">
|
| | | <view class="title fw" style="text-align:center; mr-20">人员信息-#{{ index*1 + 1 }}</view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator v-if="!currentId" @onSuccess="recognizePersonSuccess($event,index)"
|
| | | certificateType="idCard" :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!-- #endif -->
|
| | | </view>
|
| | |
|
| | |
|
| | |
| | | <view class="box-title" style="width:50%;"> |
| | | <box-title title="负责人信息"></box-title> |
| | | </view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,'principal')" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="场所负责人:" prop="principal"> |
| | |
| | | <view class="box-title" style="width:50%;"> |
| | | <box-title title="法人信息"></box-title> |
| | | </view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess($event,'legal')" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif --> |
| | | </view> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="姓名:" prop="legalPerson"> |
| | |
| | | <view class="box-title" style="width:50%;"> |
| | | <box-title title="房东信息"></box-title> |
| | | </view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizeSuccess($event)" 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> |
| | | <!-- #endif --> |
| | | </view> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="姓名:" prop="landlordName"> |
| | |
| | | <view class="flex a-i-c j-c-s-b" style="padding:20rpx;"> |
| | | <view class="flex j-c-s-b a-i-c"> |
| | | <view class="title fw" style="text-align:center; mr-20">人员信息-#{{ index*1 + 1 }}</view> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <ocr-navigator @onSuccess="recognizePersonSuccess($event,index)" certificateType="idCard" |
| | | :opposite="false"> |
| | | <view class="recognize-btn flex a-i-c"> |
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text> |
| | | </view> |
| | | </ocr-navigator> |
| | | <!-- #endif--> |
| | | </view> |
| | | <view> |
| | | <u-icon name="trash-fill" color="#ff0000" size="20" @click="deletePerson(index)" /> |
| | |
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="房东信息"></box-title>
|
| | | </view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator @onSuccess="recognizeSuccess($event)" 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>
|
| | | <!-- #endif -->
|
| | | </view>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="姓名:" prop="landlordName">
|
| | |
| | |
|
| | | <view class="flex j-c-s-b a-i-c">
|
| | | <view class="title fw" style="text-align:center; mr-20">人员信息-#{{ index*1 + 1 }}</view>
|
| | | <!-- #ifdef MP-WEIXIN -->
|
| | | <ocr-navigator @onSuccess="recognizePersonSuccess($event,index)" certificateType="idCard"
|
| | | :opposite="false">
|
| | | <view class="recognize-btn flex a-i-c">
|
| | |
| | | <text class="f-26 c-ff" style="margin-left: 10rpx;">身份证信息识别</text>
|
| | | </view>
|
| | | </ocr-navigator>
|
| | | <!-- #endif -->
|
| | | </view>
|
| | |
|
| | | <view>
|