Commit 9a947e6b by 胡悦

修改弹窗

1 parent 8acf6cb0
......@@ -71,26 +71,17 @@
<el-button type="primary" @click="handleSave(2)" v-show="step == 2">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import util from '@/utils/util'
import mapView from '@/components/mapView/index'
import autoButton from '@/components/auto-button/index'
import selectProduct from './components/selectProduct'
import baseInfo from './components/baseInfo'
export default {
name: 'index',
components: {
mapView,
autoButton,
selectProduct,
baseInfo
......@@ -125,7 +116,6 @@ export default {
mapHeight: 400,
typeStatus: false,
loadingImg: false,
dialogMapVisible: false,
businessScopeCustomize: [{ name: '' }],
accountAddForm: {
status: '',
......@@ -182,10 +172,6 @@ export default {
}
},
methods: {
getAddress() {
this.dialogMapVisible = false
this.accountAddForm.merchantAddress = this.$refs.mapForm.address
},
getBtnStatus(status, value) {
this.editStatus = true
this.accountTypesRule = false
......
......@@ -49,7 +49,7 @@
<el-form-item size="small" label="商户地址" class="form-row">
<!-- 省市 -->
<ProvinceCity ref="provinceForm" @selectProvince="selectProvince" @selectCity="selectCity"></ProvinceCity>
<el-input readonly v-model="accountAddForm.merchantAddress" placeholder="请选择商户地址"></el-input>
<el-input readonly style="flex:1" v-model="accountAddForm.merchantAddress" placeholder="请选择商户地址"></el-input>
<el-button type="primary" class="form-btn" @click="hanleSelectMap">选择地址</el-button>
</el-form-item>
</el-col>
......@@ -131,13 +131,13 @@
</el-col>
</el-row>
</el-form>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<GLDialog :visible.sync="dialogMapVisible" title="选择地图">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -67,26 +67,17 @@
<el-button type="primary" @click="handleNext()" v-show="step == 'second'">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import util from '@/utils/util'
import mapView from '@/components/mapView/index'
import autoButton from '@/components/auto-button/index'
import selectProduct from './components/selectProduct'
import baseInfo from './components/baseInfo'
export default {
name: 'index',
components: {
mapView,
autoButton,
selectProduct,
baseInfo
......@@ -116,7 +107,6 @@ export default {
mapHeight: 400,
typeStatus: false,
loadingImg: false,
dialogMapVisible: false,
businessScopeCustomize: [{ name: '' }],
accountAddForm: {
id: null,
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-04-28 10:15:34
* @LastEditors: huyue
* @LastEditTime: 2022-05-05 18:32:18
* @LastEditTime: 2022-07-19 17:54:00
-->
<template>
......@@ -77,6 +77,7 @@ export default {
})
},
handleClose() {
console.log(11212)
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-04-28 10:15:34
* @LastEditors: huyue
* @LastEditTime: 2022-05-18 18:06:35
* @LastEditTime: 2022-07-19 17:54:58
-->
<template>
......@@ -76,6 +76,7 @@ export default {
})
},
handleClose() {
console.log(3232)
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
......
<!--
* @Author: your name
* @Date: 2022-03-07 14:32:50
* @LastEditTime: 2022-05-06 14:32:10
* @LastEditTime: 2022-07-19 17:48:23
* @LastEditors: huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue
......@@ -33,13 +33,13 @@
</el-form-item>
</el-form>
</div>
<el-dialog :visible.sync="dialogMapVisible" width="60%">
<GLDialog :visible.sync="dialogMapVisible" title="选择地图">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</el-dialog>
</GLDialog>
<GLFooter style="z-index: 2">
<el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button>
......
......@@ -75,7 +75,7 @@
</div>
<!-- 弹框信息 -->
<el-dialog :visible.sync="showDialog" width="50%" :before-close="closeDialog" :show-close="false">
<GLDialog :visible.sync="showDialog" :before-close="closeDialog" :show-close="false">
<div slot="title" class="dialogTitle">产品升级订购联系方式</div>
<div class="dialogMain">
<div class="info_left">
......@@ -95,7 +95,7 @@
<div style="footer" class="dialogFooter">
<el-button size="small" class="element_btn" type="primary" @click="closeDialog">确定</el-button>
</div>
</el-dialog>
</GLDialog>
</div>
</template>
......
<template>
<div>
<el-dialog :visible.sync="dialogTelVisible" width="30%" top="30px">
<GLDialog :visible.sync="dialogTelVisible" :hasFooter="false" top="30px">
<div class="dialog-show">
<img src="@/assets/tel-show.png" alt="" />
<div class="tel-plus">联系电话:{{ residentPhone }}</div>
</div>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -94,9 +94,9 @@
<slot name="footer"></slot>
</el-form-item>
</el-form>
<el-dialog :visible.sync="isImgVisible">
<GLDialog :visible.sync="isImgVisible">
<img class="dialog-img" width="100%" :src="dialogImageUrl" alt="" />
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -248,7 +248,7 @@ export default {
.glsx-combi-form .el-form-item--small.el-form-item {
/* margin: 0 30px 20px 0; */
margin: 0 0 20px 0;
margin: 0 0 20px 0;
}
.glsx-combi-form .el-form-item--small .el-form-item__label {
......@@ -391,7 +391,7 @@ export default {
height: 100%;
}
/* 图片上传 */
.footer-btns {
.footer-btns {
float: right;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!