| | |
| | | <lineItem :dataInfo="basicData"></lineItem>
|
| | | </view>
|
| | | </view>
|
| | | <view class="licence">
|
| | | <view class="licence" v-if="imageObj.imageUrls.length">
|
| | | <box-title title="营业执照" class="box-title"></box-title>
|
| | | <view class="info">
|
| | | <view class="images-box" v-if="!!imageObj.imageUrls">
|
| | | <u-image width="80" height="80" :src="imageObj.imageUrls"
|
| | | @click="preViewImg(imageObj.imageUrls)"></u-image>
|
| | | <view class="images-box" v-for="(i,k) in imageObj.imageUrls" :key="k">
|
| | | <u-image width="80" height="80" :src="i"
|
| | | @click="preViewImg(i,imageObj.imageUrls)"></u-image>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | <view class="planegraph">
|
| | | <view class="planegraph" v-if="imageObj.planImageUrls.length" >
|
| | | <box-title title="场所平面图" class="box-title"></box-title>
|
| | | <view class="info">
|
| | | <view class="images-box" v-if="!!imageObj.planImageUrl">
|
| | | <u-image width="80" height="80" :src="imageObj.planImageUrls"
|
| | | @click="preViewImg(imageObj.planImageUrl)"></u-image>
|
| | | <view class="images-box" v-for="(i,k) in imageObj.planImageUrls" :key="k">
|
| | | <u-image width="80" height="80" :src="i"
|
| | | @click="preViewImg(i,imageObj.planImageUrls)"></u-image>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | |
| | | <view class="info">
|
| | | <u-form labelWidth="70" :model="form" ref="form" class="form">
|
| | | <u-form-item label="审核状态" @click="isPickerShow = true" class="form-item">
|
| | | <u--input v-model="form.confirmFlag" disabled disabledColor="#ffffff" placeholder="请选择审核状态"
|
| | | border="none" :placeholder="this.defaultPlaceholder"></u--input>
|
| | | <u--input v-model="defaultPlaceholder" disabled disabledColor="#ffffff" |
| | | border="none" inputAlign="right"></u--input>
|
| | | <u-icon slot="right" name="arrow-right"></u-icon>
|
| | | </u-form-item>
|
| | | <u-form-item label="备注" class="form-item">
|
| | | <u--input v-model="form.confirmNotion" border="none"></u--input>
|
| | | <u--input v-model="form.confirmNotion" inputAlign="right" border="none"></u--input>
|
| | | </u-form-item>
|
| | | </u-form>
|
| | | </view>
|
| | | </view>
|
| | | <view class="bottom-btn">
|
| | | <!-- <view class="bottom-btn">
|
| | | <u-button type="primary" @click="submit">提交审核</u-button>
|
| | | </view>
|
| | | </view> -->
|
| | | |
| | | |
| | | <footer-btn @click="submit" text="提交审核" />
|
| | | |
| | | <u-picker :defaultIndex="[this.defaultColumns]" :closeOnClickOverlay="true" @close="isPickerShow = false"
|
| | | :show="isPickerShow" ref="uPicker" :columns="columns" keyName="name" @cancel="isPickerShow = false"
|
| | | @confirm="handleConfirm"></u-picker>
|
| | |
| | | checkPlaceExtData,
|
| | | getPlaceDetail
|
| | | } from '@/api/placeExp/placeExp.js'
|
| | | import { minioBaseUrl } from "@/common/setting.js"
|
| | | export default {
|
| | | components: {
|
| | | boxTitle,
|
| | |
| | | confirmNotion: ''
|
| | | },
|
| | | imageObj: {
|
| | | imageUrls: '',
|
| | | planImageUrls: ''
|
| | | imageUrls:[],
|
| | | planImageUrls:[]
|
| | | },
|
| | | isPickerShow: false,
|
| | | columns: [
|
| | |
| | | id: ''
|
| | | },
|
| | | defaultColumns: 0,
|
| | | defaultPlaceholder: ''
|
| | | defaultPlaceholder: '待审核'
|
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | |
| | | })
|
| | | return
|
| | | }
|
| | | Object.keys(this.imageObj).forEach(key => {
|
| | | this.imageObj[key] = data[key]
|
| | | })
|
| | | // Object.keys(this.imageObj).forEach(key => {
|
| | | // this.imageObj[key] = data[key]
|
| | | // })
|
| | | if(data.imageUrls){
|
| | | // let urls = data.imageUrls.split(",");
|
| | | // this.imageObj.imageUrls = `${minioBaseUrl}${data.imageUrls}`
|
| | | this.imageObj.imageUrls = this.$setImageUrl(data.imageUrls)
|
| | | }
|
| | | if(data.planImageUrls){
|
| | | this.imageObj.planImageUrls = this.$setImageUrl(data.planImageUrls)
|
| | | }
|
| | | |
| | | this.basicData.forEach(item => {
|
| | | item.value = data[item.name] || '未完善'
|
| | | })
|
| | |
| | | })
|
| | | },
|
| | | handleConfirm(e) {
|
| | | this.form.confirmFlag = e.value[0].name
|
| | | console.log(e);
|
| | | this.defaultColumns = e.indexs[0];
|
| | | this.defaultPlaceholder = e.value[0].name
|
| | | this.form.confirmFlag = e.value[0].status
|
| | | this.isPickerShow = false
|
| | | },
|
| | | preViewImg(url) {
|
| | | preViewImg(current,urls) {
|
| | | uni.previewImage({
|
| | | urls: [url], //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
|
| | | current,urls
|
| | | })
|
| | | },
|
| | | submit() {
|