| | |
| | | <view class="vote bgc-ff"> |
| | | <view class="mb-20" v-for="(item,index) in voteTopicList" :key="index"> |
| | | <view class="vote-title"> |
| | | <!-- <text class="f-30 fw">{{item.discussContent}}</text> --> |
| | | <text class="f-30 fw">{{item.discussContent}}</text> |
| | | <text class="f-26 ml-10">{{item.optionRange == 0?"(单选)":"(多选)"}}</text> |
| | | </view> |
| | | <view class="" v-if="item.optionRange == 0"> |
| | |
| | | <u-icon name="thumb-up-fill" size="22" color="#fff"></u-icon> |
| | | </view> |
| | | </view> --> |
| | | |
| | | |
| | | <u-popup :show="isShowPopup" @close="isShowPopup = false" mode="center" :round="10" :closeable="true"> |
| | | <view class='login-mode'> |
| | | <view class="f-30 fw"> |
| | | 安全验证 |
| | | </view> |
| | | <view class="f-30 mt-30"> |
| | | {{phone}} |
| | | </view> |
| | | <view class='flex a-i-c login-input'> |
| | | <input class='f-30 c-33' type='number' placeholder='请输入验证码' v-model="validationCode" |
| | | placeholder-class='c-aa f-28'></input> |
| | | <button class='login-input-btn f-24 c-33' @click='getValidationCode'>{{text}}</button> |
| | | </view> |
| | | <!-- <button class='login-btn c-ff f-30' :class='validationCode?"bgc-main":""' |
| | | :disabled="validationCode?false:true">确定</button> --> |
| | | <button class='login-btn c-ff f-30 bgc-main' @click="confirmValidationCode()">确定</button> |
| | | </view> |
| | | </u-popup> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | isComplete: false, // 是否完成全部投票 |
| | | UParseStyle: { |
| | | img: 'width: 100%; float: left;' |
| | | } |
| | | }, |
| | | isShowPopup: false, |
| | | validationCode: "", |
| | | phone: "", |
| | | text: "获取验证码" |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | |
| | | uni.$on('refreshComment', () => { |
| | | this.getAritcleComment() |
| | | }) |
| | | let { |
| | | phone |
| | | } = uni.getStorageSync("userInfo") |
| | | this.phone = `${phone.substr(0,4)}****${phone.substr(8)}` |
| | | }, |
| | | |
| | | computed: { |
| | |
| | | return arr; |
| | | }, |
| | | |
| | | |
| | | |
| | | confirmValidationCode() { |
| | | this.voteRequest() |
| | | }, |
| | | |
| | | //提交投票 |
| | | submitVote() { |
| | | if (this.applyInfo.signatureFlag == 1) { |
| | |
| | | url: `signature?type=2` |
| | | }) |
| | | } else { |
| | | this.voteRequest() |
| | | this.isShowPopup = true; |
| | | // this.voteRequest() |
| | | } |
| | | |
| | | |
| | |
| | | uni.showToast({ |
| | | title: "操作成功" |
| | | }) |
| | | this.isShowPopup = false; |
| | | this.$nextTick(() => { |
| | | this.getApplyDetail(); |
| | | this.getVoteList(); |
| | |
| | | uni.navigateTo({ |
| | | url: `comment?id=${this.params.id}` |
| | | }) |
| | | } |
| | | }, |
| | | |
| | | |
| | | getValidationCode() { |
| | | // let phone_reg = /^1(3|4|5|6|7|8|9)\d{9}$/; |
| | | // if (!phone_reg.test(this.phone)) { |
| | | // this.$showTips("手机号码有误~"); |
| | | // return false; |
| | | // } |
| | | // this.sendValidationCode(); |
| | | let second = 60; |
| | | let time = setInterval(() => { |
| | | second-- |
| | | this.text = `${second}秒后获取` |
| | | if (second == 0 || this.data.isLogin) { |
| | | clearInterval(time); |
| | | this.text = "获取验证码"; |
| | | } |
| | | }, 1000) |
| | | }, |
| | | |
| | | |
| | | |
| | | sendValidationCode() { |
| | | |
| | | }, |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | .mb-30 { |
| | | margin-bottom: 30rpx; |
| | | } |
| | | |
| | | .login-mode { |
| | | padding: 20rpx; |
| | | } |
| | | |
| | | .login-input { |
| | | height: 90rpx; |
| | | border-radius: 45rpx; |
| | | background-color: #f0f0f0; |
| | | padding: 0 30rpx 0 40rpx; |
| | | margin-top: 20rpx; |
| | | width: 550rpx; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .login-input text { |
| | | flex: 1; |
| | | } |
| | | |
| | | .login-input input { |
| | | height: 90rpx; |
| | | width: 100%; |
| | | // flex: 3 |
| | | } |
| | | |
| | | .login-input-btn { |
| | | width: 200rpx; |
| | | height: 60rpx; |
| | | line-height: 60rpx; |
| | | border-radius: 30rpx; |
| | | padding: 0; |
| | | margin: 0; |
| | | transition: all ease-out .3s; |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn::after { |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn[disabled] { |
| | | background-color: #fff !important; |
| | | color: #aaa !important; |
| | | } |
| | | |
| | | .login-explain { |
| | | margin-top: 10rpx; |
| | | } |
| | | |
| | | .login-btn { |
| | | width: 550rpx; |
| | | height: 90rpx; |
| | | line-height: 90rpx; |
| | | border-radius: 45rpx; |
| | | margin-top: 50rpx; |
| | | transition: all ease-out .3s; |
| | | } |
| | | |
| | | .login-btn[disabled] { |
| | | background-color: #9DB9F7 !important; |
| | | color: #fff !important; |
| | | } |
| | | |
| | | .c-aa { |
| | | color: #aaa; |
| | | } |
| | | |
| | | .c-33 { |
| | | color: #333; |
| | | } |
| | | |
| | | .mt-30 { |
| | | margin-top: 30rpx; |
| | | } |
| | | </style> |
| | |
| | | <image :src="imgUrl" mode="" style="width: 100%;"></image> |
| | | </view> |
| | | </view> --> |
| | | |
| | | |
| | | |
| | | <u-popup :show="isShowPopup" @close="isShowPopup = false" mode="center" :round="10" :closeable="true"> |
| | | <view class='login-mode'> |
| | | <view class="f-30 fw"> |
| | | 安全验证 |
| | | </view> |
| | | <view class="f-30 mt-30"> |
| | | {{phone}} |
| | | </view> |
| | | <view class='flex a-i-c login-input'> |
| | | <input class='f-30 c-33' type='number' placeholder='请输入验证码' v-model="validationCode" |
| | | placeholder-class='c-aa f-28'></input> |
| | | <button class='login-input-btn f-24 bgc-ff c-33' @click='getValidationCode'>{{text}}</button> |
| | | </view> |
| | | <!-- <button class='login-btn c-ff f-30' :class='validationCode?"bgc-main":""' |
| | | :disabled="validationCode?false:true">确定</button> --> |
| | | <button class='login-btn c-ff f-30 bgc-main' @click="confirmValidationCode()">确定</button> |
| | | </view> |
| | | </u-popup> |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | url: prodUrl + "/blade-resource/oss/endpoint/put-file", |
| | | header: {}, |
| | | }, |
| | | isShowPopup: false, |
| | | validationCode: "", |
| | | phone: "", |
| | | text: "获取验证码", |
| | | imgSrc: "" |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | this.type = option.type; |
| | | this.getHeader() |
| | | let { |
| | | phone |
| | | } = uni.getStorageSync("userInfo") |
| | | this.phone = `${phone.substr(0,4)}****${phone.substr(8)}` |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | if (this.type == 1) { |
| | | prePage.$vm.applyRequest(src); |
| | | } else { |
| | | prePage.$vm.voteRequest(src); |
| | | this.isShowPopup = true; |
| | | this.imgSrc = src; |
| | | |
| | | // prePage.$vm.voteRequest(src); |
| | | } |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |
| | | } |
| | | }, |
| | | |
| | | confirmValidationCode() { |
| | | let pages = getCurrentPages(); |
| | | let prePage = pages[pages.length - 2]; |
| | | prePage.$vm.voteRequest(this.imgUrl); |
| | | this.isShowPopup = false; |
| | | }, |
| | | |
| | | |
| | | |
| | | getValidationCode() { |
| | | // let phone_reg = /^1(3|4|5|6|7|8|9)\d{9}$/; |
| | | // if (!phone_reg.test(this.phone)) { |
| | | // this.$showTips("手机号码有误~"); |
| | | // return false; |
| | | // } |
| | | // this.sendValidationCode(); |
| | | let second = 60; |
| | | let time = setInterval(() => { |
| | | second-- |
| | | this.text = `${second}秒后获取` |
| | | if (second == 0 || this.data.isLogin) { |
| | | clearInterval(time); |
| | | this.text = "获取验证码"; |
| | | } |
| | | }, 1000) |
| | | }, |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | margin: 20rpx; |
| | | color: #aaaaaa; |
| | | } |
| | | |
| | | .login-mode { |
| | | padding: 20rpx; |
| | | } |
| | | |
| | | .login-input { |
| | | height: 90rpx; |
| | | border-radius: 45rpx; |
| | | background-color: #f0f0f0; |
| | | padding: 0 30rpx 0 40rpx; |
| | | margin-top: 20rpx; |
| | | width: 550rpx; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .login-input text { |
| | | flex: 1; |
| | | } |
| | | |
| | | .login-input input { |
| | | height: 90rpx; |
| | | width: 100%; |
| | | // flex: 3 |
| | | } |
| | | |
| | | .login-input-btn { |
| | | width: 200rpx; |
| | | height: 60rpx; |
| | | line-height: 60rpx; |
| | | border-radius: 30rpx; |
| | | padding: 0; |
| | | margin: 0; |
| | | transition: all ease-out .3s; |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn::after { |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn[disabled] { |
| | | background-color: #fff !important; |
| | | color: #aaa !important; |
| | | } |
| | | |
| | | .login-explain { |
| | | margin-top: 10rpx; |
| | | } |
| | | |
| | | .login-btn { |
| | | width: 550rpx; |
| | | height: 90rpx; |
| | | line-height: 90rpx; |
| | | border-radius: 45rpx; |
| | | margin-top: 50rpx; |
| | | transition: all ease-out .3s; |
| | | } |
| | | |
| | | .login-btn[disabled] { |
| | | background-color: #9DB9F7 !important; |
| | | color: #fff !important; |
| | | } |
| | | |
| | | .c-aa { |
| | | color: #aaa; |
| | | } |
| | | |
| | | .c-33 { |
| | | color: #333; |
| | | } |
| | | |
| | | .mt-30 { |
| | | margin-top: 30rpx; |
| | | } |
| | | </style> |
| | |
| | | @delete="deletePic" uploadIcon="/static/icon/upload.png">
|
| | | </u-upload>
|
| | | </view>
|
| | |
|
| | |
|
| | | <view class="pic">
|
| | | <newBoxTitle title="房产证照片"></newBoxTitle>
|
| | | <u-upload :fileList="propertyCertificateImg" :previewFullImage="uploadConfig.previewFullImage"
|
| | | :accept="uploadConfig.acceptImg" :multiple="uploadConfig.multiple"
|
| | | :maxCount="uploadConfig.maxCount" :capture="uploadConfig.capture"
|
| | | @afterRead="afterReadImgs($event,'propertyCertificateImg')"
|
| | | @delete="deletePics($event,'propertyCertificateImg')" uploadIcon="/static/icon/upload.png">
|
| | | </u-upload>
|
| | | </view>
|
| | |
|
| | | <view class=" flex label-btn-box b-c-w" v-if="roleType == 2">
|
| | | <newBoxTitle title="房屋标签"></newBoxTitle>
|
| | | <view class="list">
|
| | |
| | | roleType: 1,
|
| | | showSelectDate: false,
|
| | | serveTime: Number(new Date()),
|
| | |
|
| | | propertyCertificateImg: []
|
| | | }
|
| | | },
|
| | | created() {
|
| | |
| | | })
|
| | | }
|
| | |
|
| | | this.propertyCertificateImg = this.$setImageUrl(res.data.propertyCertificateImg, 2)
|
| | |
|
| | |
|
| | |
|
| | | if (userHouseLabelVOList.length > 0) {
|
| | | that.labelBtnList.forEach(e => {
|
| | | userHouseLabelVOList.forEach(f => {
|
| | |
| | | })
|
| | | this.form.imageUrls = urls.join(",")
|
| | | }
|
| | |
|
| | | if (this.propertyCertificateImg.length > 0) {
|
| | | let urls = []
|
| | | this.propertyCertificateImg.forEach(e => {
|
| | | urls.push(e.name)
|
| | | })
|
| | | this.form.propertyCertificateImg = urls.join(",")
|
| | | }
|
| | |
|
| | |
|
| | | const {
|
| | | code,
|
| | | data
|
| | |
| | | i.count = data.zfrw; |
| | | } else if (i.name.trim() == "走访任务") { |
| | | i.count = data.zfrw; |
| | | } else if (i.name.trim() == "消防自查") { |
| | | i.count = data.xfzc; |
| | | |
| | | } else if (i.name.trim() == "消防隐患整改") { |
| | | i.count = data.xfyhzg; |
| | | } |
| | | } |
| | | this.bailCount = data.qbhs |
| | |
| | | |
| | | |
| | | navTo(url) { |
| | | |
| | | if (!url || url == "暂无") { |
| | | uni.showToast({ |
| | | title: "功能开发中~", |
| | |
| | | </u-form-item>
|
| | | <u-form-item class="form-item" label="标准地址" required prop="houseCodeBinds"
|
| | | @click="isShowPopup = true">
|
| | | <u--input v-if="!addressNames" border="none" disabled disabledColor="#ffffff"
|
| | | <u--input v-if="!addressNames.length" border="none" disabled disabledColor="#ffffff"
|
| | | placeholder="请选择标准地址">
|
| | | </u--input>
|
| | | <u-textarea v-if="addressNames" border="none" :disabled="true" disabledColor="#ffffff"
|
| | | <!-- <u-textarea v-if="addressNames" border="none" :disabled="true" disabledColor="#ffffff"
|
| | | v-model="addressNames" placeholder="请选择标准地址">
|
| | | </u-textarea>
|
| | | </u-textarea> -->
|
| | | <view v-if="addressNames.length">
|
| | | <view class="f-28" v-for="i in addressNames">
|
| | | {{i}}
|
| | | </view>
|
| | | </view>
|
| | | <u-icon slot="right" name="arrow-right"></u-icon>
|
| | | </u-form-item>
|
| | |
|
| | |
|
| | |
|
| | | </u-form>
|
| | | </view>
|
| | | <view class="license">
|
| | |
| | | placeList: [],
|
| | | isShowPopup: false,
|
| | | checkedPlace: [],
|
| | | addressNames: ""
|
| | | addressNames: []
|
| | | }
|
| | | },
|
| | | onShow() {
|
| | |
| | |
|
| | |
|
| | | this.$set(this.form, "houseCodeBinds", ids.join(","))
|
| | | this.addressNames = names.join(",");
|
| | | this.addressNames = names;
|
| | |
|
| | |
|
| | |
|
| | |
| | | <view class="licence">
|
| | | <box-title title="营业执照" class="box-title"></box-title>
|
| | | <view class="info">
|
| | |
|
| | |
|
| | | <view class="f-30" v-if="!imageObj.imageUrls.length">未完善</view>
|
| | |
|
| | | <view class="images-box" v-for="(i,k) in imageObj.imageUrls" :key="k" v-if="imageObj.imageUrls.length">
|
| | | <u-image width="80" height="80" :src="i" @click="preViewImg(i,imageObj.imageUrls)"></u-image>
|
| | | </view>
|